Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (14 loc) · 1.16 KB

File metadata and controls

23 lines (14 loc) · 1.16 KB

Enviormental Science Population Calculator Written for Node.js

This program helps calculate certain AP Enviormental Science population questions. It even shows all work and algebra steps!

  1. Birth/Death Rate
  2. Birth/Death Rate Per Thousand
  3. Population Growth Rate
  4. Population Growth Rate Per Thousand
  5. Doubling Time

Essentially, you will choose one of the five above questions that describe the type of question you are trying to solve. The program will then ask you for data that it needs to calculate the answer. Whatever you are trying to calculate, just leave that value of X.

For example, if you are trying to calculate birth / death rate and you want to know the birth/death rate, leave "Birth/Death rate" as x when it asks for a value. As another example, if you have the birth rate and want to calculate the ammount of births, leave Births/deaths as x and enter the value that you have for everything else.

This program requires an algebra.js import to function. Make sure to "npm i algebra.js -s" before starting

PS: This program is written for pure functionality, so the code is messy and unprofessional but works perfectly