MaxiCalc formula calculation (from techkn@ck)

x = + 0
y = + 0
z = + 0
Type in values (NOT formulas), or use the Numerator.
 T   x   y   z 
Min:
Max:
Nearest 0:
A = = 0
Type in values or formulas, or double click a preset formula below.
B = = 0
Double click on an entry to add it to the Textarea box to the right.
C = = 0
D = = 0
Avoid leading zeroes - they may convert the number to octal.
Do NOT type commas in any numbers.         Precision:
   
Auto Precision: T =
STATISTICS: Normal, Binomial, Hypergeometric
Factorial   fact( x )  =
Permutations of x objects from y   perm( x, y )  =
Combinations of x objects from y   comb( x, y )  =
Normal distribution:
height Normal curve at value y if mean=x, SD=z   exp(0-(y-x)*(y-x)/(2*z*z))/(z*sqrt(2*pi))  =
Significant Skewness   2 *sqrt( 6 /z )  =
Significant Kurtosis   2 *sqrt( 24 /z )  =
Probability of being x or more SD's above mean   pNsd( x )  =
Probability of being between x and y SD's above mean   pNsd( x ) -pNsd( y )  =
Probability a random value is >y, if Mean=x SD=z  pNsd( (y -x)/z )  =
Value with probability y of being more than a random measurement, if Mean=x SD=z  normInv( y )*z +x  =
Sample z, zx have it. Prob( at least y of population have it)  pNsd( (y -x)/Math.sqrt( x*(1 -x) /z ) )  =
Binomial: z trials, each trial is just a hit (fixed probability x) or a miss (probability (1-x).
- Probability of exactly y hits   comb(y,z)*Math.pow(x,y)*Math.pow(1-x,z-y)  =
- Standard deviation   Math.sqrt( z*x*(1-x) )  =
- Skewness   (1 -(2 *x))/Math.sqrt( z*x*(1-x) )  =
- Kurtosis   (1 -(6 *x *(1 -x)))/( z*x*(1-x) )  =
- Probability of y or more hits    =
- same, using Normal approximation   pNsd( (y -(z*x) -0.5)/Math.sqrt(z*x*(1-x)) )  =
Hypergeometric: Sample of z items taken (without return) from a batch of A items which contain x 'defectives'
- Probability of exactly y defectives in sample  comb(y,x)*comb(z-y,A-x)/comb(z,A)  =
- Standard deviation   Math.sqrt(z*x*(A-z)*(A-x)/(A*A*(A-1)))  =
- Skewness    =
- Kurtosis  
- Probability of y or more defectives    =
STATISTICS: Poisson, Exponential, Queues
Poisson: random events, average x events per time interval
- Probability of exactly y events   Math.pow(x,y)/(fact( y )*Math.exp( x ))  =
- Standard deviation   Math.sqrt(x)  =
- Skewness   1/Math.sqrt( x )  =
- Kurtosis   1/x  =
- Probability of y or more events .    =
- same, using corrected Normal approximation   pNsd( (y -x -0.5)/Math.sqrt(x) )  =
Exponential: time between random events, average x events per time interval (λ) =1/average time between events (1/μ)
- Mean time between events   1/x  =
- Mean time till next event   1/(2*x)  =
- Probability that time to next event is > y   1/Math.exp( (x*y) )  =
- Probability that time to next event is < y   1-(1/Math.exp( (x*y) ))  =
- Standard deviation   1/x  =
- Skewness   2  =
- Kurtosis   6  =
Queues x = average occupancy of the server (0 to 1). Poisson (random) distribution of arrivals.
(a) Service times exponential. i.e. Probability service time > t = exp( -u*t ), where u is the average service time.
Average queue, including item being serviced   x/(1-x)  =
- Standard deviation   Math.sqrt(z*x*(A-z)*(A-x)/(A*A*(A-1)))  =
- Probability of queue size being y or more   Math.pow( x, y )  =
- same, using SD and Normal Distribution   pNsd( (y - (x/(1-x)))/Math.sqrt( x/((1-x)*(1-x)) ) )  =
- Standard Deviation of queue size   Math.sqrt( x/((1-x)*(1-x)) )  =
Average queue, excluding item being serviced   (x*x)/(1-x)  =
- Probability of queue size being y or more   pNsd( (y - ((x*x)/(1-x)))/Math.sqrt( (x*x*(1+x-(x*x)))/((1-x)*(1-x)) ) )  =
(b) Service times constant.
Average queue, including item being serviced   x*(1 -x/2)/(1-x)  =
- Standard Deviation of queue size   Math.sqrt( (x*x*(1+x-(x*x)))/((1-x)*(1-x)) )  =
GEOMETRY and TRIGONOMETRY
sin( x° )   Math.sin( Math.PI*x/180 )  =
cos( x° )   Math.cos( Math.PI*x/180 )  =
tan( x° )   Math.tan( Math.PI*x/180 )  =
Hypotenuse of right angled triangle   Math.sqrt(x*x+y*y)  =
- other side if hypotenuse = x and side = y   Math.sqrt(x*x-y*y)  =
Other side of triangle sides x,y at angle z°  Math.sqrt(x*x+y*y+2*x*y*Math.cos(Math.PI*x/180))  =
Area of a triangle with base x and height y   x*y/2  =
Area of a triangle with sides x,y,z   s=(x+y+z)/2; Math.sqrt(s*(s-x)*(s-y)*(s-z))  =
Area of triangle with sides x,y at angle z°   x*y*Math.sin(Math.PI*z/180)/2  =
Area of a rectangle with sides x, y   x*y  =
Area of a trapezium parallel sides x,y height z   (x+y)*z/2  =
Surface area of a box   2*(x*y +x*z +y*z)  =
Volume of a box   x*y*z  =
Volume of a pyramid base x,y height z   x*y*z/3  =
Area of a circle radius x   x*x*Math.PI  =
Area of a circle diameter x   x*x*Math.PI/4  =
Area of an ellipse of width x and height y   x*y*Math.PI/4  =
Surface area of a sphere radius x   x*x*Math.PI*4  =
Volume of a sphere radius x   x*x*x*Math.PI*4/3  =
Volume of an ellipsoid width x depth y height z   x*y*z*Math.PI/6  =
Volume of a cone radius x height y   x*x*y*Math.PI/3  =
Surface of a cone radius x height y (inc base)   x*x*Math.PI +(Math.sqrt(x*x+y*y)*Math.PI*x)  =
ALGEBRA
Inverse   1/x  =
Square   x*x  =
Square root   Math.sqrt(x)  =
Cube   x*x*x  =
Cube root   Math.pow(x,1/3)  =
power.   [N.B. x^y is "x XOR y"]   Math.pow(x,y)  =
First root of quadratic x*X*X +y*X +z = 0   (-y +Math.sqrt(y*y -4*x*z))/(2*x)  =
- Second root   (-y -Math.sqrt(y*y -4*x*z))/(2*x)  =
x to the power ? = y to the power z   z*Math.log(y)/Math.log(x)  =
Series
Term z of of A, (A+y)x, (A+2y)x², ...   (A+((z-1)*y))*Math.pow(x,z-1)  =
- Sum of first z terms   (y*x*(1-Math.pow(x,z-1))/((1-x)*(1-x)))+(A-((A+(z-1)*y)*Math.pow(x,z)))/(1-x)  =
- Sum of first z terms if x=1   z*(A+(y*(z-1)/2))  =
- Sum to infinity   (A/(1-x))+((y*x)/((1-x)*(1-x)))  =
CONVERSIONS
feet to metres   0.3048*x  =
metres to feet   3.2808399*x  =
inches to centimetres   2.54*x  =
centimetres to inches   0.393700787*x  =
miles to kilometres   1.609344*x  =
kilometres to miles   0.621371192*x  =
pounds to kilograms   0.45359237*x  =
kilograms to pounds   2.20462262*x  =
degrees to radians   Math.PI*x/180  =
radians to degrees   180*x/Math.PI  =
Centigrade to Fahrenheit   (x*9/5) +32  =
Fahrenheit to Centigrade   (x-32) *5/9  =
PHYSICS (A=Amp, F=Farad, J=Joule, m=metre, N=Newton, s=second )
Speed of light c   m/s   (c =299792458)  =
Plank constant h   J s   (h =6.62606896e-34)  =
reduced Plank constant h/2π   J s  h /(2*Math.PI)  =
Magnetic constant (vacuum permeability) N/A/A   Math.PI*(4e-7)  =
Electric constant (vacuum permittivity) F/m   1/(Math.PI*(4e-7)*c*c)  =
Absolute zero (° Centigrade)   -273.15  =
Velocity if initial vely x, accn y, after time z  x +y*z  =
Distance if initial vely x, accn y, after time z   x*z +y*z*z/2  =
Velocity if initial vely x, accn y, distance z   Math.sqrt(x*x+2*y*z)  =
Charge on the electron e Coulombs   1.602176487e-19  =
ASTRONOMY (m=metre, s=second )
Gravitational constant G cubic m/Kg/s/s   (G =6.67428e-11)  =
Acceleration due to Earth gravity g m/s/s  (g =9.80665)  =
mean Radius of the Earth m   6371000  =
equatorial Radius of the Earth m   6378137  =
polar Radius of the Earth m   6356752  =
Mass of the Earth Kg   5.9742e24  =
Radius of the Sun m   695500000  =
Mass of the Sun Kg   1.98892e30  =
average Distance from Earth to Sun m   1.496e11  =
Days per year   365.242199  =
Seconds per day   3600*24  =
Seconds per year   365.242199 *3600*24  =
Orbit radius if mass=x Kg orbital period=y s   Math.pow( (y*y*G*x)/(4*Math.PI*Math.PI), 1/3)  =
Orbit period if mass=x Kg, orbit radius=y metres  Math.pow( (4*Math.PI*Math.PI*y*y*y)/(G*x), 1/2)  =
Velocity if mass=x Kg, orbit radius=y metres   Math.pow( (G*x)/y, 1/2)  =
POPULATIONS ETC
Population of the Earth (aug 2009)   6780000000  =
Births per year (2009)   134200000  =
Deaths per year (2009)   57200000  =
Life expectancy (2009)   67  =
Population of the UK (2009)   61383000  =
UK population increase (2008 to 2009).
  408000  =
UK net immigration (2008 to 2009)   118000  =
UK Births per year (2008)   791000  =
UK Deaths per year (2008)   580000  =
UK Life expectancy (Male) (2009)   76.5  =
UK Life expectancy (Female) (2009)   81.6  =
JavaScript Math Constants
Euler's constant (e)   Math.E  =
Natural logarithm of 10   Math.LN10  =
Natural logarithm of 2   Math.LN2  =
Base 10 logarithm of e   Math.LOG10E  =
Base 2 logarithm of e   Math.LOG2E  =
Pi   Math.PI  =
1 / square root of 2   Math.SQRT1_2  =
square root of 2   Math.SQRT2  =
JavaScript Math Methods
Absolute value   Math.abs(x)  =
Arccosine (x from -1 to 1, answer in radians)   Math.acos( x )  =
Arcsine (x from -1 to 1, answer in radians)   Math.asin( x )  =
Arctangent (answer in radians)   Math.atan( x )  =
Arctangent of (x * y) (answer in radians)   Math.atan2( x, y )  =
Integer greater than or equal to x   Math.ceil( x )  =
cos( x )   x in radians   Math.cos( x )  =
e to the power x   Math.exp( x )  =
Integer less than or equal to x   Math.floor( x )  =
Natural logarithm of x   Math.log( x )  =
Greater of x and y   Math.max( x, y )  =
Lessor of x and y   Math.min( x, y )  =
x to the power of y   Math.pow( x, y )  =
Random number between 0 and 1   Math.random()  =
x to the nearest integer   Math.round( x )  =
sin( x )   x in radians   Math.sin( x )  =
Square root   Math.sqrt( x )  =
tan( x )   x in radians   Math.tan( x )  =
JavaScript Operators
Multiply   x*y  =
Divide   x/y  =
Modulus   x%y  =
Bitwise AND   x&y  =
Bitwise AND (if x&amp;y fails)   ~((~x)|(~y))  =
Bitwise OR   x|y  =
Bitwise XOR   x^y  =
Bitwise NOT   ~x  =
Left Shift x by y bits   x<< y  =
Left Shift x by y bits (if x<<y fails)   x*Math.pow(2,y)  =
Right Shift, sign bit propagated   x>>y  =
Right Shift, sign bit propagated (x>>y fails)   x/Math.pow(2,y)  =
Right Shift, 0s from left   x>>>y  =
Right Shift, 0s from left (x>>>y fails)   Math.abs(x)/Math.pow(2,y)  =
Test Data
Cubic with roots 1,2,3   x*x*x -6*x*x +11*x -6  =
Cubic with roots near 1,2,3   x*x*x -6*x*x +11*x -5.8  =
First root of differential of cubic above   q=3;r=-12;s=11;(-r+Math.sqrt(r*r-4*q*s))/(2*q) =
Second root of differential of cubic above   (-r-Math.sqrt(r*r-4*q*s))/(2*q)  =
< and > and & problem   (( x < y )&&( x > 0 ))?0:(2<<1)  =
Special characters used in help text   0  =
Click a heading to display formulas. Click a description to display or hide help. Double click a formula or value to copy it to an empty A/B/C/D slot.