sin(pi/4) where input is in radians