# Answer to Question #2040 in MatLAB | Mathematica | MathCAD | Maple for jayesh

Question #2040

Write a user-defined MATLAB function for the following math function:

y(x) = 0.9x^4e^-0.1x -15x^2 - 5x

The input to the function is x and the output is y. Write the function such that x can be a vector, and y is a vector containing the corresponding y(x) values.

y(x) = 0.9x^4e^-0.1x -15x^2 - 5x

The input to the function is x and the output is y. Write the function such that x can be a vector, and y is a vector containing the corresponding y(x) values.

Expert's answer

## Comments

## Leave a comment