finance

pv = fv/(1+i)^n

annuity formula

irr, npv

bond pricing

interest

annualised = (1+i)^(365/(edate-sdate))-1

risk formulas




numbers for trig

value
sign 1	+,-
sign 2	+,-	for arccos()




scaling

a-b to 0-1    v=((x-a)/(b-a))

0-1 to a-b    x=v*(b-a)+a
