Numerical methods
Final notes
Example :
sample size
-
n= f
Chaps -
Adequacy of
Linear
Regression Models
* Plot the data and the model
line
phisony phap dank gia di fitness bang graph
* Find the standard error of estimate
Standard error
of estimate S
y/x
I
r
n
Sr
-
2
I(y
&
Sr =
,
-
90 -
a x
*
higher Derivatives (24d Derivatives)
Example : (t =
2000 Int
,
104] -
9 8t
.
,
Oft130 ·
Calculate jerk att one
Forward difference Backward Difference Central Divided
f(x z) 2f(xi 1) + f(xi) f(xi-z) 2f(xi ) + f(xi) f(xin) 2f(xi) + f(xi 1)
f"(x)
-
-
+ -
f"(x)
-
f"(x)
-
=
= =
Ax2 Ax2 Ax2
X + 2AX X+ Ax X-2AX X-Ax Xit
X + AX
Xi =
X-Ax
Xin
=
Xi + z Xi
=
,
Xinz
=
= =
, ,
j(t) v"(t) Eg : j(t) v"(t) Eg : j(t) = v (t)
Eg
=
: =
V(titz) 2V(ti
-
+ 1) + v(ti) v(ti-2) -
2V(ti- 1) +
v(ti) =
V(tity) -
2V(ti) + v(ti 1)
-
=
I
At 2 Ax
At
V (20) 2V(18) + v((6) V(k) 2V)(4) V(18) 2V((6) + v((4)
j(16) V((6) j(()
-
-
j(()
-
+
= =
=
22 22
22
* Gass Quadrature Formula
)f(b
b
=a) =
b
step 1 :
(f(x) dx =
+ +
Step 2 :
g(t) =
f) Ba, a) b
wa
↑ f(x> dx !gltdt
=
- cigli e
c vati tra bang t
dia roo
gitri va n .
they si va tink kit qua
Steps :
07 a
- -
↑
n= 5
- -
-
truevalue :
f (x) =
cos(X) = Sinx
f (0 .
8) = -Sin (0 .
8)
e
approx f'()
flyfli
:
At =
-
=
Question 1 :
n=5 ,
m= 2
I
I: Eric Exit dogaI
Exi = , 60+ 1 56+...
0 .
+ 3 Of .
Exi = 0 .
784+ 1 582 .
...
+3 . 814
I
Exi = 0 .
+ + 1 .
563+ ...
>
-
3 813
.
28-
"
Exi =
0 .
...
+ 3 . M4