A problem must detail what needs to be done in its description. There is not only one way to do what's requested. You should probably add more test cases too, at least 5, to avoid lookup table solutions.
given 3 sides, find area of this triangle
690 Solvers
367 Solvers
229 Solvers
Create an anti-identity matrix
156 Solvers
32 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!