Math¶
How To: Basic::Math
Input radius of a circle and compute the area
Calculate number of days between two dates
Get the volume of a sphere with R=6
Get the difference between a given numbers
Print all even numbers from a given numbers
Accept the B and H of a triangle, compute the area
Compute the greatest common divisor (GCD)
Get the least common multiple (LCM)
Sum of three given integers (condition)
Sum of two given integers (condition)
Add two integer objects
Solve (x + y) * (x + y)
Compute the future value of a specified
Compute the distance between points
Convert seconds to D:H:M:S
Calculate body mass index
Convert pressure in kPa to PSI, mmHg and atm
Get the details of math module
Calculate midpoints of a line
Convert height (feet, inches) to centimeters
Calculate the hypotenuse of a right angled triangle
Convert distance from feet to I/Y/M
Convert all units of time into seconds
Get numbers divisible by fifteen (anonymous function)
Sum of all counts in a collections
Check if an integer fits in 64 bits
Convert an integer to binary keep leading zeros
Convert decimal to hexadecimal
Find the maximum and minimum from sequence
Take a positive integer and returns
Find a distinct pair of numbers
Convert degree to radian
Convert radian to degree
Calculate the area of a trapezoid
Calculate the area of a parallelogram
Calculate surface volume and area of a cylinder
Calculate surface volume and area of a sphere
Calculate arc length of an angle
Calculate the area of the sector
Calculate the discriminant value
Calculate the number of odd bits in byte
Find the smallest multiple of the first N numbers and factors
Calculate the difference between the squared sums
Calculate the sum of all digits of the base to the specified power
Find out, if the given number is abundant
Sum all amicable numbers from 1 to specified numbers
Returns sum of all divisors of a number
Print all permutations of a given string (incl. duplicates)
Print the first N lucky numbers
Computing square roots using the babylonian method
Multiply two integers without using the * operator
Calculate magic square
Print all primes (sieve_of_eratosthenes) <= N
Find the next smallest palindrome of N
Find the next previous palindrome of N
Generate all permutations of a list
Get Nth catalan number
Print number with commas as thousands separators
Calculate the distance between two points using latitude and longitude
Calculate the area of regular polygon
Calculate wind chill index
Find the roots of a quadratic function
Convert a binary number to decimal number
Print a complex number and its real and imaginary parts
Add, subtract, multiply and division of two complex numbers
Get the length and the angle of a complex number
Convert to/from rectangular coordinates to polar coordinates
Find the maximum and minimum numbers from numbers
Find the sum of the decimal numbers, display numbers in sorted order
Get the square root and exponential of a given decimal number
Retrieve the current global context for all decimal
Round a specified decimal by setting precision
Round number upwards towards infinity and down towards negative infinity
Get the local and default precision
Display the fraction instances of the string repr. of a number
Create the fraction instances of float numbers
Create the fraction instances of decimal numbers
Add, subtract, multiply and divide two fractions
Convert Pi to an approximate rational value on the various denominator
Generate random float numbers in a specific numerical range
Generate random integers in a specific numerical range
Generate random even integers in a specific numerical range
Get a single random element from a specified string
Shuffle the elements randomly
Flip a coin 1000 times and count heads and tails
Print a random sample of words from the system dictionary
Randomly select an item from a list
Calculate the absolute value of a floating point number
Calculate the standard deviation of the following data
Print the floating point from mantissa, exponent pair
Split fractional and integer parts of a floating point number
Parse math formulas and put () around mult and div
Describe linear regression
Calculate a grid of hexagon coordinates of the given radius
Create a simple math quiz
Calculate the volume of a tetrahedron
Compute the value of e(2.718281827…) using infinite series
Create an ascii waveform
Create a dot string
Create a pythagorean theorem calculator
Round up a number to specified digits
Simulate casino
Reverse a range
Create a range for floating numbers
Generate a square matrix with elements in spiral order
Select a random date in the current year
Calculate clusters using hierarchical clustering method
Implement euclidean algorithm to compute GCD
Convert rgb color to hsv color
Find perfect squares between two given numbers
Compute euclidean distance
Convert an integer to a 2 byte hex value
Generate a series of unique random numbers
Convert a float to ratio
Convert a decimal number to binary number