summaryrefslogtreecommitdiff
path: root/progs/a882.py
blob: ba27baa1cdb05129fc70ca4c2de5199c0bbd9b2c (plain)
1
2
3
4
import math
def volume_tetrahedron(num):
	volume = (num ** 3 / (6 * math.sqrt(2)))	
	return round(volume, 2)