Run an Algorithm

From Engineer-it
Revision as of 13:02, 25 December 2020 by Liam (talk | contribs)

__NOTOC__

The term running an algorithm I use to mean doing a set of calculations:

drawio: algorithm_intro

What do you need to know to run an algorithm in an examination?

  1. You need to understand the meanings of all variables to an extent that you are able to assign correct values to them.
  2. You need to be able to write down the steps in the algorithm.
  3. You need to be able to run the algorithm.

For example, here's a 'run' of the algorithm for solving for the forces at joint B in the Nodal Analysis key example:

Isolate Joint B
Joint B diagram 2.png

Apply vertical equilibrium:

Substitute for:

Rearrange to find an expression for

Apply horizontal equilbrium:

Divide each term by :

Substitute :

  • (compression)

Solve for :