Incorrect integral being returned.
显示 更早的评论
getting an odd result when trying to integrate 50 - t.
syms t;
rate = 50- t;
int(rate)
it returns -(t - 50)^2/2 I'm pretty sure the integral should return -(t*(t - 100)/2
Is there a fix for this?
2 个评论
Walter Roberson
2011-11-19
You are correct that that output should be what you expected (or a form of that).
Which MATLAB version are you using?
D
2011-11-19
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!