We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@variables α λ ω0 ω ωₚ F t x(t) diff_eq = DifferentialEquation( d(x, t, 2) + (ω0^2 -λ*cos(2*ω*t))* x + α * x^3 + γ * d(x, t) ~ F*cos(ωₚ*t), x) add_harmonic!(diff_eq, x, ω) add_harmonic!(diff_eq, x, ωₚ) harmonic_eq = get_harmonic_equations(diff_eq) fixed2 = (γ => 0.005, ω0 => 1.0, α => 1.0, F => 0.0001, ωₚ => 1.0) varied = (ω => range(0.99, 1.01, 100), λ => range(1e-5, 0.02, 100)) result_δλ2 = get_steady_states(harmonic_eq, varied, fixed2, threading=true) plot( plot(result_δλ2, y="√(u1^2+v1^2)", cut=ω=>0.99), plot(result_δλ2, y="√(u2^2+v2^2)", cut=ω=>0.99), ) |> display plot( plot(result_δλ2, y="√(u1^2+v1^2)", cut=λ=>0.01), plot(result_δλ2, y="√(u2^2+v2^2)", cut=λ=>0.01), ) |> display
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: