help me
-
First I wanna tell u that I am not well in English. I wanna get some help from you. Now I am making a mathematics project with VB.NET. My idea is type a mathematics equation into a textbox. Example: e^x + ln x , 3x^2 + 5x - 2 , sin x - cos^2 x , etc. I don't wanna write the whole equation in coding time. I'll write each part of mathematics functions i.e, sin(), cos(), exp(),ln(), etc.. in coding time. I wanna get that when I type a equation into textbox and then click to commandbutton, corresponding function will automatically work and generate the correct answer. I will very thanks you if you can help my problem. :confused::confused::confused: phowarso
-
First I wanna tell u that I am not well in English. I wanna get some help from you. Now I am making a mathematics project with VB.NET. My idea is type a mathematics equation into a textbox. Example: e^x + ln x , 3x^2 + 5x - 2 , sin x - cos^2 x , etc. I don't wanna write the whole equation in coding time. I'll write each part of mathematics functions i.e, sin(), cos(), exp(),ln(), etc.. in coding time. I wanna get that when I type a equation into textbox and then click to commandbutton, corresponding function will automatically work and generate the correct answer. I will very thanks you if you can help my problem. :confused::confused::confused: phowarso
Yeees I'm reading reading and reading and I just can't find any question in your post hmmmmmmm
phowarso wrote:
First I wanna tell u that I am not well in English. I wanna get some help from you
I can not help you with your English :] Maybe try to take some extra courses/lessons. As regards to the rest of your post:
phowarso wrote:
Now I am making a mathematics project with VB.NET. My idea is type a mathematics equation into a textbox. Example: e^x + ln x , 3x^2 + 5x - 2 , sin x - cos^2 x , etc. I don't wanna write the whole equation in coding time. I'll write each part of mathematics functions i.e, sin(), cos(), exp(),ln(), etc.. in coding time. I wanna get that when I type a equation into textbox and then click to commandbutton, corresponding function will automatically work and generate the correct answer.
That's cute... All what I can do is wishing you luck in your work. If you have some concrete problem with some part of code we will try to help you.
-
Yeees I'm reading reading and reading and I just can't find any question in your post hmmmmmmm
phowarso wrote:
First I wanna tell u that I am not well in English. I wanna get some help from you
I can not help you with your English :] Maybe try to take some extra courses/lessons. As regards to the rest of your post:
phowarso wrote:
Now I am making a mathematics project with VB.NET. My idea is type a mathematics equation into a textbox. Example: e^x + ln x , 3x^2 + 5x - 2 , sin x - cos^2 x , etc. I don't wanna write the whole equation in coding time. I'll write each part of mathematics functions i.e, sin(), cos(), exp(),ln(), etc.. in coding time. I wanna get that when I type a equation into textbox and then click to commandbutton, corresponding function will automatically work and generate the correct answer.
That's cute... All what I can do is wishing you luck in your work. If you have some concrete problem with some part of code we will try to help you.
-
Yeees I'm reading reading and reading and I just can't find any question in your post hmmmmmmm
phowarso wrote:
First I wanna tell u that I am not well in English. I wanna get some help from you
I can not help you with your English :] Maybe try to take some extra courses/lessons. As regards to the rest of your post:
phowarso wrote:
Now I am making a mathematics project with VB.NET. My idea is type a mathematics equation into a textbox. Example: e^x + ln x , 3x^2 + 5x - 2 , sin x - cos^2 x , etc. I don't wanna write the whole equation in coding time. I'll write each part of mathematics functions i.e, sin(), cos(), exp(),ln(), etc.. in coding time. I wanna get that when I type a equation into textbox and then click to commandbutton, corresponding function will automatically work and generate the correct answer.
That's cute... All what I can do is wishing you luck in your work. If you have some concrete problem with some part of code we will try to help you.
-
First I wanna tell u that I am not well in English. I wanna get some help from you. Now I am making a mathematics project with VB.NET. My idea is type a mathematics equation into a textbox. Example: e^x + ln x , 3x^2 + 5x - 2 , sin x - cos^2 x , etc. I don't wanna write the whole equation in coding time. I'll write each part of mathematics functions i.e, sin(), cos(), exp(),ln(), etc.. in coding time. I wanna get that when I type a equation into textbox and then click to commandbutton, corresponding function will automatically work and generate the correct answer. I will very thanks you if you can help my problem. :confused::confused::confused: phowarso
I don't have any significant VB experience, but there are lots of examples of this sort of thing in C++. If you are stuck, look at Stroustrup's book "The C++ Programming Language" where he shows how to do basically what you want to do in C++. Parsing the expression is the key, and the simple solutions often use a technique called recursive descent, so you could try to find articles with keywords "recursive descent" and "visual basic". Update: I just googled on these terms and the first hit was: http://www.codeproject.com/vb/net/math_expression_evaluator.asp[^]
Peter "Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."
-
Hello Friend Thanks you for your encouragement. I'll hopping for your help... with best wishes, :) phowarso
thanks: https://movied.org
-
I don't have any significant VB experience, but there are lots of examples of this sort of thing in C++. If you are stuck, look at Stroustrup's book "The C++ Programming Language" where he shows how to do basically what you want to do in C++. Parsing the expression is the key, and the simple solutions often use a technique called recursive descent, so you could try to find articles with keywords "recursive descent" and "visual basic". Update: I just googled on these terms and the first hit was: http://www.codeproject.com/vb/net/math_expression_evaluator.asp[^]
Peter "Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."
thanks: https://movied.org
-
Hello Friend Thanks you for your encouragement. I'll hopping for your help... with best wishes, :) phowarso
thanks: https://movied.org
-
Yeees I'm reading reading and reading and I just can't find any question in your post hmmmmmmm
phowarso wrote:
First I wanna tell u that I am not well in English. I wanna get some help from you
I can not help you with your English :] Maybe try to take some extra courses/lessons. As regards to the rest of your post:
phowarso wrote:
Now I am making a mathematics project with VB.NET. My idea is type a mathematics equation into a textbox. Example: e^x + ln x , 3x^2 + 5x - 2 , sin x - cos^2 x , etc. I don't wanna write the whole equation in coding time. I'll write each part of mathematics functions i.e, sin(), cos(), exp(),ln(), etc.. in coding time. I wanna get that when I type a equation into textbox and then click to commandbutton, corresponding function will automatically work and generate the correct answer.
That's cute... All what I can do is wishing you luck in your work. If you have some concrete problem with some part of code we will try to help you.
thanks: https://movied.org
-
First I wanna tell u that I am not well in English. I wanna get some help from you. Now I am making a mathematics project with VB.NET. My idea is type a mathematics equation into a textbox. Example: e^x + ln x , 3x^2 + 5x - 2 , sin x - cos^2 x , etc. I don't wanna write the whole equation in coding time. I'll write each part of mathematics functions i.e, sin(), cos(), exp(),ln(), etc.. in coding time. I wanna get that when I type a equation into textbox and then click to commandbutton, corresponding function will automatically work and generate the correct answer. I will very thanks you if you can help my problem. :confused::confused::confused: phowarso
thanks: https://movied.org