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
icon
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
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
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.
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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Introduction to computer system
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
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