I need to solve complex math equations like 1 + 1 - (2 + 4 * 3) or (6 - 8 / 2) + 3. So far I have the code to solve inf

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

I need to solve complex math equations like 1 + 1 - (2 + 4 * 3) or (6 - 8 / 2) + 3. So far I have the code to solve inf

Post by answerhappygod »

I need to solve complex math equations like 1 + 1 - (2 + 4 * 3) or (6 - 8 / 2) + 3. So far I have the code to solve infix and postfix as well as code to convert infix to postfix and viceversa. However, the challenge is to not use the Shunting Yard Algorithm, therefore, my question is what is an alternative method to solve these equations?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply