How to Calculate X and Y Coordinates for Points Every 30 Meters Along a Spiral?

Click For Summary

Discussion Overview

The discussion revolves around calculating the X and Y coordinates for points spaced every 30 meters along a spiral, using parametric equations. Participants explore methods for determining the length of the spiral and how to distribute points along it in real-time as it is plotted.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants propose using parametric equations for a spiral, specifically x=kt cos t and y=kt sin t, to derive a function for the length of the spiral.
  • Others inquire about the general formula for calculating the length of curves and express uncertainty about applying curvilinear integrals.
  • A participant expresses the need for a formula that relates the length of the spiral to the parameter 't' without requiring an analytical solution.
  • One participant provides a formula for the length of a curve using a definite integral, but notes that it requires two distinct values of 't' to compute the length.
  • Another participant seeks clarification on differentiating the parametric equations and expresses frustration over their lack of calculus knowledge.
  • A later reply discusses the product rule for differentiation and suggests steps to derive the necessary equations for the integral.
  • Additionally, a new participant introduces a specific problem involving the internal and external diameters of a spiral and asks how to calculate the coordinates for points along it.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to calculate the coordinates along the spiral. Multiple competing views and methods are presented, and the discussion remains unresolved regarding the specific formula needed.

Contextual Notes

Limitations include the participants' varying levels of understanding of calculus and the need for clarity in the application of mathematical concepts like curvilinear integrals and differentiation.

Mounty
Messages
5
Reaction score
0
given the parametric eqns for a spiral

x=kt cos t
y=kt sin t

where k is a constant

give a function of 't' that calculates the length of the spiral.
 
Physics news on Phys.org
Do you know how to calculate the length of curves?In general,what formula need you apply...?

Daniel.
 
Nope don't know them...

I'm plotting a spiral by increasing t+=0.1

I need to know the length of the spiral plotted as a function of t,x and y

basically I want to distributes points along the circle spaced evenly by distance...

this I can only do if I know how far I've currently plotted...
 
Last edited:
Should i understand that u're not looking for an anlytical solution and u may never heard of first kind curvilinear integrals...?

You should have said from the beginning what kind of sollution u were looking for...

Daniel.
 
Dunno...I thought I'd made it fairly clear, my apologies if not. Never heard of curvilinear integrals...sorry. Done loads of googling on this subject but didn't find anything that gave a solution to my particular problem.

I just need a formula along the lines of

lenght of spiral = some function of t

An explanation of how it was derived would be great...but not vital...
 
In parametric coordinates,it's this formula that gives the length of a curve:
[tex]L_{C}=\int_{t_{1}}^{t_{2}} \sqrt{(\frac{dx}{dt})^{2}+(\frac{dy}{dt})^{2}} \ dt[/tex](1)

So you see,it's a Riemann definite integral (it's not really a function of "t",as the "t" is getting integrated along the curve)...
The general formula from which one finds (1) is
[tex]L_{C}=\int_{C} dl[/tex](2)
,where "C" is the curve whose length u want to find & "dl" is the line element along the curve...

So using (1) and 2 points along the curve (which means chosing 2 distinct values of the parameter 't'),u can find the length,expressed as a real number.

Daniel.
 
Thanks for the info, but I don't think it really solves my problem -

The curve is being plotted realtime in cartesian spac, so I need to know when I've plotted a distance of N units along the curve as the curve is generated.

If I always used t=0 as the first distinct parameter then could this be done?Sorry for my complete lack of understanding here but it's bloody ages since I've done any calculus...all I really want is an equation I can chuck some numbers in and get an answer from...

:(
 
To properly use formula #1,u need to supply the input parameter 't' with 2 values corresponding to the 2 ends of the curve...If u've chosen the first to be "0",it's okay.You still need another value,however...

Did u do the differentiations & squarings correctly...?

Daniel.
 
man this is embaressing but I remember so little of this stuff

does 't cos t' differentiate to -t sin t?

and

t sin t differentiate to t cos t?

If you could post the final eqn it'd be really useful...I've got a client deadline to meet...
 
  • #10
Okay.Your differential calculus is a bit rusty.So let's use the PRODUCT RULE:

[tex]\frac{dx}{dt}=x'=k(t\cos t)'=k\cos t-kt\sin t[/tex] (1)

[tex]\frac{dy}{dt}=y'=k(t\sin t)'=k\sin t+kt\cos t[/tex] (2)

Now square (1) & square (2),add the results,use the fundamental identity of circular trigonometry:
[tex]\sin^{2}t+\cos^{2}t =1[/tex] (3)

and finally take square root of the everything u've obtained so far.

Plug everything in the integral.

Daniel.
 
Last edited:
  • #11
Determining X and Y coordinates along a spiral

I would like to determine X and Y coordinates along a spiral as posed below:

Given: Internal diameter of spiral = 500 meters
External diameter of spiral = 7000 meters
Pitch of spiral = 30 meters

Assuming the center of the spiral is 0,0 and I start at 0,250, how do I calculate the X and Y coordinates for points every 30 meters along the spiral?
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K