# DM

The DM function computes the magnitude of the total relative translational displacement between two markers.

DM(I, J)

## Description

The first argument, marker I, must be specified. The second argument, marker J, is optional.

## Arguments

I
The marker whose displacement is to be computed.
J
The marker with respect to which the displacement is to be computed. This argument is optional. If omitted, it defaults to the ground coordinate system.

## Example

<Force_Scalar_TwoBody
id                  = "31001"
type                = "Force"
i_marker_id         = "31001010"
body1_id            = "30401"
j_marker_id         = "31001011"
body2_id            = "30501"
val_expression      = "IMPACT(DM(30401010,30501010),VM(30401010,30501010),10,2000,1,0.05,0.01)"
/>