The Open Source Physics website will be unavailable on Saturday, August 1 due to network maintenance at the American Center for Physics.

Science SPORE Prize
November 2011

The Open Source Physics Project is supported by NSF DUE-0442581.

## Physics of Maximum Amplitude versus Driving Frequency Question made in EJS post and replies

Physics of Maximum Amplitude versus Driving Frequency Question - Mar 19, 2014 at 10:56PM

lookang
143 Posts

Physics of Maximum Amplitude versus Driving Frequency Question referring an original model found in EJS examples found in.....\source\users\davidson\wochristian\osc\SHOResonance.xml

Dear Prof Wolfgang,

i am puzzled as to the correct ODE equation for the driving force's acceleration component.

is it

or

the resultant plots for +A*Math.cos(omegaD*t)/m starts at Amplitude =1 which is what i believe is correct but it does not have the maximum curve characteristics (see picture)

for case 2: the resultant plots for +A*Math.sin(omegaD*t)/m starts at Amplitude =0 which is what i believe NOT correct but it has the maximum curve characteristics (see picture).

Any advise how i can model the driving force such that

1) start at Amplitude= 1 (usually we teach with a non-zero value in our lecture notes)

2) has the desired maximum curve characteristics which exists in our teaching materials (usually we do teach this feature).

http://weelookang.blogspot.sg/2014/03/ejs-resonance-frequency-vs-amplitude.html

model DL here

https://dl.dropboxusercontent.com/u/44365627/lookangEJSworkspace/export/ejs_model_SHOResonancewee.jar

source is also attached for consideration into the OSP collection please

thanks!

Post edited March 19, 2014 at 11:04 PM EST.

Attached File: ejs_src_SHOResonancewee.zip

http://weelookang.blogspot.sg

### Replies to Physics of Maximum Amplitude versus Driving Frequency Question

Re: Physics of Maximum Amplitude versus Driving Frequency Question - Mar 20 2014 7:35AM
Wolfgang
86 Posts

Both sine and cosine forms for the driving force should give the correct result.  The problems seems to be that that model does not measuring the maximum amplitude directly.  Using the energy to estimate the maximum amplitude is incorrect when the damping is large.

The OSP Network: