![]() | Input: m, b, c, and so on read from standard input |
![]() | How to run the code:
oscillator < filewhere file can be 3.0 0.04 1.0 ... i.e., values of m, b, c, etc. -- in the right order! |
![]() | The resulting time series y(t) is stored in a file sim.dat with t and y(t) in the 1st and 2nd column, respectively |