calculate (0.789781,cos(0.789781)