Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update HW4
  • Loading branch information
rcc02007 committed Feb 21, 2017
1 parent 4a4ee8b commit 9d98bda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions HW4/README.md
Expand Up @@ -11,17 +11,17 @@ heading `# Homework #4` in your `README.md` file


![Collar-mass on an inclined rod](collar_mass.png) ![Collar-mass on an inclined rod](collar_mass.png)


The spring is unstretched when $x_{C}=0.5$. The potential energy due to gravity is: The spring is unstretched when x_C=0.5 m. The potential energy due to gravity is:


$PE_{g}=m x_{C}g\sin\theta$ PE_g=m x_C*g*sin(theta)


where m=0.5 kg, and g is the acceleration due to gravity, where m=0.5 kg, and g is the acceleration due to gravity,


and the potential energy due to the spring is: and the potential energy due to the spring is:


$PE_{s}=1/2K (\Delta L)^{2}$ PE_s=1/2*K *(DL)^2$


where $\Delta L = 0.5 - \sqrt{0.5^{2}+(0.5-x_{C})^{2}}$ where DL = 0.5 - sqrt(0.5^2+(0.5-x_C)^2)


b. Use the `goldmin.m` function to solve for the minimum potential energy at xc when b. Use the `goldmin.m` function to solve for the minimum potential energy at xc when
theta=0. *create an anonymous function with `@(x) collar_potential_energy(x,theta)` in theta=0. *create an anonymous function with `@(x) collar_potential_energy(x,theta)` in
Expand Down

0 comments on commit 9d98bda

Please sign in to comment.