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!

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