Problem 47123. Determine the Base of the Equation Provided

Find out base of the equation provided as input (true if within 1e-3).
For example:
eqn='41/3=13'
base =8;%eqn is true when the base of operation is base 8
Another example:
eqn='23+44+14+32=223'
base =5;
Given an input string with an arithmetic equation, return the base making the equation valid (within 1e-3).

Solution Stats

20.0% Correct | 80.0% Incorrect
Last Solution submitted on Nov 04, 2020

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers4

Suggested Problems

More from this Author56

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!