Skip to main content
18 events
when toggle format what by license comment
Aug 14, 2017 at 6:01 history tweeted twitter.com/StackPhysics/status/896975047151190016
Aug 9, 2017 at 1:35 history edited Stephen Jacob CC BY-SA 3.0
Updated plots to confirm if the plot depends on the correct selection of timestep. Also updated the algorithm for clerical errors.
Aug 9, 2017 at 1:11 vote accept Stephen Jacob
Aug 8, 2017 at 20:26 answer added Floris timeline score: 0
Aug 8, 2017 at 15:33 comment added user65081 I suspect that the problem is that the time step is too large.
Aug 8, 2017 at 14:58 comment added Kyle Kanos @JonCuster This question is not about debugging code but about what is the right way to physically model a spring with a computer. If that is not physics, I don't know what is.
Aug 8, 2017 at 12:58 comment added Jon Custer I'm voting to close this question as off-topic because this is debugging code.
Aug 8, 2017 at 11:16 history edited Kyle Kanos
edited tags
Aug 8, 2017 at 11:16 answer added Kyle Kanos timeline score: 3
Aug 8, 2017 at 7:51 comment added Stephen Jacob @Wolphramjonny Thank you for the observation. I made a clerical error. I updated the algorithm based on my usage. It is the same as you have mentioned
Aug 8, 2017 at 7:50 history edited Stephen Jacob CC BY-SA 3.0
added 24 characters in body
Aug 8, 2017 at 6:08 comment added peterh compsci.stackexchange.com
Aug 8, 2017 at 5:37 comment added user65081 The equations you are using for s and v are for constant acceleration, which is not the case here. Instead, you could alculate s(t) =s(t-1)+delta_s
Aug 8, 2017 at 5:00 review Close votes
Aug 9, 2017 at 21:28
Aug 8, 2017 at 4:15 history edited Stephen Jacob CC BY-SA 3.0
Algorithm to determine displacement
Aug 8, 2017 at 3:50 comment added Stephen Jacob I am using the equations of motion, to summarize I use, s = ut + 0.5at^2, followed by v = u+at, and update of restoring force (k*s)/m, where k and m are spring constant and mass, respectively, for different time steps. I will add the precise notations and sequence in the original question after some time.
Aug 8, 2017 at 2:40 comment added Kyle Kanos What formula are you using?
Aug 8, 2017 at 2:33 history asked Stephen Jacob CC BY-SA 3.0