You are on page 1of 1

test.

rws

Page 1 of 1

from math import *


# Diameter,
d = 16.0
# Luas,
A_s = (1/4.0)*pi*d**2
A_s
201.06192982974676
# Keliling,
P = pi*d
P
50.26548245743669
from numpy import *
from replot import plot
x = linspace (0, 2*pi,100)
plot(x,cos(x))
1.0

0.5

0.0

0.5

1.0

You might also like