ME 218 Engineering Computational Methods
Midterm Examination
Spring 2013
Instructor: Prof. Ashish D. Deshpande
Student Name:_
Student EID:_
Lab Section Number:_
I have neither given nor received any unauthorized aid on this exam, nor have I
concealed any
ME 218: ENGINEERING COMPUTATIONAL METHODS
SOLUTIONS TO HOMEWORK #5
Problem 1:
Q = kPa Linearizing this function by taking the logarithms (base 10) on both sides: log(Q) = log(k) + a*log(P), which is of the form: y = mx + c, where y = log(Q), m = a, x = lo
ME 218 EXAM # 3
(TAKEHOME)
Assigned on November 28th, 2011
Due on Friday, December 2nd 2011 no later than 5:00 PM in ETC 4.152 with Ms. Cindy
Raman (or you can slide it under Prof. Djurdjanovics office door at ETC 5.122)
Directions: You are to complete t
Doug Rivas Lab 2 ME 218 2.1. Run for TA the following code in code warrior:
#include <stdio.h> int main(void) { fprintf(stdout, "Hello World, this is CodeWarrior!\n"); return 0; } 2.2
2.3 #include <stdio.h> #include <math.h> int main(void) { int a
ME 218: ENGINEERING COMPUTATIONAL METHODS
Homework #10
Assigned: Thursday, November 17th, 2011
Due: Wednesday, November 23rd, 2011 at 5pm
Please hand your homeworks to Diana Ziegler (ETC 5.128) or slide the homeworks under
Dr. Djurdjanovics office door (E
ME 218 Engineering Computational Methods
Homework 9
Assigned: April 18th, 2013
Due: April 30th, 2013
Name: _
UT EID: _
Section Unique Number: _ Dont forget this!
Note: Show your work (one or exemplary steps is fine) to get full grade.
Problem 1: Boundary
ME 218  ENGINEERING COMPUTATIONAL METHODS
Homework # 1
Assigned: September 1st, 2011
Due: September 8th, 2011
Name: _
UT EID: _
Section Unique Number: _
Problem 1:
Velocity of a mass m in linear viscous drag with the coefficient of viscosity c
(hence, dr
ME 218  ENGINEERING COMPUTATIONAL METHODS
Homework # 3
Assigned: September 20th, 2012
Due: September 27th, 2012
Name: _
UT EID: _
Section Unique Number: _
Problem 1 (adapted from an exam)
Observe the problem
f ( x) = cos( x) x = 0
where x is expressed in
ME 218 LAB: Nonlinear Functions of Multiple Variables
In this exercise, we will learn how to create multidimensional plots and numerically solve nonlinear functions of more
than one variable. Unlike systems of linear equations, nonlinear equations cannot
ME 218 Engineering Computational Methods
Homework 7
Assigned: March 20th, 2013
Due: April 2nd, 2013 please hand to TAs
Name: _
UT EID: _
Section Unique Number: _ Dont forget this!
Note: Show your work (one or two exemplary steps is fine) to get full grade
Chapter 6
Solving Algebraic Equations with
C/C+
Background, A 4bar linkage is a complex mechanism that allows us to convert simple rotational input motions (say from a motor or water wheel) to a wide variety of output motions.
The conguration above is kn
ME 218 Engineering Computational Methods
Spring 2013
Instructor: Prof. Ashish D. Deshpande
TakeHome Test
Assigned on April 20th, 2013
Due on April 26th, 2013 at 9 AM
Directions:
You are to complete this exam entirely by yourself with no outside discussio
ME 218: ENGINEERING COMPUTATIONAL METHODS
Home Work #8
Assigned: October 28, 2011
Due: November 3, 2011
Name: _UT EID: _Unique: _
Lab Time: (Mon/Tue) _PM
Problem 1: Numerical Integration (Trapezoidal formula)
Motor is pulling a mass over a period of 2.5 s
ME218 Engineering Computational Methods
Lecture 3 Notes
Methods for Solving Nonlinear Equations (Continued)
Newton Raphsons Method
3. NewtonRaphson Method
This technique is a rootfinding algorithm that uses the first few
t
Is*
<
t
)
t
N
^
t
A>
, ,*
t
a
ft
VA
f>
*

?r
>r
V
K^
"^
*k
f\^
A
ftft
S
Lecture 4 Material
a
"r
v
5 +y 7^7
(J
ft 9
4/
V
frs
i
.'
,
b
r
Z ' 4> i?u _/?
No
V
h
i
K
"5
<?
.
0
r
a
A
is\
3\ ^
,&
s
Ts
o
v
^
X
^
\
*5
A
V
t
*
o
f
N>
(i
(
ME 218: ENGINEERING COMPUTATIONAL METHODS
Home Work #9
Assigned: November 12, 2011
Due: Friday, November 18, 2011 at 5pm
Please leave your homeworks in ETC 5.128 or slide under Prof.
Djurdjanovics office door
Name: _
UT EID: _
Unique: _ or Lab Time: (Mon/
Chapter 4
Programming in C/C+
Now that we have refreshed our fundamental C/C+ skills, we are almost ready write programs that will be useful to solve engineering problems. But first, let's review or introduce a couple of final items. We have covered the p
Name:
Date:
Section:
Assignment:
John/Jane Doe
09/03/2012
XXXXX
Lab 1
Problem 1.1.1 For each of the names above, write down why they arent valid in MATLAB
Problem 1.1.2 Now, its your turn. Assign 6.67x1011 to the name grav_constant (in
N m2/kg2. Write
ME 218  ENGINEERING COMPUTATIONAL METHODS
Homework # 2
Assigned: September 8th, 2011
Due: September 15th, 2011
Name: _
UT EID: _
Section Unique Number: _
Problem 1
Trajectory of a ball is defined in the (x,y) coordinates. The trajectory can be
modeled us
ME 218: ENGINEERING COMPUTATIONAL METHODS
Fall 2012
Lecture #8
Curve Fitting:
Curve fitting is an important statistical tool for analyzing discrete data points and
obtaining the governing relation.
Linear Curve Fitting :
When the given set of data points
ME 218: ENGINEERING COMPUTATIONAL METHODS
Fall 2012
Notes Set #7
NewtonRaphson method for solving nonlinear equations in more
than one variable:
For the single variable system, the NewtonRaphson method is given as:
xn+1 = xn f(xn)/f(xn)
This iterative f