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 t cz-k dx+ey+fz = k2 gx + hy +iz k3 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): k1 = 5; det det3( a, b, c detx = det3 (kl , b, c, ); dety = z= x=detx / det, y= -, Finally, have your script verify the solution by substituting the values of x, y and z back into the equations. 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 t cz-k dx+ey+fz = k2 gx + hy +iz k3 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): k1 = 5; det det3( a, b, c detx = det3 (kl , b, c, ); dety = z= x=detx / det, y= -, 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
