I want to know how I can solve math problems that are inside a string for example:
String problem = "(1 / (2 - cos(3^(-15 + 12)))) - 1";