Programming parabolic function

el_supremo:
A little bit of algebra changes that to

RTCvar = (120.*seconds - seconds*seconds)/36.;

Pete

Finishing the job and eliminating one multiply:

RTCvar = (120.0 - seconds) * seconds / 36.0 ;