Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168769
Image: ubuntu2004
square = polygon([(0,0),(0, 1),(1, 1),(1, 0)]) show(square, aspect_ratio = 1)
median = line([(1/2, 0), (1/2, 1)], color = 'yellow', linestyle = '--') diag = line([(1/2, 0), (1, 1)], color = 'yellow', linestyle = '--') show(square + median + diag, aspect_ratio = 1)
circ = circle((1/2, 0), sqrt(5)/2, color = 'black', linestyle = 'dashed') show(square + median + diag + circ, aspect_ratio = 1)
rec = polygon([(1, 0), (1, 1), ((1+sqrt(5))/2, 1), ((1+sqrt(5))/2, 0)], color = 'red') show(rec + square + median + diag + circ, aspect_ratio = 1)
show(rec + square, aspect_ratio = 1)
golden_rec = polygon([(0, 0), (0, 1), ((1+sqrt(5))/2, 1), ((1+sqrt(5))/2, 0)], color = 'purple') show(golden_rec, aspect_ratio = 1)