Your Ad Here Your Ad Here
Results 1 to 10 of 10

Thread: Vb 6 Programming

  1. #1
    what would i do to make it figure out a square root? is there a certain symbol or equation i have to use for the program?

  2. Software & Hardware   -   #2
    4play's Avatar knob jockey
    Join Date
    Jan 2003
    Location
    London
    Age
    35
    Posts
    5,530
    (x)^1/2

    that should give you the square root of x

  3. Software & Hardware   -   #3
    it only gives me half of the number. might as well divide by 2

  4. Software & Hardware   -   #4
    4play's Avatar knob jockey
    Join Date
    Jan 2003
    Location
    London
    Age
    35
    Posts
    5,530
    (x)^(1/2) then

    that means to the power of a half which is what a square root is.

  5. Software & Hardware   -   #5
    thanks it working now

  6. Software & Hardware   -   #6
    4play's Avatar knob jockey
    Join Date
    Jan 2003
    Location
    London
    Age
    35
    Posts
    5,530
    the only problem is when you take a square root of something there are 2 answers.

    say you take the square root of 9. its 3 right.

    well it is also -3 that squared is 9 to.

  7. Software & Hardware   -   #7
    but it just give me the positive not the negative. and thats what i want. It won;t give me negatives at any time will it?

  8. Software & Hardware   -   #8
    4play's Avatar knob jockey
    Join Date
    Jan 2003
    Location
    London
    Age
    35
    Posts
    5,530
    nope

  9. Software & Hardware   -   #9
    thats good. Thanks for the help

  10. Software & Hardware   -   #10
    shn's Avatar 3μ|\|(7
    Join Date
    May 2003
    Posts
    3,585
    I hate my vb.net class. Know any good tutorials 4 play? The text book that goes with the course is a little confusing and indecisive. I need one of those vb quickguides so I can learn it all in like 3 days. That way I can skip class more because I would have already known it.

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
  •