and you want a decimal answer, simply evaluate the expression (make sure to do the operations in the right order).If you have a graphing calculator, you can define a multi-variable function and use that (the syntaxes can differ from calculator to calculator).