CoCalc Public Files1 / 6 / 20 DIS 8am.ipynbOpen with one click!
Author: ANGEL MORE
Compute Environment: Ubuntu 20.04 (Default)
In [1]:
#Math Operations - Comment Line 3+5
8
In [2]:
3/7
3/7
In [3]:
3.0/7
0.428571428571429
In [4]:
#Variables - storing values a = 100
In [5]:
b = 10
In [6]:
c = a + b
In [7]:
c
110
In [8]:
a
100
In [11]:
A = 10 A
10
In [12]:
#Built-In Functions abs(-4)
4
In [14]:
sqrt(3.0)
1.73205080756888
In [15]:
sin(pi/2)
1
In [16]:
print("hello world")
hello world
In [1]:
#Plotting math Functions #plot(function, (x,lower domain, upper domain), color = "XXX", axes_labels = ["x-axis label", "y-axis label"]) plot(x^2, (x,0,5), color = "red", axes_labels = ["ayye", "oooh"])
In [ ]:
In [ ]:
In [ ]: