Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (16 sloc) 196 Bytes
model tge.spring;
#
# vars
#
variables:
# spring constant
public k;
# force difference
public df;
# distance difference
public x;
#
# Equations
#
equations:
df:= k*x;