Symbolic Integration
Show older comments
Hi everybody,
I have a little question about 'int' function. I have this code:
>> syms x y
>> int(x+y,x)
so I want to know why is this the result?:
ans =
(x + y)^2/2
instead of:
x^2/2+x*y
I'm a little confused about it, I hope you can help me understand.
Accepted Answer
More Answers (1)
Walter Roberson
on 12 Mar 2011
0 votes
Odd, I don't get that in Maple; unfortunately I don't have the Symbolic Toolbox to test with.
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!