double pendule à ressort
This commit is contained in:
parent
b23581ab75
commit
66b8f50f71
1 changed files with 3 additions and 1 deletions
|
|
@ -2,6 +2,8 @@ import legrandchien as lgc
|
|||
import matplotlib.pyplot as plt
|
||||
import matplotlib.animation as animation
|
||||
import numpy as np
|
||||
import cProfile
|
||||
import pstats
|
||||
|
||||
g = lgc.Const(-10)
|
||||
m1 = lgc.Const(1)
|
||||
|
|
@ -33,7 +35,7 @@ init = {
|
|||
"d_theta2" : 0
|
||||
}
|
||||
|
||||
data = L.solve(init, 10, 0.01)
|
||||
data = L.solve(init, 5, 0.01)
|
||||
|
||||
# Extraire les positions
|
||||
times = sorted(data.keys())
|
||||
|
|
|
|||
Loading…
Reference in a new issue