example - triangle c=2 theta=4 a = c cos(theta b = c...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function [a,b] = calc_sides(c,theta) % given the hypotenuse and angle of a right % triangle, calculate other two sides of
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % triangle c=2; theta=4; a = c * cos(theta); b = c * sin(theta); end...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online