- #1
baouba
- 41
- 0
I'm trying to model the response of a particle in an anharmonic potential in MATLAB. I know that writing position, x as a function of potential energy U is,
where T is the period, m is mass, and E is the energy of the system. How would I get a function for T(E) since it's not independent of amplitude obviously. As a starting point, I'm using the anharmonic potential of
Where a and b are constants. Does anybody know how I could program this in matlab?
Thanks
where T is the period, m is mass, and E is the energy of the system. How would I get a function for T(E) since it's not independent of amplitude obviously. As a starting point, I'm using the anharmonic potential of
Where a and b are constants. Does anybody know how I could program this in matlab?
Thanks