1
Answer

drawing mathematical functions

gerrit.schouten

gerrit.schouten

20y
2.3k
1
The problem is: if a function is given in a textbox (fi 3*x^2) How can I get this information in an expression so that I can start counting some Points
Answers (1)
0
yusuf_candan

yusuf_candan

NA 4 0 20y
t 2+((3*6+1)/11)*22 add referans to your project (Project->Add Referance->.Net...) 1- Microsoft.JScript 2- Microsoft.Vsa under click event write this code object _objResult; Microsoft.JScript.Vsa.VsaEngine _Engine = Microsoft.JScript.Vsa.VsaEngine.CreateEngine(); _objResult = Microsoft.JScript.Eval.JScriptEvaluate(textBox1.Text, _Engine); MessageBox.Show(_objResult.ToString());