Answer to Question #268600 in Algorithms for dede

Question #268600

do the hand tracing with any value to find the area

Accept the two sides and an angle included by these two sides, and find the area and third side of a triangle.

 (1) Display "Enter two sides and an angle:"

(2) Accept a, b,theta

(3) ang = theta * 3.14 / 180;

(4) third_side = sqrt (a*a + b*b - 2*a*b* cos(ang))

(5) area = ½*a*b* sin(ang)

(6) Display "Third_side =",third_side,"Area =", area

(7) Exit


1
Expert's answer
2021-11-19T10:01:57-0500

The answer to your question is provided in the image:

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS