17 lines
547 B
R
17 lines
547 B
R
# Project 1 for the University of Tulsa's CS-7863 Sci-Stat Course
|
|
# Nuclear Binding Energy
|
|
# Professor: Dr. McKinney, Spring 2023
|
|
# Noah L. Schrick - 1492657
|
|
|
|
## Set Working Directory to file directory - RStudio approach
|
|
setwd(dirname(rstudioapi::getActiveDocumentContext()$path))
|
|
|
|
## Part A: compute binding energy
|
|
|
|
## Part B: compute Z=28 and A=58
|
|
|
|
## Part C: table with two columns: nucleons and binding energy per nucleon
|
|
|
|
## Part D: find the value of A that gives the maximum binding energy
|
|
|
|
## Part E: for each Z use the A that maximizes E/A |