# HG changeset patch
# User Jason Grout <jason.grout@drake.edu>
# Date 1285685264 18000
# Node ID ee91ac281310eab90000fd15a85db6c098413ae5
# Parent 19a5a8d4139c72a9c53daaae2ac55c6ebbbd04e9
Fixed a typo and changed "<" to "\angle"
diff -r 19a5a8d4139c -r ee91ac281310 sage/interacts/library.py
|
a
|
b
|
|
| 375 | 375 | labels = a_label + b_label + c_label |
| 376 | 376 | |
| 377 | 377 | show(unit_circle + triangle + triangle_points + labels, figsize=[5, 5], xmin=-1, xmax=1, ymin=-1, ymax=1) |
| 378 | | angl_txt = r"$< A = {%s}^{\circ},$ $< B = {%s}^{\circ},$ $< C = {%s}^{\circ}$" % ( |
| | 378 | angl_txt = r"$\angle A = {%s}^{\circ},$ $\angle B = {%s}^{\circ},$ $\angle C = {%s}^{\circ}$" % ( |
| 379 | 379 | math.degrees(ak[0]), |
| 380 | 380 | math.degrees(ak[1]), |
| 381 | 381 | math.degrees(ak[2]) |
| … |
… |
|
| 467 | 467 | """ |
| 468 | 468 | html('<h2>Cube within a Hemisphere</h2>') |
| 469 | 469 | html('<div style="white-space: normal">A cube is placed within a hemisphere so that the corners ' +\ |
| 470 | | 'of the cube touch the surface of the hemisphere; Observe numerically' + \ |
| | 470 | 'of the cube touch the surface of the hemisphere; Observe numerically ' + \ |
| 471 | 471 | 'the ratio of the volume of the cube and the volume of the hemisphere.</div>') |
| 472 | 472 | x, y, z = SR.var("x,y,z") |
| 473 | 473 | hemisphere_graph = implicit_plot3d(x**2+y**2+z**2==1, (x, -1, 1), (y, -1, 1), (z, 0, 1), color="green", opacity=0.4) |