(15C) Three Linear Equations in Three Unknowns
|
12-09-2018, 12:43 PM
(This post was last modified: 12-09-2018 12:52 PM by Gamo.)
Post: #1
|
|||
|
|||
(15C) Three Linear Equations in Three Unknowns
This program solve for Simultaneous Equation in Three Unknowns.
Formula used Cramer’s Rule for a 3×3 System (with Three Variables) Equations: a1(X) + b1(Y) + c1(Z) = d1 a2(X) + b2(Y) + c2(Z) = d2 a3(X) + b3(Y) + c3(Z) = d3 ------------------------------------ Procedure: [E] Initialize Display 0.000000000 briefly then 0.0000 a1 [ENTER] a2 [ENTER] a3 [R/S] b1 [ENTER] b2 [ENTER] b3 [R/S] c1 [ENTER] c2 [ENTER] c3 [R/S] d1 [ENTER] d2 [ENTER] d3 [R/S] [D] Answer Determinant // If 0 "No Solution" [A] Answer X [B] Answer Y [C] Answer Z -------------------------------------- Example: x - 8y + z = 4 -x + 2y + z = 2 x - y + 2z = -1 [E] 0.000000000 briefly then 0.00 // Initialize 1 [ENTER] 1 [CHS] [ENTER] 1 [R/S] display 1 8 [CHS] [ENTER] 2 [ENTER] 1 [CHS] [R/S] display -8 1 [ENTER] 1 [ENTER] 2 [R/S] display 1 4 [ENTER] 2 [ENTER] 1 [CHS] [R/S] display 4 [D] display -20.0000 // Determinant [A] display -3.0000 // Answer X [B] display -0.8000 // Answer Y [C] display 0.6000 // Answer Z ------------------------------------------------------ Program: Set Memory Reallocation as needed by this program. 13 f [DIM] [(i)] Check to see require Memory Usage have set correctly Press g then press and hold [MEM] display 13 14 24-4 Code:
Gamo |
|||
12-12-2018, 05:24 AM
(This post was last modified: 08-28-2019 11:49 AM by Gamo.)
Post: #2
|
|||
|
|||
RE: (15C) Three Linear Equations in Three Unknowns
Using the build-in Matrix features this program help reduce the setup steps
to solve for the 3x3 Matrix of Three Equations in Three Unknown. ------------------------------------- Procedure: ** (USER mode) ** [D] Input each elements follow by [R/S] from left to right to each three rows. [E] Input each elements follow by [R/S] from top to bottom the last columns. When done display show [ c 3 1 ] [R/S] Answer for X [R/S] Answer for Y [R/S] Answer for Z -------------------------------------------------- Example: FIX 4 [USER] x - 8y + z = 4 -x + 2y + z = 2 x - y + 2z = -1 [D] display 3.0000 1 [R/S] 8 [CHS] [R/S] 1 [R/S] 1 [CHS] [R/S] 2 [R/S] 1 [R/S] 1 [R/S] 1 [CHS] [R/S] 2 [R/S] display 2 [E] display 1.0000 4 [R/S] 2 [R/S] 1 [CHS] [R/S] display [c 3 1 ] [R/S] display -3.0000 // X [R/S] display -0.8000 // Y [R/S] display 0.6000 // Z -------------------------------------------- Program: ****[ USER mode ]**** Code:
Remark: If user like to know the Determinant of this 3x3 Matrix RCL MATRIX A MATRIX 9 Gamo |
|||
02-02-2019, 10:39 PM
Post: #3
|
|||
|
|||
RE: (15C) Three Linear Equations in Three Unknowns
Thanks, really nice
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)