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

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