#include <bits/stdc++.h>
using namespace std;
int main() {
  double w, h, a, t, x, y, z, f, g;
  cin >> w >> h >> a;
  double c = w * w + h * h;
  if (w > h) {
    t = w;
    w = h;
    h = t;
  }
  c = sqrt(c);
  double b = acos(h / c);
  if (a > 90) a = 180 - a;
  b = b + b;
  b = b / 3.1415926535 * 180;
  if (a >= b) {
    printf("%.10lf\n", w * w / sin(a / 180.0 * 3.1415926535));
  } else {
    if (a == 0) {
      printf("%.10lf\n", w * h);
      return 0;
    }
    x = 1 + 1 / cos(a / 180.0 * 3.1415926535);
    y = (1 / tan(a / 180.0 * 3.1415926535) + 1 / sin(a / 180.0 * 3.1415926535));
    z = tan(a / 180.0 * 3.1415926535);
    f = (w * y - h) / (x * y - z);
    g = w - x * f;
    printf("%.10lf\n", w * h - (f * f * tan(a / 180.0 * 3.1415926535) +
                                g * g / tan(a / 180.0 * 3.1415926535)));
  }
  return 0;
}
