clc
clear
h = @(z) 6 * exp(z);
g = @(y) 3 * cos(y);
f = @(x) x.^2;
composite_function = @(x) h(f(g(x)));
x_range= 0:0.1:4;
fplot(composite_function, [0,4]);
xlabel('X');
ylabel('6e^3cos(x^2)');
title('Plot of 6e^3cos(x^2)')
To embed this project on your website, copy the following code and paste it into your website's HTML: