what is the problem with my function ?

1 回表示 (過去 30 日間)
abdelrahman mohamed
abdelrahman mohamed 2018 年 9 月 27 日
function [area , cr ]= circle(r) area = pi* (r^2) ; cr = pi * r * 2 ;

採用された回答

Bish Erbas
Bish Erbas 2018 年 9 月 27 日
編集済み: Bish Erbas 2018 年 9 月 27 日
Formatting.
function [area, cr] = circle(r)
area = pi*(r^2);
cr = pi*r*2;
end
  1 件のコメント
abdelrahman mohamed
abdelrahman mohamed 2018 年 9 月 27 日
there is a problem with the area that i can't determine

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by