I made this graph that focuses only on the first quadrant. I am supposed to display the number of intersections between the circle and the tangent and negative cotangent graphs, and I am stuck at this very point. Any help here is deeply appreciated!
x2 = 0:pi/100:5*pi/2-0.01;
x3 = 0:pi/100:5*pi/2-0.01;
circleFunc = @(x3) sqrt(16-x3.^2);
diff_fun = @(v) circleFunc(x2) - tanFunc(x3);
plot(x1, y1, x2, y2, x3, y3)