The initial and deformed geometries of the bed due to the body weight and movement of the
patient are calculated,
using the finite element analysis tool, MSC.NASTRAN,
from the given body pressure distribution (Nicol and Rusteberg, 1993).
The deformations of the fiber optic cable are then extracted from the deformations of the mattress.