#physic #computing
Last modified date: 2022-12-15 18:17
Commit: 1
Created at 2022-12-15
# [Anonymous feedback](https://www.admonymous.co/louis030195)
# [[Epistemic status]]
#shower-thought #to-digest
# Related
- [[Energy]]
- [[Nuclear energy]]
- [[Atomic Energy]]
- [[Infinite recursion]]
# TODO
> [!TODO] TODO
# The nuclear bomb is a recursive function
Having heard lately about the "mother of the nuclear bomb" [[Lise Meitner]], it reminded me of the chain reaction happening in the nuclear bomb, and this chain reaction is a kind of recursive function.
```py
total_energy_released = 0
def fission(atom_a, atom_b, energy):
# Now, IDK what is the return condition? Probably some fundamental limit
return fission(atom_a, atom_b, ++energy)
# Detonate the atom bomb
fission(a, b, total_energy_released)
# If you are still alive, print the total energy released
print("My atom bomb released", total_energy_released)
```
![[Pasted image 20211119082845.png]]