SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2001
    Location
    Miami FL
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    php syntax for some mathamatical operations

    hey...

    this is so important and I need an answer asap, so I came here hoping I could get just that....
    I need to put in the following formula in php... so can anyone get me the syntax for it?



    Thanks alot....
    awaiting your quickest reply....

  2. #2
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, there are some formulas, y() and r(), that need to be defined as well...you formula as such is pretty easy. what variable are you trying to resolve it to ? i think this is more of a case of "do you actually know what your formula means ?"
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2001
    Location
    Miami FL
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well hmmm everything will be a variable, and there will be fields for the users to input, all we want to know is that how to put "e" and I think thats it...

    so anything?!

  4. #4
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.php.net/manual/en/ref.math.php might shed some light on the "e" issue. it's M_E as in:
    PHP Code:
    <?php
    print(M_E);
    ?>
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  5. #5
    SitePoint Enthusiast
    Join Date
    Apr 2001
    Location
    Miami FL
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah I figured out e's value was 2.71, came back quickly to fix my dumb question, but it seems you beat me to it, well thanks alot Salford man... I might be going to Salford this year, maybe I'll see you around.... later

  6. #6
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    and if you don't see me, no worries...i'm the webmaster for salford.ac.uk there, so my presence will at least be felt...
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •