Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
What I am missing:

- how the y-value should tend to a limit as the distance approaches the radius (quadratically? hyperbolically? exponentially? linearly?.

- Should the function be continuous or discontinuous at the exact radius point.

- What should be the slope of the curve at that point? (or the slope as it tends to it on either side if the function should be discontinuous)

- How should the y-value decay to 0 as distance tends to infinity (same options as my first question.

Update: I'll rephrase this all in plainer English:-

If you were to draw a 2-D graph of this with x is distance on the horizontal axis and y is boost on the vertical axis, and that graph represents a function f, so that y=f(x), there will be a starting value for boost where distance is 0 let's say Z = f(0). From your description, this should decay firstly to f(R), so f(R) < Z. After that it drops more rapidly towards zero. So to describe an example formula for f(x), a mathematician needs to know the shape of the curve before and after the point x=R and whether the point at x=R is smooth or a corner or whether it jumps to a different value at that point (otherwise known as a point of discontinuity). Given this information it then possible to translate the function into Perl.

One world, one people

In reply to Re: [OT] Normalizing the return result of an exponential formula by SimonClinch
in thread [OT] Normalizing the return result of an exponential formula by clinton

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    NodeReaper releases the hounds

    How do I use this? | Other CB clients
    Other Users?
    Others about the Monastery: (6)
    As of 2018-06-21 22:49 GMT
    Find Nodes?
      Voting Booth?
      Should cpanminus be part of the standard Perl release?

      Results (120 votes). Check out past polls.