Question: This MATLAB Problem write a function traparea that comuptes the area of a trapezoid given the dimensions a, b and h, where a and b
This MATLAB Problem
write a function traparea that comuptes the area of a trapezoid given the dimensions a, b and h, where a and b are the lengths of the parallel sides and h is the distance between these sides. The are is calculated with the formula : are=0.5*(a+b)*h.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
