- #1
adishpatel
- 22
- 0
Hi there,
I am trying to achieve a particular set of graphs based on duffing equation graphs which you can find here:
It shows a graph which is Amplitude (X(1)) vs. Omega graph. With the code that I have deduced and the formula used, I am able to see that X(1) is varying at every step, however the omega value isn't?
What might be wrong in there? I want it to vary as X changes at every step.
Code can be found at http://sysden.com/dufing.f
Here are the first 10 lines of my output:
1st column is omega, second is X(1), third is F(1) and fourth is F(2)
I am trying to achieve a particular set of graphs based on duffing equation graphs which you can find here:
It shows a graph which is Amplitude (X(1)) vs. Omega graph. With the code that I have deduced and the formula used, I am able to see that X(1) is varying at every step, however the omega value isn't?
What might be wrong in there? I want it to vary as X changes at every step.
Code can be found at http://sysden.com/dufing.f
Here are the first 10 lines of my output:
1st column is omega, second is X(1), third is F(1) and fourth is F(2)
Code:
2.0000000000000000 1.0203714984602674E-003 0.0000000000000000 0.0000000000000000
2.0000000000000000 1.0563376279129973E-003 0.0000000000000000 0.0000000000000000
2.0000000000000000 1.1078731279483987E-003 0.0000000000000000 0.0000000000000000
2.0000000000000000 1.1749503127865479E-003 0.0000000000000000 0.0000000000000000
2.0000000000000000 1.2575390789204062E-003 0.0000000000000000 0.0000000000000000
2.0000000000000000 1.3556069126132030E-003 0.0000000000000000 0.0000000000000000
2.0000000000000000 1.4691188981781366E-003 0.0000000000000000 0.0000000000000000
2.0000000000000000 1.5980377265090756E-003 0.0000000000000000 0.0000000000000000
2.0000000000000000 1.7423237040156399E-003 0.0000000000000000 0.0000000000000000
2.0000000000000000 1.9019347618415869E-003 0.0000000000000000 0.0000000000000000