Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (20 sloc) 219 Bytes
model tge.pendulum;
#
# vars
#
variables:
# length
public L;
# gravity
public g;
# pi
public pi;
# period
public T;
#
# Equations
#
equations:
g:=9.21;
pi:=3.141;
T:=2*pi*(L/g)^0.5;