function main(lines) {
    const input = lines.split(' ').map(Number)
    const a = input[0]
    const b = input[1]
    const radian = input[2]*(Math.PI/180)

    const S = (a*b*(1/2)*Math.sin(radian)).toFixed(4)
    const L = (Math.sqrt(a*a + b*b - 2*a*b*Math.cos(radian)) + a + b).toFixed(4)
    const h = (b*Math.sin(radian)).toFixed(4)

    console.log(S + ' ' + L + ' ' + h)
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));

