Problem 44394. How to calculate the length of a triangle's side given two angles and one side
Solution Stats
Problem Comments
-
3 Comments
Really enjoyed this :)
Love this usage of digital pedagogy!!!!
Nice problem, very challenging, very enjoyable
Solution Comments
-
2 Comments
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?
No, the test suite expects a rounded answer as stated in the test problem description.
-
2 Comments
What a great code Harvey!!!!
Note: this code had passed the original problem, in which [apparently] only angle "alpha" was needed as input.
Problem Recent Solvers76
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
8024 Solvers
-
How to find the position of an element in a vector without using the find function
2608 Solvers
-
442 Solvers
-
335 Solvers
-
252 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!