i want to place an equation in a text box at run time. ie: Y = mx + b, then having m, x and b as numbers in other boxes i want to solve for y? can this be done?

if not, can someone explain why? thanks