We've already seen many simple examples of calling functions. Now, we'll use the
plot function to illustrate more advanced ways to call functions. Evaluate the following code:
var('x') sinc(x) = sin(x) / x plot(sinc, (x, -10, 10))
The result should look like this:
Now, let's customize our plot:
plot(sinc, x, xmin=-15, xmax=15, thickness=2, color='red', legend_label='sinc')
The customized plot should look like this:
In the first part of the example, we defined a callable symbolic expression that ...