title: Program For Surface Area Of Octahedron
signature: programForSurfaceAreaOfOctahedron :: Double -> Double
  programForSurfaceAreaOfOctahedron side = 
test_code: import Text.Printf
  import Control.Exception (catch, SomeException)
  import Data.Typeable
  import qualified Data.List as List
  import qualified Data.Map as Map
  import qualified Data.Set as Set
  
  -- SOLUTION CODE
  -- ============================================
  
  PLACEHOLDER_CODE_BODY
  
  -- TESTING CODE 
  -- ============================================
  validateSolution :: Double -> Double -> Bool
  validateSolution actual expected = do
      (abs (actual-expected)) < 1e-09
  
  driver :: Double -> Double -> String
  driver side expected = do
      if (validateSolution (PLACEHOLDER_FN_NAME side) expected)
          then "PASSED"
      else "FAILED"
  
  main = do
      printf "TEST-0...%s\n" (driver (1449.255716877097) (7275798.574924052) )
  
      printf "TEST-1...%s\n" (driver (-8772.104874265995) (266562009.34357828) )
  
      printf "TEST-2...%s\n" (driver (2948.419328234334) (30114046.875937637) )
  
      printf "TEST-3...%s\n" (driver (-1184.220109553511) (4857977.358664159) )
  
      printf "TEST-4...%s\n" (driver (7422.825800698956) (190866258.51879707) )
  
      printf "TEST-5...%s\n" (driver (-5808.280006171851) (116865336.10679008) )
  
      printf "TEST-6...%s\n" (driver (829.8963781665169) (2385823.7719733207) )
  
      printf "TEST-7...%s\n" (driver (-7368.438572511732) (188079541.63799432) )
  
      printf "TEST-8...%s\n" (driver (5572.033890611617) (107551908.5552799) )
  
      printf "TEST-9...%s\n" (driver (-3998.9441642787706) (55396369.52612884) )
  
source_py: def program_for_surface_area_of_octahedron(side):
      return ((2 * math.sqrt(3)) * (side * side))
source_cpp: double program_for_surface_area_of_octahedron(double side) {
    return ( 2 * ( sqrt ( 3 ) ) * ( side * side ) );
  }