VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Mathematic expression solver

by Jon Feucht (13 Submissions)
Category: Math/Dates
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (19 Votes)

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.
Code 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

Download Mathematic expression solver

Download Mathematic expression solver (107 KB)

Mathematic expression solver Comments

No comments have been posted about Mathematic expression solver. Why not be the first to post a comment about Mathematic expression solver.

Post your comment

Subject:
Message:
0/1000 characters