((r / (180s+90x)-r / (180s))*24*d) - [r/(180s+90x)]*10x