Problem 44394. How to calculate the length of a triangle's side given two angles and one side
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
-
2 Comments
Javid Moraveji
on 3 Jun 2022
I had to use the round() to pass the test!
Remember that: sin(alpha)/a = sin(gamma)/c & gamma = pi - (alpha +beta). Am I missing something?
Dyuman Joshi
on 3 Jun 2022
No, the test suite expects a rounded answer as stated in the test problem description.
-
2 Comments
Danielle Pye
on 2 Nov 2017
What a great code Harvey!!!!
David Verrelli
on 5 Nov 2017
Note: this code had passed the original problem, in which [apparently] only angle "alpha" was needed as input.
Problem Recent Solvers76
Suggested Problems
-
21685 Solvers
-
3712 Solvers
-
Replace multiples of 5 with NaN
413 Solvers
-
393 Solvers
-
3303 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!