calculations relating to equation 2 have been organised so as to use only integral arithmetic numerator n of equation 3 clearly gives an integral result whereas quotient n u03b4l has been obtained by means of a rounding off operation according to the following algorithm equ7 where round indications the rounding off operation trunc the truncating operation and div the integral division it will be noted that the pascal round function has not been used since it forms part of the library for floating point arithmetic the number of pulses to be sent to the contraction motor thus calculated is 34 saturated 34 to the maximum number of pulses that can actually be sent to that motor mechanical constraint the function in pascal language of width height may for example be as follows ______________________________________ width gt height conversion function converts function i byte width word word var num deltal deltah integer conv1 word begin with actart zonea i do begin conv1 maxstepr deltal ctl2 ctl1 deltah cth2 cth1 if deltal lt gt 0 then begin num deltah width cth1 deltal ctl1 deltah conv1 2 num deltal div 2 deltal if conv1 lt 0 then conv1 1 if conv1 gt maxstepr then conv1 maxstepr converts conv1 end else begin error 16 50 editor error on entering widths converts conv1 set convert to a valid value end endend in whichi current areawidth programmed widthctl1 width 1 calibration coefficient l sub 1 ctl2 width 2 calibration coefficient.