(pentagonalLength, pentagonalBaseLength, height)
| 86 | return 5/2 * pentagonalLength * pentagonalBaseLength * height |
| 87 | */ |
| 88 | const volPentagonalPrism = (pentagonalLength, pentagonalBaseLength, height) => { |
| 89 | isNumber(pentagonalLength, 'PentagonalLength') |
| 90 | isNumber(pentagonalBaseLength, 'PentagonalBaseLength') |
| 91 | isNumber(height, 'Height') |
| 92 | return (5 / 2) * pentagonalLength * pentagonalBaseLength * height |
| 93 | } |
| 94 | |
| 95 | /* |
| 96 | Calculate the volume for a Sphere |
nothing calls this directly
no test coverage detected