TI Nspire Python: eval_function

Is there an example of how the eval_function works from the TI System Menu module?

I have attempted

s=eval_function("sin",0.5)
print(s)

but this code returns an error.

So does

s=eval_function("sin(0.5)",True)
print(s)

Thank you in advance,

Eddie



Read more here: https://stackoverflow.com/questions/68084941/ti-nspire-python-eval-function

Content Attribution

This content was originally published by Edward Shore at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: