%
% File name: functiongraph1.m
% Author: Suh-Yuh Yang at NCU
% Date: September 21, 2018    
%
clear all;
x= -5.0:0.001:1.0;
y=exp(x) - sin(x); 
plot(x, y); 
grid on;
xlabel('x-axis'); 
ylabel('y-axis'); 
title('f(x) = exp(x) - sin(x)'); 
axis([-5, 1, -1.5, 2]) 
