error in if mupad file
古いコメントを表示
hello all,my code is
if true
c:=input(c)
d:=input(d)
if d:=c
then
Ml:=ro*PI*(c^2)*l/2
elif d>c then teta0:=arccos(d-c)
Ml:=ro*(c^2)*l*(2*PI-2*teta0+sin(2*teta0))/2
elif d<c then teta0:=acos(1-h)
Ml:=ro*(c^2)*l*(2*teta0-sin(2*teta0))/2
end_if:
end
Error: Unexpected 'identifier'. [line 5, col 1]
could any body help me.
with regards
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Get Started with MuPAD についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!