Rozwiązywanie równania nieliniowego metodą bisekcji |
|
|
|
|
|
|
|
|
|
f(x)=exp(-x)-sin(x)=0 |
|
|
|
|
|
|
|
|
|
a |
b |
m |
f(a) |
f(b) |
f(m) |
|
|
|
|
|
|
|
|
|
3 |
4 |
3,5 |
-0,091332939692003 |
0,775118134196662 |
0,380980611111938 |
|
|
|
|
|
|
|
|
|
3 |
3,5 |
3,25 |
-0,091332939692003 |
0,380980611111938 |
0,14696934236183 |
|
|
|
|
|
|
|
|
|
3 |
3,25 |
3,125 |
-0,091332939692003 |
0,14696934236183 |
0,02734504139406 |
|
|
|
|
|
|
|
|
|
3 |
3,125 |
3,0625 |
-0,091332939692003 |
0,02734504139406 |
-0,032239594363431 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
-0,473591543636454 |
|
|
|
|
|
|
|
2 |
-0,773962143589069 |
|
|
|
|
|
|
3 |
-0,091332939692003 |
|
|
|
|
|
|
4 |
0,775118134196662 |
|
|
|
|
|
|
5 |
0,965662221662224 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zadanie 2 |
|
|
x |
f(x) |
|
|
|
|
|
|
|
|
|
|
1) f(x)=2*x^2-5*x-12=0 |
|
|
-1,49999696145665 |
0,0 |
|
|
|
|
|
|
|
|
|
|
x |
f(x) |
|
|
|
|
|
|
-10 |
238 |
|
MIN |
MAX |
Roz. Dodatnie |
Roz. Ujemne |
-9 |
195 |
|
-15,125 |
brak |
3,91697306767469E-06 |
3,91697306767469E-06 |
-8 |
156 |
|
1,24999999511719 |
|
-1,50000035608844 |
-1,50000035608844 |
-7 |
121 |
|
|
|
|
|
-6 |
90 |
|
|
|
|
|
-5 |
63 |
|
|
|
|
|
-4 |
40 |
|
|
|
|
|
-3 |
21 |
|
|
|
|
|
-2 |
6 |
|
|
|
|
|
-1 |
-5 |
|
|
|
|
|
0 |
-12 |
|
|
|
|
|
1 |
-15 |
|
|
|
|
|
2 |
-14 |
|
|
|
|
|
3 |
-9 |
|
|
|
|
|
4 |
0 |
|
|
|
|
|
5 |
13 |
|
|
|
|
|
6 |
30 |
|
|
|
|
|
7 |
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
x |
f(x) |
|
|
|
|
|
|
|
|
|
|
2) f(x)=x^2+1-2*exp(-x) |
|
|
0,483030012321792 |
0,00 |
|
|
|
|
|
|
|
|
|
|
x |
f(x) |
|
|
|
|
|
|
|
|
|
|
|
|
|
-3 |
-30,1710738463753 |
|
MIN |
MAX |
Roz. Dodatnie |
Roz. Ujemne |
|
-2 |
-9,7781121978613 |
|
|
brak |
|
|
-1 |
-3,43656365691809 |
|
|
|
|
|
0 |
-1 |
|
|
|
|
|
1 |
1,26424111765712 |
|
|
|
|
|
2 |
4,72932943352677 |
|
|
|
|
|
3 |
9,90042586326427 |
|
|
|
|
|
4 |
16,9633687222225 |
|
|
|
|
|
5 |
25,9865241060018 |
|
|
|
|
|
6 |
36,9950424956467 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6) f(x)=a*x^3+b*x^2+c*x+d |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a |
b |
c |
d |
x |
f(x) |
|
|
|
|
|
|
|
|
|
4 |
7 |
9 |
0 |
-0,729317467333142 |
-4,39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
x |
f(x) |
|
|
|
|
|
-10 |
-3390 |
|
|
|
|
|
-9 |
-2430 |
|
|
|
|
|
-8 |
-1672 |
|
|
|
|
|
-7 |
-1092 |
|
|
|
|
|
-6 |
-666 |
|
|
|
|
|
-5 |
-370 |
|
|
|
|
|
-4 |
-180 |
|
|
|
|
|
-3 |
-72 |
|
|
|
|
|
-2 |
-22 |
|
|
|
|
|
-1 |
-6 |
|
|
|
|
|
0 |
0 |
|
|
|
|
|
1 |
20 |
|
|
|
|
|
2 |
78 |
|
|
|
|
|
3 |
198 |
|
|
|
|
|
4 |
404 |
|
|
|
|
|
5 |
720 |
|
|
|
|
|
6 |
1170 |
|
|
|
|
|
7 |
1778 |
|
|
|
|
|
8 |
2568 |
|
|
|
|
|
9 |
3564 |
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
4790 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zadanie 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Układ równań liniowych |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zmienne |
Równania |
Wartości bezwzględne |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
x |
1,79994354369907 |
0,000141146987833 |
0,000141146987833 |
|
|
|
|
|
|
|
|
|
|
|
y |
-0,199915313470102 |
4,1570045183903E-09 |
4,1570045183903E-09 |
|
|
|
|
|
|
|
|
|
|
|
|
|
Suma= |
0,000141151144837 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zadanie 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rozwiązywanie układów równań |
|
|
|
|
Zmienne |
Współczynniki |
Formuły |
|
|
|
|
x1 |
6,00000027840254 |
a1 |
2 |
b1 |
4 |
c1 |
5 |
d1 |
-33 |
-5,83375429386024E-06 |
|
|
|
|
y1 |
11,4999978268273 |
a2 |
6 |
b2 |
6 |
c2 |
7 |
d2 |
-70 |
-8,14563695428205E-06 |
|
|
|
|
z1 |
-4,99999953957369 |
a3 |
3 |
b3 |
-6 |
c3 |
4 |
d3 |
71 |
1,57159492175651E-05 |
|
|
|
|
Wyniki sumowania |
3,47375150361184E-10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zadanie 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Układ równań nieliniowych |
Formuły |
|
|
|
|
|
|
|
|
|
|
|
x2 |
-0,463292052682317 |
f(x) |
0,000981608500609 |
|
|
|
|
|
|
|
|
|
|
|
y2 |
3,30048042581849 |
g(x) |
-0,001248576613538 |
|
|
|
|
|
|
|
|
|
|
|
|
Suma kwadratów |
2,52249880834187E-06 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zadanie 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Operacje macierzowe |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Macierz A |
|
Macierz B |
|
Macierz C=A+B |
|
|
|
|
|
|
|
2 |
3 |
|
7 |
8 |
|
9 |
11 |
|
|
|
|
|
|
|
3 |
4 |
|
9 |
10 |
|
12 |
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Macierz D |
|
Macierz D-1 |
|
Macierz D*D-1 |
|
|
|
|
|
|
|
1 |
-2 |
|
0,4 |
0,2 |
|
1 |
5,55111512312578E-17 |
|
|
|
|
|
|
|
3 |
4 |
|
-0,3 |
0,1 |
|
0 |
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
Macierz jednostkowa |
|
|
|
|
|
|
|
Wyznacznik macierzy D |
|
|
|
|
|
|
|
|
|
|
|
|
10 |
Mac. Nieosobliwa |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zadanie 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rownanie macierzowe X=D-1*b |
|
|
|
|
|
|
|
|
|
|
|
Macierz D-1 |
b |
X=D-1*b |
|
|
|
|
|
|
|
|
|
|
|
0,4 |
0,2 |
-1 |
3 |
|
|
|
|
|
|
|
|
|
|
|
-0,3 |
0,1 |
17 |
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Wykorzystanie funkcji macierzowych |
|
|
|
|
|
|
|
|
|
|
do rozwiązywania układu równań liniowych |
|
|
|
|
|
|
|
|
|
|
(równania macierzowe) |
|
|
|
|
|
|
|
|
|
|
Macierz współczynników [A] |
Macierz [C] |
|
|
|
|
|
|
|
|
|
|
|
2 |
3 |
-2 |
15 |
|
|
|
|
|
|
|
|
|
|
|
3 |
-2 |
2 |
-2 |
|
|
|
|
|
|
|
|
|
|
|
4 |
-1 |
3 |
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Macierz odwrotna A-1 |
A-1*C=X |
|
|
|
|
|
|
|
|
|
|
0,19047619047619 |
0,333333333333333 |
-0,095238095238095 |
2 |
x3 |
|
|
|
|
|
|
|
|
|
|
0,047619047619048 |
-0,666666666666667 |
0,476190476190476 |
3 |
y3 |
|
|
|
|
|
|
|
|
|
|
-0,238095238095238 |
-0,666666666666667 |
0,619047619047619 |
-1 |
z3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zrekonstruowane równania |
|
|
|
|
|
|
|
|
|
|
|
4 |
9 |
2 |
15 |
|
|
|
|
|
|
|
|
|
|
|
6 |
-6 |
-2 |
-2 |
|
|
|
|
|
|
|
|
|
|
|
8 |
-3 |
-3 |
2 |
|
|
|
|
|
|
|
|
|
|
|