#include <bits/stdc++.h>
using namespace std;

int main() {
  double a,b,c;
  cin >> a >> b >> c;
  double S = a * b * sin(c * 3.14159265 / 180) / 2;
  double L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c* 3.14159265 / 180));
  double h = 2 * S / a;
 
  printf("%.8lf\n%.8lf\n%.8lf\n",S,L,h);
}


