Math 300: Mathematical Computing

Python ICE 4

Write a Python function to evaluate
\[
s_N=\sum_{n=0}^N \frac{x^n}{n!}
\]
Obviously it will take two arguments, and return
one output.
It should handle array arguments for \(x\) and the output,
so we can plot results.