Username: 
Password: 
Restrict session to IP 
Online within 1d
Questions  |  score: 2  |  4,15 4,19 5,29 |  Solved By 1926 People  |  100838 views  |  since Dec 07, 2010 - 23:58:47

Training: Math Pyramid (Math, Training)

Math - Math Pyramid
This is the first release of a math challenge.
You have to come up with the shortest solution (9 chars or less) for a geometric function.
And the story goes like:

Pharao momo wants a square-based pyramid, where all the eight edges are of the same length 'a'.
Please support him with a formula to calculate the volume for a given side length.
Your co-workers already drew a sketch how the pyramid looks like from front-view:
pyramid.png

Example Formula: a^3/3*sqrt(a*a)
Notation Hints: sqrt(), a^2, etc.

Enjoy!

Thanks go out to momo for the idea, Jinx for testing, paipai for a copy of EvalMath and Miles Kaufmann for writing the EvalMath class.
Your formula:
© 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025 and 2026 by Gizmore

PHP Fatal Error(1): Constant E_STRICT is deprecated since 8.4, the error level was removed in www/protected/config.php line 6


Backtrace starts in [unknown file] line ?. GWF_Debug::shutdown_function() core/inc/util/GWF_Debug.php line 109. GWF_Debug::error_handler().... core/inc/util/GWF_Debug.php line 180.