#include <bits/stdc++.h>
using namespace std;
struct classcomp {
  bool operator()(const int& lhs, const int& rhs) const { return lhs < rhs; }
};
int main() {
  double w, h, alfa;
  cin >> w >> h >> alfa;
  if (w < h) swap(w, h);
  if (alfa > 90) {
    alfa = 180 - alfa;
  }
  alfa = alfa * 3.1415926535897932384626433832795 / 180;
  double tresh = 2 * atan(h / w);
  double rez;
  if (alfa > tresh) {
    rez = (h / (sin(alfa))) * h;
    printf("%.10lf\n", rez);
    return 0;
  }
  if (alfa == 0) {
    rez = w * h;
    printf("%.10lf\n", rez);
    return 0;
  }
  double x = h / 2 + w / (2 * tan(alfa)) - w / (2 * tan(alfa) * cos(alfa));
  double y = w / 2 + h / (2 * tan(alfa)) - h / (2 * tan(alfa) * cos(alfa));
  rez = w * h - x * x * tan(alfa) - y * y * tan(alfa);
  printf("%.10lf\n", rez);
  return 0;
}
