πŸ’» Coding Mission

Set Up the LIF Parameters

+30 XP
Click Run to start Python
Define all 8 LIF parameters and print a summary with units.

Your task:
1. Fill in the 6 missing parameters using scientific notation:
   tau = 20e-3, el = -60e-3, vr = -70e-3, vth = -50e-3, r = 100e6, i_mean = 25e-11

2. Complete the 6 missing print statements using f-strings.
   Convert to readable units: multiply voltages Γ— 1000 for mV, tau Γ— 1000 for ms.

Expected output:
t_max = 150.0 ms
dt = 1.0 ms
tau = 20.0 ms
el = -60.0 mV
vr = -70.0 mV
vth = -50.0 mV
r = 1.0e+08 ohm
i_mean = 2.5e-10 A

Hints (only if you're stuck!)

solution.py
● Loading...