% ezplot automatically handles the sampling and creates a smooth curve. % We pass the function handle 'f' and the range 'x_range'.