Question: pprogramming language is VISUAL BASIC .NET Need this in VB NET windows form app for a quadratic equation, the user will input the function (f(x)).
pprogramming language is VISUAL BASIC .NET
Need this in VB NET windows form app for a quadratic equation, the user will input the function (f(x)). example of user input: 7x^2+9x+17 how do i get the programs to extract the paramters a, b, and a so each value is displayed in a textbox? *extracting the values of the user entered function using the keypress event* -please use the keypress event, as well as the following lines to extract the parameters; given; 'Instr(start, stringi, string2) 'Mid(string, start, length) length is optional 'Positiona = Inst(func. text, "x^2") 'Para_a = Mid(func. text, 1, position_1) 'Positionb = Instr(Positiona+1, func. text, "x") "Para_b = Mid(func. textm Positiona + 3, Positionb - Positiona 'Para_c = Mid(func. text, Positionb + 1) 3) Need this in VB NET windows form app for a quadratic equation, the user will input the function (f(x)). example of user input: 7x^2+9x+17 how do i get the programs to extract the paramters a, b, and a so each value is displayed in a textbox? *extracting the values of the user entered function using the keypress event* -please use the keypress event, as well as the following lines to extract the parameters; given; 'Instr(start, stringi, string2) 'Mid(string, start, length) length is optional 'Positiona = Inst(func. text, "x^2") 'Para_a = Mid(func. text, 1, position_1) 'Positionb = Instr(Positiona+1, func. text, "x") "Para_b = Mid(func. textm Positiona + 3, Positionb - Positiona 'Para_c = Mid(func. text, Positionb + 1) 3)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
