using Python I would like to plot a curve for the function y=cosh(x)*cos(5x) in my Jupyter Notebook.
In other words: (cosine hyperbolicus of x) times (cosine of 5x)
How do I do this? What do I need to import? Thank you very much in advance.
Greetings

You will need to import a plotting library and a maths library. The most commonly used plotting library is
matplotlib, and for maths it'snumpy. For plotting,bokehis a an alternative tomatplotlib, which I think is great because graphs are interactive by default. The disadvantage is that because it's not as widely used asmatplotlib, you're less likely to find help on it in terms of StackOverflow answers and tutorials.Anyway, to the code:
Both of the graphing libraries above give you flexible options on where to place the axes, legends, titles, and so on. I recommend searching for beginner's tutorials on them to learn this stuff in depth.
[1] There are two ways to plot in
matplotlib. What is shown here is the MATLAB-like interface. The other method is to use the object-based interface, which takes a bit more of getting used to, and requires a bit more boilerplate code, but that's what you will end up using once you demand more control over the appearance of your plots.I recommend starting with the MATLAB-like commands first. The documentation has a good beginner's tutorial: https://matplotlib.org/stable/tutorials/introductory/pyplot.html