import std.stdio, std.string, std.conv;
import std.math;

void main() {
	auto input = getStdin!(string[])[0].split(" ").to!(real[]);
	real a = input[0];
	real b = input[1];
	real theta = input[2] * PI / 180.0L;
	
	real s = (a * b * sin(theta)) / 2.0L;
	"%.8f".writefln(s);
	real l = a + b + (a.pow(2) + b.pow(2) - 2.0L * a * b * cos(theta)).sqrt;
	"%.8f".writefln(l);
	real h = b * sin(theta);
	"%.8f".writefln(h);
}

T getStdin(T)() {
    string[] cmd;
    string line;
    while ((line = chomp(stdin.readln())) != "") cmd ~= line;
    return to!(T)(cmd);
}