mSolveQuadratic(a,b,c) -Used to solve for Quadratic -Returns a string %quad = mSolveQuadratic(a,b,c); mSolveCubic(a,b,c,d) -Used to solve for a Cube -Returns a string %cube = mSolveCubic(a,b,c,d); mSolveQuartic(a,b,c,d,e) -Used to solve for a Quartic -Returns a string %quartic = mSolveQuartic(a,b,c,d,e); mFloor(float) -Used to return the largest integral value not greater than “float” -Returns a numeric %pageLines = mFloor(%chatScrollHeight / %textHeight); if (%pageLines <= 0) %pageLines = 1; mCeil(float) -Used to return the smallest integral value not less than “float” -Returns a numeric %min = mCeil(%chatScrollHeight / %textHeight); mFloatLength(float, numDecimals) -Used to return float with a “numDecimals” padding -Returns a numeric %newFloat = mFloatLength((7/3),5); mAbs(float) -Used to return absolute value of float -returns a string %abs = mAbs(76.3); mSqrt(float) -Used to return the square root (sqrt) of float -Returns a numeric %sqrt = mSqrt(69); mPow(floatA,floatB) -Used to get the value of floatA raised to the power of floatB -Returns a numeric %pow = mPow(2,4); mLog(float) -Used to return the natural logarithm of -Returns a numeric %log = mLog(7654.98); mSin(float) -Used to return the “sine” of float measured in radians -Returns a numeric %sin = mSin(65); mCos(float) -Used to return the “cosine” of float measured in radians -Returns a numeric %cos = mCos(69); mTan(float) -Used to return the “tangent” of float -Returns a numeric %tan = mTan(87.6); mAsin(float) -Used to return the “arc sine” of float -returns a numeric %asin = mAsin(-3,8); mAcos(float) -Used to return the “arc cosine” of float -Returns a numeric %acos = mAcos(-8,3); mAtan(float) -Used to return the “arc tangent” of float -Returns a numeric %atan = mAtan(-10,3); mRadToDeg(float) -Used to convert radiant to degrees -Returns a numeric %r2d = mRadToDeg(5); mDegToRad(float) -used to convert degrees to radians -Returns a numeric %c2r = mDegToRad(171);
Advertisement
Mathematical Functions
Advertisement