Making a Math computer program

  • Thread starter Thread starter Raza
  • Start date Start date
  • Tags Tags
    Computer Program
AI Thread Summary
The discussion focuses on developing a math program that incorporates various formulas, including cross-multiplication, averages, and tax calculations. Key suggestions include implementing polynomial derivatives and integrals, as well as solving simple equations to enhance the program's functionality. The importance of writing custom algorithms instead of relying on predefined functions is emphasized for deeper mathematical understanding. An example of a previously created program that finds prime divisors and checks for perfect numbers illustrates the potential complexity and educational benefits of such projects. Overall, the conversation encourages creativity and exploration in programming mathematical concepts.
Raza
Messages
203
Reaction score
0
Hi,
I just some ideas for what should I put in my math program. All I need is some forumlas.So far I got the cross-multiply,average and the taxes.
program.jpg

I'll remove the fat ronald afterwards. When I am going to be done, I can post it my program for download.
 
Mathematics news on Phys.org
Quadratic formula

Some hard ones:
Derive (polynomials only would be easy)
Integrate (polynomials only would be easy)
Solve simple equation (5x + 3 = 2, solve for x!)
 
Although there are professional programs that do this I would very much suggest you try and think of as much stuff you can do and add it in. It very much gives you a better understanding of that area of mathematics (try and write most of your algorithms rather than using pre-defined functions).

A good one that I wrote a couple of years back was a program which when you inputted a number it gave you it's prime divisors, e.g if I inputted 12 it would give you:

2^2 x 3

I expanded the program to give the sum of divisors, e.g if you inputted 6 it would be the same as:

1+2+3 = 6

And thus also told you if it was a perfect number of a near perfect number (only 1 number away). I carried on looking for more things, like telling you if it was a Fermat prime number etc.. etc.. I think the program could finally deal with any number 10^8 or less and still be quite quick (it was written in VB). Not only did it give me a better understanding the maths but it has allowed me to breeze through my number theory course.
 
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Back
Top