import Control.Applicative
main = do
    [a,b,rad] <- map read . words <$> getLine
    let
        rad = ang*pi/180
    print $ a*b*(sin rad) / 2
    print $ a + b + sqrt (a^2 + b^2 - 2*a*b*(cos rad))
    print $ b * (sin rad)