a, b, C= gets.chomp.split.map(&:to_i)
rad = C * Math::PI / 180.0

S = (a * b * Math.sin(rad)) / 2
L = ((a ** 2) * (b ** 2)) - 2 * a * b * Math.cos(rad)
h = Math.sin(rad) * b
puts "#{sprintf("%.9f", S)}"
puts "#{sprintf("%.9f", Math.sqrt(L))}"
puts "#{sprintf("%.9f", h)}"