Question: Using Matlab, please help me doing these questions (1) Turn the diary on (with a filename of your choosing) and begin your file with a
Using Matlab, please help me doing these questions 
(1) Turn the diary on (with a filename of your choosing) and begin your file with a comment line including both your name and "Lab 1". (i.e. On the first line, type "\% your name Lab 1"). (2) Calculate the following expressions in MATLAB (a) 4925+32 (b) 6253/4 (c) sin(4) (d) log(e) (3) Consider a triangle with sides a,b, and c and corresponding angles ab,ac,bc (a) Use the law of cosines, i.e., c2=a2+b22abcosab to calculate c if a=3.7,b=5.7,ab=79. (b) Show c to its full accuracy. (c) Use the law of sines, i.e, csinab=bsinac to calculate ac in degrees. (4) Analytically, cos2=2cos21. Check whether this is also true numerically when using MATLAB by using a number of different values of . Please only turn in the pertinent parts of the diary. I don't need to see all your istakes. You can edit the diary after you double click on it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
