Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export class OneRepMaxCalculator {
- private readonly weight: number
- private readonly repetitions: number
- constructor(weight: number, repetitions: number) {
- this.weight = weight
- this.repetitions = repetitions
- }
- epley(): number {
- return Math.round(this.weight * (1 + this.repetitions / 30))
- }
- brzycki(): number {
- return Math.round(this.weight * (36 / (37 - this.repetitions)))
- }
- mcGlothin(): number {
- return Math.round((100 * this.weight) / (101.3 - 2.67123 * this.repetitions))
- }
- lombardi(): number {
- return Math.round(this.weight * Math.pow(this.repetitions, 0.1))
- }
- oConner(): number {
- return Math.round(this.weight * (1 + this.repetitions / 40))
- }
- }
Add Comment
Please, Sign In to add comment