Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. from math import exp
  2.  
  3. kB = 1.38e-23
  4. c = 2.998e+8
  5. h = 6.626e-34
  6. niu = c * 2744 * (10 ** 2)
  7.  
  8. T1 = 300
  9. T2 = 1000
  10.  
  11. raport1 = 1 - exp(-((h * niu) / (kB * T1)))
  12. raport2 = 1 - exp(-((h * niu) / (kB * T2)))
  13.  
  14. print("Raport Ni/N pentru T = 300K este egal cu :", raport1)
  15. print("Raport Ni/N pentru T = 1000K este egal cu :", raport2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement