Test1A Example - Fall 2010

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

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

View Full Document Right Arrow Icon
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
Background image of page 1

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

View Full DocumentRight Arrow Icon
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
Background image of page 2
(e) Consider the following function file
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 8

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

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online