error in if mupad file
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 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!