• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Circumference of an ellipse"

Collapse

  • Churchill
    replied
    Originally posted by Paddy
    I was circumferenced when I was six years old.
    Have you still got the bit they chopped off?

    Leave a comment:


  • Paddy
    replied
    Originally posted by andrew_neil_uk
    Did you have to calculate their circumference?
    I was circumferenced when I was six years old.

    Leave a comment:


  • Churchill
    replied
    Originally posted by zeitghost
    dunno.

    But he drew circles using only integers which is probably enough to make you mad...
    His line drawing algorithm was a beaut!

    All because of his work on Plotters and pixel based displays.

    A clever chap indeed.

    Circles is easy. They're symetrical in all axes so you only have to calculate 1/8 of one anyway.

    Now, rotating Ellipses are very pretty.

    Leave a comment:


  • OwlHoot
    replied
    Originally posted by andrew_neil_uk
    Does anyone have a formula for the circumference of an ellipse please?

    Thanks
    Unlike the area, which is PI.a.b (where a and b are the semiaxes major and minor), the circumference can't in general be expressed finitely in terms of elementary functions and constants. But it can be in terms of elliptic functions, e.g. 4.a.F(e) in which e is the eccentricity (= SQRT(1 - (b/a)^2) and F is the Complete Elliptic Integral of the Second Kind

    As usual, Wikipedia has a good writeup

    Also David Cantrell posted some references to good approximations here
    Last edited by OwlHoot; 31 July 2007, 23:41.

    Leave a comment:


  • wendigo100
    replied
    Originally posted by zeitghost
    dunno.

    But he drew circles using only integers which is probably enough to make you mad...
    Oh I see. Big, boxy ones I suppose. Picasso geometry.

    Leave a comment:


  • wendigo100
    replied
    Originally posted by zeitghost
    Breshenham's Algorithm indeed...
    Was he the one who went mad?

    Leave a comment:


  • Causus Deli
    replied
    approximate

    Circumference = 2 * pi * sqrt((a^2+b^2)/2)

    Leave a comment:


  • wobbegong
    replied
    This contains formulae and some Java code to plot it

    wobb in <not something I've ever had to do (thank God)> mode.

    Leave a comment:


  • BrilloPad
    replied
    Let me rephrase the question. If a and b are the minor and major radius, can anyone integrate (over theta from 0 to 2*pi) :-

    srqt( (a*sin(theta)) ^2 + (b*cos(theta)) ^2 )

    Leave a comment:


  • richard-af
    replied
    Ellipse: The fleshy mouth parts covering the teeth of an eel.

    Leave a comment:


  • richard-af
    replied
    Originally posted by King Cnvt
    What's the diameter of an ellipse?
    The sum of the squares on the other two sides?

    Leave a comment:


  • wendigo100
    replied
    Define an ellipse.

    Leave a comment:


  • AlfredJPruffock
    replied
    Originally posted by King Cnvt
    What's the diameter of an ellipse?
    The same as the Width Of A Circle ...


    In the corner of the morning in the past -
    I would sit and blame The Master first and last

    All the roads were straight and narrow
    And the prayers were small and yellow
    And the rumour spread that I was aging fast

    Then I ran across a monster who was sleeping by a tree.
    And I looked and frowned and the monster was me

    So I cried for all the others till the day was nearly through
    For I realized that God's a young man too

    So I said "So long" and I waved "Bye-bye"
    And I smashed my soul and traded my mind

    And the moral of this magic spell
    Negotiates my hide
    When God did take my logic for a ride
    Last edited by AlfredJPruffock; 31 July 2007, 13:18.

    Leave a comment:


  • King Cnvt
    replied
    What's the diameter of an ellipse?

    Leave a comment:


  • richard-af
    replied
    Pi x diameter.

    I did get a "D" for maths.

    Leave a comment:

Working...
X