Free to use, no account

Kalkulator for polardiagram

Tegn en polarligning ved å oppgi radiusen r som funksjon av vinkelen θ. Velg grader eller radianer, angi vinkelintervall og antall prøvepunkter, og vis deretter kurven eller last ned koordinatene.

Bruk θ eller t som vinkelvariabel. Trigonometriske funksjoner bruker den valgte vinkelenheten. Funksjonene sin, cos, tan, sqrt, abs, exp, ln og log støttes. Numeriske prøvepunkter kan overse diskontinuiteter; dette er ikke et symbolsk bevis. Beregningen kjøres lokalt; ingenting lastes opp.

Hvordan tegner jeg en polar ligning?

Oppgi et radiusuttrykk, for eksempel 1 eller 2*cos(θ), velg et vinkelintervall og enhet, og beregn. Grafen konverterer hvert samplede polarpunkt til x=r cos(θ) og y=r sin(θ). For r=1 fra 0° til 360° blir resultatet en enhetssirkel.

Veiledning

Slik bruker du polar-graphing-calculator

The Polar Graphing Calculator draws a curve from a rule that gives the distance r for every angle. You type the rule, pick degrees or radians, choose where the angle starts and stops, and set how many points to sample. The tool draws the curve and can save the sampled points as a CSV file. It is a numeric plot, so it does not solve equations, find areas or prove anything about the curve.

Slik gjør du

  1. Type the radius rule in the first box, for example 1 or 2*cos(t). The angle can be written as t or with the theta symbol, and you must put a star between a number and a function.
  2. Choose Radians or Degrees. The sin, cos and tan functions then read the angle in that unit, and so do the start and end boxes.
  3. Enter a start angle, an end angle that is larger, and a number of sample points between 50 and 1,500. A bigger number gives a smoother line.
  4. Press Plot graph. Use Download CSV to save every valid point, or Copy sample points to copy three of them as text.

Eksempler

The unit circle

Du skriver inn
Radius
1
Vinkelenhet
degrees
Startvinkel
0
Sluttvinkel
360
Målepunkter
361
Du får
Gyldige punkter
361 / 361
Første punkt
Vinkel: 0; Radius: 1; x-koordinat: 1; y-koordinat: 0
Midterste punkt
Vinkel: 180; Radius: 1; x-koordinat: -1; y-koordinat: about 1.2e-16

A constant radius of 1 turns the point once around the origin. The tiny y value at 180 degrees is floating-point noise and is really zero.

Kjørt med verktøyets egen kode.

A rule that blows up at two angles

Du skriver inn
Radius
tan(t)
Vinkelenhet
degrees
Startvinkel
0
Sluttvinkel
360
Målepunkter
361
Du får
Gyldige punkter
359 / 361

Tan is enormous at 90 and 270 degrees, far past the 1,000,000,000 size limit, so those two samples are skipped and the line is cut there.

Kjørt med verktøyets egen kode.

A missing star

Du skriver inn
Radius
2cos(t)
Vinkelenhet
degrees
Startvinkel
0
Sluttvinkel
360
Målepunkter
100
Du får
Melding
Check the expression, angle range, unit and sample count.

The parser does not guess a product, so 2cos(t) is rejected. Writing 2*cos(t) is accepted.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Look at the shape of a textbook curve such as a circle, a cardioid 1+cos(t) or a spiral r=t.
  • Check homework by seeing whether your polar rule gives the picture you expected.
  • Export x and y values to a spreadsheet to plot the same curve elsewhere.
  • Spot where a rule is undefined, such as a square root of a negative number or a division by zero.

Begrensninger

  • The rule can have at most 120 characters, 80 parts and 20 levels of brackets. Only numbers, t, pi, e, + - * / ^, brackets, and the functions sin, cos, tan, sqrt, abs, exp, ln and log (base 10) are allowed.
  • Each angle must be between -10,000 and 10,000 in the chosen unit, the end must be larger than the start, and the samples must be a whole number from 50 to 1,500.
  • A sample is dropped when r, x or y is not a number or is larger than 1,000,000,000 in size. If fewer than two samples survive, no graph is shown.
  • The line is a join of sampled dots, so a sharp feature between two samples can be missed. The tool is a picture and not a symbolic proof.

Tips

  • Start with 361 samples for a 0 to 360 degree sweep, which gives one dot per degree.
  • If a curve looks jagged or has gaps, raise the sample count before you decide the rule is wrong.
  • Switch the unit and the angle range together: 0 to 360 in degrees matches 0 to 6.2832 in radians.

Vanlige spørsmål

How do I graph a polar equation here?

Write r as a rule in t, choose degrees or radians, set the start and end angles and a sample count, then press Plot graph. Each sampled angle is turned into x = r cos(angle) and y = r sin(angle), and the points are joined into a line.

Why does 2cos(t) show an error?

The parser needs an explicit star for multiplication and will not insert one for you. Write 2*cos(t), 3*t or 2*(1+cos(t)). Brackets are needed around every function argument, so cos t is also rejected.

Do I enter the angle in degrees or radians?

Either one. Whatever you choose applies to the start and end boxes and to the inside of sin, cos and tan. Use pi for the number pi, so a full turn in radians can be written as 2*pi in the rule but must be typed as a number in the end box.

Why are some points missing from my graph?

Samples where the rule has no real value, such as sqrt(t) for a negative t or a division by zero, are dropped, and so are values bigger than 1,000,000,000. The count under the graph shows how many points were valid out of all of them.

What does the CSV file contain?

A file called polar-graph-points.csv with the columns angle, radius, x and y, one row for each valid sample, in the unit you chose. Skipped samples are left out. The Copy button is smaller: it copies only the first, middle and last valid points.

Is my equation sent to a server?

No. The text is read by a small parser inside the page, not run as code, and the drawing happens on your device. Nothing is saved after you leave. The curve is the only output, so keep a copy of any rule you want to reuse.

Can it find areas, tangents or intersections?

No. It only plots sampled points and exports them. For areas, slopes or crossing points of two curves you would need a different tool, or you can use the exported coordinates in a spreadsheet or program of your own.

Kilder

Ofte stilte spørsmål

Hvordan tegner jeg en polar ligning?

Oppgi et radiusuttrykk, for eksempel 1 eller 2*cos(θ), velg et vinkelintervall og enhet, og beregn. Grafen konverterer hvert samplede polarpunkt til x=r cos(θ) og y=r sin(θ). For r=1 fra 0° til 360° blir resultatet en enhetssirkel.

Blir ligningen min lastet opp?

Nei. Ligningen tolkes og tegnes lokalt i denne nettleseren. Den lastes ikke opp eller lagres av dette verktøyet.

Hvordan ser r=1 ut i polarkoordinater?

Alle vinkler ligger én enhet fra origo, så r=1 danner en sirkel med radius 1 og sentrum i origo.

Kan jeg eksportere punkter fra polargrafen?

Ja. Etter at du har tegnet grafen, kan du laste ned en CSV-fil med hver endelige samplede vinkel, radius og de kartesiske x- og y-koordinatene.