Results 1 to 6 of 6

Thread: simple Math prob. how to colculate?

  1. #1
    Stiletto
    Guest

    simple Math prob. how to colculate?

    Sups,
    I'm sorry, but i dont know the english word for it, but i'm tryin to write a lil app which will colculate 'functions' like 2x*x + 5x + 3.
    which goes like this:
    x1,2 = (b*b something (-4)*a*c) /2
    I hope u guys knows what i'm talkin about
    well, my question is how can i colcuate the 'other' action of b*b?
    sorry, bad english. PLZ CHECK attachment for a picture.
    tnx!
    Attached Images Attached Images  

  2. #2
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367
    x1=(b*b +sqr( (-4)*a*c)) /2
    x2=(b*b -sqr( (-4)*a*c)) /2

    Hope this helps,

  3. #3
    Fanatic Member Gandalf_Grey_'s Avatar
    Join Date
    Oct 2001
    Location
    the 42nd dimension
    Posts
    665
    that finds the roots of a parabola.

  4. #4
    Stiletto
    Guest
    Rofl, parabola yea...
    If you will the graph it will be a parabola but how can i write the marked part in the pic ive attached in VB?
    VB Code:
    1. 'I want this
    2. Sqr(9) = 3
    You sure i can do it with 'sqr'?

  5. #5
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    that makes my nose bleed
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  6. #6
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Talking Maths was invented by God, but adopted by the Devil!

    Oooo...Quadratic equations...That takes me back to GCSE maths
    Glad you weren't asking to solve a 3D Intergration formula...*shudder*

Posting Permissions

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



Click Here to Expand Forum to Full Width