Introduction
Electric vehicles need batteries that last longer and weigh less. Lithium-sulfur batteries offer a way to store more energy in a smaller, lighter package, solving problems with current battery technology.
Imagine a backpacker carrying two types of containers: one very light but holds a lot of water, and another heavier but holds less. Lithium-sulfur batteries are like the light container that can hold much more water, helping the backpacker travel farther without extra weight.
┌─────────────────────────────┐ │ Lithium-Sulfur Battery │ ├───────────────┬─────────────┤ │ Anode │ Cathode │ │ (Lithium) │ (Sulfur) │ ├───────────────┴─────────────┤ │ Lithium ions move between │ │ anode and cathode during │ │ charge and discharge │ └─────────────────────────────┘
def capacity(lithium, sulfur):
return lithium * 2 + sulfur * 4
print(capacity(3, 5))def energy_density(lithium, sulfur):
return lithium + sulfur * 2
print(energy_density(4, 3))Pass the test and this pattern moves unknown