# Example 1: High Density (Suspicious)
# Prostate 4x4x3 cm, PSA 10
# Vol = 0.52 * 4 * 4 * 3 = 24.96 cc
# Density = 10 / 24.96 = 0.40
prostate_tumor_volume_density(4, 4, 3, 10)
# Example 2: Low Density (Likely BPH)
# Prostate 5x6x5 cm, PSA 4
# Vol = 0.52 * 5 * 6 * 5 = 78 cc
# Density = 4 / 78 = 0.05
prostate_tumor_volume_density(5, 6, 5, 4)
Run the code above in your browser using DataLab