This preview shows page 1. Sign up to view the full content.
Unformatted text preview: HOMEWORK : Some of this is done by hand. The MATLAB portions can be done using MATLAB as a scratch pad. Print a copy of the command window with your calculations in it. Quizzes: QUIZ 1.1 (p.18) #16 QUIZ 2.1 (p.30) #1, 2 QUIZ 2.3 (p. 45) #2 Exercises: 1.1 Just type these commands into the command window and do not create an mfile. 1.2, 1.3, 1.4 2.2, 2.7 Write Matlab code which will: 1. Set A=3 and B=2 . Calculate and display the sum, product and difference of A and B. 2. Set V=3 and R=.5 . Calculate and print A = V 2 /R. Use disp() to display V, R & A with labels and units. 3. Calculate and display cosh(x) = (e x +ex )/2 for x = 0, 1, 2 4. Calculate and display P = S1 for S=0, .5 and 1 S+1...
View
Full
Document
This note was uploaded on 09/16/2011 for the course ASE 201 taught by Professor Hayes during the Fall '07 term at University of Texas.
 Fall '07
 Hayes

Click to edit the document details