timmay3141
Programmer
I have a pretty difficult problem. I want the user to be able to enter a function of two variables, then I want to graph the function with Direct3D. Graphing it isn't the problem, it's being able to substitute in for x and y that are the problem. For example, the user enters:
x*y+4*x/y
for f(x,y). How can I plug in values for x and y, then tell the computer to evaluate it? I don't have any idea how to do this, any help would be appreciated.
x*y+4*x/y
for f(x,y). How can I plug in values for x and y, then tell the computer to evaluate it? I don't have any idea how to do this, any help would be appreciated.