Test1A Example - Fall 2010

# Test1A Example - Fall 2010 - TEST#1(October 7 2010 PGE 310...

This preview shows pages 1–4. Sign up to view the full content.

TEST #1 (October 7, 2010) PGE 310 Name: Signature: UT EID: NOTES: 1. You have 1 hr and 15 minutes. Points will be deducted for tests turned in after 10:45 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 Document
1. Short Answer. SHOW ALL WORK (25 points; 5 pts) (a) Consider u=[3 -2 1] and v=[ 1 2 1]’. Determine if u and v are orthorgonal and if so make them orthonormal based on the L2 norm (3 points) (b) Create a vector called “x” that goes from 2 to 1000 and increases by 2s using (1) colon notation and (2) a built-in MATLAB function ( 4 points) (1) >> (2) >> (c) Indicate the value of C and D (4 points) >> A=[3 1; 2 -2]; >> B=[ 1 -3; 2 1] >> C=A*B’ >>D=A.*B’ (d) In each of the following , indicate if the error incurred is roundoff error, truncation error, or neither ( 4 points) a. Approximating an infinite series with the first 100 terms b. Trying to multiply two ROW vectors together c. Adding the numbers 1.7×10 35 and 2.0 ×10 -25 d. Running a function file
(e) Consider the following function file

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 8

Test1A Example - Fall 2010 - TEST#1(October 7 2010 PGE 310...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online