Question: 2. Create the function files det2 and det3 shown in the Week 5 PowerPoint slides (Page 15). Then write a script which accesses det3 to
2. Create the function files det2 and det3 shown in the Week 5 PowerPoint slides (Page 15). Then write a script which accesses det3 to solve the equations ax + by + cz=k! dx + ey + fz = k2 Verify by solving the simultaneous equations 3x+2y + z= 5 -x +5y-2z= -3 4x-7y + 3z = 10 Start your script with the following (fill in the blanks): a-3;b = 2; , 1-3; det = det3( a, b, c, detx - det3(kl, b, c, dety = detz x-detx / det, y z- , Finally, have your script verify the solution by substituting the values of x, y and z back into the equations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
