Info

There can be any number of functions within the brackets and if a maximum value is required the procedure is as explained but type max rather than min.

3.3.5.2 Conditional statement

This function will enable a solution to be obtained when the evaluation process will involve compliance with particular conditions.

Example. The determination of the lateral torsional instability function, £crit is dependent on the value of the relative slenderness ratio for bending, A.rei,m. When kcrit < 0.75 the value of Xrel>m is 1, when 0.75 < kcrit < 1. 54 the value is 1.56—0.75 Arel m and when kcrit > 1.54 it is 1 A?el m. To obtain the value within a calculation in which the function Xrel m has been determined, the following procedure will apply:

(1) Open the programming toolbar from the View menu.

(2) On a new line in the calculation, type k.crit: and press].

(3) Click the top placeholder and type 1. Click the 'if' statement on the programming toolbar and it will appear after 1 in the calculation.

(4) In the placeholder after the 'if' type X.rel.m < 0.75;

(5) Move to the placeholder on the next line and press ] and another placeholder will appear on the line below.

(6) In the first placeholder, type 1.56-0.75* X.rel.m and then click the 'if' statement on the programming toolbar.

(7) In the placeholder after 'if' type 0.75 < X.rel.m < 1.54.

(8) Move to the placeholder on the bottom line and type 1A.rel.mA2 then press the shift key two times and click the 'otherwise' statement on the programming toolbar.

(9) To obtain the value for kcrit press return [J] and type k.crit=.

For example, if the relative slenderness ratio for bending of a member is 1.33, the value of £crit will be kcrit : —

0 0