SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Guru CJ's Avatar
    Join Date
    Apr 2000
    Location
    Mechelen, Belgium, Europe
    Posts
    684
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK.. this is an easy one for all the programmers out there but I don't know hell to do it.

    I have this bunch of excersises I need to make. They all consist of the same format:
    ax+by+c=0

    a are filled in by a number and so are b and c. You have to see what X is and that are mostly two solutions.

    You first have to make some calculations:
    D= b- 4.a.c

    If D is negative there is no solution.

    Now you calculate X:

    X1= (-b+VD) : 2.a (V is a square root (or how 'd you call it e.g. V9=3)

    X2= (-b-VD) : 2.a

    Can someone create a program that automates this things. So I only have to fill in the values of a, b and c and I would get the solution? I don't think this is hard to do. Oh well I'l give some 10k button impressions at freesources.net as a reward.

    Christophe

    ------------------
    Freesources.net - the ultimate webmaster resources site
    WebmasterCJ design - opening new worlds for small prices

    [This message has been edited by freesources (edited August 04, 2000).]

    [This message has been edited by freesources (edited August 04, 2000).]

  2. #2
    Cat Herder
    Join Date
    Jul 2000
    Location
    USA
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Christophe, are you doing quadratics? If so, there are tons of solvers written already:
    http://www.lbcc.cc.or.us/math/math111/quadformula.html http://www.peoplecity.com/entertainm...kert/quad.html http://www.geocities.com/Area51/Chamber/9425/math.html (offers a zipped file called quadsolv.zip)

    ...etc.

    ------------------
    Annette
    Hosting Matters, Inc.
    http://www.hostmatters.com

  3. #3
    SitePoint Guru CJ's Avatar
    Join Date
    Apr 2000
    Location
    Mechelen, Belgium, Europe
    Posts
    684
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oh thx... but I just made one in Excell myself.. works faster than that JavaScript thingie After all those boooorin computer lessons in school with Works pay off a bit too

    I have to use it more

    Christophe

    ------------------
    Freesources.net - the ultimate webmaster resources site
    WebmasterCJ design - opening new worlds for small prices

  4. #4
    SitePoint Guru CJ's Avatar
    Join Date
    Apr 2000
    Location
    Mechelen, Belgium, Europe
    Posts
    684
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If somebody wishes to receive my first little program (or kindof a program) please mail to me: mathprogs@freesources.net
    =)
    Christophe

    ------------------
    Freesources.net - the ultimate webmaster resources site
    WebmasterCJ design - opening new worlds for small prices


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
  •