Question: 3. If or switch functions can help Note: You can form two functions: first function with eqi, eq2, eq3 as inputs and rounded solutions as

3. If or switch functions can help Note: You can form two functions: first function with eqi, eq2, eq3 as inputs and rounded solutions as outputs, second function with eq4, eq5 as inputs and substituted results as outputs Part 2: Equations E91:3x + 2y + 4z - 16 Eq2:7x - 3y + 2? 27 E93: -x + y - 32 -15 1. Solve this part by building functions. 2. Solve these equations using the symbolic toolbox 3. Round up (use ceil command) the solutions to the next integer (to use them in the following steps) 4. Find the solutions 5. Substitute the real solutions in the following equation. Eq4(x,y,) = x + 2y +32 6. Substitute the complex solutions in the following equation. Eq5(x,y,z) = x + y +2 7. Function inputs are E91, E92, E93, Eq4, Eq5 8. Function outputs are Rounded Solutions and the result of substituting the real solutions in Eq4 and complex solutions in Eq5. Code and Result Code in function Functions Sew solution of the equationsfreunded Show substitution of real solution in tot Show substitution of complex solutions in Eos Hints: 1. Rounding is a built-in function. 2. There are real and complex solutions. Lahtiment part CISE SO 3. If or switch functions can help Note: You can form two functions: first function with eqi, eq2, eq3 as inputs and rounded solutions as outputs, second function with eq4, eq5 as inputs and substituted results as outputs Part 2: Equations E91:3x + 2y + 4z - 16 Eq2:7x - 3y + 2? 27 E93: -x + y - 32 -15 1. Solve this part by building functions. 2. Solve these equations using the symbolic toolbox 3. Round up (use ceil command) the solutions to the next integer (to use them in the following steps) 4. Find the solutions 5. Substitute the real solutions in the following equation. Eq4(x,y,) = x + 2y +32 6. Substitute the complex solutions in the following equation. Eq5(x,y,z) = x + y +2 7. Function inputs are E91, E92, E93, Eq4, Eq5 8. Function outputs are Rounded Solutions and the result of substituting the real solutions in Eq4 and complex solutions in Eq5. Code and Result Code in function Functions Sew solution of the equationsfreunded Show substitution of real solution in tot Show substitution of complex solutions in Eos Hints: 1. Rounding is a built-in function. 2. There are real and complex solutions. Lahtiment part CISE SO
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
