mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-17 08:39:06 +00:00
Add Beta and Gamma particles; added suggestions
This commit is contained in:
@@ -9,4 +9,12 @@ public interface Radioactive {
|
||||
public default int getAlphaCounts(double distance) {
|
||||
return (int) (1000 * 1.0 / (distance * distance));
|
||||
}
|
||||
|
||||
public default int getBetaCounts(double distance) {
|
||||
return (int) (2000 * 1.0 / (distance * distance));
|
||||
}
|
||||
|
||||
public default int getGammaCounts(double distance) {
|
||||
return (int) (5000 * 1.0 / (distance * distance));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user