daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Dec 16th, 2018 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export class OneRepMaxCalculator {
  2.   private readonly weight: number
  3.   private readonly repetitions: number
  4.  
  5.   constructor(weight: number, repetitions: number) {
  6.     this.weight = weight
  7.     this.repetitions = repetitions
  8.   }
  9.  
  10.   epley(): number {
  11.     return Math.round(this.weight * (1 + this.repetitions / 30))
  12.   }
  13.  
  14.   brzycki(): number {
  15.     return Math.round(this.weight * (36 / (37 - this.repetitions)))
  16.   }
  17.  
  18.   mcGlothin(): number {
  19.     return Math.round((100 * this.weight) / (101.3 - 2.67123 * this.repetitions))
  20.   }
  21.  
  22.   lombardi(): number {
  23.     return Math.round(this.weight * Math.pow(this.repetitions, 0.1))
  24.   }
  25.  
  26.   oConner(): number {
  27.     return Math.round(this.weight * (1 + this.repetitions / 40))
  28.   }
  29. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top