ketricduggerp2ciuc
ketricduggerp2ciuc
16.10.2019 • 
Mathematics

1. write a user-defined matlab function for the following math function: y(x) = (-0.2x3 + 7x2)e-0.3x

the input to the function is x and the output is y. write the function such that x can be a vector (use element-by-element operations).

a) use the function to calculate y(-1.5) and y(5).
b) use the function to make a plot of the function y(x) for -2 ≤ x ≤ 6.

Solved
Show answers

Ask an AI advisor a question