How to create a global variable?

Thanks that’s interesting, but I can’t access the time variable (is there something similar to t_value in Python calculator filter?).

I mean, instead of the value 13.37 I would like something like 5*cos(13.37*time).