Exam 1 Review
Math 3315 / CSE 3365, Fall 2012
The following will be the instructions on your in-class
exam:
Show all work, clearly and in order, if you want to get full
credit. I reserve the right to take o points if I cannot see
how you arrived at your
Name: Solution Score:
M3315/CSE3365, spring 13 Exam 2 (100 points, 80 minutes)
SMU honor codes applies. - .
Problem 1 (20 points)
You are given the following data:
(1) Find a polynomial 39(55) of least degree to interpolate the data in Lagrange form.
(
Name:
Score:
M3315/CSE3365, spring 13 Exam 2 (100 points, 80 minutes)
SMU honor codes applies.
Problem 1 (20 points)
You are given the following data:
x -2
y -5
-1
0
0
1
1
4
(1) Find a polynomial p(x) of least degree to interpolate the data in Lagrange fo
7? 4" 6:49)
MATH 3315/ CSE 3365 Exam 2 (100 points)
Soiuitioz
'l
Question 1(30 points)
(1) A computer uses double precision (DP) oatingpoint numbers when performing
DP arithmetic. It is known that 0.125 is a DP oating-point number. It is also known
that
Name: 9 Mgmr Score:
M3315/CSE3365, spring 13 Exam 3 (100 points, 80 minutes)
SMU honor codes applies.
3
Problem 1 (25 points)
(1) If the Gaussian elimination algorithm With sealed partial pivoting is used on the
matrix below, What is the scale vector? Whi
Name:
Score:
M3315/CSE3365, spring 13 Exam 3 (100 points, 80 minutes)
SMU honor codes applies.
Problem 1 (25 points)
(1) If the Gaussian elimination algorithm with scaled partial pivoting is used on the
matrix below, what is the scale vector? Which row wi
MATH 3315/CSE 3365 Exam 2 (100 points)
Question 1 (30 points)
(1) A computer uses double precision (DP) oating-point numbers when performing
DP arithmetic. It is known that 0.125 is a DP oating-point number. It is also known
that 251 and 251 + 0.5 are two
Relevent Problems for Test 2
Sample Test 1: 9, 10, 11
Sample Exam 1: 5, 6, 7
Sample Exam 2: 2,3
Sample Test 3: 1 (3, 4, 5, 8), 3, 4, 7
Then my actual test was SolnExam2.pdf
MATH 3315/CSE 3365a sp13: Test 1 (100 pts)
Sowuon
Question 1 (8 pts) x= [2 4 8 10]. Write down the output of the following Mat
lab statements:
(Bx+4 4 312 ['4
4m; + 64 at)
13.4 (3
Question 2 (6 pts)
(1) Use linspace in Matlab to generate a row vector wi
MATH 3315/ C813 3365 Scientic Computing: Exam 1 (80 points-F4
bonus points)
Tuesday, September 23, 2014
No calculators. The SM U honor code applies. Print your name and Sign below.
foot-m
Question 1 (10 points) x= [1 2 4] . Write down the output of the fo
MATH 3315/CSE 3365 Exam 1 (100 points)
Question 1 (Matlab basics) (10 pts, 2 pts each)
Let x=[1 2 4] in Matlab. Write down the outputs from the following Matlab
statements: (1) x+1 (2) x (3) x.^2 (4) x*x and (5) x*x.
Question 2 (Matlab basics) (10 pts)
(1
MATH 3315/CSE 3365, sp13: Test 1 (100 pts)
Question 1 (8 pts) x=[2 4 8 10]. Write down the output of the following Matlab statements:
(1) x+4
(2) 2./x
(3) x.^2-x
(4) x*x.
Question 2 (6 pts)
(1) Use linspace in Matlab to generate a row vector with 21 evenl
Exam 2 Review
Math 3315 / CSE 3365, Fall 2012
1.
Consider the following 4 data points:
x
f
-1
-1
0
-4
1
-3
3
-13
Interpolate the data with a polynomial, using a method of your choosing (tell me which method
you use). Write the interpolating function (do n
Exam 1 Review Solutions
Math 3315 / CSE 3365, Fall 2012
1.
[20 points] Match the Matlab statement (a)-(e) with the object that is produced (i)-(v).
Matlab:
(a) 1:10:100
(b) 2:3:0
(c) linspace(2,14,5)
(d) logspace(0,2,3)
(e) 2:3:12
Output:
(i) [ 1 10 100]
Exam 3 Review Solutions
Math 3315 / CSE 3365, Fall 2012
1.
Consider the linear system Ax = b where
2 0 0
A = 2 1 2 ,
and
2 1 4
4
b = 5 .
3
(a) Solve for the solution vector x using the naive Gaussian Elimination and Backwards Substitution algorithms.
Solu
Exam 2 Review Solutions
Math 3315 / CSE 3365, Fall 2012
1.
Consider the following 4 data points:
x
f
-1
-1
0
-4
1
-3
3
-13
Interpolate the data with a polynomial, using a method of your choosing (tell me which method
you use). Write the interpolating func
Exam 3 Review
Math 3315 / CSE 3365, Fall 2012
1.
Consider the linear system Ax = b where
2 0 0
A = 2 1 2 ,
and
2 1 4
4
b = 5 .
3
(a) Solve for the solution vector x using the naive Gaussian Elimination and Backwards Substitution algorithms.
(b) Using the
MATH 3315/ 0813 3365 Scientic Computing: Exam 3 (80 points)
Thursday, December 4, 2014
N0 calculators. The SM U honor code applies. Print your name and Sign below.
Sell/1125010
You may need to use the following theorems
o Interpolation Error Theorem 1: