ME581 Homework 6 Solution
Q1. (a) Let y1: y, y2: y'
y2
d y1
y y y t
dt 2 1 2
(b) Let y1: y, y2: y', y3 = y'
y1 y2
d
y2 y3
dt
y3 ty1 y3
(c) y(t0), y'(t0) needed for (a)
y(t0), y'(t0), y'(t0
ME 581
Assignment 6
(Due: November 24, 2015)
1. Write each of the following ODEs as an equivalent first order system of ODEs
a. y'= t + y + y'
b. y'= ty + y'
c. What are the necessary initial conditio
ME 581
Homework 5
(Due: Tuesday November 10, 2015)
Problems 6 and 7 are to be solved by a computer program that you have written, upload
the code using SVN
Problem 1
Evaluate
Z 5 numerically
2
(5x + 3
Name (last, first)
ME 581 FINAL
December 9, 8:00AM to 10:00AM
Open Book, Open Notes
Instructions:
Write your last and first name on every page
Problem 1 [25]. Solve the Lapalces equation with a second
Homework 3 Solutions
ME 581
Problem 1.
The exact solution of the problem can be easily obtained for comparison from the standard
operation:
= 1
The resulting solution will be:
1.099090
0.084034
Homework 5 solution
Problem 1
5
Evaluate numerically: (5 x 2 3)dx using various methods
0
(a) Value of integral using midpoint rule: J 5 f (2.5) 171.25
[ f (0) f (5)]
327.5
2
[ f (0) 4 f (2.5) f (5)]
ME 581 Optional Project
Due: November 30, 2015 at 8:00AM EST
This project is optional. If you turn in this project the grade of this project will be averaged to
your midterm score. The average will re
ME 581 Homework 7 Solutions
1
Problem 1
a) Assume that it is separable.
u(x, t) = G(x)Y (t)
Y (t)
= G (x) =
Y (t)
G(x)
This results in two ODEs, Y (t) = Y (t) and G (x) = G(x), which can easily be so
Homework 4
ME 581
Due October 29
This homework does not require written code.
Lagrange interpolation
Problem 1: Let " = 3, ' = 0, ) = and + = .
(a) Determine
ME 581 Homework 2 Solutions
1 Hand Calculations
Problem 1
e = x x = [1 1]
T
r = Ax b = [0.02 0.02]T
 r 
 b 
Relative residual =
0.02
= 0.005
4
Condition number ( A) = A   A1 = 50 =

4
200
 A
Homework 3
ME 581
Due October 15 2015
For all the problems you need to write/print your solutions and plots and return them
as a single hard copy (on campus students) or as a single pdf file using SVN
Last class
Today
1.
1. Solving linear
systems:
Rootfinding:
1. Newtons Method
2. Secant Method
1. Triangular systems.
2. Gaussian
elimination.
3. Gauss Jordan
elimination.
1
Example of a linear system
Last class
Today
1.
1.
2.
3.
4.
Nonlinear equations:
1.
Existence and
uniqueness.
2. Convergence rates.
2. Interval bisection
Fixed point
Newtons method
Secant method
Systems of nonlinear
equations.
Last class
Today
1. Scientific computing
2. Sources of error
3. Review systems of
linear equations
1.
Nonlinear equations:
1.
Existence and
uniqueness.
2. Convergence rates.
2. Interval bisection
Nonl
Today
1. Scientific computing
2. Sources of error
1.
2.
3.
4.
rounding error
truncation error
sensitivity and conditioning
cancellation
3. Systems of Linear Equations
1. Notation
2. Existence and uniq
ME581 Homework 1
Due: September 10, 2015
Programming problems
Write a computer program (in C/ fortran or matlab or python) find a root using bisection. Upload your code using
SVN. The name of your cod
Homework 2
ME 581
Due September 24 2015
For all the problems you need to write/print your solutions and plots and return
them as a single hard copy (on campus students) or as a single
Homework 3
ME 581
Due October 8 2015
For all the problems you need to write/print your solutions and plots and return them
as a single hard copy (on campus stud
ME 581
Assignment 7
(Due: December 3, 2015)
You will need to write a fourth order RungeKutta subroutine to solve problems 1,2 and 3. Upload
the code using SVN
1. Consider the initial value problem:
y
ME 581
Assignment 8
(Due: December 10, 2015)
Problem 1 in this homework is to be done by writing a computer program. Upload the
code using SVN.
1. Given the heat equation ut = uxx 0 x 1, t 0 , with in
Homework 0
ME 581
Due August 29, 2017
Nanohub accout
Create an account in nanoHUB.org.
Go to nanohub.org.
Click Sign Up in the top righthand side
Choose one of the registration options or directly en