(1) Write a program for calculating the wavelengths of emission lines in the spectrum of the hydrogen atom, based on the Rydberg formula. 1 1 m² n2 [2] In nuclear physics, the semi-empirical mass formula is a formula for calculating the approximate nuclear binding energy B of an atomic nucleus with atomic number Z and mass number A: (А - 2Z)2 a5 B = a1A – A2A²/3 – az- A A1/2 ' where, in units of millions of electron volts, the constants are ai = 15.67, az = 17.23, as = 0.75, as = 93.2, and if A is odd, as = 12.0 if A and Z are both even, -12.0 if A is even and Z is odd. a) Write a program that takes as its input the values of A and Z and prints out the binding energy for the corresponding atom. Use your program to find the binding energy of an atom with A = 58 and Z = 28. (Hint: The correct answer is around 490 MeV.) b) Modify your program to print out not the total binding energy B, but the binding energy per nucleon, which is B/A. c) Now modify your program so that it takes as input just a single value of the atomic number Z and then goes through all values of A from A = Z to A = 3Z, to find the one that has the largest binding energy per nucleon. This is the most stable nucleus with the given atomic number. Have your program print out the value of A for this most stable nucleus and the value of the binding energy per nucleon. d) Modify your program again so that, instead of taking Z as input, it runs through all values of Z from 1 to 100 and prints out the most stable value of A for each one. At what value of Z does the maximum binding energy per nucleon occur? (The true answer, in real life, is Z= 28, which is nickel. You should find that the semi-empirical mass formula gets the answer roughly right, but not exactly.)

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Python language for physicist
(1) Write a program for calculating the wavelengths of emission lines in the
spectrum of the hydrogen atom, based on the Rydberg formula.
1
R
m²
1
n2
[2] In nuclear physics, the semi-empirical mass formula is a formula for
calculating the approximate nuclear binding energy B of an atomic nucleus
with atomic number Z and mass number A:
(А - 2Z)2
a5
+
A1/2
|
B = a1A – a2A²/3 – az-
– a4:
|
Al/3
A
where, in units of millions of electron volts, the constants are ai = 15.67, a2 = 17.23,
as = 0.75, as = 93.2, and
if A is odd,
a5 =
12.0
if A and Z are both even,
-12.0 if A is even and Z is odd.
a) Write a program that takes as its input the values of A and Z and prints out
the binding energy for the corresponding atom. Use your program to find
the binding energy of an atom with A = 58 and Z = 28. (Hint: The correct
answer is around 490 MeV.)
b) Modify your program to print out not the total binding energy B, but the
binding energy per nucleon, which is B/A.
c) Now modify your program so that it takes as input just a single value of the
atomic number Z and then goes through all values of A from A = Z to A =
3Z, to find the one that has the largest binding energy per nucleon. This is
the most stable nucleus with the given atomic number. Have your program
print out the value of A for this most stable nucleus and the value of the
binding energy per nucleon.
d) Modify your program again so that, instead of taking Z as input, it runs
through all values of Z from 1 to 100 and prints out the most stable value of
A for each one. At what value of Z does the maximum binding energy per
nucleon occur? (The true answer, in real life, is Z= 28, which is nickel. You
should find that the semi-empirical mass formula gets the answer roughly
right, but not exactly.)
Transcribed Image Text:(1) Write a program for calculating the wavelengths of emission lines in the spectrum of the hydrogen atom, based on the Rydberg formula. 1 R m² 1 n2 [2] In nuclear physics, the semi-empirical mass formula is a formula for calculating the approximate nuclear binding energy B of an atomic nucleus with atomic number Z and mass number A: (А - 2Z)2 a5 + A1/2 | B = a1A – a2A²/3 – az- – a4: | Al/3 A where, in units of millions of electron volts, the constants are ai = 15.67, a2 = 17.23, as = 0.75, as = 93.2, and if A is odd, a5 = 12.0 if A and Z are both even, -12.0 if A is even and Z is odd. a) Write a program that takes as its input the values of A and Z and prints out the binding energy for the corresponding atom. Use your program to find the binding energy of an atom with A = 58 and Z = 28. (Hint: The correct answer is around 490 MeV.) b) Modify your program to print out not the total binding energy B, but the binding energy per nucleon, which is B/A. c) Now modify your program so that it takes as input just a single value of the atomic number Z and then goes through all values of A from A = Z to A = 3Z, to find the one that has the largest binding energy per nucleon. This is the most stable nucleus with the given atomic number. Have your program print out the value of A for this most stable nucleus and the value of the binding energy per nucleon. d) Modify your program again so that, instead of taking Z as input, it runs through all values of Z from 1 to 100 and prints out the most stable value of A for each one. At what value of Z does the maximum binding energy per nucleon occur? (The true answer, in real life, is Z= 28, which is nickel. You should find that the semi-empirical mass formula gets the answer roughly right, but not exactly.)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education