MATH 300 - Homework 6

# Math 300 - Homework 6 (back to Math 300 main page)

You must create a Python file containing 2 functions. The first takes one argument x, and returns the value of the function $p(x)=-x2+5x$. The second function is given by $q(x)=xsin2x$. All functions First function must handle vector arguments for its arguments $x$, evaluating the function for each entry in $x$. The function $q$ is assumed to be defined to be $0$ at $x=0$.

This assignment is worth 50 points, and is due at 12:00 PM on Tuesday, 28th of July. Mail Python script file to the instructor - do not leave it on your public directory.