title: Program For Surface Area Of Octahedron
signature: func programForSurfaceAreaOfOctahedron(side float64) float64 {
test_code: package main
  
  import (
      "fmt"
      "reflect"
      "math"
      "sort"
  )
  
  // SOLUTION CODE
  // ===================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE
  // ===================================
  func validateSolution(actual float64, expected float64) bool {
      return math.Abs(actual - expected) < 1e-09
  }
  
  func driver(side float64, expected float64) string {
      if validateSolution(PLACEHOLDER_FN_NAME(side),expected) {
              return "PASSED"
      }
      return "FAILED"
  
  }
  
  func main() {
  
      // Use imports to avoid undefined errors
      var _ = reflect.DeepEqual
      _ = math.Abs
      _ = sort.Sort
      result := ""
      result = driver(1449.255716877097, 7275798.574924052)
      fmt.Printf("TEST-0...%s\n", result)
      
      result = driver(-8772.104874265995, 266562009.34357828)
      fmt.Printf("TEST-1...%s\n", result)
      
      result = driver(2948.419328234334, 30114046.875937637)
      fmt.Printf("TEST-2...%s\n", result)
      
      result = driver(-1184.220109553511, 4857977.358664159)
      fmt.Printf("TEST-3...%s\n", result)
      
      result = driver(7422.825800698956, 190866258.51879707)
      fmt.Printf("TEST-4...%s\n", result)
      
      result = driver(-5808.280006171851, 116865336.10679008)
      fmt.Printf("TEST-5...%s\n", result)
      
      result = driver(829.8963781665169, 2385823.7719733207)
      fmt.Printf("TEST-6...%s\n", result)
      
      result = driver(-7368.438572511732, 188079541.63799432)
      fmt.Printf("TEST-7...%s\n", result)
      
      result = driver(5572.033890611617, 107551908.5552799)
      fmt.Printf("TEST-8...%s\n", result)
      
      result = driver(-3998.9441642787706, 55396369.52612884)
      fmt.Printf("TEST-9...%s\n", result)
      
          
  }
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 ) );
  }