You are on page 1of 36

Table of Contents

1). SOLUTION OF CAUCHY PROBLEM OF FIRST ORDER PARTIAL DIFFERENTIAL EQUATION .................. 2
2). Plotting the characteristics curve for the first order PDE .................................................................. 6
3). PLOTTING THE INTEGRAL SURFACE (Parametric form) .................................................................. 19
4). Solution of wave equation ............................................................................................................... 22
5). Solving System of ODE .................................................................................................................... 24
6 (A).Euler method to solve O.D.E. ....................................................................................................... 25
6 (B). Modify Euler method to solve O.D.E. ...................................................................................... 26
7). SOLVE HOMOGENEOUS WAVE EQUATION ..................................................................................... 27
8).Pointwise convergent & Uniform convergent of sequance of function on given interval. ........... 31
8a).Uniform convergent.................................................................................................................... 31
8b). Pointwise convergent ............................................................................................................... 35
PRACTICAL NO. 1
17-01-2018
1). SOLUTION OF CAUCHY PROBLEM OF FIRST ORDER PARTIAL
DIFFERENTIAL EQUATION

QUESTION NO. 1
Find the soliution of ux-uy=1
with cauchy data u[x,0]=x2
p1=D[u[x,y],x]-D[u[x,y],y]1
p2=DSolve[{p1,u[x,0]x^2},u[x,y],{x,y}]
Plot3D[{u[x,y]/.p2},{x,-4,4},{y,-4,4},PlotLabel"Integral surface through initial curve"]
-u(0,1)[x,y]+u(1,0)[x,y]1
{{u[x,y]x2-y+2 x y+y2}}

QUESTION NO. 2
Find the soliution of ux-uy=1
with cauchy data u[0,y]=y3
p1=y D[u[x,y],x]-2 x y D[u[x,y],y]2 x y
p2=DSolve[{p1,u[0,y]y^3},u[x,y],{x,y}]
-2 x y u(0,1)[x,y]+y u(1,0)[x,y]2 x y
{{u[x,y]x2+x6+3 x4 y+3 x2 y2+y3}}
u[x_,y_]:=x2+x6+3 x4 y+3 x2 y2+y3
Plot3D[{u[x,y]},{x,-4,4},{y,-4,4},PlotLabel"Integral surface through initial curve"]

QUESTION NO. 3
Find the soliution of
ux+uy=u^2 with cauchy data
u=1& x+y=0 means u[x,-x]=1
p1=D[u[x,y],x]+D[u[x,y],y]u[x,y] u[x,y]
p2=DSolve[{p1,u[x,-x]1},u[x,y],{x,y}]
Plot3D[{u[x,y]/.p2},{x,-10,10},{y,-10,10},PlotLabel"Integral surface through initial
curve"]
u(0,1)[x,y]+u(1,0)[x,y]u[x,y]2
{{u[x,y]-(2/(-2+x+y))}}
QUESTION NO. 4
Find the soliution of ux+uy=1
with cauchy data u[x,2 x]=x^3
p1=D[u[x,y],x]+D[u[x,y],y]1
p2=DSolve[{p1,u[x,2 x]x^3},u[x,y],{x,y}]
Plot3D[{u[x,y]/.p2},{x,-10,10},{y,-10,10},PlotLabel"Integral surface through initial
curve"]
u(0,1)[x,y]+u(1,0)[x,y]1
{{u[x,y]2 x-x3-y+3 x2 y-3 x y2+y3}}

QUESTION NO. 5
Find the soliution of u(x+y) ux+u(x-y)
uy=x^2+y^2 with cauchy data u[x,2 x]=0
p1=u[x,y] (x+y) D[u[x,y],x]+u[x,y] (x-y) D[u[x,y],y]x^2+y^2
p2=DSolve[{p1,u[x,2 x]0},u[x,y],{x,y}]
Plot3D[{u[x,y]/.p2},{x,-10,10},{y,-10,10},PlotLabel"Integral surface through initial
curve"]
(x-y) u[x,y] u(0,1)[x,y]+(x+y) u[x,y] u(1,0)[x,y]x2+y2
Solve::ifun: Inverse functions are being used by _Solve_, so some solutions may not be found;
use Reduce for complete solution information. 
2 2 2

{{u[x,y]- 7 2 x2 3xy 2 y2 },{u[x,y] 7 2 x2 3xy 2 y2 },{u[x,y]- 7 2 x2 3xy 2 y2

},{u[x,y] 7 2 x2 3xy 2 y2 }}

QUESTION NO. 6
Find the soliution of ux+u uy=1
with cauchy data u[0,y]=4 y
p1=D[u[x,y],x]+u[x,y] D[u[x,y],y]1
p2=DSolve[{p1,u[0,y]4 y},u[x,y],{x,y}]
Plot3D[{u[x,y]/.p2},{x,-10,10},{y,-10,10},PlotLabel"Integral surface through initial
curve"]

u[x,y] u(0,1)[x,y]+u(1,0)[x,y]1
{{u[x,y](x+2 x2+4 y)/(1+4 x)}}
PRACTICAL NO. 2
18-01-2018
2). Plotting the characteristics curve for the first order PDE
QUESTION NO. 1

Find the soliution of (u[x,y]-


y) ux+y uyx+y with constant
{0,5,10}
characteristics curves of above
equation
((u+x)/y)c1
(x+y)2-u2c2
f0=Plot3D[{-x},{x,-10,10},{y,-10,10},PlotPoints10];
f1=Plot3D[{5 y-x},{x,-10,10},{y,-10,10},PlotPoints10];
f2=Plot3D[{10 y-x},{x,-10,10},{y,-10,10},PlotPoints10];
g1=Show[{f0,f1,f2}]
g3=Plot3D[{f0,f1,f2},{x,-10,10},{y,-10,10},PlotLegends{f0,f1,f2}]

1.0

0.5
10
0.0
0.5 5
1.0
10 0

0 5

5
10
{ 10
, }
}
h0=Plot3D[{x+y},{x,-10,10},{y,-10,10},PlotPoints10];
h1=Plot3D[{Sqrt[(x+y)2-5]},{x,-10,10},{y,-10,10},PlotPoints10];
h2=Plot3D[{Sqrt[(x+y)2-10]},{x,-10,10},{y,-10,10},PlotPoints10];
g2=Show[h0,h1,h2]
g4=Plot3D[{h0,h1,h2},{x,-10,10},{y,-10,10},PlotLegends{h0,h1,h2}]
{

1.0

0.5
10
0.0
0.5 5
1.0
10 0

0 5

5
10
{ 10
, }
}
Show[GraphicsColumn[{g1,g2}]]
QUESTION NO. 2
Find the soliution of (u[x,y](x+y))
ux+(u[x,y](x-y)) uyx^2+y^2 with constant
{0,5,10}
characteristics curves of above equation
(x2/2)-(y2/2)-((u[x,y])2/2)c1
(x2/2)-((x-y)2/2)c2
u[x,y]c3-x-y

f0=Plot3D[{Sqrt[x2-y2]},{x,-10,10},{y,-10,10},PlotPoints10];
f1=Plot3D[{Sqrt[x2-y2-10]},{x,-10,10},{y,-10,10},PlotPoints10];
f2=Plot3D[{Sqrt[x2-y2-20]},{x,-10,10},{y,-10,10},PlotPoints10];
g1=Show[{f0,f1,f2}]
g3=Plot3D[{f0,f1,f2},{x,-10,10},{y,-10,10},PlotLegends{f0,f1,f2}]

1.0

0.5
10
0.0
0.5 5
1.0
10 0

0 5

5
10
{ 10
, }
}
h0=Plot3D[{0-x-y},{x,-10,10},{y,-10,10},PlotPoints10];
h1=Plot3D[{5-x-y},{x,-10,10},{y,-10,10},PlotPoints10];
h2=Plot3D[{10-x-y},{x,-10,10},{y,-10,10},PlotPoints10];
g2=Show[h0,h1,h2]
g4=Plot3D[{h0,h1,h2},{x,-10,10},{y,-10,10},PlotLegends{h0,h1,h2}]

1.0

0.5
10
0.0
0.5 5
1.0
10 0

0 5

5
10
{ 10
, }
}
Show[GraphicsColumn[{g1,g2}]]
QUESTION NO. 3
Find the soliution of (y-x u[x,y]) ux+(x+y
u[x,y]) uyx^2+y^2 with constant {0,5,10})
characteristics curves of above equation
(x2/2)-(y2/2)+((u[x,y])2/2)c1
x y-u[x,y]c2

f0=Plot3D[{Sqrt[y2-x2]},{x,-10,10},{y,-10,10},PlotPoints10];
f1=Plot3D[{Sqrt[10+y2-x2]},{x,-10,10},{y,-10,10},PlotPoints10];
f2=Plot3D[{Sqrt[20+y2-x2]},{x,-10,10},{y,-10,10},PlotPoints10];
g1=Show[{f0,f1,f2}]
g3=Plot3D[{f0,f1,f2},{x,-10,10},{y,-10,10},PlotLegends{f0,f1,f2}]
{

1.0

0.5
10
0.0
0.5 5
1.0
10 0

0 5

5
10
{ 10
, }
}
h0=Plot3D[{x y},{x,-10,10},{y,-10,10},PlotPoints10];
h1=Plot3D[{x y-5},{x,-10,10},{y,-10,10},PlotPoints10];
h2=Plot3D[{x y-10},{x,-10,10},{y,-10,10},PlotPoints10];
g2=Show[h0,h1,h2]
g4=Plot3D[{h0,h1,h2},{x,-10,10},{y,-10,10},PlotLegends{h0,h1,h2}]
{

1.0

0.5
10
0.0
0.5 5
1.0
10 0

0 5

5
10
{ 10
, }
}
Show[GraphicsColumn[{g1,g2}]]
QUESTION NO. 4
Find the soliution of (y-u[x,y]) ux+(u[x,y]-
x)uyx-y with constant {0,5,10}
characteristics curves of above equation
x+y+u[x,y]c1
((x-u[x,y])2/2)+y2c2
f0=Plot3D[{-x-y},{x,-10,10},{y,-10,10},PlotPoints10];
f1=Plot3D[{5-x-y},{x,-10,10},{y,-10,10},PlotPoints10];
f2=Plot3D[{10-x-y},{x,-10,10},{y,-10,10},PlotPoints10];
g1=Show[{f0,f1,f2}]
g3=Plot3D[{f0,f1,f2},{x,-10,10},{y,-10,10},PlotLegends{f0,f1,f2}]

1.0

0.5
10
0.0
0.5 5
1.0
10 0

0 5

5
10
{ , 10
}
}
2
h0=Plot3D[{x+ 2 0 y },{x,-10,10},{y,-10,10},PlotPoints10];
2
h1=Plot3D[{x+ 2 5 y },{x,-10,10},{y,-10,10},PlotPoints10];
2
h2=Plot3D[{x+ 2 10 y },{x,-10,10},{y,-10,10},PlotPoints10];
g2=Show[h0,h1,h2]
g4=Plot3D[{h0,h1,h2},{x,-10,10},{y,-10,10},PlotLegends{h0,h1,h2}]
{

1.0
0.5
0.0 10
0.5 5
1.0
10 0
5
0 5
5
10
10

1.0

0.5
10
0.0
0.5 5
1.0
10 0

0 5

5
10
{ 10
, }
}
Show[GraphicsColumn[{g1,g2}]]
PRACTICAL NO. 3
25-01-2018
3). PLOTTING THE INTEGRAL SURFACE (Parametric form)

QUESTION NO. 1
Find the soliution of u ux+ uy1/2 with data u[s,s]=s/4 ,0s1
(dx/u)=(dy/1)=(2 du/1)=dt
x=s+s t+t^2/4;
y=s+t;
u=s/4+t/2;
ParametricPlot3D[{x,y,u},{s,0,1},{t,-1,1}]

QUESTION NO. 2
Find the soliution of ux- uy2 with data u[s,s]=2 s ,0s1
u[s,s]=2 s means that u[s,t=0]=2 s ,x[s,t=0]=s ,y[s,t=0]=s
(dx/1)=(dy/-1)=(du/2)=dt
x=t+s;
y=-t+s;
u=2 t+2 s;
ParametricPlot3D[{x,y,u},{s,0,1},{t,-1,1}]
QUESTION NO. 3
Find the soliution of ux+ uy1 with data u[s,s]=Sin[s] ,0s1
(dx/1)=(dy/1)=(du/1)=dt
x=t+s;
y=t+s;
u=t+Sin[s];
ParametricPlot3D[{x,y,u},{s,0,1},{t,-1,0.5}]
QUESTION NO. 4
Find the soliution of ux+ 2 uy0 with data u[0,s]=4 e-2 s,0s1
(dx/1)=(dy/2)=(du/0)=dt
x=t+0;
y=2 t+s;
u=4 Exp[-2 s];
ParametricPlot3D[{x,y,u},{s,0,1},{t,-1,1}]
PRACTICAL NO. 4
07-02-2018
4). Solution of wave equation

QUESTION NO.
1). Find the soliution of utt-uxx=0 with data
u[x,0]Log[1+x2] and
Derivative[0,1][u][x,0]2
q={ u x, t - u x, t 0,u[x,0]Log[1+x2],Derivative[0,1][u][x,0]2}
t,t x,x

Sol=u[x,t]/.NDSolve[q,u[x,t],{x,0,4},{t,0,4},PrecisionGoal3]//Quiet
Plot3D[{Sol},{x,0,4},{t,0,4},AxesLabel{x,y,u},Ticks{{0,1,2,3,4},{0,1,2,3,4},{1,2,3,4}},
TicksStyle{{Red},{Blue},{Green}}]
{u(0,2)[x,t]-u(2,0)[x,t]0,u[x,0]Log[1+x2],u(0,1)[x,0]2}
{InterpolatingFunction[{{0.,4.},{0.,4.}},<>][x,t]}
QUESTION NO.
2). Find the soliution of utt-uxx=0 with data
u[x,0]Sin[x] and
Derivative[0,1][u][x,0]Cos[x]
q={ u x, t - u x, t 0,u[x,0]Sin[x],Derivative[0,1][u][x,0]Cos[x]}
t,t x,x

Sol=u[x,t]/.NDSolve[q,u[x,t],{x,0,4},{t,0,4},PrecisionGoal3]//Quiet
Plot3D[{Sol},{x,0,4},{t,0,4},AxesLabel{x,y,u},Ticks{{0,1,2,3,4},{0,1,2,3,4},{1,2,3,4}},
TicksStyle{{Red},{Blue},{Green}}]
{u(0,2)[x,t]-u(2,0)[x,t]0,u[x,0]Sin[x],u(0,1)[x,0]Cos[x]}
{InterpolatingFunction[{{0.,4.},{0.,4.}},<>][x,t]}

QUESTION NO.
3). Find the soliution of utt-uxx=0 with data
u[x,0] Exp[-5 x] and
Derivative[0,1][u][x,0] x Cos[x]
q={ t,t u x, t -9 x,x u x, t 0,u[x,0]Exp[-5 x],Derivative[0,1][u][x,0]x Cos[x]}
Sol=u[x,t]/.NDSolve[q,u[x,t],{x,0,4},{t,0,4},PrecisionGoal3]//Quiet
Plot3D[{Sol},{x,0,4},{t,0,4},AxesLabel{x,y,u},Ticks{{0,1,2,3,4},{0,1,2,3,4},{1,2,3,4}},
TicksStyle{{Red},{Blue},{Green}}]
{u(0,2)[x,t]-9 u(2,0)[x,t]0,u[x,0]-5 x,u(0,1)[x,0]x Cos[x]}
{InterpolatingFunction[{{0.,4.},{0.,4.}},<>][x,t]}

Practical no . 5
15-02-2018
5). Solving System of ODE

X'=A .X {A is matrics and X is vector}


A={{5,3},{4,1}}
X[t_]:={x[t],y[t]}
DSolve[{X'[t]A.X[t]},{x,y},t]

Question1
Find the soliution of system of ODE
x'[t]=5 x+3 y
y'[t]=4 x+y
A={{5,3},{4,1}}
X[t_]:={x[t],y[t]}
DSolve[{X'[t]A.X[t]},{x,y},t]
{{5,3},{4,1}}
{{xFunction[{t},1/4 -t (1+3 8 t) C[1]+3/8 -t (-1+8 t) C[2]],yFunction[{t},1/2 -t (-
1+8 t) C[1]+1/4 -t (3+8 t) C[2]]}}

Question2
Find the soliution of system of ODE
x'[t]=5 x+2 y
y'[t]=3 x+4y
A={{5,2},{3,4}}
X[t_]:={x[t],y[t]}
DSolve[{X'[t]A.X[t]},{x,y},t]
{{5,2},{3,4}}
{{xFunction[{t},1/5 2 t (2+3 5 t) C[1]+2/5 2 t (-1+5 t) C[2]],yFunction[{t},3/5 2 t
(-1+5 t) C[1]+1/5 2 t (3+2 5 t) C[2]]}}
Question3
Find the soliution of system of ODE
x'[t]=3 x+4 y
y'[t]=2 x+y
A={{3,4},{2,1}}
X[t_]:={x[t],y[t]}
DSolve[{X'[t]A.X[t]},{x,y},t]
{{3,4},{2,1}}
{{xFunction[{t},1/3 -t (1+2 6 t) C[1]+2/3 -t (-1+6 t) C[2]],yFunction[{t},1/3 -t (-
1+6 t) C[1]+1/3 -t (2+6 t) C[2]]}}

Practical no.6
21-02-2018
6 (A).Euler method to solve O.D.E.

Que .1=dy/dx=x+2y,y(0)=0 by using euler method by find the


solve at x=1 by using stepisge h=25.
Euler[a0_,b0_,_,n0_]:=Module[{a=a0,b=b0,j,n=n0},
h=(b-a)/n;
X=Table[a+(j-1)*h,{j,1,n+1}];
Y=Table[,{j,1,n+1}];
For[j=1,jn,j++,
Y[[j+1]]=Y[[j]]+h f[X[[j]],Y[[j]]];];
Return[TableForm[Table[{N[X],N[Y]},{1}],
TableHeadings{{},{"x","y"}}]];]
f[x_,y_]:=x+2y;
Euler[0,1,0,4]

s=DSolve[{y'[x]x+2y[x],y[0]0},y[x],x]
h0=Plot[y[x]/.s,{x,0,1}]
h1=ListPlot[{{0,0},{0.25,0},{0.5,0.0625},{0.75,0.21875},{1,0.515625}}];
Show[h0,h1]
{{y[x]1/4 (-1+2 x-2 x)}}
1.0

0.8

0.6

0.4

0.2

0.2 0.4 0.6 0.8 1.0

1.0

0.8

0.6

0.4

0.2

0.2 0.4 0.6 0.8 1.0

6 (B). Modify Euler method to solve O.D.E.

Que .1=dy/dx=x+2y,y(0)=0 by using modify euler method by


find the solve at x=1 by using stepisge h=0.25.
Euler[a0_,b0_,_,n0_]:=Module[{a=a0,b=b0,j,n=n0},
h=(b-a)/n;
X=Table[a+(j-1)h,{j,1,n+1}];
Y=Table[,{j,1,n+1}];
For[j=1,jn,j++,
Y[[j+1]]=Y[[j]]+h/2(f[X[[j]],Y[[j]]]+f[X[[j]]+h,Y[[j]]+h*f[X[[j]],Y[[j]]]]);];
Return[TableForm[Table[{N[X],N[Y]},{1}],
TableHeadings{{},{"x","y"}}]];]
f[x_,y_]:=x+2y;
Euler[0,1,0,4]
s=DSolve[{y'[x]x+2y[x],y[0]0},y[x],x]
h0=Plot[y[x]/.s,{x,0,1}];
h1=ListPlot[{{0,0},{0.25,0.03125},{0.5,0.160156},{0.75,0.447754},{1,0.993225}}];
Show[h0,h1]
{{y[x]1/4 (-1+2 x-2 x)}}
1.0

0.8

0.6

0.4

0.2

0.2 0.4 0.6 0.8 1.0

Practical no.  7
15-03-2018
7). SOLVE HOMOGENEOUS WAVE EQUATION
HOMOGENEOUS WAVE EQUATION PROBLEM WITH
INITIAL DATA
Find the soliution of wave equation
utt-c uxx=0 , c>0
u[x,0]=f[x]
ut[x,0]=g[x]
SOLUTION OF ABOVE PROBLEM IS x ct
g s s
u[x,t]=(1/2) ((F[x+c t]+F[x-c t])+(1/c) ( x ct ))
it is called d'alembert solution of the cauchy problem for the one -
dimension wave equation.
Question1
Find the soliution of wave equation utt-c uxx=0 with initial value f[x]=Sin[x]
g[x]= ut[x,0]=Cos[x]

eq1=D[u[x,t],t,t]-c^2 D[u[x,t],x,x]0
Simplify[DSolve[eq1,u[x,t],{x,t}],c>0] x ct
g .x y y
dAlembert[c_,f_,g_,x_,t_]:=1/2 ((f/.xx+c t)+(f/.xx-c t))+1/(2 c) x ct

u(0,2)[x,t]-c2 u(2,0)[x,t]0
{{u[x,t]C[1][t-x/c]+C[2][t+x/c]}}
f[x_]:=Sin[x]
g[x_]:=Cos[x]
dAlembert[c,f[x],g[x],x,t]//Simplify
(Cos[x] Sin[c t])/c+Cos[c t] Sin[x]
(Cos[x] Sin[c t])/c+Cos[c t] Sin[x]
Manipulate[Plot3D[((Cos[x] Sin[c t])/c+Cos[c t] Sin[x]),{x,-5,5},{t,-5,5}],{c,-2,2}]
c

2.

Manipulate[Plot3D[((Cos[x] Sin[c t])/c+Cos[c t] Sin[x]),{x,-5,5},{t,-5,5}],{c,-2}]


c 2

Manipulate[Plot3D[((Cos[x] Sin[c t])/c+Cos[c t] Sin[x]),{x,-5,5},{t,-5,5}],{c,{-2,-1,1,2}}]


c 2 1 1 2

Question2
Find the soliution of wave equation utt-c uxx=0 with initial value f[x]=Sin[x]
g[x]= ut[x,0]=x^2

eq2=D[u[x,t],t,t]-c^2 D[u[x,t],x,x]0
Simplify[DSolve[eq2,u[x,t],{x,t}],c>0] x ct
g .x y y
dAlembert[c_,f_,g_,x_,t_]:=1/2 ((f/.xx+c t)+(f/.xx-c t))+1/(2 c) x ct

u(0,2)[x,t]-c2 u(2,0)[x,t]0
{{u[x,t]C[1][t-x/c]+C[2][t+x/c]}}
f[x_]:=Sin[x]
g[x_]:=x^2
dAlembert[c,f[x],g[x],x,t]//Simplify
(c2 t3)/3+t x2+Cos[c t] Sin[x]
Manipulate[Plot3D[((c2 t3)/3+t x2+Cos[c t] Sin[x]),{x,-5,5},{t,-5,5}],{c,-2,2}]
c

Question3
Find the soliution of wave equation utt-c uxx=0 with initial value f[x]=x^3
g[x]= ut[x,0]=x
eq3=D[u[x,t],t,t]-c^2 D[u[x,t],x,x]0
Simplify[DSolve[eq3,u[x,t],{x,t}],c>0] x ct
g .x y y
dAlembert[c_,f_,g_,x_,t_]:=1/2 ((f/.xx+c t)+(f/.xx-c t))+1/(2 c) x ct

u(0,2)[x,t]-c2 u(2,0)[x,t]0
{{u[x,t]C[1][t-x/c]+C[2][t+x/c]}}
f[x_]:=x^3
g[x_]:=x
dAlembert[c,f[x],g[x],x,t]//Simplify
x (t+3 c2 t2+x2)
Manipulate[Plot3D[(x (t+3 c2 t2+x2)),{x,-5,5},{t,-5,5}],{c,-2,2}]
c

Question4
Find the soliution of wave equation utt-c uxx=0 with initial value f[x]=Sin[x]
g[x]= ut[x,0]= Exp[x]

eq4=D[u[x,t],t,t]-c^2 D[u[x,t],x,x]0
Simplify[DSolve[eq4,u[x,t],{x,t}],c>0] x ct
g .x y y
dAlembert[c_,f_,g_,x_,t_]:=1/2 ((f/.xx+c t)+(f/.xx-c t))+1/(2 c) x ct

u(0,2)[x,t]-c2 u(2,0)[x,t]0
{{u[x,t]C[1][t-x/c]+C[2][t+x/c]}}
f[x_]:=Sin[x]
g[x_]:=Exp[x]
dAlembert[c,f[x],g[x],x,t]//Simplify
Cos[c t] Sin[x]+(x Sinh[c t])/c
Manipulate[Plot3D[(Cos[c t] Sin[x]+(x Sinh[c t])/c),{x,-5,5},{t,-5,5}],{c,-2,2}]
c

21-03-2018
PRACTICAL NO. 8
8).Pointwise convergent & Uniform convergent of sequance of
function on given interval.
8a).Uniform convergent

Question1
fn(x)=xn x belong to [0,1]
f[i_]:=x^i
Manipulate[Plot[Table[f[i],{i,n}],{x,0,1},PlotRange{-
0.5,1.1},AxesTrue,Epilog{{Orange,Rectangle[{0,-},{a,}]},Thickness[0.007],

Line[{{0,0},{1,0}}],RGBColor[0.49,0,0],PointSize[0.01],Point[{1,1}],PointSize[0.02],Point[
{1,0}],{White,PointSize[0.01],Point[{1,0}]}}],{a,0.1,1,0.001,Appearance"Labeled"},{,0.
1,0.5,0.001,Appearance"Labeled"},{n,1,50,1,Appearance"Labeled"}]
Limit[f[i],i,Assumptions{0x<1}]
Limit[f[i],i,Assumptions{x=1}]
Global`a 0.1

Global` 0.1

Global`n 1

1.0

0.5

0.2 0.4 0.6 0.8 1.0

0.5

0
1

Question2
fn(x)=x/n x belong to [0,1]
f[i_]:=x/i
Manipulate[Plot[Table[f[i],{i,n}],{x,0,1},PlotRange{-
0.5,1.1},AxesTrue,Epilog{{Orange,Rectangle[{0,-},{a,}]},Thickness[0.007],

Line[{{0,0},{1,0}}]}],{a,0.1,1,0.001,Appearance"Labeled"},{,0.1,0.5,0.001,Appearance
"Labeled"},{n,1,50,1,Appearance"Labeled"}]
Limit[f[i],i,Assumptions{0x1}]

a 0.1

0.1

n 1

1.0

0.5

0.2 0.4 0.6 0.8 1.0

0.5

Question3
fn(x)=(n*x)/(1+(n*x)^2) x belong to
[0,1]
f[i_]:=(i x)/(1+(i x)^2)
Manipulate[Plot[Table[f[i],{i,n}],{x,0,1},PlotRange{-
0.5,1.1},AxesTrue,Epilog{{Orange,Rectangle[{0,-},{a,}]},Thickness[0.007],

Line[{{0,0},{1,0}}]}],{a,0.1,1,0.001,Appearance"Labeled"},{,0.1,0.25,0.001,Appearance
"Labeled"},{n,1,50,1,Appearance"Labeled"}]
Limit[f[i],i,Assumptions{0<x1}]

a 0.1

0.1

n 1

1.0

0.5

0.2 0.4 0.6 0.8 1.0

0.5

Question4
fn(x)=(n*x)/(1+(n*x)) x belong to [0,1]
f[i_]:=(i x)/(1+(i x))
Manipulate[Plot[Table[f[i],{i,n}],{x,0,1},PlotRange{-
0.5,1.1},AxesTrue,Epilog{{Orange,Rectangle[{0,-},{a,}]},Thickness[0.007],

Line[{{0,0},{1,0}}]}],{a,0.1,1,0.001,Appearance"Labeled"},{,0.1,0.25,0.001,Appearance
"Labeled"},{n,1,50,1,Appearance"Labeled"}]
Limit[f[i],i,Assumptions{x=0}]
Limit[f[i],i,Assumptions{0<x1}]

a 0.1

0.1

n 1

1.0

0.5

0.2 0.4 0.6 0.8 1.0

0.5

0
Question5
fn(x)=x/(n+x) x belong to [0,1]
f[i_]:=(x)/(i+ x)
Manipulate[Plot[Table[f[i],{i,n}],{x,0,1},PlotRange{-
0.5,1.1},AxesTrue,Epilog{{Orange,Rectangle[{0,-
},{a,}]},Thickness[0.007],Line[{{0,0},{1,0}}]}],{a,0.1,1,0.001,Appearance"Labeled"},
{,0.1,0.25,0.001,Appearance"Labeled"},{n,1,50,1,Appearance"Labeled"}]
Limit[f[i],i,Assumptions{0x1}]

a 0.1

0.1

n 1

1.0

0.5

0.2 0.4 0.6 0.8 1.0

0.5

Question6
fn(x)=x^n/(1+x^n) x belong to [0,1]
f[i_]:=(x^i)/(1+x^i)
Manipulate[Plot[Table[f[i],{i,n}],{x,0,1},PlotRange{-
0.5,1.1},AxesTrue,Epilog{{Orange,Rectangle[{0,-},{a,}]},Thickness[0.007],

Line[{{0,0},{1,0}}]}],{a,0.1,1,0.001,Appearance"Labeled"},{,0.1,0.25,0.001,Appearance
"Labeled"},{n,1,50,1,Appearance"Labeled"}]
Limit[f[i],i,Assumptions{0x1}]
a 0.1

0.1

n 1

1.0

0.5

0.2 0.4 0.6 0.8 1.0

0.5

1/2
8b). Pointwise convergent
Question1
fn(x)=xn x belong to [0,1]
f[n_]:=x^n
Plot[{f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12]},{x,0,1.5},PlotRange{-
0.2,1.5},PlotLegends"Expressions"]
Manipulate[Plot[x^n,{x,0,1},PlotRange{-
0.1,1},PlotLegends{x^n}],{n,1,100,2}]Plot[Table[f[n],{n,12}],{x,0,1},PlotRange{-
0.2,1.5},PlotLegends{Table[f[n],{n,12}]}]

Limit[f[n],n,Assumptions{0x<1}]
Limit[f[n],n,Assumptions{x=1}]
{
1.5

f 1 f 9
1.0
f 2 f 10
f 3 f 11
f 4 f 12
0.5
f 5
f 6
f 7
0.2 0.4 0.6 0.8 1.0 1.2 1.4 f 8
{ , }
}
{
1.5

1.0

0.5

0.2 0.4 0.6 0.8 1.0


{ , {x,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12}}
n

1.0

0.8

0.6

1
0.4

0.2

0.2 0.4 0.6 0.8 1.0

}
0
1
Question2
fn(x)=x/n x belong to [0,1]
f[n_]:=x/n
Plot[{f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12]},{x,-1,1},PlotRange{-
0.2,1.5},PlotLegends"Expressions"]
Manipulate[Plot[x^n,{x,-1,1},PlotRange{-0.1,1},PlotLegends{x^n}],{n,1,100,2}]

Limit[f[n],n,Assumptions{-<x<}]
1.5

f 1 f 9
1.0
f 2 f 10
f 3 f 11
f 4 f 12
0.5
f 5
f 6
f 7
1.0 0.5 0.5 1.0 f 8
{ , }
}

1.0

0.8

0.6

1
0.4

0.2

1.0 0.5 0.5 1.0

You might also like