Question: 120/2 Compute energ C I https://relate.cs.llinois.edu/course/cs101-sp18/flow-session/3/8390/19/ CS101 Spring 2018t Signed in as hojoonw2@illinois.edu 1 2 3 45 6 7 8 9 10 11 12 13

120/2 Compute energ C I https://relate.cs.llinois.edu/course/cs101-sp18/flow-session/3/8390/19/ CS101 Spring 2018t Signed in as hojoonw2@illinois.edu 1 2 3 45 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 . Compute energy levels in an atom 5 points The rth energy level for an electron in a hydrogen atom is given by nee 1 En where Tne 9.1094 1031 kg is the electron mass,e 1.6022 10-19 C is the elementary charge, o 8.8542 1012 Cskgm s the electrical permittivity of vacuum and h-6.6261-10 34 Js Write a function E_n n) that returns the energy level En for a given n For instance, the result of E_n 1 should be -2.17998e-18 (with some numerical error). The result of E_n 10 (This assignment is based on Langtangen, Exercise 2.6a.) should be -2.17998e-20 (with some numerical error) Answer*
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
