My name is EVAN btw please use that in where it says your name For these exercis
ID: 2831910 • Letter: M
Question
My name is EVAN btw please use that in where it says your name
For these exercises, produce a single script file (yourname_Set1 .m) which solves each problem in a separate cell. When you submit your solutions, each cell should run independently of the others with no errors. All problems should be labeled with a comment and any questions that are asked should be answered in comments within the cell for that problem. Calculate: (Caution: MATLAB functions only accept radian inputs) Define the variables x and y as x = 9.2 and y = 2.3, then evaluate the following: x2 + y2 + 12 / y2Explanation / Answer
function [a1,b1,a2,b2] =EVAN_Set1()
a1=(sin(4*pi/3)/(cos(5*pi/9))^2)+(1/9)*tan(5*pi/6);
b1=(tan(64*pi/180)/(cos(pi*14/180)^2))-(2*(cos(pi*85/180))/(0.87^(1/3)))+(cos(45*pi/180)/(sin(12*pi/180)));
x=9.2 ;
y=2.3;
a2=(x^2)+(y^2)+((x^2)/(y^2));
b2=((x*y)^0.5)-((x+y)^0.5)+(((x-y)/(x-(2*y)))^2)-((x/y)^0.5);
end
copy the above code in script editor and save it ur ready to go :)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.