Items tagged with circle circle Tagged Items Feed

Dear all,

I want to plot for example cos(theta) from 0 to 2*Pi inside a circle at a radius R. The axis theta of the ploted function is at a radius R.

Is it possible ?


i want to plot a circle which is centered at(0,0),and the radius is the length of Point2 and origin

but it shows some error,how could i do to solve this

i want to plot a circle with that centered at (0,0),and the radius is the length of Point2 and orgin

but it shows the error

how could i do to solve this









I want to find a point has coordinates are integer numbers and write the equation of tangent line to a given circle,  knowing that, the points of tangent has also integer coordinates. For example, the circle has centre M(-1,-5) and radius R=5. I tried





eqS:=Equation(circle(S,(a-HorizontalCoord(M))^2 + (b-VerticalCoord(M))^2 -R^2=0,[a,b],'centername'=T)):


for a from -50 to 50  do

for b from -50 to 50  do

if  a <>HorizontalCoord(M) and b<>VerticalCoord(M) and eqS then

L:=[op(L), [a,b]] fi;

od: od:


eqS:=Equation(circle(S,(x-HorizontalCoord(M))^2 + (y-VerticalCoord(M))^2 -R^2=0,[x,y],'centername'=T));

k:=[seq](sort(Equation(TangentLine(P, S, point(A, pt[])), [x,y])), pt in L):



> with(combinat):


for i from 1 to nops(d) do  


end do;

If I want to the point of intersection of two lines which are not perpendicular line, for example

[[-3*x-4*y-48 = 0, 4*x+3*y-6 = 0], [[x = 24, y = -30]]]

How can I select?



c1 := circle([0, 0], 1, color = red);
p2 := implicitplot(x = 1/2, x = -2 .. 2, y = -1 .. 1.1, colour = blue, linestyle = 1, thickness = 2);
display(c1, p2);

How to fill that part beetween line and circle(where x>1/2 in circle )?

Hello everyone!

I have a question that I can't seem to find a straight answer to. I need to fit a circle to a collection of points that a circular in nature. I was trying to use the following elliptical least squares fit, but I can't determine what I should be minimizing.

Here's the page:


For an ellipse, I used the general conic:


I minimize using:



What would I use for a circle? Or is there a better way for a circle?

"Circular segment" is the unfortunate but standard term for the region between a chord and an arc of a circle sharing the same endpoints (see  I say "unfortunate" because the phrase suggests a line segment when it actually means a planar region.

I would like to plot a shaded circular segment using Maple17.  I want the endpoints of the chord & arc to be anything I please, so the chord is not necessarily horizontal, or vertical, or the diameter of the circle, etc.

At the URL

there is an image containing a shaded circular segment, but I don't see what code produced the image.  The image there includes a horizontal chord, and I don't know if the code used to produce that image can be adapted for chords that are not horizontal.

If I have to, I can plot a shaded polygon with a huge number of sides that is indistinguishable from a circular segment.  I have plotted polygons before.  But it would obviously be preferable to plot a shaded circular segment.

If there a way to plot two curves of the form r = f(theta) and shade the region between them?  This would be better than the huge-polygon approach, but not as good as a simple command for plotting a shaded circular segment, if such a command exists.

In 2D, graph a blue ellipse x(t)=3cos(t), y(t)=2sin(t) for 0≤t≤2∏. For t=0.5 graph a green tangent line to the ellipse and a red osculating circle. Also, give the curvature, the equation of the tangent line and the center of the osculating circle

I think i'm missing something easy her , but I am trying to plot a circle and cannot figure out

what I am doing wrong. The equation for the circle is:


I define the equation

c := x^2+(y-3)^2 = 25

Solve it for y so I should be able to plot it with plot(cplot); :

cplot:=solve(c, y)

But what I get as answer is:

3+sqrt(25-x^2), 3-sqrt(25-x^2)

The equation of the circle is part of a homework assignment,...

I can't solve probably very easy problem. How to plot a filled semicircle which is rotated across one axis by an angle alpha? I came to the solution which I don't consider as the best one (since e.g. it will not work for alpha=Pi/2*(odd integer)) and I believe someone of you will show me a better approach. Thank you in advance.

My solution:

alpha := (1/6)*Pi:
plot3d([x, y, y*tan(alpha)], x = -1 .. 1, y = 0 .. sqrt(1-x^2)*cos(alpha), axes = normal, labels = ["x", "y", "z"...


I have succesfully created a annulus. Because I am creating a garden, I am interested in making circular shrubs in the annulus. I mean an annulus filled with small circles.  How do I do that?

I have this annulus;

display(sector([4.5, -5.5], 2.5 .. 3.5, 0 .. 2*Pi, color = "Green"), axes = none, scaling = constrained)


the radius of the small circles should be: (3.5-2.5=1)

Hey there, this is my first post here, so hello to everyone.


I have (so far) one question. I have a circle equation like


I know, that on a paper, I can convert it to the "normal" circle equation, from which I can read the middle point and radius of the circle. And now my question is, how to convert in in maple? I am using the 11th version.


I have tried solving this equation and (x-a)

How can I make the 3d plot of a function such as z = 4x^2 - y^2 so that only the part of the surface above the unit circle in the xy plane is shown?


I need to cut a circle into equal pieces like a pizza, but how do I do this through code?


Also, I need to be able to find the area, angle, and arc length. Is this possible through code?



1 2 Page 1 of 2