a, b, theta = gets.chomp.split.map(&:to_f)
rad = theta / 180 * Math::PI
h = b * Math.sin(rad)
S = a * h / 2
c = Math.sqrt(a ** 2 + b **2 -  2 * a * b * Math.cos(rad))
L = a + b + c
printf("%.5f\n", S)
printf("%.5f\n", L)
printf("%.5f\n", h)