Question: Use the MATLAB script provided ( named HW _ template.m ) as a template to write your submission. Save your file as homework

Use the MATLAB script provided (named "HW_template.m") as a template to write your submission. Save your file as "homework1.m". Submit your completed script through Canvas. If you cannot download the script, please recreate it in MATLAB with the same format. Make sure to leave out the semicolon to display the results.
1
Create 5 variables named theta 1, theta 2,dots theta 5 and assign 5 different values of your choice to these variables. Then use these variables to verify that
sec2()-tan2()=1
You should have 5 outputs (may be named q1 sum 1,q1 sum 2,dotsq1 sum 5) all equal to 1. Be careful, some values make sec() and tan() undefined. You should avoid these values.
2
Define a variable b=-1.2, then evaluate:
a)13e5b-3.8b4
b)ln(-b)b2+3
3
Define 2 variables x and y as x=6.05,y=3, then evaluate:
a)(x2+y3)32+xyx+y
b)xsin(125y)+|y-x|
 Use the MATLAB script provided (named "HW_template.m") as a template to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!