NAME:
PAGE 1
Problem 1 (5p)
Secant Method
Complete the algorithm implementing the secant method below, for finding the root of function f(x). Note: replace "." with the appropriate expression. maxiter
NAME:
PAGE 1
Problem 1 (5p)
Least squares line interpolation
Given a set of points (xi , yi ), nd the coecients , and , such that the line y = x + will approximate the given set of points in a least s
MAE 316
Analysis of Engineering Systems
Fall 2013
TR, ESB G39
Instructor: David S. Mebane, ESB 333; [email protected]
Office Hours: TR 10:45-12 (directly after class) or by appointment
TAs: TBA
Cou
%
%
%
%
%
MAE 316
Spring 2015
Mini-projet 2
Function
Mohammed Gorashi
function[u1,u2,v1,v2] = Gorashi_Mohammed_mp2_Shock1(M,C,D)
A=[1,0;-1,1];
K = A'*C*A;
del = 0.1;
% elongation matrix
% K matrix
% T
%
%
%
%
%
%
MAE-316
Spring 2015
Mini-Project#1
Due on Feb/10/2015
Mohammed Gorashi
The function of flux of heat in a metal bar
function [u,x] = Gorashi_Mohammed_mp1_heatingbar(n,kappa)% identifying th
%
%
%
%
%
%
MAE-316
Spring 2015
Mini-Project#1
Due on Feb/10/2015
Mohammed Gorashi
The Script of flux of heat in a metal bar
symb = ['-b'; 'r-'; '-g'];
i = 1;
kappa = [0.1];
for n = [16 32 64];
end
[u
%
%
%
%
%
MAE 316
Spring 2015
Mini-projet 2
Scrip File
Mohammed Gorashi
%User input for dampening coefficients
Damp1=input('input the first damping coefficent set 1: ');
Damp2=input('input the second