Computes the distance of application of the right/left weights using a sine evolution along the beam.

distance_weight_sine(x, dF = 0.1)

Arguments

x

X position of the segments

dF

Amplitude (m)

Value

The distance at which the left/right weights are applied from the beam axis. Both sides are considered equal.

Examples

distance_weight_sine(c(1,2,3))
#> [1] 8.660254e-02 8.660254e-02 1.224647e-17