Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

I did not understand the question give me the code for this this will help me loot

1 Ansicht (letzte 30 Tage)
Amit Nath
Amit Nath am 26 Jun. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
write a function called tri_area that return the area of triangle with base b and height h, where b and h are the input argument function in that order.

Antworten (1)

Vishal Gaur
Vishal Gaur am 26 Jun. 2020
Hi, Amit Nath, yopu can check try this code:
function area=tri_area(b,h)
area = (b*h)/2;
end
If you face any error check this comment

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by