Skip to content

A library made in Kotlin that calculates one rep max using different formulas

License

Notifications You must be signed in to change notification settings

nithjino/StrengthCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

StrengthCalculator

A library made in Kotlin that calculates one rep max using different formulas

Formulas Available

  • Epley
  • Brzycki
  • McGlothin
  • Lombardi
  • Mayhew
  • O'Conner
  • Wathan
  • Average of all the formulas

Usage

Each method returns a double. The parameters are the same for each method. (weight,rep). Weight is a double and rep is an int.

Kotlin Example

import com.e.bunu.strengthcalc.*

fun main(args: Array<String>){
  StrengthCalculations.EpleyMax(100.0,10)
}

Java Example

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)
  }
}