Click here to Skip to main content
15,880,608 members
Everything / Mathematics

Mathematics

mathematics

Great Reads

by William Hey
Classical number theories
by jurhas
A small simulator for a 6 axis articulated robot
by Ryan Scott White
A C# struct/class library for large Floating-Point numbers
by Gunnar S
Implementation of the Poisson Cumulative Distribution function for large Lambdas

Latest Articles

by Ryan Scott White
A C# struct/class library for large Floating-Point numbers
by Kenneth Haugland
Radiation from rectangular, circle and elliptic - shaped openings
by JorgeLuisOrejel
This article describes the implementation of Dijkstra's Smoothsort as a generic sorting algorithm in C#.
by Xavier Junqué i de Fortuny
Reduces/evaluates a real/complex math expression

All Articles

Sort by Score

Mathematics 

8 Apr 2020 by Gunnar S
Implementation of the Poisson Cumulative Distribution function for large Lambdas
22 Apr 2018 by Mohammad Kazem Akhgary
Algorithm of gamma function with high precision using taylor series
13 Jun 2023 by Jack Devey
This post delves into the perplexing Monty Hall paradox, examining the probabilities associated with sticking or switching doors in the game scenario.
2 Sep 2014 by Cryptonite
This code gives a solution to the Chinese Remainder Theorem using totients instead of the Extended Euclidean algorithm.
12 Dec 2015 by JinWenQiang
This tip is a brief introduction of Network Calculus. I used Matlab codes to show you the results and to explain how it works.
12 Sep 2011 by Bill Anderson
Here's an alternative. This one uses the BitArray class in C# and does not use the % operator.static List SeiveWithoutMod(int candidate){ BitArray sieveContainer = new BitArray(candidate + 1, true); int marker = 2; //start int factor = 2; //start. sieveContainer[0]...
30 Sep 2011 by Bill Anderson
Hi,Thanks for the feedback for alternative #1 from above (and thank you, Jurgen Rohr for your suggestion! I replaced the "reset" line with:while (!sieveContainer.Get(++marker));factor = marker;Here is another algorithm that's slightly different. It's not as elegant an approach, but...
26 Oct 2018 by José Cintra
Generic algorithm to generate mathematical sequences
3 Aug 2010 by Tim-bot
Simple calculation to determin a value at a percentage along a bell curve. Also with an offcenter curve intersection thing....
26 Jun 2013 by Hossein Montazeri
A class to conduct a lottery, based on different chances of winning for every participant
2 Dec 2013 by ExcelledProducts CEO
Closest latitude and longitude to a referenced latitude and longitude.
17 Oct 2015 by José Cintra
Tips for creating mathematical cross-platform applications in JavaScript and display formulas and other content with MathJax and JQuery Mobile.
10 Nov 2020 by Uladzislau Baryshchyk
Technologies for creating interactive software modules in the Wolfram Mathematica
17 Jan 2012 by YvesDaoust
You should be delighted by the CORDIC approach to elementary functions computation.http://drdobbs.com/184404244[^]log10(x){ z = 0; for ( i=1; i= 1) x = x - x*2^(-i); z = z - log10(1-2^(-i)); else x = x + x*2^(-i); ...
12 Jun 2014 by Jacob F. W.
Dividing and Modulo with a 128 Bit Unsigned Integer
12 Sep 2011 by George Swan
The following method starts by selecting the number 2 and eliminates each multiple of 2 up to N. Then the next valid number is selected and each multiple of it is eliminated. The process is repeated until all valid numbers have been tested. So the first three multiples to be eliminated are...
12 Jun 2014 by Jacob F. W.
Bit Operations on a 128 Bit Unsigned Integer
18 Oct 2019 by Sergei Lazarev
Algorithm for calculating primes based on research on primes
9 Jan 2012 by Jacob F. W.
Algorithms for Logarithms and Powers
23 Mar 2019 by DrABELL
Statistical Outliers detection in Microsoft Excel worksheet using Median() and array formula
12 Jun 2014 by Jacob F. W.
Multiplying and Squaring a 128 Bit Unsigned Integer
12 Jun 2014 by Jacob F. W.
Adding and subtracting a 128 Bit Unsigned Integer
5 Apr 2013 by bEGI23
Convert filesize (bytes) according to highest possible size scale (KB, MB, GB, TB, PB).
3 Oct 2011 by Brian C Hart
This tip illustrates a simple C# console program that uses the Sieve of Eratosthenes algorithm to quickly find prime numbers.
26 Oct 2018 by José Cintra
Simple algorithm to determine the type of a triangle, being informed its sides
28 Feb 2014 by Yerzhan Kalzhani
This is light, fast and simple to understand mathematical parser designed in one class, which receives as input a mathematical expression (System.String) and returns the output value (System.Double)
15 Apr 2013 by lampiclobe
An infinite number implementation with advanced division and modulus operators.
13 May 2020 by Askar Azhibaev
Calculating the pi number faster using a simple formula
2 Jul 2014 by YvesDaoust
Computation of the Faulhaber polynomials coefficients
17 Dec 2012 by Andrew Rissing
A method for calculating a Fibonacci number without using loops or recursion.
20 Sep 2011 by Dennis_E
This solution uses half the space by simply ignoring all even numbers. It will require a little index calculation. Also, primes are generated one by one instead of returning a list.Another optimization can be made by starting the crossing out of multiples of a prime p at p2. Any smaller number...
27 Jun 2015 by Jacob F. W.
A Practical Introduction to Efficient Modular Exponentiation
20 Jul 2013 by Patrick Harris
Class for converting decimals and fractions (allows rounding to a decimal also)
28 Nov 2011 by Grant Curell
A basic copiable count sort implementation.