| > | restart; |
| > | f:=1/(1+x^2); |
| > | df:=diff(f,x); |
| > | a:=int(sqrt(1+df^2),x=0..2); |
| > | evalf(a); |
| > | eq1 := y = 4*x-x^2; |
| > | eq2 := y = x; |
| > | solve({eq1, eq2}, {x, y}); |
| > | A := int(4*x-x^2-x, x = 0 .. 3); |
| > | p:=4*x-x^2; |
| > | plot([p,x],x=0..3); |
![[Plot]](images/april12_10.gif)
| > | xbar:=1/A*int(x*(p-x),x=0..3); |
| > | ybar:=1/A*int((p+x)/2*(p-x),x=0..3); |
| > | series(exp(h),h=0); |
| > | series(sin(h),h=0,10); |
| > | s1:=series(cos(sin(h)),h=0,10); |
| > | s2:=series(cos(h),h=0,10); |
| > | n1:=cos(sin(h))-cos(h); |
| > | d1:=h^4; |
| > | n2:=diff(n1,h$4); |
| > | d2:=diff(d1,h$4); |
| > | a2:=subs(h=0,n2/d2); |
| > | simplify(a2); |
| > |