var Mexp=function(parsed){ this.value=parsed; }; Mexp.math={ isDegree:true, //mode of calculator acos:function(x){ return (Mexp.math.isDegree?180/Math.PI*Math.acos(x):Math.acos(x)); }, add:function(a,b){ return a+b; }, asin:function(x){ return (Mexp.math.isDegree?180/Math.PI*Math.asin(x):Math.asin(x)); }, atan:function(x){ return (Mexp.math.isDegree?180/Math.PI*Math.atan(x):Math.atan(x)); }, acosh:function(x){ return Math.log(x+Math.sqrt(x*x-1)); }, asinh:function(x){ return Math.log(x+Math.sqrt(x*x+1)); }, atanh:function(x){ return Math.log((1+x)/(1-x)); }, C:function(n,r){ var pro=1,other=n-r,choice=r; if(choice