The SF&BM program for the HP48G(X) will quickly draw shear force and bending moment
diagrams for simply supported beams. The beam can have any number of point loads, distributed
loads, or moments applied to it. This program is great for engineering students who are taking
Statics, Strengths of Materials, or even taking the EIT test because it provides a quick means to
check your work for problems of this type.
The program is simple to run. Information is gathered about every point on the beam where
something is happening. This could be a force (point load) or a moment being applied at that
point or a distributed load that is beginning or ending at that point. The information about each
point is then entered into the stack of the HP48G(X) and the program is executed. The diagrams
can then be displayed.
There are six bits of information that must be entered for each relevant point (except the very last
point where only one bit of information is required.)
These include:
1. The current point that you are evaluating.
2. A "1" or a "0" describing whether or not a distributed load is ending.
3. A "1" or a "0" describing whether or not a distributed load is beginning.
4. The function that describes the distributed load that is beginning.
5. The value of any point load that may be applied at the current point.
6. The value of any moment that may be applied at the current point.
A "0" is entered for information that is not relevant. For example, if there is no moment applied at
the current point, then a "0" is entered for the moment at that point.
It is important to remember to use the sign convention. The positive sign convention is as follows:
Point loads that are acting in the positive y direction are entered as positive. Moments that act in
the counter-clockwise direction are entered as positive (observing the right-hand-rule.) Distribute
loads are simply entered as the functions that describe them. The distributed load functions must
bed entered into the HP48G(X) as an algebraic (see the HP48G(X) manual)
It is very convenient to create a table before entering the data into the HP48G(X), as is shown in
the examples below. This makes it very easy to keep track of values on the beam and minimizes
erroneous entries.
Here are two examples that describe how a typical beam might be analyzed for this program.
Example 1


			 500 N/m
		   ---------------------
		   |   |   |   |   |   | 
		   |   |   |   |   |   | 
		  \ / \ / \ / \ / \ / \ / 
 .-----------------"---"---"---"---"---"-------------------.
/ \                                                       / \
 |                                                         |
 | 500 N                                                   | 500 N

/------------------/-------------------/-------------------/
0m                   2m               4m                     6m 


Current | Distributed  | Distributed   | Distributed  | Point | Moment
Point   | Load Ending  | Load Beginning| Load Function| Load  |
----------------------------------------------------------------------
   0    |      0       |       0       |       0      |  500  |   0
   2    |      0       |       1       |     500      |   0   |   0
   4    |      0       |       1       |       0      |   0   |   0
   6    | 

The first point to consider is at 0m because there is a point load acting at this point. In the table
you will enter a 0 under Current Point representing 0m. Since there is no distributed load starting
or ending at this point, a 0 is entered into the table for Distributed Load Ending and again for
Distributed Load Beginning. There is a point load of +500N acting here, so a value of 500 is
entered into the table under Point Load. There is no moment acting here, so a 0 is entered under
Moment for this point.
The next point to be considered is at 2m because there is a distributed load starting here. A 2 is
entered into the table under Current Point representing 2m. There is no distributed load ending
here so a 0 (signifying "no") is entered for Distributed Load Ending. There is, however, a
distributed load starting here, so a 1 (signifying "yes") is entered for Distributed Load Beginning.
Since there is a distributed load beginning here, you must enter the function that describes the
distributed load under Distributed Load Function. In this case, the function is simply described by
500, so a 500 is entered under Distributed Load Function. (Note: Since the function here is a
constant, it need not be entered into the stack as an algebraic.) There are no point loads or
moments acting here, so 0's are entered in their respective columns.
The next point to consider is at 4m where the distributed load ends. A 4 is entered into the table
under Current Point. Since the distributed load is ending here, a 1 (signifying "yes") is entered
under Distributed Load Ending. There is no distributed load starting here so 0's are entered for
Distributed Load Beginning and Distributed Load Function respectively. There are also no point
loads or moments acting here so 0's are also entered into those columns.
Any loads or moments acting at the final point NEED NOT BE CONSIDERED. Only the final
point needs to be entered into the table here under Current Point. Any loads or moments here
were considered when the reactions were solved for and they will take care of themselves when
the program executes.
Once the table is complete, the values from the table will be entered on the stack of the
HP48G(X). It is necessary to clear the stack first before any information is entered. Once the
stack is clear, you will enter the values from the table starting from the first row moving left to
right, and then doing the same for each row in the table until the final point is entered. Once this is
achieved, you will press the GO button on the menu keys to start the program. Once the
program is finished executing (it takes about 30 to 60 seconds), you may press SHEAR or
MOM to draw the respective diagrams. 

Example 2                    |
			 |   |
	    20*x N/m |   |   |                            
		 |   |   |   |                 | 50 N      
20N/m        |   |   |   |   |         * *     |          * *  15 N*m
 |   |   |   |   |   |   |   |       *     *   |              *
\ / \ / \ / \ / \ / \ / \ / \ /     *         \ /              *
 "---"---"---"---".--"---"---"----------*------"-----------.   *
/ \              / \                *  10 N*m             / \  *
 |                |                  *                     |  * 
 | 72.7 N         | 10 N               * *>             < *|* 
 |                |                                        |
/--------/--------/---------/-----------/------/-----------/
0m      1m       2m       3m           5m      6m           8m


Current | Distributed  | Distributed   | Distributed  | Point | Moment
Point   | Load Ending  | Load Beginning| Load Function| Load  |
----------------------------------------------------------------------
   0    |      0       |       1       |      20      |  72.7 |   0
   1    |      1       |       1       |    '20*X'    |   0   |   0
   2    |      0       |       0       |       0      |  10   |   0
   3    |      1       |       0       |       0      |   0   |   0
   5    |      0       |       0       |       0      |   0   |  10
   6    |      0       |       0       |       0      |  -15  |   0
   8    |



The second example is much more complicated looking than the first example. You will soon see
however that it is a simple matter to describe this beam in the table as long as the convention is
followed.
The first point to consider is 0m, so 0 is entered for Current Point. A 0 is entered for Distributed
Load Ending since there is no distributed load ending here. However, since a distributed load is
beginning here, a 1 is entered for Distributed Load Beginning. Since there is a distributed load
beginning here, you must also enter the function that describes it in the Distributed Load
Function column. The function that describes the distributed load at this point is 20, so a 20 is
entered into the table. There is also a +72.7N point load acting here, so 72.7 is entered under
Point Load in the table. A 0 is entered under Moment because there are no moments acting at
this point.
The next point to consider is at 1m because the distributed load function is changing here from
20 to '20*X'. A 1 is entered for Current Point. A 1 is entered for Distributed Load Ending
because the first distributed load function is ending here. A 1 is entered for Distributed Load
Beginning because the second distributed load function is beginning here. Enter the algebraic
'20*X' in the table for Distributed Load Function. (Note: The program assumes an upper case X
for the variable so use it in your function.) There are no point loads or moments acting here so
0's are entered into their respective columns.
The next important point is at 2m because there is a point load acting here. A 2 is entered under
Current Point. The distributed load is neither ending nor is it beginning, it is simply continuing.
0's are therefore entered for Distributed Load Ending, Distributed Load Beginning and
Distributed Load Function respectively. The point load here is +10N so a 10 is entered into the
table under Point Load. There are no moments acting here, so a 0 is entered under Moment.
The next point is at 3m where the distributed load ends. A 3 is entered for Current Point, a 1 is
entered for Distributed Load Ending and 0's are entered for the rest of the columns for this
particular point because there is nothing else happening.
The next point is 5m where there is a positive (right hand rule) moment acting. A 5 is entered for
Current Point. 0's are entered for Distributed Load Ending, Distributed Load Beginning,
Distributed Load Function, and Point Load. A 10 is entered under Moment to describe the
positive moment acting at this point.
At 6m, the only thing acting is the -15N point load. The table is filled in for this point describing
exactly that. Note the sign convention.
Finally, only the final point needs to be entered for 8m and not the forces acting there. Enter all
the information from the table into the stack and press the GO button on the menu keys to start
the program. Once the program is finished executing (it takes about 30 to 60 seconds), you may
press SHEAR or MOM to draw and view the respective diagrams. Below is a graphic of the
respective outputs.

Locating the Extremes
After the diagram has been drawn you may press the (x,y) button on the menu and use the cursor
to find the values at any point on the diagram. It is important to note that these values are only as
accurate as the resolution of the display for that particular diagram. If you wish to know the exact
value at a given point you may evaluate the relevant equation for the X value that corresponds to
that particular point. All of the shear force and bending moment equations can be found in the
EQ'S directory. Extremes for equations of two degrees or greater can be found by taking the
derivative of the equation, setting it equal to 0, solving for the variable and then plugging the result
back into the original equation. Refer to the HP48G(X) manual on how to do this, or you may do
it by hand.
