clc
clear
disp "Aliyanna Ellis"

f= @(x) 10*exp(-2*x);

x=0:0.01:2
y=f(x);

plot(x,y)
xlabel(x')
ylabel('f(x)')
title('plot of f(x)=10e^{-2x')
grid on

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: