A library made in Kotlin that calculates one rep max using different formulas
- Epley
- Brzycki
- McGlothin
- Lombardi
- Mayhew
- O'Conner
- Wathan
- Average of all the formulas
Each method returns a double. The parameters are the same for each method. (weight,rep). Weight is a double and rep is an int.
import com.e.bunu.strengthcalc.*
fun main(args: Array<String>){
StrengthCalculations.EpleyMax(100.0,10)
}
import com.e.bunu.strengthcalc.*
public class Main{
public void main(String[] args){
StrengthCalculations.INSTANCE.EpleyMax(100.0,10)
//or
StrengthCalculations.EpleyMax(100.0,10)
}
}