%
%
%
%
Zaklit, Wadih
ME 303 Section 1
Lab 2: 09/17/2015
Problem 1
clear all
clc
format compact
%Matrix A
A=[1 2 1
4 8 4
6 3 1];
%Matrix B
%Part a
B=[4 2 1
11 5 1
5 4 15];
for i=1:size(A)
for j=1:size(B)
C(i,j)=A(i,j)-B(i,j);
end
end
disp('A-B using loops
ME303: Applied Numerical Methods
Final Equation Sheet
Error and Significant Digits
E p=|p^p|
p^p
| p|
R p=
x i+1=x i
f ( xi )
f ' ( xi )
Secant Method
x i+1=x i
1d
10
p ^p <
| p| 2
f ( xi )( x ix i1)
f ( x i ) f ( xi1 )
Optimization
Golden Ratio Search
ME 303 Applied Numerical Methods
EXAM #2
11/06/11
Name (Print):_
I have not given nor received help on this exam and have adhered to the
academic standards of UNR
Signature: _
Total Points: 100
*This exam is closed book/closed notes*
*You will be given an
ME 303 Applied Numerical Methods
EXAM #2
l 1/06/1 l
Name (Print):
I have not given nor received help on this exam and have adhered to the
academic standards of UNR
Signature:
Total Points: 100
*This exam is closed book/closed notes*
*You will be given a