Write a MATLAB function that will accept the values a, b and c as inputs and return the value of A as output.
Posted in matlab
No comments
By Anonymous

v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
The area, A, of a triangle with sides of length a, b and c is given by
A=sqrt (s(s -a)(s -b)(s-c))
where s =(a+b+c) / 2 .
Write a MATLAB function that will accept the values a, b and c as inputs and return the value of A as output.
a) You have to take input from the user for a,b...
0 comments: