a, b, c = gets.split(" ").map(&;to_i);
puts sprintf("%.8f", 0.5 * a * b * Math.sin(c));
puts sprintf("%.8f", a + b + (a**2 + b**2 - 2 * a * b * Math.cos(c)**0.5));
puts sprintf("%.8f", b * Math.sin(c));