Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)
-   -   Reading a mathematical expressiong in VB6 (http://www.go4expert.com/forums/reading-mathematical-expressiong-vb6-t2076/)

compgeek 30Nov2006 19:05

Reading a mathematical expressiong in VB6
 
Hi everyone

I want to know the method to read a mathematical expression from the user in VB6
The equation can be in any form like (xy + cos x + log(x+y) )/x^2
the integration of this function is to be found out in the specified intervals using numerical methods(simphsons 1/3rd rule........etc)
Can any one send me the method to do it in VB 6 if its is possible

can we connect the tool Equation Editor in Microsoft word to write the equations in the textbox or any other control so that the user can easily write the function easily???
if so how to connect it ??

Byeee

Cseek 14Dec2009 16:10

Re: Reading a mathematical expressiong in VB6
 
what are these x,y how your application getting inputs
through text box?
the simplest method is use (like calculator)
(1) text boxes (1)
(2) use cmd buttons for numbers
(3) use combo box for pre defined functions like cos(),,,,

if you want your application to identify the functions as the user types
then you can do it but error prone ;

ManzZup 24Jan2010 19:48

Re: Reading a mathematical expressiong in VB6
 
yah hez rite
you have to add some txtboxes to get the input for x and y

then be like a normal calc


All times are GMT +5.5. The time now is 04:45.