Javascript code:
// put everything you need inside the following function // return a number for one function and array/list for multiple functions function (t) { return fun(t); const A = iA, w = iw; return [A*sin(w*t), A*cos(w*t)]; }