聯立三元一次方程 (Solving 3 Linear Equations)

程式碼(83 Steps)
1. ENT 2. KIN1 3. ENT 4. KIN2 5. ENT
6. KIN3 7. ENT 8. X<>K1 9. K-:-1 10. K-:-2
11. K-:-3 12. ENT 13. KIN4 14. ENT 15.
16. KOUT4 17. × 18. KOUT2 19. = 20. KIN5
21. ENT 22. 23. KOUT4 24. × 25. KOUT3
26. = 27. KIN6 28. ENT 29. 30. KOUT4
31. × 32. KOUT1 33. = 34. X<>K5 35. K-:-5
36. K-:-6 37. ENT 38. Min 39. × 40. KOUT2
41. 42. ENT 43. = 44. KIN4 45. ENT
46. 47. MR 48. × 49. KOUT3 50. +
51. KOUT4 52. × 53. KOUT6 54. = 55. 1/X
56. X<>K4 57. × 58. KOUT5 59. 60. MR
61. × 62. KOUT1 63. + 64. ENT 65. =
66. K×4 67. KOUT4 68. K×6 69. K×3 70. KOUT6
71. K5 72. KOUT1 73. 74. KOUT2 75. ×
76. KOUT5 77. 78. KOUT3 79. = 80. HLT
81. KOUT5 82. HLT 83. KOUT4        

 

按鍵

以下按鍵只適用於 3900Pv,建議其他型號使用者參考原程式碼小心輸入。

MODE 0 P1 SHIFT MODE P1

RUN Kin 1 RUN Kin 2 RUN Kin 3 RUN SHIFT Kout 1 Kin ÷ 1

Kin ÷ 2 Kin ÷ 3 RUN Kin 4 RUN Kout 4 × Kout 2 = Kin 5

RUN Kout 4 × Kout 3 = Kin 6 RUN Kout 4 × Kout 1 = SHIFT Kout 5

Kin ÷ 5 Kin ÷ 6 RUN SHIFT MR × Kout 2 RUN = Kin 4 RUN

MR × Kout 3 + Kout 4 × Kout 6 = 1/X SHIFT Kout 4 × Kout 5 MR ×

Kout 1 + RUN = Kin × 4 Kout 4 Kin × 6 Kin × 3 Kout 6 Kin 5 Kout 1

Kout 2 × Kout 5 Kout 3 = SHIFT RUN Kout 5 SHIFT RUN Kout 4

MODE .

範例

2x + 3y + 4z = 65x + 6y + 7z = 128x + y + 10z = 18

輸入 A = 2B = 3C = 4U = 6D = 5E = 6F = 7V = 12G = 8H = 1I = 10W = 18 P1

P1 2 RUN 3 RUN 4 RUN 6 RUN 5 RUN 6 RUN 7 RUN 1 2 RUN 8 RUN

1 RUN 1 0 RUN 1 8 RUN

首先顯示x = 1

再按 RUN , 顯示y = 0

再按 RUN , 顯示 z = 1

程式中有些限制

Ax + By + Cz = UDx + Ey + Fz = VGx + Hy + Iz = W

1. 當方程組有無窮多解或沒有解時,會 error

2. AE DB/AF DC/A(I GC/A) (H GB/A)(F DC/A)/(E DB/A) 等數值為零時,亦會 error。但適當地排列一下方程,有時可以避免這樣情況,如

範例 (A = 0)

2y + 3z = 54x + 5y = 117x + 8y + 10z = 19

可再排列成

2y + 3z = 55y + 4x = 118y +10z + 7x = 19

輸入 A = 2B = 3C = 0U = 5D = 5E = 0F = 4V = 11G = 8H = 10I = 7W = 19 至 P1

P1 2 RUN 3 RUN 0 RUN 5 RUN 5 RUN 0 RUN 4 RUN 1 1 RUN 8 RUN

1 0 RUN 7 RUN 1 9 RUN

首先顯示y = 2.280898876

再按 RUN 顯示z = 0.146067415

再按 RUN 鍵,顯示 x = - 0.101123595