This preview shows pages 1–3. Sign up to view the full content.
TEST #1 (March 2, 2010)
PGE 310
Name:
Signature:
UT EID:
NOTES:
1.
You have 1 hr and 30 minutes. Points will be deducted for
tests turned in after 8:30
2.
Write your name (or EID) on all pages of the test
3. SHOW ALL WORK. Partial (or any credit) cannot be given
for problems without work shown
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document1.
Short Answer. SHOW ALL WORK (20 points; 4 pts each except)
Consider the following arrays for (a) and (b) only
u=[3 1 2]; v=[ 1 2 2]; A=[3 1 1; 2 3 2; 1 1 2];
B=[ 2 2; 1 3]
(a) Determine which vector is greater in magnitude (
u
or
v
) using the L1 norm
(b) Compute by hand
>> A(2:3,1:2)*B’
(c) Convert from binary to base 10:
10011 = _______
Convert from base 10 to binary:
63 =
_______
(d) Consider the following equation for Z which is a function of X and Y:
Z=4*X*e
2Y
Make a 3D surface plot (
surf
command) that ranges from 0<X<1 and 0<Y<10.
You DO NOT need to make titles, legends, labels, etc.
>>
>>
>>
>>
>>
>>
(e) Consider the equation y=e
2x
. Use the first 3 terms of taylor series to estimate y
This is the end of the preview. Sign up
to
access the rest of the document.
 Spring '06
 Klaus

Click to edit the document details