How to make sqrt(x) function plot in matplotlib in python?
I tried writing y = sqrt(x) but it gave an TypeError: only size-1 arrays can be converted to Python scalars. I have never had experience with matplotlib before, therefore I would be glad to get some advice.
Here comes a small example:
Output: