Skip to content

add spring constant #12

Merged
merged 1 commit into from
Feb 22, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add spring constant
rcc02007 committed Feb 22, 2017
commit 35dbdeb9cc03d9f912cee00b2dccea4182c531cf
2 changes: 1 addition & 1 deletion HW4/README.md
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ heading `# Homework #4` in your `README.md` file

PE_s=1/2\*K \*(DL)^2

where DL = 0.5 - sqrt(0.5^2+(0.5-x_C)^2)
where DL = 0.5 - sqrt(0.5^2+(0.5-x_C)^2) and K=30 N/m.

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