(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.)
(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
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.)](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fca9ba0bb-673e-4914-997f-fd0f1193fc63%2F3b6e159f-03d1-451d-8bfe-29fe42089f84%2Fxy27ldtc_processed.jpeg&w=3840&q=75)
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

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 1 images

Recommended textbooks for you

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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education