Problem 44394. How to calculate the length of a triangle's side given two angles and one side
You are given a triangle with angles alpha, beta and gamma and sides a opposite alpha, b opposite beta and c opposite gamma.
Write a function ‘triangles’ which, given alpha, beta and c calculates the length of the side a.
The angles alpha and beta are given in degrees. You should round your answer to two decimal places.
Solution Stats
Problem Comments
-
4 Comments
Really enjoyed this :)
Love this usage of digital pedagogy!!!!
Nice problem, very challenging, very enjoyable
Clever question! You really have to know your angles to figure this out.
Solution Comments
Show commentsProblem Recent Solvers125
Suggested Problems
-
6373 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1928 Solvers
-
Back to basics 11 - Max Integer
798 Solvers
-
Return the first and last characters of a character array
11192 Solvers
-
352 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!