Академический Документы
Профессиональный Документы
Культура Документы
Solution:
The equation to solve in
is:
) , i.e.:
Therefore the function of which we have to find the lowest positive zero is :
To used the False Position methos we need an interval in whose ends the function
changes its sign.
After some trials we found out that:
and
.
Therefore [6,8] is a suitable interval for the False Position method (or in other words
there must be one zero, at least, between 6 and 8).
The iterative formula of False Position is:
Applying iteratively the formula we obtain the flowing table:
6.00
6.59
6.66
0.21
0.03
0.00
8.00
8.00
8.00
The solution is
2.
(2.0)
Given the following MATLAB code:
function [S] =errfunc(x)
S=0
FAC=1
n=0
s=10
-0.50
-0.50
-0.50
6.59
6.66
6.66
0.03
0.00
while abs(s)>0.05
s=(-1)^n*x^(2*n+1)/FAC/(2*n+1)
S=S+s
n=n+1
FAC=FAC*n
end
S=2/pi^0.5*S
1
1
2.5
4.75
SOLUTION:
-2
-0.5
1.75
2.5
4.75
-3.5
1
-0.5
0
1
2.5
As the order of the non-zero maximum order divided finite difference is 2 the
degree of the collocation polynomial is 2.
Applying the Newton formula:
SOLUTION:
We put the system in matrix form:
)( )
2nd step
Pivot equation 2nd equation
Pivot coefficient
1st and 2nd rows (equations) as they are:
)( )
5. (1.5)
Compute a numerical value for:
SOLUTION:
Since the number of subintervals is 9 , the amplitude of each one is:
We build the table:
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
0
0.39
0.61
0.71
0.74
0.72
0.67
0.61
0.54
0.47
The solution is
6. (1.5)
Giving the ordinary differential equation:
(
a numerical value of
for
SOLUTION:
We put the equation in the form
(
from
Computation of
1.82
(
can be estimated: