a, b, c = gets.chomp.split.map(&:to_f)

s = c * Math::PI / 180.0
s = a * b * sin(s) / 2.0
l = a + b + Math.sqrt(a ** 2 + b ** 2 - 2 * a * b * cos(s))
h = b * sin(s)

printf("%.8f\n", s)
printf("%.8f\n", l)
printf("%.8f\n", h)


