Please solve the following in MATLAB Please add the comments
Please solve the following in MATLAB. Please add the comments in each line and provide the coding window and the command window. Please read the question very carefully and make sure to solve using if or while loops and if, ifelse statments.
Thank you!!
Solution
-x(4) + 1-x(1)-x(2)-x(3); -x(5) + 1-3.*x(1)-7.*x(2); -x(6) + 4.*x(1)+x(3); -x(7) + 4*x(1); -x(8) + 2.*x(3); -x(9) + 8.*x(1)+12.*x(2)+x(3); -x(10) + x(3); -x(11) + 1+1+12*x(1)+4*x(2)+4*x(3); 6.2975e-11 - (((x(6)^4)*(x(8)^8))/((x(4))*(x(5)^3)*(x(11)^8))); 0.0184 - (((x(7)^4)*(x(8)^12))/((x(4))*(x(5)^7)*(x(11)^8))); 4.3202e+16 - (((x(6))*(x(9)^2)*(x(8))*(x(10)))/((x(4))*(x(11)^4)));