Amita Batra
Eric Wang
Recommendation
While there are two feasible alternatives to chemical dispersion, both of which have their
pros and cons, it is important to understand these factors and the weight they carry in order to be
able to optimally solve the
Rex Baxter
11/16/15
Lab 9
Introduction
The problem involved in this determining the velocity of an object as it falls under the influence
of gravity and air friction. The change in velocity, v, is governed by the following equation:
dv
P
= v + g . This is
Amita Batra
Eric
Annotated Outline
1. Statement of Problem
a. Problem: Oil Companies use of Chemical Dispersion used to break up and
distribute oil such that microorganisms can consume them subsea, but harms
marine life due to toxicity & quality of water
White Paper Notes
Five Major Sections
Introduction
Statement of Problem
Proposed Solutions
Cost-Benefit Analysis
Recommendations
Significant Ill
Qualitative Ill
o Not measurable
o Must evaluate how life is strengthened or diminished
Quantitative ill
o Is
Alternatives to
Chemical
Dispersion
AMITA BATRA & ERIC WANG
Introduction
Approx. 14,000 oil spills occur per year
Majority classified as small (<100 bpd)
Small spills add up!
Most oil companies use dispersion in their spill response plans
Statement of Pro
Problem 02:
Part (a)
Choose suitable initial guesses for the variables vA and .
For vA: Initial guess is 4.1 m/s
And for initial guess is pi/4 radians.
These conditions satisfy vA > 4 and within ( 8 , 3 )
Part (b)
What happens if vA set to zero? Why?
If
Problem 04:
i
Xi
Yi
0
0
0
1
5
Y(5)
2
10
Y(10)
3
15
Y(15)
4
20
Y(20)
5
25
Y(25)
6
30
Y(30)
7
35
Y(35)
8
40
Y(40)
9
45
Y(45)
Discrete the differential equations
a. For i=1-9 we discrete the
differential equation as follows
x
20+20 e 25
y i+12 y i + y i1= x
Thomas Franz
Tjf772
17495
Take Home Final
Problem 1: Curve Fitting
A thermistor is a resistor that changes its resistance with respect to heat. In a lab, an
engineer heated a thermistror to 100 F and then turned off the heat. He recorded the
resistance (R
Problem 03:
Part (a)
Re-formulate the given second order equation as two first order equations in terms of the
dx
variables x and v = dt
Given 2nd order ODE is:
d2 x
m d t2
dx
+ k dt
+ mg = 0
(1)
So as given in question data:
v=
dx
dt
= x1
(2)
and by rewr
Chapter 3
Functions and Visualizing Data
3.1
Functions and Subroutines
Functions can be thought of independent programs in themselves. They allow the programmer
to dene a specic action that (usually) takes in some data, does some processing, and returns
a
ME 318M
Programming and Engineering Computational Methods
Spring 2016
Homework # 1
Assigned: January 22th, 2016
Due: January 28th, 2016 (at start of lecture)
Name: _
Section Unique Number:_
UID: _
Please enclose relevant printouts of the code you wrote an
Name:
Rex Baxter
Date: 9/21/15
Section: 17540
Assignment: Lab 2
-Problem 2.1
x=input('Value of x: ');
if (x=12 | x=-3);
disp('That is a correct x value')
else
disp('Incorrect x value')
end
> BaxterLab2Prob1
Value of x: 12
That is a correct x value
> Baxte
1
Alternatives to Chemical Dispersion during Oil Spill Response
by
Amita Batra
and
Eric Wang
Submitted to
Dr. John Cline
and
Sean Killen
ME 333T
Fall 2015
2
Alternatives to Chemical Dispersion during Oil Spill Response
Introduction
Oil spills play a large
Problem 1
function y = RevertString(x)
y=fliplr(x);
end
> RevertString('ME318M')
ans =
M813EM
> RevertString('Baxter')
ans =
retxaB
> RevertString('Homework 4')
ans =
4 krowemoH
Problem 2
function B = MyTranspose(A)
[r c] = size(A);
B = zeros(c,r);
for i
Amita Batra
Eric Wang
Statement of Problem
Every year the EPA receives approximately 20,000 reports of oil spills with estimates
[that] range as high as 588 million gallons [of spilled oil] annually (Jackson, 2010, Kiger,
2015). Hence, it is clear that oi
Amita Batra
Ab53929
September 15, 2016
Programming Homework 2
Problem 1
> Homework2
x1 =
1
x2 =
2
x3 =
3
x4 =
4
x5 =
5
A=
1
2
3
4
5
M=
3
S=
15
The mean of these numbers is 3
The sum of these numbers is 15
PROBLEM 2 a.)
N=input('How many terms do you want\
Amita Batra
Ab53929
September 29, 2016
Homework 4
PROBLEM 1
%For user input
Enter string Amita
W=
Amita
ans =
atimA
RevertString
Enter stringHiya
W=
Hiya
ans =
ayiH
RevertString
%Without user input
RevertString
W=
programming
ans =
gnimmargorp
PROBLEM 2
I
Chapter 1
Introduction to Matlab
1.1
Introduction to MATLAB
MATLAB is a powerful graphing/plotting and high-level programming tool. MATLAB is used
widely in mechanical engineering industry and research labs for analysis, simulations and even
real-time con
Rex Baxter
Rbb873
17540
Lab 10
Introduction
The problem involved is determining the voltage across a capacitor in a RC Filter Circuit. The rate
of change of the voltage across the capacitor is governed by the equation:
RC
dy
+ y=v (t ) , where
dt
v(t) is
Name:
Rex Baxter
Date: 9/14/15
Section: 17540
Assignment: Lab 1
-Problem 1.1 For each of the names above, write down why they arent valid
in MATLAB
2more is not acceptable because variables must start with a letter
i-p-freely is not acceptable because var
Name:
Rex Baxter
Date: 11/2/15
Section: 17540
Assignment: Lab 7
-Problem 7.1
R=inline('cos(a) + cos(a+b)','a','b'); 0unction for alpha and beta angles
[A,B]=meshgrid(0:(pi/100):(pi/2),0:(pi/100):pi); et values for the angles
Z=R(A,B)%evaluate function wit
ME 318M
Programming and Engineering Computational Methods
Spring 2016
Homework #2
Assigned: January 29th, 2016
Due: February 4th, 2016 at start of lecture
Name: _
Section Unique Number:_
UID: _
Please enclose relevant printouts of the code you wrote and t