4. Integralning qiymatini 3 xona aniqlikda Trapetsiya, Simpson formulalari yordamida hisoblang
n=10
h=(b-a)/n=(2.8-1.2)/10=0.16
Trapetsiya va Simpson usuli
Yi=f(xi), i=0,1,2…,n
Xi=X0+i*h
X0=a=1.2
X1= X0+1*h=1.2+0.16=1.36
X2= X0+2*h=1.2+2*0.16=1.52
X3= X0+3*h=1.2+3*0.16=1.68
X4= X0+4*h=1.2+4*0.16=1.84
X5= X0+5*h=1.2+5*0.16=2
X6=1.2+6*0.16=2.16
X7=1.2+7*0.16=2.32
X8=1.2+8*0.16=2.48
X9=1.2+9*0.16=2.64
X10=1.2+10*0.16=2.8
Y0=
Shu tartibda Y1-Y10 larni topamiz
Y1=0.4450
Y2=0.4259
Y3=0.4074
Y4=0.3896
Y5=0.3726
Y6=0.3565
Y7=0.3413
Y8=0.3270
Y9=0.3135
Y10=0.3009
Trapetsiya usuli
Simpson usuli
Trapetsiya usulida 0.601915≈0.602
Simpson usulida 0.601821≈0.602 uch xona aniqlikda yaxlitlanganda tenglikni ko’rishimiz mumkin
5.Quyidagi tеnglama bеrilgan shartlarda Eylеr usuli bilan yеchilsin
Do'stlaringiz bilan baham: |