purpose of calculus in civil engineering