|
Sample Cue Cards for Mathematical Tasks Here are some examples of the bisect, graph, matinvert and matmult functions. To use the templates, simply enter your values at lines marked ****, then process all lines that are in courier font. The word "process" means to select (highlight) the relevant text and click the spinning globe in the Engineers' Compendium window. To work with the cue card, you need MATHSERV , which you may download here.1. Restricted passage: Find the longest length of a flat object that can be negotiated around the corner of a restricted passage, where L1+L2 is the length, W1 and W2 are the restricted widths, and A (given), B and C (sought) are angles in radians that add-up to _pi:
**** width 1 in m, W1 = 1.5
FX = "W2*cos(_pi-A-X)/(sin(_pi-A-X))^2 - W1*cos(X)/(sin(X))^2"
2. Neutral axis factor: Given a bending moment, M, and the properties of a concrete section, it is often necessary to find the neutral axis factor KU to ensure that it is less than the ductility limit of 0.4. The moment capacity is FI*C*JD where FI is the capacity factor (0.8), C is the concrete stress block and JD the distance from centroid of reinforcement to centroid of C. From clause 8.1.2.2 of AS 3600, C is .85*FC*B*GAMMA*KU*D, where
**** capacity factor FI = .8
GAMMA = max(.65, .85 - .007*(FC-28)*(FC > 28)) := 0.822
3. Capacitance of simple circuit: The solution for a simple circuit with a resistance, R, and a capacitance, C, in series with a battery voltage, V, is Q = C*V*(1 - exp(-T/(R*C))), where Q is the charge on the capacitor and T is the time needed to get the charge. Solving for C as the unknown X, it pays to magnify the vertical scale by 10^6: FX = "10^6*(X*V*(1 - exp(-T/(R*X))) - Q)"
graph(FX, .0000005, .000005)
C = bisect(FX, 0.000001, .000002, .00000001) := 1.2578E-6
4. Polynomials: Engineering expressions often take the form:
example 1: FX = "A + B*X + C*X^2 + D*X^3 + E*X^4" **** A = 1
graph(FX, 0, 1)
from graph: LO = {0, .25, .6, .9}
root[1]= 0.0381
example 2: FX = "A + B*X^2*exp(C*X)" **** A = 2
graph(FX, -2, 15)
from graph: LO = {-2, 2, 10}
root[1] = -1.1364
5. Matinvert and matmult: Simultaneous equations are often expressed as a square matrix of factors A and an array of results C. The object is the unknown vector X in the equation A*X=C. X may be found with X=matmult(B,C), where B=matinvert(A). For example, to find the coefficients X of a cubic equation when four points (PX,PY) are given, we can write four simultaneous equations (i = 1 to 4) thus:
clear A, B, C, PX, PY **** X-values, PX = {3.2, 2.7, 1.0, 4.8}
automatically generates array F1 = PX^3
Set up the matrix A:
Find the inverse, B = matinvert(A) Get the result, X = matmult(B,PY) print X
Check it out:
6. Add your own solutions - (1) state the problem; (2) develop a mathematical expression for it; (3) solve the expression as outlined above, (4) save the project with File | Save project, (5) mark the document with File | Mark as cue card. If you are new to Engineers' Compendium, first highlight the command and press function key F1. Your comments or questions are most welcome - call Helmut Schmidhofer on 0500 818 500 or email engcomp@pbq.com.au |