Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
x1=x0-((x0)3-21x0+3500)/(3*(x0)2-21)
=-15 - [(-15)3-21*(-15)+3500]/[3*(-15)2-21]
=-15 - 440/654
=-15.67
f(x1)=f(-15.67)= (-15.67)3-21*(-15.67)+3500=-18.63
f'(x1)=f'(-15.67)=3*(-15.67)2-21=715.64
x2=x1-[(x1)3-21x1+3500]/ (3*(x1)2-21)
=-15.67 - [(-15.67)3-21*(-15.67)+3500]/[3*(-15.67)2-21]
=-15.67- (-18.63)/(715.64)=-15.64
x3=x2-[(x2)3-21x2+3500]/ (3*(x2)2-21)
=-15.64 - [(-15.64)3-21*(-15.64)+3500]/[3*(-15.64)2-21]
=-15.64-(2.74)/(712.8)=-15.64
ans-
let y=a+bx be best fit straight line for given data
then the normal equation are given by
y=na+bx --------(1)
xy=ax+bx2 --------(2)
Year Y X(deviation x.y x.x
from 1993)
1991 240 -2 -480 4
1992 255 -1 -255 1
1993 225 0 0 0
1994 260 1 260 1
1995 280 2 560 4
N=5 y=1260 x=0 xy=85 10
NEWTON's METHOD
Newton's method (also known as the NewtonRaphson method),
named after Isaac Newton and Joseph Raphson, is a method for
finding successively better approximations to the roots (or zeroes)
of a real-valued function.
SIMPSON'S RULES
One drawback of the trapezoidal rule is that the error is
related to the second derivative of the function.
More complicated approximation formulas can improve the
accuracy for curves - these include using (a) 2nd and (b) 3rd
order polynomials(see figure below).
The formulas that result from taking the integrals under
these polynomials are called Simpsons rules.
Simpsons 1/3 Rule
Simpsons 1/3 rule corresponds to using second-order
polynomials. Using the Lagrange form for a quadratic fit of three
points:
Q3)
a) Prove that E-?=1, where E is the shift operator.
b)?4y0=y4-4y3+6y2-4y1+y0
ans-
a) we have
y0=y1-y0=Ey0-y0
=(E-1)y0
so =E-1 or E-=1 proved
b) 4y0=(E-1)4y0=(E-1)2 .(E-1)2.y0=(E2+1-2E) (E2+1-2E).y0
=E4y0- 4E3y0+6E2y0-4Ey0+y0
=y4-4y3+6y2-4y1+y0 proved
section C