1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

visual basic programing help!

Discussion in 'Windows - Software discussion' started by orngcrsh, May 4, 2007.

  1. orngcrsh

    orngcrsh Regular member

    Joined:
    Jan 3, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    26
    I'm writing a very simple program in visual basic 6 and am hoping for some help on writing in a formula into the code.

    I need the code for this formula:

    answer = (variable-T * 2) / (square root of variable-DF)
    In words, that is: variable-T times 2, divided by the square root of variable-DF
    >variable T and variable DF are already defined

    also for: answer = (square root of variable-F * 2) / (square root of variable-DF)
    in words: the square root of variable-F times 2, divided by the square root of variable-DF

    help will be greatly appreciated!
     
  2. Indochine

    Indochine Regular member

    Joined:
    Dec 21, 2006
    Messages:
    1,447
    Likes Received:
    0
    Trophy Points:
    46
    is this for your homework? It sounds like you're nearly there.

    In the VB6 environment, click on Help, and search for information about the SQRT function
     
    Last edited: May 5, 2007

Share This Page