Problem: The nuclear binding energy is the energy required to split a nucleus of an atom in its component parts: protons and neutrons, or, collectively, the nucleons. It describes how strongly nucleons are bound to each other. When a high amount of energy is needed to separate the nucleons, it means nucleus is very stable and the neutrons and protons are tightly bound to each other. Binding + energy required to separate the components Nucleus (Protons + Neutrons) Separated nucleons The approximate nuclear binding energy (EB) of an atomic nucleus with atomic number Z and mass number A is calculated using the following formula z2 (А - 22)2 Ев a2A²/3 аз A1/3 a5 + A1/2 A where, a¡ = 15.67, a2= 17.23, a3 = 0.75, as = 93.2, and if A is odd if A and Z are both even, -12.0 if A is even and Z is odd. as = 12.0 And the binding energy per nucleon (BEN) is calculated by dividing the binding energy (EB) by the mass number (A). In this assignment you are asked to write a java program that asks the user for a valid atomic number (Z) then goes through all values of A from A = Z to A = 4Z to find the mass number (A) that has the largest binding energy per nucleon (BEN). If the user enters invalid atomic number that is not between 1 and 118, the program should give the user other chance to enter a valid input.
Problem: The nuclear binding energy is the energy required to split a nucleus of an atom in its component parts: protons and neutrons, or, collectively, the nucleons. It describes how strongly nucleons are bound to each other. When a high amount of energy is needed to separate the nucleons, it means nucleus is very stable and the neutrons and protons are tightly bound to each other. Binding + energy required to separate the components Nucleus (Protons + Neutrons) Separated nucleons The approximate nuclear binding energy (EB) of an atomic nucleus with atomic number Z and mass number A is calculated using the following formula z2 (А - 22)2 Ев a2A²/3 аз A1/3 a5 + A1/2 A where, a¡ = 15.67, a2= 17.23, a3 = 0.75, as = 93.2, and if A is odd if A and Z are both even, -12.0 if A is even and Z is odd. as = 12.0 And the binding energy per nucleon (BEN) is calculated by dividing the binding energy (EB) by the mass number (A). In this assignment you are asked to write a java program that asks the user for a valid atomic number (Z) then goes through all values of A from A = Z to A = 4Z to find the mass number (A) that has the largest binding energy per nucleon (BEN). If the user enters invalid atomic number that is not between 1 and 118, the program should give the user other chance to enter a valid input.
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
java problem
![run:
Please enter a valid atomic number (z) [1,118]:> 0
Please enter a valid atomic number (z) [1,118]:> -4
Please enter a valid atomic number (Z) [1,118]:> 120
Please enter a valid atomic number (Z) [1,118]:> 5
Binding
Energy
Binding Energy
per Nucleon
A
-448.996
-226.623
-82.990
-3.778
47.111
64.228
70.245
55.009
35.952
1.794
-32.682
-78.825
-123.453
-177.641
-229.307
-289.143
-89.799
-37.771
-11.856
-0.472
5.235
6.423
6.386
4.584
2.766
6
8
9
10
11
12
13
14
0.128
15
-2.179
16
17
18
-4.927
-7.262
-9.869
-12.069
19
20
-14.457
The most stable nucleos has a mass number 10
BUILD SUCCESSFUL (total time: 10 seconds)
Figure 1: Sample run of the program](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fbc0b6d99-b414-4106-951c-55f29adef034%2Ff6526d53-36e4-4116-8e83-30be637cb14d%2Ft4tlvip_processed.png&w=3840&q=75)
Transcribed Image Text:run:
Please enter a valid atomic number (z) [1,118]:> 0
Please enter a valid atomic number (z) [1,118]:> -4
Please enter a valid atomic number (Z) [1,118]:> 120
Please enter a valid atomic number (Z) [1,118]:> 5
Binding
Energy
Binding Energy
per Nucleon
A
-448.996
-226.623
-82.990
-3.778
47.111
64.228
70.245
55.009
35.952
1.794
-32.682
-78.825
-123.453
-177.641
-229.307
-289.143
-89.799
-37.771
-11.856
-0.472
5.235
6.423
6.386
4.584
2.766
6
8
9
10
11
12
13
14
0.128
15
-2.179
16
17
18
-4.927
-7.262
-9.869
-12.069
19
20
-14.457
The most stable nucleos has a mass number 10
BUILD SUCCESSFUL (total time: 10 seconds)
Figure 1: Sample run of the program

Transcribed Image Text:Problem:
The nuclear binding energy is the energy required to split a nucleus of an atom in its component parts:
protons and neutrons, or, collectively, the nucleons. It describes how strongly nucleons are bound to
each other. When a high amount of energy is needed to separate the nucleons, it means nucleus is very
stable and the neutrons and protons are tightly bound to each other.
Binding
energy
required to
separate the
components
+
Nucleus
(Protons + Neutrons)
Separated nucleons
The approximate nuclear binding energy (EB) of an atomic nucleus with atomic number Z and mass
number A is calculated using the following formula
Eg = a,A – azA²/3 – az
z2
аз А1/3
(А - 22)2
a4
a5
Ев
A
А1/2
where, a1 = 15.67, a2= 17.23, a3 = 0.75, as = 93.2, and
if A is odd
if A and Z are both even,
-12.0 if A is even and Z is odd.
12.0
A5 =
And the binding energy per nucleon (BEN) is calculated by dividing the binding energy (EB) by the
mass number (A).
In this assignment you are asked to write a java program that asks the user for a valid atomic number
(Z) then goes through all values of A from A = Z to A = 4Z to find the mass number (A) that has the
largest binding energy per nucleon (BEN). If the user enters invalid atomic number that is not between
1 and 118, the program should give the user other chance to enter a valid input.
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 3 steps with 1 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.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