local function G(G,v,d,l)G=G/l return(1+-2.72^(-6.9*G)*cos(-20.106192982975*G))*d+v end local function v(G,v,d,l)G=G/l return(1+-2.72^(-7.5*G)*cos(-10.053096491487*G))*d+v end

local function Spring(t, b, c, d)
	t = t / d
	return (1 + (-2.72 ^ (-6.9 * t) * cos(-20.1061929829746759423869661986827850341796875 * t))) * c + b
end

local function SoftSpring(t, b, c, d)
	t = t / d
	return (1 + (-2.72 ^ (-7.5 * t) * cos(-10.05309649148733797119348309934139251708984375 * t))) * c + b
end