228 Appendix D: A Detailed Look at _

Solution: The equation for the shear stress for x between 0 and 10 is more efficiently programmed after rewriting it using Horner's method:

Q = (3x–45)x2+ 350 for 0 < x < 10.

Keystrokes ¥

´b2

1

0

£ t9 ` 3

*

4

5

-

*

*

3

5

0

+

n

´b9

3

n

Display

 

 

 

000–

 

 

Program mode.

001–42,21, 2

 

002–

 

1

 

003–

 

0

Test for x range.

004–

43

10

 

005–

22

9

Branch for x ≥ 10.

006–

43

35

 

007–

 

3

 

008–

 

20

3x.

009–

 

4

 

010–

 

5

 

011–

 

30

(3x – 45).

012–

 

20

 

013–

 

20

(3x – 45)x2.

014–

 

3

 

015–

 

5

 

016–

 

0

 

017–

 

40

(3x – 45)x 2 + 350.

013–

43

32

End subroutine.

019–42,21, 9

Subroutine for x ≥ 10.

020–

 

26

 

021–

 

3

103=1000.

022–

43

32

End subroutine.

Execute _ using initial estimates of 7 and 14 to start at the outer end of the beam and search for a point of zero shear stress.