title: Program For Surface Area Of Octahedron
signature: function programForSurfaceAreaOfOctahedron(side: number): number {
test_code: 
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  function convertToString(value: any): string{
      return JSON.stringify(value, function (key, val) {
          if (val instanceof Set) {
              return Array.from(val);
          } return val;});
  }
  
  function validateSolution(actual: number, expected: number): boolean {
      return Math.abs(actual - expected) < 1e-09;
  }
  
  function driver(side: number, expected:number): string {
      try{
          if (validateSolution(PLACEHOLDER_FN_NAME(side),expected)){
              return "PASSED";
          }
          return "FAILED";
      } catch (error) {
        return error.name;
      }
      
  }
      
  function main(){
    let result = '';
    result = driver(1449.255716877097, 7275798.574924052);
    console.log(`TEST-0...${result}`);
  
    result = driver(-8772.104874265995, 266562009.34357828);
    console.log(`TEST-1...${result}`);
  
    result = driver(2948.419328234334, 30114046.875937637);
    console.log(`TEST-2...${result}`);
  
    result = driver(-1184.220109553511, 4857977.358664159);
    console.log(`TEST-3...${result}`);
  
    result = driver(7422.825800698956, 190866258.51879707);
    console.log(`TEST-4...${result}`);
  
    result = driver(-5808.280006171851, 116865336.10679008);
    console.log(`TEST-5...${result}`);
  
    result = driver(829.8963781665169, 2385823.7719733207);
    console.log(`TEST-6...${result}`);
  
    result = driver(-7368.438572511732, 188079541.63799432);
    console.log(`TEST-7...${result}`);
  
    result = driver(5572.033890611617, 107551908.5552799);
    console.log(`TEST-8...${result}`);
  
    result = driver(-3998.9441642787706, 55396369.52612884);
    console.log(`TEST-9...${result}`);
  
  };
  
  main();
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 ) );
  }