Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

q1.

wxmx 1 / 3

Name-Maanik Bhardwaj
Roll no-17112
Course-Maths hons

Q1) find the critical point,local extrema and point of inflection of f(x)=-2x^3+6x^2-5
load("draw");
C:/maxima−5.45.1/share/maxima/5.45.1/share/draw/draw.lisp
f(x):=−2·x^3+6·x^2−5;
df(x):=diff(f(x),x);
dff(x):=diff(f(x),x,2);
3 2
f ( x ) :=( −2 ) x +6 x −5
d
df ( x ) := f(x)
dx
2
d
dff ( x ) := f(x)
2
dx
solve(df(x)=0);
solve(dff(x)=0);
[ x =0 ,x =2 ]
[ x =1 ]
wxplot2d(df(x),[x,−5,5],[y,−10,10],[style,[lines,3]]);
q1.wxmx 2 / 3

The critical no. are 0 and 2. Plotting f'(x),we can see that f'(x)>0 in (0,2) and f'(x)<0 when x<0
and x>2.Hence f(x) increasing at (0,2) and decreasing at (-infinity,0) or (2,infinity),local
minima
at x=0,local maxima at x=2
f(0);
f(2);
f(1);
−5
3
−1
wxdraw2d(grid=true,xaxis=true,yaxis=true,xrange=[−5,5],yrange=[−10,10],line_width=2, color=1,
explicit(f(x),x,0,2),color=2,explicit(f(x),x,−5,0),explicit(f(x),x,2,5),
color=black,point_type=7,points([[0,f(0)],[2,f(2)],[1,f(1)]]),label(["local min(0,-5)",0,−6],["point of inflection(1,-1)"
q1.wxmx 3 / 3

;
q2.wxmx 1 / 1

Q2) Plot f(x)=sinx and the solid of revolution obtained by rptating f(x) on [0,2pi] about the x
axis
load("draw");
C:/maxima−5.45.1/share/maxima/5.45.1/share/draw/draw.lisp
wxdraw2d(xaxis=true,yaxis=true,grid=true,xrange=[−1,10],yrange=[−2,2],xlabel="X-Axis", ylabel="Y-Axis",
color=3,line_width=2,title="Graph of sin(x)", explicit(sin(x),x,0,2·%pi));

Revolution about x axis


wxdraw3d(grid=true,xaxis=true,yaxis=true,zaxis=true,xlabel="X-Axis",ylabel="Y-Axis", zlabel="Z-Axis",
color=black,line_width=2,view=[85,10],
parametric_surface(x,(sin(x))·cos(t),(sin(x))·sin(t),x,0,2·%pi,t,0,2·%pi));
q3.wxmx 1 / 1

Q3)Plot the graph of e^bx fr b=-2,-1,0,1,2 and ite observation

wxplot2d([%e^x,%e^(2·x),%e^(0·x),%e^(−2·x),%e^(−1·x)],[x,−10,10],[y,−10,10]);
q5.wxmx 1 / 2

Q5)Find the real and imagiinary part of the complex noz=(3-i)/3i+1.alsofind argzmodz,polar
form of z
'z=z:(3−%i)/(3·%i+1);
3 − %i
z=
3 %i + 1

'r=realpart(z);
r =0
'i=imagpart(z);
i =−1

carg(z);
1
−atan( 3 ) −atan
3

cabs(z);
1

'p=p:polarform(z);
q5.wxmx 2 / 2

1
%i − atan ( 3 ) − atan
3
p = %e
'd=d:demoivre(p);
1 1
d =cos atan( 3 ) +atan −%i sin atan( 3 ) +atan
3 3
'r=rectform(%);
1 1
r = d =cos atan( 3 ) +atan −%i sin atan( 3 ) +atan
3 3
q7.wxmx 1 / 2

load("draw");
C:/maxima−5.45.1/share/maxima/5.45.1/share/draw/draw.lisp
f(x):=[3·x^2+4·x,7·x^4,cos(x)];
2 4
f ( x ) := 3 x +4 x , 7 x , cos ( x )

integrate(f(x),x,0,4·%pi);
5
3 2 7168 π
64 π +32 π , ,0
5

diff(f(x),x);
diff(f(x),x,2);
3
6 x +4 ,28 x ,−sin( x )
2
6 ,84 x ,−cos ( x )
wxdraw3d(xaxis=true,yaxis=true,zaxis=true,xlabel="X-Axis",ylabel="Y-Axis",color=red,parametric((3·x^2+4·x),
q7.wxmx 2 / 2

You might also like