clc
clear

disp "Taylor Waller"

x = -10:0.01:10;
f = 5*x.^5 + 2*x.^2 - 6*x + 8;
g = x.^4 + 3*x.^2 - 5*x + 10;
y = f .* g;

plot(x, y);
xlabel('x');
ylabel('f(x) * g(x)');
title('Product of Two Polynomials');
grid on;

Embed on website

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