Results for "Category: Math"
This code calculates an estimated value of Pi using the Leibnitz series (which is basically a power series expansion of a trigonometric function which allows to estimate Pi very well)
These routines convert Gregorian and Julian calendar dates to and from Julian Day Numbers. Julian Day Numbers (JDN) are used by astronomers as a date/time measure independent of calendars and convenient for computing the elapsed time between dates. The JDN for any date/time is the number of days (including fractional days) elapsed since noon, 1 Jan 4713 BC. Julian Day Numbers were originated by Joseph Scaliger in 1582 and named after his father Julius, not after Julius Caesar. They are not related to the Julian calendar. Based on formulae originally posted by Tom Van Flandern / Washington, DC / metares@well.sf.ca.us in the UseNet newsgroup sci.astro. Reposted 14 May 1991 in FidoNet C Echo conference by Paul Schlyter (Stockholm) Minor corrections, added JDN to julian, and recast into C by Raymond Gardner Englewood, Colorado.
A Polynomial class that defines any polynomial by a default symbol(x) and overloads needed operators to any polynomial operation, the Interpolation class defines most used Numerical Analysis operators like Forward, Backward and Central operators and using them to interpolate points with both Newton Forward and Backward methods
Ever wondered how to plot a 3 dimensional point onto a 2 dimensional coordinate system? This code shows how, and also shows the mathematics behind manipulating a 3D object in terms of rotating, scaling and translating. Try creating your own 3D object and watch it rotate around in front of you.
How many prime numbers are there between 1 and X? You just have to choose X and this program will do the rest. Click Luke to go to my Web Page: other source code available...
The purpose of code is to draw curve on the screen according to x and y points given. (scale for x and y axis is adjustable).
Show any Page as a modal popup window in ASP.NET.
It converts infix equation to postfix or reverse polish notation
To convert many different measurements. For example for feet to meters, and back. There is an easy menu that guides you to what you want.
I have been learning C++ for two hours and i decided to have a shot at my first program. I am 17 and any feedback, comments would be greatly appreciated.
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 :)
It takes a user inputed matrix and multiplys it by another user inputed matrix producing a matrix...
Simple Calculator Program
Hello! (Sory for my english :( It is juste a windows calculator (not in MS-DOS) Good for beginers in c++ (like me :)) Please if you have a litle minute vote for me. Thank you in advance.... Kouznetsov Alexeï.............................
This php-script let's you calculate any correct expression (like: 2^(3+(24%3))/34*4.5-.8). [Operators +-*/%(mod)^(power) and parentheses.] I programmed this because I wanted to program something for recursive calculation and because I needed to learn php for a project. Script should be easily customizable.
my code calculates mortgage and or loan payments
Fraction calculator. MFC dialog application that adds, subtracts, multiplies and divides proper and improper fractions.
Some functions to show the use of recursion in programming. This contains Fibonacci,Towers of Hanoi,Ackermann function
Just a simple calculator that will add, subtract, multiply, divide, and it will also do powers like 5^3 = 125.
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.