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
-
3 Comments
Matthew Harrison
on 2 Nov 2017
Really enjoyed this :)
Danielle Pye
on 2 Nov 2017
Love this usage of digital pedagogy!!!!
Archan Mohile
on 2 Nov 2017
Nice problem, very challenging, very enjoyable
Solution Comments
Show commentsProblem Recent Solvers85
Suggested Problems
-
Which values occur exactly three times?
4938 Solvers
-
469 Solvers
-
Side of an equilateral triangle
5683 Solvers
-
732 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
778 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!