Mathcad muhitida chiziqli algebraik tenglamalar sistemalarini tadqiq etish va yechish.
Misol 3: Quydagi tizimni eching
2x1 3x2 x3 1
x 4x 2x 3
1 2 3
3x1 x2 x3 4
Echimi:
2 3 1 1
A 1 4
2
b 3
x A 1b
x 2
lsolve (Ab) 2 3
x1 1;
3
x2 2; x3 3.
Misolning Zeydel usulida MathCad tadasturi
2 3 1 1
A 1 4
2
b 3
3 1 1
4
ZeydelAb
n cols(A) F ATA H ATb
for
i 0 n 1
for
j 0 n 1
Ai j 0
if i j
Ai j
i
H
F
F
i j
ii
otherwise
bi F
i i
k 0 x1 b
while 1
x x1
for
i 0 n 1 s 0
for
j 0 n 1
s s Aix
j j
x s b
i i
y x x1
x1 x
m max(y) k k 1
x A 1b
1
x 2
break x k m
if m (k 200)
3
Misol 4: Quydagi tizimni eching
20, 9x1 1, 2x2 2,1x3 0, 9x4 21, 7
1, 2x 21, 2x 1, 5x 2, 5x 27, 46
1 2 3 4
2,1x 1, 5x 19,8x 1, 3x
28, 76
1 2 3 4
0, 9x 2, 5x 1, 3x 32,1x
49, 72
1 2 3 4
Echimi:
20.9
A 1.2
2.1
0.9
1.2
21.2
1.5
2.5
2.1
1.5
19.8
1.3
0.9
2.5
1.3
32.1
21.7 b 27.46
28.76
49.72
x A 1b
0.8 x 1
1.2
1.4
0.8
lsolve (Ab) 1
x1 0.8;
1.2
1.4
x2 1; x3 1.2;
x4 1.4
Misol 5: Quydagi tizimni eching
13,47 x12,29 x23,29 x34,75 x4
2,32
2, 75x 11,11x2, 28x 0, 75x
4,75
1 2 3 4
0,28x6,25x9,21x0,79x
2, 25
1 2 3 4
3, 21x 2, 21x0, 49x 7,87x
3, 41
1 2 3 4
Echimi:
13.47
2.29
3.29
4.75
2.32
A
2.75
11.11
2.28
0.75
b
4.75
0.28
3.21
6.25
2.21
9.25 0.49
0.79
7.87
0.493
2.25
3.41
lsolve (A b)
0.278
x1 0.493;
0.101
0.706
x2 0.278; x3 0.101;
x4 0.706
Misol 6: Quydagi tizimni eching
9,66x12,01x2 3,03x31,61x4 2,29
3, 22x 12, 41x 1, 65x0, 93x2, 64
1 2 3 4
1, 69x1 2,17x2 13, 65x3 3, 73x4 6, 48
0, 46x1, 75x 3, 75x9, 65x 2, 77
1 2 3 4
Echimi:
9.66
2.01
3.03
1.61
2.29
0.14
A 3.22
12.41
1.65
0.93
b
2.64
lsolve (A b)
0.32
1.69
2.17
13.65
3.73
6.483
0.284
0.46
1.75
3.75
9.65
2.77
0.449
0.14
x A 1b
x
0.32
0.284
0.449
x1 0.14;
x2 0.32; x3 0.284;
x4 0.449
Misol 7: Quydagi tizimni eching
15, 75x1 2, 91x2 3, 60x3 2, 09x4 2,84
3, 63x12, 02x 6, 71x 0, 09x 9,81
1 2 3 4
2, 28x 3, 48x 15, 78x 2, 64x
2, 71
1 2 3 4
3, 41x 0, 51x 1, 07x 6, 07x 2, 33
1 2 3 4
Echimi:
15.75
2.91
3.60
2.09
2.84
0.418
A
3.63
12.02
6.71
0.09
b
9.81
lsolve (A b)
0.99
2.28
3.41
3.48
0.51
15.78
1.07
2.64
6.07
2.71
2.33
0.078
0.549
0.418
x A 1b
x
0.99
0.078
0.549
x1 0.418;
x2 0.99; x3 0.078;
x4 0.549
Misol 8: Quydagi tizimni eching
0, 01x1 2, 01x2 4, 76x3 1, 01x4 2, 23
7, 27x 0, 09x1, 04x9, 27x 0, 91
1 2 3 4
10, 35x1 2, 35x2 1, 28x3 4, 01x4 2, 08
0, 49x 0, 28x 4, 35x1, 97 x 2, 61
1 2 3 4
Echimi:
0.01
2.01
4.76
1.01
2.23
1.214
A
7.27
0.09
1.04
9.27
b
0.91
lsolve (Ab) 2.848
10.35
0.49
2.35
0.28
1.28
4.35
4.01
1.97
2.08
2.61
0.575
0.762
1.214
xA1b
x2.848
0.575
0.762
x1 1.214;
x2 2.848; x3 0.575;
x4 0.762.
Misol 9: Quydagi tizimni eching
7, 71x1 2,83x2 1, 08x3 0, 75x4 2, 23x5 2, 39
2, 93x3, 96x 14, 75x2, 75x 0, 91x 0.78
1 2 3 4 5
6, 36x1 0, 78x2 3, 75x3 14, 7x4 2, 08x5 2.83
0, 48x3, 73x 0, 75x1, 09x 2, 61x 7, 38
1 2 3 4 5
0,93x11,23x211,21x37,69x43,75x50,34
Echimi:
7.71
2.93
2.83
3.96
1.08
14.75
0.75
2.75
2.23
0.91
2.39
0.78
0.566
1.454
A 6.36
0.78
3.75
14.7
2.08
b
2.83
lsolve(Ab)
0.312
0.48
0.93
3.73
1.23
0.75
11.21
1.09
7.69
2.61
3.75
7.38
0.34
0.178
0.869
0.566
1.454
x A
1b
x
0.312
0.178
0.869
x1 0.566;
x2 1.454; x3 0.312;
x4 0.178;
x5 0.869.
Misol 10: Quydagi tizimni eching
7, 71x1 2,83x2 1, 08x3 0, 75x4 2, 23x5 2, 39
2, 93x 3, 96x14, 75x2, 75x0, 91x 0.78
1 2 3 4 5
6, 36x1 0, 78x2 3, 75x3 14, 7x4 2, 08x5 2.83
0, 48x 3, 73x 0, 75x1, 09x2, 61x 7, 38
1 2 3 4 5
0,93x11,23x211,21x37,69x43,75x50,34
Echimi:
4.75
14.35
0.85 0.79
1.28
1.94
9.74
3.79
0.78
2.85
1.29
3.29
1.062
2.735
A
9.66
2.01
3.03
1.61
2.29
b
0.71
lsolve (Ab)
1.546
3.63
2.83
12.02
3.02
6.71
11.79
0.09 1.75
9.81
2.71
11.49
2.80
1.073
3.062
1.062
2.735
x A
1b
x
1.546
1.073
3.062
x1 1.062;
x2 2.735; x3 1.546;
x4 1.073;
x5 3.062.
Misol 11: Quydagi tizimni eching
3, 75x1 0, 28x2 1, 05x3 0, 48x4 1, 28x5 0.28x6 4, 23
0, 3x 3, 95x 3, 07x0, 57x3, 75x1, 31x 0.68
1 2 3 4 5 6
4,88x1 0,88x2 4, 75x3 0, 07x4 2, 08x5 2.83x6 2, 33
3, 44x1 2,88x2 0, 75x3 9, 79x4 0, 28x5 7, 38x6 9, 77
18,88x1 0, 29x2 1, 75x3 3, 28x4 4, 35x5 0, 34x6 2, 35
4,75x119,29x210,37x30,73x40,47x58,78x60,47
Echimi:
x1 1.062;
x2 2.735; x3 1.546;
x4 1.073;
x5 3.062.
3.75
|
0.28
|
1.05
|
0.48
|
1.28
|
0.28
|
0.3
|
3.95
|
3.07
|
0.57
|
3.75
|
1.31
|
4.88
|
0.88
|
4.75
|
0.07
|
2.08
|
2.83
|
A
b
4.23
0.68
2.33
3.44
18.88
4.75
2.88
0.29
19.29
0.75
1.75
10.37
9.79
3.28 0.73
0.28
4.35
0.47
7.38
0.34
8.78
9.77
2.35
0.47
1.868 1.868
12.14
12.14
x A 1b
x
5.854
lsolve (Ab)
5.854
16.538 16.538
0.92 0.92
17.377 17.377
x1 1.868;
x2 12.14; x3 5.854;
x4 16.538;
x5 0.92; x6 17.377.
Misol 12: Quydagi tizimni eching [6]
9, 77x1 0, 37x2 1, 43x3 1, 34x4 2, 33x5 2.84x6 2, 39
3, 23x18, 91x 8, 71x 3, 73x 0, 78x 4, 48x 0, 33
1 2 3 4 5 6
4,88x1 9, 77x2 12, 75x3 1, 72x4 3, 78x5 2.39x6 6, 61
0, 07x0, 75x 7, 23x 7, 96x 2,88x 12, 33x 4, 78
1 2 3 4 5 6
7, 71x1 2,83x2 1, 08x3 0, 75x4 2, 39x5 4, 54x6 6, 35
0,77x116,61x28,91x32,61x46,62x53,32x64,5
Echimi:
9.77
3.23
0.37
18.91
1.43
8.71
1.34
3.73
2.33
0.78
2.84
4.48
2.39
0.33
A 4.88
0.07
9.77
0.75
12.75
7.23
1.72
7.96
3.78
2.88
2.39
12.33
b
6.61
4.78
7.71
0.77
2.83
16.61
1.08
8.91
0.75
2.61
2.39
6.62
4.54
3.32
6.35
4.5
0.155 0.155
x A 1b
x
0.541
0.778
2.573
lsolve (A b)
0.541
0.778
2.573
1.323 1.323
1.386 1.386
x1 0.155;
x2 0.541;
x3 0.778;
x4 2.573;
x5 1.323; x6 1.386.
|