a,b,c = gets.chomp.split.map(&:to_f)
s = a * b * Math.sin(c * Math::PI / 180) / 2
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,l,h