# Fotoelektrik Etki Deneyi: verification notes File: `simulasyonlar/fotoelektrik-etki-deneyi.html`. Tabs: Hikâye · Deney · Millikan · Fizik · Doğrulama. The Doğrulama tab shows **25/25 tests passing**. ## 1. Audit of the original (`kaynak-eski/fotoelektrik.js`, Gemini 2025, React + Recharts) The app code is at the end of the bundle (byte offset about 587 900). Quoted fragments are de-minified. | # | Problem | Evidence in the original | Correct physics | |---|---|---|---| | 1 | The saturation current depends on electron energy, not on photon flux. | `l = a ? e.I/100*(1-Math.exp(-o/.5))*100 : 0`, where `o` = Ek_max | I_sat = e·η·Φ with Φ = Pλ/(hc), so the current is proportional to optical power. At fixed power, Φ ∝ λ: with constant η, a longer wavelength gives *more* current, up to λ₀. A yield that rises with hν − φ is real near threshold (Fowler 1931: η ∝ (hν − φ)²). The original's 1 − e^(−Ek/0.5 eV) factor is an unlabelled ad-hoc curve that reaches a "100 %" yield and ignores the λ-dependence of the flux. The new version has both a constant-η model and a Fowler model (İleri). | | 2 | Emission is wrongly gated by the applied voltage. | photon → electron only if `n.canEmit && n.Ek_max_eV >= e.V_applied && Math.random()<.5` | Whether an electron is emitted does not depend on V at all; only whether it is collected does. The condition compares Ek with the *accelerating* voltage. So at V_applied = +2 V with Ek = 0.5 eV, no electrons are emitted, and at any retarding voltage they always are. | | 3 | The electron acceleration has the wrong sign. | `v = .025 * -e.V_applied * d; t.vx += v*a` | A positive anode attracts electrons. In the original, +V *decelerates* them and −V accelerates them. Combined with #2, at a retarding voltage beyond V_s the animated electrons speed up towards the anode while the I–V plot shows zero current. | | 4 | The I–V curve is discontinuous at V = 0 and has an unmotivated shape. | `a<=-e ? 0 : a<0 ? t*(1-Math.pow(-a/e,1.5)) : t*(1-.1*Math.exp(2*-a))` | The retarding branch gives I_sat at V → 0⁻, but the accelerating branch gives 0.9·I_sat at V = 0⁺: a 10 % jump. The exponent 1.5 has no physical basis and gives a kink with finite slope at −V_s. Fowler–DuBridge (planar electrodes, T = 0) gives I/I_sat = ((Em + eV)/Em)², which is continuous and reaches zero with zero slope (DuBridge, Phys. Rev. 43, 727 (1933)). | | 5 | The animated electron energies are inconsistent with the model's own curve. | `n.Ek_max_eV*(.8+.2*Math.random())` | All electrons are drawn within 20 % of Ek_max, yet the I–V curve implies a broad distribution. Now: normal energies are sampled from dN/dE ∝ (Em − E), the same distribution that produces the I–V curve (tested). | | 6 | Work functions are unsourced textbook values; Pt is outside the measured range. | `Na 2.28, Zn 4.33, Cu 4.7, Cs 2.1, Pt 6.35` | These match textbook tables (HyperPhysics / Tipler; Serway / OpenStax list Pt 6.35, Cu 4.70). CRC Handbook polycrystalline photoelectric values are Na 2.36, Cs 1.95, Zn 3.63 and Pt 5.64 (faces 5.12–5.93), with Cu 4.65 (Michaelson 1977). Pt 6.35 lies outside every CRC value. Na 2.28 is close to CRC 2.36 and is not really "wrong". No caveat about surface or crystal-face dependence was given. | | 7 | UV light is invisible. | the colour function `Hg` returns `[0,0,0]` for λ < 380 nm, drawn on `#0A0F1E` | The wavelength slider goes down to 200 nm, but below 380 nm the light cone and photons are black on a near-black background. Now: UV is drawn as a dashed neutral grey beam labelled "UV, görünmez". | | 8 | The emission probability is presented without scale. | `Math.random()<.5` | Real metals have η ≈ 10⁻⁵ to 10⁻³ (Cu(111): 1.06 × 10⁻⁴ at 260 nm, Greaves et al., FEL2011 THPB15). Each dot is now labelled as representing many electrons, and η = 10⁻³ is stated. | | 9 | The stopping voltage is identified with Ek_max with no mention of contact potential. | `v_stop_V: i` (= Ek_max) | This is fine as an idealisation, but the measured value is eV_s = hν − φ_*collector*. It is now modelled at İleri level (copper-anode option). | | 10 | Minor issues. | intensity slider min 10 %; current axis label "göreli"; no classical contrast, no time-lag discussion, no h measurement | All three are now central to the new version. | The original's "Fiziksel Değerler" panel was correct for the ideal formulas: E = hf, Ek = hf − φ, f₀ = φ/h. Its constant h = 4.135667696e-15 eV·s is the exact h/e. ## 2. What the new version models All formulas are small pure functions in the second `