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 |
b = 1;
h=5
y_correct = 2.5;
assert(isequal(trg_area(b,h),y_correct))
h =
5
|
2 | Pass |
b = 1;
h=10
y_correct = 5;
assert(isequal(trg_area(b,h),y_correct))
h =
10
|
794 Solvers
298 Solvers
247 Solvers
236 Solvers
Back to Basics - Find no. of elements in a matrix?
163 Solvers