title: Program Calculate Volume Ellipsoid
signature: func programCalculateVolumeEllipsoid(r1 float64, r2 float64, r3 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(r1 float64, r2 float64, r3 float64, expected float64) string {
      if validateSolution(PLACEHOLDER_FN_NAME(r1, r2, r3),expected) {
              return "PASSED"
      }
      return "FAILED"
  
  }
  
  func main() {
  
      // Use imports to avoid undefined errors
      var _ = reflect.DeepEqual
      _ = math.Abs
      _ = sort.Sort
      result := ""
      result = driver(3287.4842316041018, 
  	4503.332888443404, 
  	8590.24729914204, 531379639833.05774)
      fmt.Printf("TEST-0...%s\n", result)
      
      result = driver(-3707.427510963942, 
  	-6671.335781753231, 
  	-2780.4954870801926, -287348660250.6971)
      fmt.Printf("TEST-1...%s\n", result)
      
      result = driver(8980.643174783816, 
  	3584.781688607942, 
  	2818.469507143102, 379127256148.80035)
      fmt.Printf("TEST-2...%s\n", result)
      
      result = driver(-2698.0187368852694, 
  	-1004.7289573934537, 
  	-9602.530725071243, -108762980362.90225)
      fmt.Printf("TEST-3...%s\n", result)
      
      result = driver(8627.156664162168, 
  	9572.27618966978, 
  	4783.930377855004, 1650704251171.7974)
      fmt.Printf("TEST-4...%s\n", result)
      
      result = driver(-7316.329924623669, 
  	-6591.043206581106, 
  	-9760.465488363216, -1966615618344.9363)
      fmt.Printf("TEST-5...%s\n", result)
      
      result = driver(7857.3846206400485, 
  	3671.761679299217, 
  	2534.5825334137794, 305534635263.3107)
      fmt.Printf("TEST-6...%s\n", result)
      
      result = driver(-6502.657905007728, 
  	-1412.2240121470609, 
  	-6135.238350044512, -235411379188.32523)
      fmt.Printf("TEST-7...%s\n", result)
      
      result = driver(4468.400513325576, 
  	2272.1999139470304, 
  	4753.075799180736, 201639162973.6474)
      fmt.Printf("TEST-8...%s\n", result)
      
      result = driver(-7231.864791620428, 
  	-8036.087711033032, 
  	-6456.263512521035, -1567753314543.6833)
      fmt.Printf("TEST-9...%s\n", result)
      
          
  }
source_py: def program_calculate_volume_ellipsoid(r1, r2, r3):
      return ((((1.33 * math.pi) * r1) * r2) * r3)
source_cpp: float program_calculate_volume_ellipsoid(float r1, float r2, float r3) {
    float pi = 3.14;
    return 1.33 * pi * r1 * r2 * r3;
  }