# Ticket #9623: 9623-reviewer2.patch

File 9623-reviewer2.patch, 1.4 KB (added by jason, 11 years ago)

apply on top of previous patches

• ## sage/interacts/library.py

```# 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 labels = a_label + b_label + c_label show(unit_circle + triangle + triangle_points + labels, figsize=[5, 5], xmin=-1, xmax=1, ymin=-1, ymax=1) angl_txt = r"\$< A = {%s}^{\circ},\$ \$< B = {%s}^{\circ},\$ \$< C = {%s}^{\circ}\$" % ( angl_txt = r"\$\angle A = {%s}^{\circ},\$ \$\angle B = {%s}^{\circ},\$ \$\angle C = {%s}^{\circ}\$" % ( math.degrees(ak[0]), math.degrees(ak[1]), math.degrees(ak[2]) """ html('

Cube within a Hemisphere

') html('
A cube is placed within a hemisphere so that the corners ' +\ 'of the cube touch the surface of the hemisphere; Observe numerically' + \ 'of the cube touch the surface of the hemisphere; Observe numerically ' + \ 'the ratio of the volume of the cube and the volume of the hemisphere.
') x, y, z = SR.var("x,y,z") 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)