Skip to content

Instantly share code, notes, and snippets.

@jsb2505
jsb2505 / Concrete.txt
Last active April 22, 2024 09:43
A gist of concrete lambda functions to BS EN 1992-1-1 and UK National Annex (Eurocode 2)
/**Poisson's ratio of concrete.
Ref: EC2 §3.1.3(4)
*/
Get_Poissons_Ratio = LAMBDA([isCracked],
LET(
_isCracked, IF(ISOMITTED(isCracked), FALSE, isCracked),
IF(_isCracked,
0, //for cracked concrete
0.2 //for uncracked concrete
)