Integrate.
 Syntax 
R = int(S)
R = int(S,v)
R = int(S,a,b)
R = int(S,v,a,b)
 Description 
int(S) returns the indefinite integral of S with respect to its symbolic variable as defined by findsym.
int(S,v) returns the indefinite integral of S with respect to the symbolic scalar variable v.
int(S,a,b) returns the definite integral from a to b of each element of S with respect to each element's default symbolic variable. a and b are symbolic or double scalars.
int(S,v,a,b) returns the definite integral of S with respect to v from a to b.
 Examples 
int(-2*x/(1+x^2)^2) returns
1/(1+x^2)
int(x/(1+z^2),z) returns
atan(z)*x
int(x*log(1+x),0,1) returns
1/4
int(2*x, sin(t), 1) returns
1-sin(t)^2
int([exp(t),exp(alpha*t)]) returns 
[exp(t), 1/alpha*exp(alpha*t)]
 See Also 
diff, symsum
[ Previous | Help Desk | Next ]