I am in a visual basic class online and shot myself in the foot early on in the semester. I joined a group that had someone that was very well versed in computer programming and she offered to take the bulk of our projects leaving myself and another girl with minimal work. Well that worked fine until my luck decided to shine through and she dropped the class. Now I am at a loss when it comes to the coding language and I am playing catch up big time. The book they provide is pretty useless and I was wondering where I could go for better help with the coding for Visual Basic 2010 express. I can create the design and layout of my program and even some basic button functions but as far as the rest is concerned I'm at a loss. The equation I am struggling with is as follows: H+(V*T)-(16.087*T*T) Variable H= an input into a text box labeled TbxInitialHeight, Variable V= an input into a text box labeled TbxInitalVelocity and variable T = V/32.174. This all needs to happen when button BtnMaxHeight is pressed. I thought I had it figured out but when I ran the program it kept telling me that the data in the text boxes couldn't be either converted or ran as a single.
Also for another button function, with these same variables and equation, I need it to keep repeating the equation given while increasing T each time by .001 until the answer of that equation is equal to zero. How do write the code to keep repeating until I get my desired result.
Any and all help that can be provided will be greatly appreciated!