Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Graph the potential of an anharmonic oscillator

  1. Aug 2, 2011 #1
    1. The problem statement, all variables and given/known data

    my spreadsheet: (oh and please ignore the fact that ive got my amplitude set to 39, i was still answering question 1 when i took the screen shot)

    Untitled-1-1.png

    the question i am currently having problems with is question 2:

    Untitled-2-1.png

    2. Relevant equations

    i know the potential is U(x) = 1/2kx2 but thats about all i know

    3. The attempt at a solution

    i would use the above equation to find U which would be plotted on the y axis, however i dont know what the constant "k" is. also i dont know what i would use as the x axis
     
  2. jcsd
  3. Aug 5, 2011 #2
    i figured it out but just for anyone else who would like to know, its actually quite simple. the potential U(x) is equal to the integral of -F dx. simply find an expression for F (remember F = ma = m d^2x/dt^2) and then integrate. thats going to be your expression for U(x). then all you gotta do is plot U(x) where x can have any range.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook