Results for "Category: Math"
This code applies the quadratic formula to an equation and derives the variable value given the three coefficients.
Some functions to show the use of recursion in programming. This contains Fibonacci,Towers of Hanoi,Ackermann function
A simple Calculator ; Well Commented easy to follow, for beginers. It also shows some basics of C++ programs. If you find this article helpful to you please send me a message.
Factorial, list prime numbers to a given amount, factor a positive integer, matrix multiplication (the fun part), and test to see if the inputed value was a number and not letters or excess decimal points/neg. signs.
Enter a parabola in the form of y = ax^2 + bx + c. Then the program will graph the parabola and give you info about the parabola. Very simple and easy to follow code. Please comment and vote.
It finds one the roots of a cubic equation using Cardano's formula.
Combinations of 3,4,5, and 6 letter word or number
Finds the determinant of 3x3 matricies and solves systems of 3 equations with 3 variables.
A simple console program that factors any quadratic trinomial in the form AX^2 + BX + C, A != 0 (I couldn't find one on PSC so I had to make my own, darn Algebra homework...) Source code and all VC++ files included, though will run on any compiler.
Please rate me if it worked for you.It is an extremely efficient Non-Negative INTEGER MULTIPLICATION of ANY LENGTH!!I assure you it is very quick..Any CS student may need it.It is my first Submission.
This class manages large integers of any size (the size is limited by your memory). All useful operators have been overloaded so a behaviour as close to a built-in "int" as possible is given. Parts of the code have been written in inline-assembly to improve performance even more (though you can turn this feature off, in case your compiler does produce faster code for your case). There are a couple months of work in this code, so please leave a vote and a comment :)
conversion of decimal to hexadecimal
Do you think it is possible to swap values between two variables without using a third temporary variable? What? No? Yes? Well, the answer is...YES. Take a look at the code and don't forget to vote!
Calculates your monthly payments on a mortgage loan. Also compares how much interest to principle you are paying each payment. Also sorry i had to do it twice i accidentally put exe file instead of .cpp!
This code shows the math necessary to simulate gravity. It uses two axis to simulate 2 dimentional gravity.
There is a NEWER VERSION of this application. The name is "Mathematical parser ver2", search it on this site or on my home page. Evaluates expressions with common symbols and mathematical functions. You can use trigonometric functions as well as the common operators like +, -, *, /... For examples on the syntax you can look at the picture. It looks terrible, I know... Within some time there will be another version, with other features as well as with other functions. Please, report me bugs (I think there are many mistakes), critics, comments...hi all.
This example shows how to create a bouncing ball on your form, also let's you manipulate the kenetic loss and gravity settings. I found a simpler version of this online created in Java, it looked interesting so I converted it and improved on it. The formula still has a few bugs in it that you can read about in the project files, good source to learn how physics and C++ can interact, if you use improve this even more please pass along to others.
This program allows the user to compare their computer (speed) with other computers who used the same program. The code is simple enough, the most complicated part is the color.
Quickly you can obtain your factorial number, and of course this code explain the theory you can optimize more and more this.
This is an updated version of my previous code. Ive made some changes and have tried to make the look even better.plzzzzzzz rate my code