import Control.Applicative
import Data.Function
import Control.Monad
import Data.List
import Data.Char
import Text.Printf

t :: [Double] -> [Double]
t [a,b,c] = [s,l,h]
    where s  = (a*b*(sin cr)/2)
          l  = a+b+(sqrt (a^2+b^2-2*a*b*cos cr))
          h  = b*(sin cr)
          cr = c*pi/180

main :: IO ()
main = do
    a <- map read . words <$> getLine
    let [s,l,h] = t a
    printf "%.10f %.10f %.10f\n" s l h
