-- replace "undefined" by your definition volume r = undefined heliumCosts r = undefined balloonRadius m = undefined -- the following tests can be used by you, once you have implemented your functions, -- for testing, just invoke testV, testHC1, testHC2, testBR1, testBR2 in ghci testV = "test volume: expected ~ 1436.755, computed: " ++ show (volume 7 :: Double) testHC1 = "test heliumCosts 1: expected ~ 3.93, computed: " ++ show (heliumCosts 20 :: Double) testHC2 = "test heliumCosts 2: expected ~ 31.43, computed: " ++ show (heliumCosts 40 :: Double) testBR1 = "test ballonRadius 1: expected ~ 21.67, computed: " ++ show (balloonRadius 5 :: Double) testBR2 = "test ballonRadius 2: expected ~ 27.31, computed: " ++ show (balloonRadius 10 :: Double)