Professional Documents
Culture Documents
Vishal 14839
Vishal 14839
- 20025582122
Semester -3
Question -1
Answer :
a)
2
0.6
0.4
0.2
Out[2]=
-1.0 -0.5 0.5 1.0
-0.2
-0.4
-0.6
b)
z = xy / (x^3 + y^3)
3
Out[3]=
4
Question -2
Answer :
0.5
0.3
Out[5]=
-2 π -π π 2π
-0.3
-0.5
-1
Question - 3
f(x) = 1 + 5x + 2x ^3 + 10x ^4
a)
5
In[6]:= f[x_] := 1 + 5 x + 2 x ^ 3 + 10 x ^ 4
Plot [f[x] , {x, - 1, 1}]
15
10
Out[7]=
b)
In[8]:= Factor [f[x]]
Out[8]= (1 + 5 x) 1 + 2 x3
6
Question -4
-3 -2 -1 1
-1
-2
Out[9]=
-3
-4
-5
In[11]:= x /. {FindRoot [1 - x ^ 2 ⩵ Sin [x], {x, - 1.4 }], FindRoot [1 - x ^ 2 ⩵ Sin [x], {x, 0.6 }]}
Out[11]= {- 1.40962, 0.636733}
Question -5
10
Out[15]=
-4 -2 2 4
-5
-10
-15