clc
clear

disp 'Taylor Waller'

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

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

plot(x, y);
xlabel('x');
ylabel('f(x)');
title('Plot of 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: