This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
s = 8;
A = 9;
area_correct = 180;
assert(isequal(pentagon_Area(s,A),area_correct))
ans =
180
|
2 | Pass |
s=pi;
A=9;
area_correct=(45/2)*pi;
assert(isequal(pentagon_Area(s,A),area_correct))
ans =
70.6858
|
4107 Solvers
2980 Solvers
Back to basics 23 - Triangular matrix
634 Solvers
2545 Solvers
204 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!