Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

java The purpose of this assignment is to practice OOP with Fundamental of Data Type, Constructing Objects and Classes, Decisions, Loops. Create a NetBeans project

image text in transcribed
java
The purpose of this assignment is to practice OOP with Fundamental of Data Type, Constructing Objects and Classes, Decisions, Loops. Create a NetBeans project named HWI_Yourld Important: Apply good programming practices: Provide comments for your code. Use meaningful variable and constant names. Show your name, university id and section number as a comment at the start of your code. Submit to Moodle the compressed file of your entire project (HWI_Yourld). 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. + A Binding energy required to Nucleus separate the (Protons + Neutrons) components Separated nucleons The approximate nuclear binding energy (Ex) of an atomic nucleus with atomic number Z and mass number A is calculated using the following formula + Ep = 2,4 - 22A2/3 az -as (A-22) where, a; = 15.67, a; = 17.23, a:=0.75, a: = 93.2, and if Ais odd 12.0 if A and Z are both even, (-12.0 If A is even and Z is odd. And the binding energy per nucleon (BEN) is calculated by dividing the binding energy (Es) 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 (4) 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. as =

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What are Scott's options?

Answered: 1 week ago

Question

Find the derivative of y= cos cos (x + 2x)

Answered: 1 week ago

Question

=+country competitive advantages? Why? Support your point of view.

Answered: 1 week ago

Question

=+from: a) a MNEs perspective? and b) the HRM managers perspective?

Answered: 1 week ago