f |
expand(f) |
syms a x y; |
expand(£) |
f = a*(x + y); |
“: ,.y |
syms x; |
expand(f) |
ł - (x - 1) *<x - 2) * (x - 3) ; |
xA3 - 6*xA2 + ll*x - £ |
syms x; |
expand(£) |
t - x* (x* (x - *>) u> - |
xA3 - 6*xA2 + ll*x - 6 |
syms ab; |
expand(£) |
£ = exp(a + b); |
exp(a) *exp(b) |
syms x y; |
expand(£) |
f = cos (x + y); |
cos(x) *cos (y) - sin(x) *sin(y) |
syms x; |
expand(f) |
f = cos(3*acos(x)); |
3 *x* (xA2 - 1) + xA3 |
syms x; |
expand(£) |
f = 3*x* (xA2 - 1) + x"3; |
■ _ 3-i_ |