Based on the parameters of the Force Generator: max_force and max_velocity get maximal velocity that can be reached at particular external_resistance

fgen_get_velocity(external_force, max_force = 3000, max_velocity = 4)

Arguments

external_force

Numeric vector. External force is in Newtons

max_force

Numeric vector. Maximal force in Newton that Force Generator can generate

max_velocity

Numeric vector. Maximal velocity that Force Generator can achieve in unconstrained conditions

Value

Numeric vector of estimated maximal velocity reached

Examples

fgen_get_velocity(0, 3000, 4)
#> [1] 4
fgen_get_velocity(3000, 3000, 4)
#> [1] 0
fgen_get_velocity(1500, 3000, 4)
#> [1] 2