VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Mathematic expression solver

Jon Feucht  (13 Submissions)   Math/Dates   Visual Basic 3.0   Advanced   Wed 3rd February 2021

This package contains the MathTool class and three demonstration programs to illustrate its usefullness including a simple scientific calculator, a simple expression solver, and a 2D graphing plot. The MathTool class included inputs a mathematical expression string (such as "1+1" or something like
"3*exp(4)/(cos(pi)-1)") and processes it through a totally cool algorythm that sorts the parts by operators and parenthesis. Same concept if you were to type a math problem into Google Search.

Inputs
Takes in a mathematical expression such as this: 3*exp(4)/(cos(pi)-1)

Assumes
This is a really cool mathematical expression solver.

Returns
Would return -81.8972250497163 for the expression 3*exp(4)/(cos(pi)-1). You can easily program in more functions and the like, so it can make a really comprehensive scientific calculator.

Side Effects
May cause addiction, resulting in loss of sleep, abstinance from social interaction, malnutrition, poor hygiene, and even death.

Rate Mathematic expression solver (19(19 Vote))

Download Mathematic expression solver

Mathematic expression solver Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters