Professional Documents
Culture Documents
Software Tools 1778
Software Tools 1778
Software Tools 1778
SHORT QUESTION
QUESTION # 1:
b The vector G = [68, 83, 61, 70, 75, 82, 57, 5, 76, 85, 62, 71, 96, 78, 76, 68, 72, 75, 83,
93] represents the distribution of final grades in a dynamics course. Compute the mean,
median, mode, and standard deviation of G. Write down MATLAB code only.
SOLUTION:
SOLUTION:
y2 x 3 100 for 6 x 6
SOLUTION:
LONG QUESTION
n2a
The ideal gas law equation is PV=nRT and van der Waals’ equation is P+ 2 V nb = nRT
V
Use both the ideal gas law and van der Waals’ equation to calculate the temperature of water
vapor (steam), given the following data. Pressure (P) is 220 bars, Moles (n) is 2 mol, Volume (V)
is 1 L, (a) is 5.536 L2bar/ mol2, (b) is 0.03049 L/mol and Ideal gas constant R is 0.08314472
L bar/K mol. 6
SOLUTION:
QUESTION # 2:
1 a The displacement of the oscillating spring shown in Figure can be described by
x A cos t
SOLUTION:
b The acceleration of the spring described in the preceding exercise is 4
a A 2 cos t
Find the acceleration for times from 0 to 10 seconds, using the constant values from part a .
SOLUTION:
2 Create a 6 6 magic matrix. 8
a. What is the sum of each of the rows?
b. What is the sum of each of the columns?
c. What is the sum of each of the diagonals?
SOLUTION:
3 Create a vector x of values from 0 to 20 , with a spacing . 8
100
y x sin x
z x cos x
c Create a three-dimensional line plot of x, y and z. Don’t forget a title and labels.
SOLUTION: