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
|
Program an exclusive OR operation with logical operators
639 Solvers
1424 Solvers
483 Solvers
498 Solvers
2617 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!