The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » sci.math.* » sci.math

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Length of a segment
Replies: 6   Last Post: Jun 9, 2015 6:28 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 60
Registered: 12/7/12
Re: Length of a segment
Posted: Jun 9, 2015 6:28 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 09/06/2015 01:45, James Waldby wrote:
> The following method, which depends on (80000-47000)/990 = 100/3,
> will usually (perhaps always) compute correct seg values.
> 1: Compute seg as above.
> 2: Let f(x) denote x*3 - 141000.
> We want seg*100/3 <= x-47000 < (seg+1)*100/3
> or seg*100 <= f(x) < (seg+1)*100, so if necessary make
> one of the following corrections to seg.
> 2+: If seg*100 > f(x), decrease seg by 1.
> 2-: If (seg+1)*100 <= f(x), increase seg by 1.

Thanks a lot.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.