Cody

Solution 1926393

Submitted on 9 Sep 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
b = 1; h=5 y_correct = 2.5; assert(isequal(trg_area(b,h),y_correct))

Error in solution: Line: 1 Column: 10 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

2   Fail
b = 1; h=10 y_correct = 5; assert(isequal(trg_area(b,h),y_correct))

Error in solution: Line: 1 Column: 10 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

Suggested Problems

More from this Author4