#include <bits/stdc++.h>
using namespace std;
double PI = acos(-1);
double cal(double h, double w, double a) {
  double ans = sin(a) * cos(a);
  ans *= ((h * (1 + cos(a)) - w * sin(a)) /
          ((1 + cos(a)) * (1 + cos(a)) - sin(a) * sin(a))) *
         ((h * (1 + cos(a)) - w * sin(a)) /
          ((1 + cos(a)) * (1 + cos(a)) - sin(a) * sin(a)));
  return ans;
}
int main() {
  double h, w, a;
  while (cin >> w >> h >> a) {
    int bo = 0;
    if (h > w) {
      double t = w;
      w = h;
      h = t;
      bo = 1;
    }
    double b = 2 * atan((h / w));
    a = (a / 180) * PI;
    if (a > (PI / 2)) a = PI - a;
    if (a < b || (a > (PI - b))) {
      if (a > (PI - b)) a = PI - a;
      double ans1 = h * w - cal(h, w, a) - cal(w, h, a);
      printf("%.8lf\n", ans1);
    } else {
      double ans2 = (h / (sin(a))) * h;
      printf("%.8lf\n", ans2);
    }
  }
  return 0;
}
