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

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

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



