Bringing in definitions

A design office does not want the elastic modulus of steel typed into forty worksheets, each free to be wrong on its own. use brings in a pack: a curated set of definitions that lives in one place and arrives by name.

use steel
use constants

The definitions a pack brings are not shown — a worksheet that shows its work should show the work its author did, not fourteen constants nobody typed. nomo packs lists what each one holds.

A bracket in A992, checked against its grade

M=4.2⁢kip·in
S=0.42⁢in3
σ=MS=474.536⁢J6.88257×10−6⁢m3=68947600⁢Pa
σallow=0.6·FyA992=0.6·50⁢ksi=206843000⁢Pa
σ=10⁢ksi
σallow=30⁢ksi
checkσ≤σallow=68947600⁢Pa≤206843000⁢Papass

The self-weight of the same section

Density comes from steel and standard gravity from constants, which is what makes them worth having in one place: neither is a number this worksheet should be asserting.

A=6.5⁢in2
wself=ρsteel·gearth·A=7850⁢m⁻³·kg·9.80665⁢m·s−2·0.00419354⁢m2=322.828⁢kg·s−2
wself=22.1207⁢lbf/ft

A pack's names are visible everywhere in the worksheet

They are global definitions, so where the use line sits does not change what the worksheet means — the same rule as any other global.

Eratio=EsteelGsteel=200⁢GPa77⁢GPa=2.5974