What did you learn today that you want to remember on demand using your smartphone and tablet
You can execute Python code using standard library at this moment. Other python packages are not yet supported on this website.
You can copy and paste given samples below. You can also copy the comments. Next click the Run Button.
Built-In Math Function in Python
Python Web Emulator
Python for Web Browser
Python CMATH Module
abs(-3.1416) # Returns the absolute value of number |
abs(3+5j) # Returns the absolute value of complex number. It is the hypothenuse |
import math math.degrees(3.1416) # Convert radian input to degrees |
import math math.radians(180) # Convert degrees input to radians |
import math math.gcd(12, 36) # Find the greatest common denominator |
import math math.lcm(5, 12, 6) # Find the least common multiple |
import math math.sin(3.1416) #Return the sine of 3.1416 given in radian |
import math math.sin(math.pi/2) #Return the sine of π/2 given in radian |
import statistics statistics.median([1, 3, 5, 7, 9, 11, 13]) #Return the median |
import statistics statistics.mean([1, 3, 5, 7, 9, 11, 15,19]) #Return the mean |
import math math.log2(8) # Return the base-2 logarithm. 2n compute the value of n |
import math math.log10(1000) # Return the base-10 logarithm. 10n compute the value of n |
import math math.pow(10,3) # 103 compute the value of 10 raise to the power of 3 |
import math math.pow(2,3) # 23 compute the value of 2 raise to the power of 3 |
pow(2,3) # 23 compute the value of 2 raise to the power of 3 |
import math math.factorial(5) # compute the factorial of 5 |
import math n=7 # Initialize the number of items to choose from k=5 # Initialize the number of items to choose math.perm(n, k) # Compute the permutation |
import math n=6 # Initialize the number of items to choose from k=3 # Initialize the number of items to choose math.comb(n, k) # Compute the combinations |
import math sequence = (1,2,3,4,5) # Initialize the number sequence of number math.prod(sequence) # Compute the product of given number sequence |
sum([1,2,3,4,5]) # return the sum |
bin(20) #Returns the binary version of a decimal number |
bin(0xff) # Returns the binary version of a hexadecimal number |
bin(0o776) # Returns the binary version of a Octal number |
bytearray(4) # Returns the byte array object |
bytes(4) # Returns the bytes of an object |
chr(97) # Returns the character that represents the specified unicode. |
dict(name = "Sam", age = 56, country = "USA") # Returns a dictionary. A dictionary is a collection which is unordered, changeable and indexed. |
divmod(5, 2) # Returns the quotient and the remainder |
min(1, 2, 3, 4, 5) # Returns the minimum number |
max(1, 2, 3, 4, 5) # Returns the maximum number |
complex(3, 5) # Returns the complex number |
complex(3, 5) * complex(-4,8) # Returns the product of two complex number |
complex(3,4) / complex(2,-5) # Returns the quotient of two complex number in simpliest form. |
import cmath (cmath.rect(4, 2.0944)) # Returns the polar coordinates in rectangular form. Here 4 is the magnitude and 2.0944 is angle in radian. Divide the given degree angle by 57.2958 to get the equivalent radian. |
import cmath cmath.polar(-2 + 3.4641j) # Returns the polar coordinates of given rectangular form. Here 4 is the magnitude and 2.0944 is angle in radian. Multiply the calculated radian by 57.2958 to get the equivalent degree. |
divmod(5, 2) # return the quotient and the remainder |
hex(255) # return the hexadecimal of the number |
Why do you need a personal augmented intelligence (AI) chatbot? Because it is useful in knowledge storage, information retrieval, and fast computation with less error.
IN-V-BAT-AI uses explainable Artificial Intelligence (AI) to automate repetitive solved problem or routine calculation so we can focus our brain power to solve harder new problem then automate again once it is solved.
Here comes the disruptive innovation from IN-V-BAT-AI , today the problem of remembering formula and the correct sequence of data entry is now solved
by combining formula and calculation and make it on demand using smartphone, tablet, notebook, Chromebook, laptop, desktop, school smartboard and
company big screen tv in conference room with internet connection.