I am really new to graphics in LaTeX, I have understood the skills needed to draw basic straight lines and circles; I am now learning how to make simple functions like polynomials, trigonometric, exponential, logarithm, etc., and I am new to this site, so apologize if a similar question had been asked.
The book that I am currently using is The Not So Short Introduction to LaTeX2e, the wikibook, but they all mentioned about the Bezier curve. I understand the basic idea of the Bezier curve through this website http://pomax.github.io/bezierinfo/. But it is still doesn't make my graph drawing easy. Those books that I am reading do not seem to teach us how to find the control points when drawing the Bezier curves.
My questions are:
1. Are there any quick way to draw the bezier curve without calculating the control points, by the way, is it a MUST for us to calculate the control points in order to draw a Bezier curve, or do we do it by trial-and-error?
2. Besides using the Bezier curve, is there any simpler method to draw simple functions for example the command
\drawsin(x^2) or something like that or any other methods?
3. I have also read about the TikZ picture environment, but it doesn't seem to be any simpler? What are the advantages and disadvantages of using TikZ compared to Bezier curve? Can we draw simple functions like polynomials using TikZ?
4. It is possible to show me the code (using any methods) needed to draw say the very basic graph like
y=x^2 including the documentclass and appropriate packages. I apologise I had not made any useful attempt because this is really new to me.
I am trying to make some notes to my students about functions and I need a quick and neat way to draw graphs. I will appreciate any helps and explanations.