restart;
with(student);Myint:=Int((x^3+1)*exp(x^4+4*x),x);value(Myint);changevar(u=x^4+4*x,Myint,u);value(%);# voorbeeld 2Myint2:=Int(x^2*sin(x),x);m3:=intparts(Myint2,x^2);intparts(m3,x);value(%);# trigoniometrische integralenMyint4:=Int(cos(theta)^7,theta);powsubs(cos(theta)^2=1-sin(theta)^2,Myint4);expand(%);changevar(u=sin(theta),%,u);value(%);subs(u=sin(theta),%);# functies invoerenf:=x->1/(3 *x -2);Int(f(x),x);value(%);# FUNCTIE PLOTTENf:=x->x^2;plot(f(x),x=1..3);g:=x->tan(x):plot(g(x),x=0..0.99*Pi/2);plot(g(x),x=-Pi..Pi,y=-1..1,color=blue);plot({sin(x),cos(x)},x=-Pi..Pi);# 3D-plottenh1:=x->arctan((2*x^2-1)/(2*x^2+1)):h2:=(x,y)->h1(x)*h1(y):h2(x,y);plot3d(h2,-3..3,-3..3,grid=[50,50]);