I'm trying to do a definite integral of the function . This should be equal to but MATLAB keeps giving me the answer of . Is my code wrong?
syms x y t
yint = t^2-(1/t)*y*(t/57)
int(yint, t, 57*x, 0)

답변 (1개)

Star Strider
Star Strider 2022년 8월 20일

1 개 추천

The limits are reversed in the int call.
syms x y t
yint = t^2-(1/t)*y*(t/57)
yint = 
int(yint, t, 0, 57*x)
ans = 
.

카테고리

질문:

2022년 8월 20일

답변:

2022년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by