Convert your Typst math equations to functions in order to graph or plot them. So you only have to write your equation out ONCE!
Install eqalc by cloning it and then importing like this:
#import "@preview/eqalc:0.1.0": math-to-func, math-to-code, math-to-table
#let f = $g(t)=2t dot sqrt(e^t)+ln(t)+2pi$
#f\
#math-to-code(f)
#math-to-table(f, min: 1, max: 5, step: 1)
// `math-to-func` will return a function that can be used to map over values
Available functions at the moment:
math-to-func
math-to-code
math-to-table
math-to-data