Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
Amit Nath
Amit Nath 2020 年 6 月 26 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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.
  1 件のコメント
KSSV
KSSV 2020 年 6 月 26 日
What have you attempted for this very simple Home Work?

回答 (1 件)

Vishal Gaur
Vishal Gaur 2020 年 6 月 26 日
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

Community Treasure Hunt

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

Start Hunting!

Translated by