EN103 Design & Computing Skills Spreadsheet As A Computational Tool
EN103 Design & Computing Skills Spreadsheet As A Computational Tool
FL
=
AE
You are required to produce a spreadsheet to compare the observed data (given) and compute the
theoretical data. Differences between the data set should also be computed.
• This simplified laboratory type of exercise is ideal for the student to practice various basic
spreadsheet operations.
• Set up the spreadsheet, see the suggested template shown below in Figure 3.
• It is a good idea to enter the values of the fixed parameters in some cells. If you need to
change these parameters (e.g. the length, diameter or material), you simply need to change the
values of these few cells, and the rest of the computed values are automatically taken care of.
• Make sure that cells that are supposed to contain numerical data do not contain textual data.
For example, the information “Length = 0.8 m” requires 3 cells, one for “Length = “, one for
0.8 and one for “m”. Again see the template in Figure 3.
• Get accustom to engineering units, Kx (x 103), Mx (x106), Gx (x109) etc.
• Excel has a number of useful functions, e.g. pi() is an Excel function for the constant .
• You will need to use absolute referencing, e.g. to reference cell A1 absolutely, you specify the
cell as $A$1. In all operations, Excel will always use the absolute cell $A$1 in all its
operations.
x x h
L/2
L
b
Figure 5: Deflection of a Beam Loaded at Mid-Span
FL3
The deflection is given by: max =
48 EI
bd 3
Where I=
12
Do not be unduly distracted by the various formulae and complexity of the above problem, the relevant
topics will be covered in due course in units related to mechanics. Our concern here is to use Excel to
compute for the results.
See if you can do the exercise on your own. It may be a little difficult, but not impossible. Seek help if
really in doubt.
As you can see later, Excel can also be used to plot graphs. A XY graph for the above exercise is
shown in Figure 8:
• XY Line and/or scatter charts (most of the graphs that we are familiar with which involves the
use of both x and y co-ordinates are in fact classified as XY chart in Excel).
• Line charts (a time series chart or forecast chart) involving principally the values of one
variable captured at a constant interval of x or time value.
• Histogram.
Again, a hands-on approach is taken for this section in which you will be guided through a series of
exercises.
Chart Wizard: one of the simplest ways to plot graphs is through chart wizard. The
chart wizard can be activated from the menu Insert > Chart or by clicking the chard
wizard icon.
For XY chart, for every single graph you will need to have x and y data
points as input data range (i.e. two columns of data), and line chart, pie
chart histogram (and some others) you will need one column of data
point. It is a good idea to first select the ranges of data points before
activating the chart wizard. Suppose there are 20 data points given, and
we need to plot scatter XY graph for these data points, which is shown
in Figure 9. Select the range (B1:C20), and activate the chart wizard.
The chart wizard guides you through the various stages needed so that
enough information can be gathered for the requested chart to be
plotted. The first stage of the process involves the selection of required
chart type, this is shown in Figure 10.
To save you some work, an Excel file containing the template data can be found in P drive under the
folder name of En103.
The solution for Scatter XY and Line chart is shown in Figure 16:
To use the ToolPak: click on Tools > Data analysis and select the Histogram option from the ToolPak
dialogue window. This is shown in Figure 18.
Again, the template data set in drive P can be used. The sample data set, together with the results are
shown in Figure 19:
• The Histogram tool will ask some essential inputs: range of inputs, bins (i.e. the way you
would like to define the individual range of the histogram, etc. For the exercise, these
required inputs are shown in Figure 20: