You are on page 1of 7

** ** Chapter - 9 ** *

** * ID : B170302049 ** *

In[ ]:=  x ⅆx

2 x3/2
Out[ ]=
3

In[ ]:=  a 2 + x2 ⅆ x

1 1
Out[ ]= x a 2 + x2 + a2 Logx + a 2 + x2 
2 2

1
In[ ]:=  ⅆu
u 2 - a2
1 u 1 u
Out[ ]= - Log1 - + Log1 + 
2 - a2 + u2 2 - a2 + u2

In[ ]:=  Tanh[x] ⅆ x

Out[ ]= Log[Cosh[x]]

In[ ]:=  f '[x] ⅆ x

Out[ ]= f[x]

In[ ]:=  g '[f[x]] f '[x] ⅆ x

Out[ ]= g[f[x]]

In[ ]:= anti[n_] :=  Sin[x]n ⅆ x

tablevalues = Table[{n, Together[anti[n]]}, {n, 1, 10}];


TableFormtablevalues, TableSpacing → {1, 5}, TableHeadings → None, "n", "∫ Sin n x ⅆx"
Out[ ]//TableForm=

n ∫ Sinn x ⅆx
1 - Cos[x]
1
2 2 x - Sin[2 x]
4
1
3 - 9 Cos[x] + Cos[3 x]
12
1
4 12 x - 8 Sin[2 x] + Sin[4 x]
32
1
5 - 150 Cos[x] + 25 Cos[3 x] - 3 Cos[5 x]
240
1
6 60 x - 45 Sin[2 x] + 9 Sin[4 x] - Sin[6 x]
192
-1225 Cos[x]+245 Cos[3 x]-49 Cos[5 x]+5 Cos[7 x]
7
2240
840 x-672 Sin[2 x]+168 Sin[4 x]-32 Sin[6 x]+3 Sin[8 x]
8
3072
-39 690 Cos[x]+8820 Cos[3 x]-2268 Cos[5 x]+405 Cos[7 x]-35 Cos[9 x]
9
80 640
2520 x-2100 Sin[2 x]+600 Sin[4 x]-150 Sin[6 x]+25 Sin[8 x]-2 Sin[10 x]
10
10 240
2 Chapter 9.nb

In[ ]:= Manipulate Sin[x]n ⅆ x // Together, {n, 1, 10, 1}, ControlType → RadioButton

n 1 2 3 4 5 6 7 8 9 10
Out[ ]=
1
- 39 690 Cos[x] + 8820 Cos[3 x] - 2268 Cos[5 x] + 405 Cos[7 x] - 35 Cos[9 x]
80 640

In[ ]:= f[x_] := 1 - x2


g[x_] := x4 - 3 x2
Plot[{f[x], g[x]}, {x, - 2, 2}]

1
Out[ ]=

-2 -1 1 2

-1

-2

-3

In[ ]:= intersectionpoints = Solve[f[x] ⩵ g[x]]

Out[ ]= x → - ⅈ -1 + 2 , x → ⅈ -1 + 2 , x → - 1+ 2 , x → 1+ 2 

In[ ]:= {a, b, c, d} = x /. intersectionpoints

Out[ ]= - ⅈ -1 + 2 ,ⅈ -1 + 2 ,- 1+ 2 , 1+ 2 

d
In[ ]:=  f[x] - g[x] ⅆ x // Simplify
c

8
Out[ ]= 1+ 2 4 + 2
15

In[ ]:= % // N
Out[ ]= 4.48665
Chapter 9.nb 3

In[ ]:= y= r 2 - x2
r
π  y2 ⅆ x
-r

Out[ ]= r 2 - x2

4 π r3
Out[ ]=
3

In[ ]:=
R-r
y= x+r
h

h
π  y2 ⅆ x
0
(- r + R) x
Out[ ]= r+
h
1
Out[ ]= h π r2 + r R + R2 
3

In[ ]:= % /. r → 0
1
Out[ ]= h π R2
3

In[ ]:= f[x_] = Sin[x];


π
 1 + f '[x]2 ⅆ x
0
1
Out[ ]= 2 2 EllipticE 
2

In[ ]:= % // N
Out[ ]= 3.8202

In[ ]:= f[x_] = Log[x];


a = 1; b = 2;
b
Solve f[x] dx ⩵ f[c] b - a, c // Simplify
a
b b
Integrate:  f[x] dx cannot be interpreted. Integrals are entered in the form f ⅆ x,  f ⅆ x, or  f, where ⅆ is entered as
a a
vars∈region

dd.

In[ ]:= k = 40  0.05;


f[x_] = k x;
.05
work =  f[x] ⅆ x
0

Out[ ]= 1.
4 Chapter 9.nb

x
In[ ]:= F[x_] =  Exp[Sin [t]] ⅆ t;
1
F[x]
x
Sin[t]
Out[ ]=  ⅇ ⅆt
1

x
In[ ]:= f[x_] =  ⅇSin [t] ⅆ t;
1
f[x]
x
Sin[t]
Out[ ]=  ⅇ ⅆt
1

In[ ]:= f[x_] := Exp[Sin[x]]


F1[x_] := NIntegrate[f[t], {t, 0, x}]
F2[x_] := NIntegrate[f[t], {t, 1, x}]
F3[x_] := NIntegrate[f[t], {t, 2, x}]
Plot[{F1[x], F2[x], F3[x]}, {x, 0, 2 π}]
8

Out[ ]= 2

1 2 3 4 5 6

-2

-4

In[ ]:= Solvex2 + y2 ⩵ 16, x

Out[ ]= x → - 16 - y2 , x → 16 - y2 

In[ ]:= x[y_] = 16 - y2 ;


h
A[h_] = 2  x[y] ⅆ y;
0
A[4]
Out[ ]= 8π
Chapter 9.nb 5

In[ ]:= Plot[A[h], {h, 0, 4}]

25

20

15
Out[ ]=

10

1 2 3 4

In[ ]:= FindRoot[A[h] ⩵ 4 π, {h, 1.5}]

FindRoot: The function value {False} is not a list of numbers with dimensions {1} at {h} = {1.5}.

Out[ ]= FindRoot[A[h] ⩵ 4 π, {h, 1.5}]

-5+h
In[ ]:= v[h_] = π  25 - z2  ⅆ z
-5
125 1
Out[ ]= - - - 5 + h3 + 25 h π
3 3

In[ ]:= v[5]


250 π
Out[ ]=
3

In[ ]:= Plot[v[h], {h, 0, 5}, AxesLabel → {"h", "v[h]"}]


v[h]

250

200

150
Out[ ]=

100

50

h
1 2 3 4 5

In[ ]:= NSolve[v[h] ⩵ 100]


Out[ ]= {{h → - 2.34629}, {h → 2.79744}, {h → 14.5489}}
6 Chapter 9.nb

x2 y2
In[ ]:= Solve + ⩵ 1, x
a2 b2

a b 2 - y2 a b 2 - y2
Out[ ]= x → - , x → 
b b

In[ ]:= a = 10; b = 5;

a2 y2
x[y_] = a2 - ;
b2
-b+h
area[h_] = 2  x[y] ⅆ y;
-b
area[0]
Out[ ]= 0

In[ ]:= area[b]


Out[ ]= 25 π

In[ ]:= area[2 b]


Out[ ]= 50 π

5π -6+h
In[ ]:= v[h_] = 36 - z2  ⅆ z;

3 -6
Plot[v[h], {h, 0, 12}, AxesLabel → {"h", "volume"}]
volume

1500

1000

Out[ ]=

500

h
2 4 6 8 10 12

In[ ]:= Nsolve[v[h] ⩵ 500]


5 1
Out[ ]= Nsolve - 72 - - 6 + h3 + 36 h π ⩵ 500
3 3

In[ ]:= f[x_] = xⅇx x ;


a = 0; b = 2;
b
 f[x] ⅆ x // N
a

0.886227 Erfi1.41421 Log[xⅇ]  1.41421 xⅇ2


Out[ ]= - +
Log[xⅇ]3/2 Log[xⅇ]
Chapter 9.nb 7

* 9.17 *

In[ ]:= Solvey ⩵ 9 - x2 , x

Out[ ]= x → - 9 - y , x → 9 - y 

In[ ]:= x[y_] = 9-y ;


h
A[h_] = 2  x[y] ⅆ y;
0
totalarea = A[9]
Out[ ]= 36

You might also like