Emulate something in software that has a resonant frequency

AI Thread Summary
To emulate a system with a resonant frequency in software, the equation F = kx is crucial, where F is the restoring force, k is a constant, and x is the distance from the center. This model is effective for simulating simple harmonic motion, such as pendulums or springs. The relationship between k and the resonant frequency can be derived from the formula for resonant frequency, which is influenced by the system's mass and stiffness. When simulating the process, it is possible to apply forces at discrete intervals rather than continuously, but the simulation's accuracy may depend on how these forces are integrated over time. Calculus can be utilized to determine the final position after applying a push, especially when considering varying intensities and regular intervals of force application.
inhahe
Messages
8
Reaction score
0
Hello, I have a question about resonance. Say I want to emulate something in software that has a resonant frequency. It will be receiving pushes and pulls at various intervals, and I want the emulation to reflect how intensely it would vibrate at its resonant frequency as the result of those combined pushes and pulls. I think the pushes and pulls are straightforward, so my question is: What is the equation that relates how far away from the center the oscillator currently is to how strongly it's pulled back to center? I imagine this is the only relation that causes resonance in the item in question, but I don't know the math.. thanks
 
Physics news on Phys.org


F = kx (x = distance, k a constant) should be an excellent model for the restoring force. It is used as a good approximation in pendulum and spring problems where it results in simple harmonic (sinusoidal) vibration.
 


thanks. what's the relation between k and the resonant frequency?

also i have another question.. it's about the granularity in time with which i simulate this process. i honestly have no idea how crude it can be. essentially I'm wondering if i could cause a movement only every time it's pushed/pulled, and not in between, and still get the required effect.

i was thinking if i pushed according to the F=kx (plus the pushing force I'm applying), and the oscillator ends up, say, on the other side, does that really work if I simply moved it in linear relation to how strong the push was? Because meanwhile while it was moving there should have been more forces applied per position. so a) would I have to account for this (given that all I'm looking for in the end is how fast it's vibrating), and b) in that case, would it have to be accounted for step-wise, or can calculus or something be used to determine the final position after the push?

oh..as far as the calculus goes, it will be pushed at a regular interval but at varying intensities, and that interval's frequency is somewhere between twice per oscillation and a large number per oscillation.

(the pushes and pulls in real life won't happen in instantaneous pulses, but in a continuum, but i believe i can simplify for the purpose of simulation and use periodical samples..)

thanks..
 
Last edited:
Thread 'Motional EMF in Faraday disc, co-rotating magnet axial mean flux'
So here is the motional EMF formula. Now I understand the standard Faraday paradox that an axis symmetric field source (like a speaker motor ring magnet) has a magnetic field that is frame invariant under rotation around axis of symmetry. The field is static whether you rotate the magnet or not. So far so good. What puzzles me is this , there is a term average magnetic flux or "azimuthal mean" , this term describes the average magnetic field through the area swept by the rotating Faraday...
Back
Top