Lab 4 Solving Simultaneous Linear Algebraic Equation
Lab 4 Solving Simultaneous Linear Algebraic Equation
EXCELL
Examples 1;
1.) determine roots of f(x) = x cos x
Step 1. enter the x value in a cell of the spreadsheet.
Step 2. Introduce f(x) formulation in the cell
and used the listed x value from the first cell to determine
the f(x) value.
Step 3. Varies the x value until f(x) cell approaches zero.
Step 4. use Goal Seek function to locate the roots.
Examples 1;
1.) determine roots of U(x,y) and V(x,y)
simultaneously using solver function.
U(x,y) = x2 + xy -10 = 0
V(x,y) = y + 3xy2 -57 = 0
initial values of x = 1 and y = 3.5
True value x = 2 and y = 3
Exercises;
7.12, 7.13, 7.11
MATLAB
Example;
Determine roots of the polynomial;