Incorrect integral being returned.
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 19 Nov 2011
You are correct that that output should be what you expected (or a form of that).
Which MATLAB version are you using?
D
le 19 Nov 2011
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Calculus dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!