Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use MATLAB Eq1:3x + 2y2 + 4z 16 Eq2: 7x 3y + z2 27 Eq3: x2 + y - 3z = -15 1. Solve this
Use MATLAB Eq1:3x + 2y2 + 4z 16 Eq2: 7x 3y + z2 27 Eq3: x2 + y - 3z = -15 1. Solve this part by building functions. 2. Solve these equations using the symbolic toolbox 3. Round the solutions to the nearest integer (to use them in the following steps) 4. Find the solutions. 5. Substitute the real solutions in the following equation. Eq4(x, y, z) = x + 2y + 3z 6. Substitute the complex solutions in the following equation. Eq5(x, y, z) = x+y+z 7. Function inputs are Eq1, Eq2, Eq3, Eq4, Eq5 8. Function outputs are Rounded Solutions and the result of substituting the real solutions in Eq4 and complex solutions in Eq5. Hints: 1. Rounding is a built-in function. 2. There are real and complex solutions. 3. If or switch functions can help Note: You can form two functions: first function with eq1, eq2, eq3 as inputs and rounded solutions as outputs, second function with eq4, eg5 as inputs and substituted results as outputs Expected Results 2 0 -i 2i -i B 5 4 3 + i 3 1+i 1 -5 -7 = -1 2 4- i 4 + 2i 5 5 + i -7 -9 25 7 C 6 10 -36 1-20) [7 - il 7 + 4i D = 6 (6 + 3i]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started