Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimann Sum Calculator/Equation Parser #42

Merged
merged 12 commits into from
Oct 2, 2017

Conversation

MinyaRancic
Copy link
Contributor

@MinyaRancic MinyaRancic commented Oct 2, 2017

This is in response to #3, in Java.

So I started out wanting to make a Reimann Sum Calculator, but I realized quickly I needed to make a way to plug in numbers to equations. So I made the Equations class which parses an equation string into Postfix notation, and then calculates the value of the string with the evaluateEquation() method. The version of this with an argument is for equations of x, rather than ones with just numbers.

I should definitely clean this class up a bit, but I made the ReimannSum Class as clean as I could. It currently has left, right, and middle sums as seperate functions, but I'm planning on also adding a trapezoidal sum.

Copy link
Owner

@BaReinhard BaReinhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove .classpath and .project

@MinyaRancic
Copy link
Contributor Author

The .classpath and .project have been removed

@BaReinhard BaReinhard merged commit 8745ac3 into BaReinhard:master Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants