ENGR 126
Name: _________Solution________
Fall 2007
PUID: ________________________
Exam 3
Div:_____________ Team:______
Problem #1
(14 points)
a)
MATLAB code for a user-defined function called "Re_num".
function RE = Re_num(d,v,l,mu)
% Re_num computes the Reynolds number
% INPUTS
%
d = density (kg/m^3)
%
v = fluid velocity (m/s)
%
l = length (m)
%
mu = fluid viscosity (Nsm^-2)
% OUTPUT
%
RE = Reynolds number
RE = d*v*l/mu
b)
MATLAB code that would invoke this function from the Command window.
>> ___
r= Re_num(1000,0.8,0.1,0.0009)
_________________________________
OR
>> a = 1000
>> b = 0.8
>> c = 0.1
>> d = 0.9e-3
>> r = Re_num(a,b,c,d)
Problem #2
(8 points)
x =
5
y =
2
m =
7
n =
10
Problem #3
(4 points)
my_program
run my_program
my_program()
run H:\My Documents\MATLAB\my_program
Problem #4
(10 points) Client and audiences:
a)
State the client.
Museum director or museum
b)
State the client's need(s).
Exhibit to excite middle school children about engineering or STEM
c)
List three possible audiences for the deliverable (poster).
museum director
judges
sponsors, museum board, donors, engineers hired by museum
TAs or Professors or Chell Nyquist
Peers/Classmates
This
preview
has intentionally blurred sections.
Sign up to view the full version.
ENGR 126
Name: _________Solution________
Fall 2007
PUID: ________________________
Exam 3
Div:_____________ Team:______
Problem #5

This is the end of the preview.
Sign up
to
access the rest of the document.
- Fall '08
- Oakes
-
Click to edit the document details