Monday:
We have to schedule Test 2.
1. Plotting mathematical functions in Excel (I
expect you to work through this example and submit it.)
2. Projectile -- generate and plot the data for throwing a projectile
up into the air
3. Write an R program that uses R's curve
method to plot the same
functions as above, that is,
y(t) = y0 + v0 t + g t2 / 2
where y0 = 0, v0= 15, and g = -9.8 from t=0 to t=3.5
Note that R wants the variable to be called x instead of t, and an example of curve
for a straight line looks like
curve(14 + 1.5*x, from=1, to=6, add=TRUE, col="Green")
In the same or another R program, plot the Lennard-Jones potential
4 ε ( (σ / r)12 - (σ / r)6 )
with ε = 0.6502 and σ = 0.3166 from r = 0.3 to r = 0.5
Due: Oct. 17