Added volume of a torus (#7294)
* Added volume of a torus Added function calculation the volume of a torus according to the formula: V = 2 * pi^2 * R * r^2 where R is the major radius and r is the minor radius of the torus. * Added test for torus volume
K
kvadrik committed
0d2a98e9f87dc7bd5dde732a8d34a6bcaef43400
Parent: ba286b2
Committed by GitHub <noreply@github.com>
on 2/28/2026, 7:08:50 PM