{VERSION 6 0 "IBM INTEL NT" "6.0" } {USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 1 0 0 0 0 1 }{CSTYLE "2D Math" -1 2 "Times" 0 1 0 0 0 0 0 0 2 0 0 0 0 0 0 1 }{CSTYLE "2D Comment" 2 18 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 } {CSTYLE "2D Output" 2 20 "" 0 1 0 0 255 1 0 0 0 0 0 0 0 0 0 1 } {CSTYLE "Blue Emphasis" -1 256 "Times" 0 0 0 0 255 1 0 1 0 0 0 0 0 0 0 1 }{CSTYLE "Green Emphasis" -1 257 "Times" 1 12 0 128 0 1 0 1 0 0 0 0 0 0 0 1 }{CSTYLE "Maroon Emphasis" -1 258 "Times" 1 12 128 0 128 1 0 1 0 0 0 0 0 0 0 1 }{CSTYLE "Purple Emphasis" -1 259 "Times" 1 12 102 0 230 1 0 1 0 0 0 0 0 0 0 0 }{CSTYLE "" -1 260 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 }{CSTYLE "" -1 261 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 }{CSTYLE "" -1 262 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 }{CSTYLE "" -1 263 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 }{CSTYLE "" -1 264 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 }{CSTYLE "" -1 265 "" 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 }{CSTYLE "Red Emphasis" -1 266 "Times" 1 12 255 0 0 1 0 1 0 0 0 0 0 0 0 0 }{CSTYLE "Dark Red Emphasis" -1 267 "Times" 1 12 128 0 0 1 0 1 0 0 0 0 0 0 0 0 }{CSTYLE "" 266 268 "" 1 24 0 0 0 0 0 0 0 0 0 0 0 0 0 0 }{CSTYLE "" -1 269 "" 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 } {CSTYLE "" -1 270 "" 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 }{CSTYLE "" -1 271 "" 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 }{CSTYLE "" -1 272 "" 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 }{PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "Tim es" 1 12 0 0 0 1 2 2 2 2 2 2 1 1 1 1 }1 1 0 0 0 0 1 0 1 0 2 2 0 1 } {PSTYLE "Heading 1" -1 3 1 {CSTYLE "" -1 -1 "Times" 1 18 0 0 128 1 2 1 2 2 2 2 1 1 1 1 }1 1 0 0 8 4 3 0 3 0 2 2 0 1 }{PSTYLE "Heading 2" -1 4 1 {CSTYLE "" -1 -1 "Times" 1 14 128 0 0 1 2 1 2 2 2 2 1 1 1 1 }1 1 0 0 8 2 1 0 1 0 2 2 0 1 }{PSTYLE "Maple Output" -1 11 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 1 1 1 }3 3 0 0 0 0 1 0 1 0 2 2 0 1 }{PSTYLE "Maple Plot" -1 13 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 1 1 1 }3 1 0 0 0 0 1 0 1 0 2 2 0 1 }{PSTYLE "Bullet \+ Item" -1 15 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 1 1 1 }1 1 0 0 3 3 1 0 1 0 2 2 15 2 }{PSTYLE "Normal" -1 256 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 1 1 1 }3 1 0 0 0 0 1 0 1 0 2 2 0 1 }{PSTYLE "Normal" -1 257 1 {CSTYLE "" -1 -1 "Times" 1 12 0 0 0 1 2 2 2 2 2 2 1 1 1 1 }1 1 0 0 0 0 1 0 1 0 2 2 0 1 }} {SECT 0 {PARA 3 "" 0 "" {TEXT -1 14 "Calculating Pi" }}{PARA 0 "" 0 " " {TEXT -1 37 "by Peter Stone, Nanaimo, B.C., Canada" }}{PARA 0 "" 0 " " {TEXT -1 19 "Version: 28.3.2007" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 8 "restart;" }}}{EXCHG {PARA 0 " > " 0 "" {MPLTEXT 1 0 1 ";" }}}{SECT 1 {PARA 4 "" 0 "" {TEXT -1 12 "Ca lculating " }{XPPEDIT 18 0 "Pi" "6#%#PiG" }{TEXT -1 67 " using regular polygons with a progressively larger number of sides" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 1 ";" }}}{PARA 0 "" 0 "" {TEXT -1 34 "The met hod we use for calculating " }{XPPEDIT 18 0 "Pi;" "6#%#PiG" }{TEXT -1 118 " involves calculating the perimeter of regular polygons inscribed in a circle of radius 1. We can get an estimate for " }{XPPEDIT 18 0 "2*Pi;" "6#*&\"\"#\"\"\"%#PiGF%" }{TEXT -1 90 " by calculating the per imeter of such a regular polygon when the number of sides is large." } }{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 70 "Suppose \+ that we know the length of one side of a regular polygon with " } {TEXT 269 1 "n" }{TEXT -1 228 " sides.\nThen consider the regular poly gon with twice as many sides formed by constructing two new sides in p lace of each previous side by adding an additional vertex mid-way arou nd the arc between two adjacent existing vertices." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 89 "In the picture, the line \+ segment DE represents one original side and B is the new vertex." }} {PARA 0 "" 0 "" {TEXT -1 88 "O is the centre of the polygon and A is a point diametrically opposite the new vertex B." }}{PARA 0 "" 0 "" {TEXT -1 32 "DE intersects AB in the point C." }}{PARA 13 "" 1 "" {GLPLOT2D 360 270 270 {PLOTDATA 2 "65-%'CURVESG6cu7$7$$!1+++++++#*!#;$ !1**************QF*7$$!1***********\\K*F*$!1-++++++OF*7$F-7$$!1******* ***\\(Q*F*$!1.++++]7MF*7$7$$!1nmmmmm\"f*F*$!1-++++++GF*F37$7$$!1mmmmmm \"f*F*F<7$$!1@AAAAAA(*F*$!1!yxxxxxF#F*7$7$$!1mmmmmm\"z*F*$!1-++++++?F* FB7$FH7$$!1++++++5**F*$!1-+++++!H\"F*7$7$$!1++++++D**F*$!1-++++++7F*FN 7$7$$!1***********\\#**F*FW7$$!1!444444***F*$!15\"444444%!#<7$7$$!1mmm mmm\"***F*$!1<++++++SF\\oFgn7$F^o7$F_o$\"1Zmmmmm;RF\\o7$7$F_o$\"1$)*** *********RF\\oFdo7$Fho7$$!1J#p2Bp2$**F*$\"1H#p2Bp28\"F*7$7$FU$\"1)**** ********>\"F*F\\p7$Fbp7$$!1r&G9dG9#)*F*$\"1p&G9dG9#=F*7$7$FI$\"1)***** ********>F*Ffp7$F\\q7$$!1MLLLLLt'*F*$\"1KLLLLLtCF*7$7$F:$\"1********** ***z#F*F`q7$Ffq7$$!1,++++v$\\*F*$\"1+++++v$4$F*7$7$$!1,+++++D$*F*$\"1* ************f$F*Fjq7$F`r7$$!1Zw6%HN#)G*F*$\"1Yw6%HN#)o$F*7$7$$!1-+++++ +#*F*$\"1)*************QF*Ffr7$7$$!1,++++++%)F*$!19dG9dG9aF*7$$!1MOOOO OO&)F*$!1-++++++_F*7$7$$!1NOOOOOO&)F*Fjs7$$!1'************p)F*$!12++++ ++\\F*7$7$$!1rssssss*)F*$!1-++++++WF*F`t7$7$$!1sssssss*)F*$!1.++++++WF *F'7$7$F]s$\"1**************QF*7$$!1+++++vV!*F*$\"1*********\\PC%F*7$7 $F]u$\"1*************R%F*Feu7$7$F]u$\"1)************R%F*7$$!1>THN#)eq( )F*$\"1;THN#)eqZF*7$7$$!1POOOOOO&)F*$\"1*************>&F*Fbv7$Fhv7$$!1 NLLLLL$[)F*$\"1LLLLLL$G&F*7$7$Fcs$\"19dG9dG9aF*F^w7$7$$!1,++++++wF*$!1 )*********\\(['F*7$$!1)************)zF*$!1-++++++gF*7$F]xFbs7$Fdw7$$!1 m*F*Fi`l7$F_al7$$!1^w6%HN#)o$F*$\"1Yw6%HN#)G*F*7$7$F 0$\"1++++++D$*F*Feal7$Fd`l7$F6F47$7$F means \+ \"is equivalent to\" ) " }}{PARA 256 "" 0 "" {TEXT -1 1 " " }{XPPEDIT 18 0 "x*(4-x) = S" "6#/*&%\"xG\"\"\",&\"\"%F&F%!\"\"F&%\"SG" }{TEXT -1 1 " " }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 256 "" 0 "" {TEXT -1 6 "<=> " }{XPPEDIT 18 0 "4*x-x^2 = S" "6#/,&*&\"\"%\"\"\"%\"xGF'F'*$ F(\"\"#!\"\"%\"SG" }{TEXT -1 1 " " }}{PARA 0 "" 0 "" {TEXT -1 0 "" }} {PARA 256 "" 0 "" {TEXT -1 6 "<=> " }{XPPEDIT 18 0 "x^2-4*x = -S" "6 #/,&*$%\"xG\"\"#\"\"\"*&\"\"%F(F&F(!\"\",$%\"SGF+" }{TEXT -1 1 " " }} {PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 256 "" 0 "" {TEXT -1 6 "<=> " }{XPPEDIT 18 0 "x^2-4*x+4 = 4-S" "6#/,(*$%\"xG\"\"#\"\"\"*&\"\"%F(F&F( !\"\"F*F(,&F*F(%\"SGF+" }{TEXT -1 1 " " }}{PARA 0 "" 0 "" {TEXT -1 0 " " }}{PARA 256 "" 0 "" {TEXT -1 6 "<=> " }{XPPEDIT 18 0 "(x-2)^2 = 4- S" "6#/*$,&%\"xG\"\"\"\"\"#!\"\"F(,&\"\"%F'%\"SGF)" }{TEXT -1 1 " " }} {PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 256 "" 0 "" {TEXT -1 6 "<=> " }{XPPEDIT 18 0 "x-2 = -sqrt(4-S)" "6#/,&%\"xG\"\"\"\"\"#!\"\",$-%%sqrt G6#,&\"\"%F&%\"SGF(F(" }{TEXT -1 1 " " }}{PARA 256 "" 0 "" {TEXT -1 2 " " }}{PARA 256 "" 0 "" {TEXT -1 6 "<=> " }{XPPEDIT 18 0 "x = 2-sqr t(4-S)" "6#/%\"xG,&\"\"#\"\"\"-%%sqrtG6#,&\"\"%F'%\"SG!\"\"F." }{TEXT -1 1 " " }}{PARA 256 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 40 "We have to take the minus sign because " }{XPPEDIT 18 0 "x = s[2* n]^2;" "6#/%\"xG*$&%\"sG6#*&\"\"#\"\"\"%\"nGF+F*" }{TEXT -1 24 " is cl early less than 2." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 14 "We now have " }{XPPEDIT 18 0 "s[2*n]^2 = 2-sqrt(4-s[n]^ 2);" "6#/*$&%\"sG6#*&\"\"#\"\"\"%\"nGF*F),&F)F*-%%sqrtG6#,&\"\"%F**$&F &6#F+F)!\"\"F5" }{TEXT -1 6 " or " }}{PARA 256 "" 0 "" {TEXT -1 4 " \+ " }{XPPEDIT 18 0 "s[2*n] = sqrt(2-sqrt(4-s[n]^2));" "6#/&%\"sG6#*& \"\"#\"\"\"%\"nGF)-%%sqrtG6#,&F(F)-F,6#,&\"\"%F)*$&F%6#F*F(!\"\"F6" } {TEXT -1 1 "." }}{PARA 256 "" 0 "" {TEXT -1 1 " " }{TEXT 268 11 "_____ ______" }{TEXT -1 1 " " }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 67 "Let's start with a regular polygon with 4 sides, tha t is, a square." }}{PARA 0 "" 0 "" {TEXT -1 47 "By drawing a picture y ou can easily check that " }{XPPEDIT 18 0 "s[4] = sqrt(2);" "6#/&%\"sG 6#\"\"%-%%sqrtG6#\"\"#" }{TEXT -1 1 "." }}{PARA 0 "" 0 "" {TEXT -1 0 " " }}{PARA 0 "" 0 "" {TEXT -1 5 "Then " }{XPPEDIT 18 0 "s[8] = sqrt(2-s qrt(4-2));" "6#/&%\"sG6#\"\")-%%sqrtG6#,&\"\"#\"\"\"-F)6#,&\"\"%F-F,! \"\"F2" }{TEXT -1 13 " , that is, " }{XPPEDIT 18 0 "s[8] = sqrt(2-sqr t(2));" "6#/&%\"sG6#\"\")-%%sqrtG6#,&\"\"#\"\"\"-F)6#F,!\"\"" }{TEXT -1 1 "." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 6 "Since " }{XPPEDIT 18 0 "s[8]^2 = 2-sqrt(2);" "6#/*$&%\"sG6#\"\")\"\"# ,&F)\"\"\"-%%sqrtG6#F)!\"\"" }{TEXT -1 10 ", we have " }{XPPEDIT 18 0 "s[16] = sqrt(2-sqrt(4-(2-sqrt(2))));" "6#/&%\"sG6#\"#;-%%sqrtG6#,&\" \"#\"\"\"-F)6#,&\"\"%F-,&F,F--F)6#F,!\"\"F5F5" }{TEXT -1 6 " or " } {XPPEDIT 18 0 "s[16] = sqrt(2-sqrt(2+sqrt(2)));" "6#/&%\"sG6#\"#;-%%sq rtG6#,&\"\"#\"\"\"-F)6#,&F,F--F)6#F,F-!\"\"" }{TEXT -1 1 "." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 26 "In a similar wa y we get " }{XPPEDIT 18 0 "s[32] = sqrt(2-sqrt(2+sqrt(2+sqrt(2)))); " "6#/&%\"sG6#\"#K-%%sqrtG6#,&\"\"#\"\"\"-F)6#,&F,F--F)6#,&F,F--F)6#F, F-F-!\"\"" }{TEXT -1 3 ", " }{XPPEDIT 18 0 "s[64] = sqrt(2-sqrt(2+sqr t(2+sqrt(2+sqrt(2)))));" "6#/&%\"sG6#\"#k-%%sqrtG6#,&\"\"#\"\"\"-F)6#, &F,F--F)6#,&F,F--F)6#,&F,F--F)6#F,F-F-F-!\"\"" }{TEXT -1 14 " , and s o on." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 0 " " }}{PARA 0 "" 0 "" {TEXT -1 90 "As the number of sides n tends to inf inity, the n sided regular polygon tends to a circle." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 119 "It follows that the p erimeter of the n-sided polygon approaches the circumference of a circ le of unit radius, which is " }{XPPEDIT 18 0 "2*Pi;" "6#*&\"\"#\"\"\"% #PiGF%" }{TEXT -1 1 "." }}{PARA 256 "" 0 "" {XPPEDIT 18 0 "limit(2^n*s [n],n = infinity) = 2*Pi;" "6#/-%&limitG6$*&)\"\"#%\"nG\"\"\"&%\"sG6#F *F+/F*%)infinityG*&F)F+%#PiGF+" }}{PARA 0 "" 0 "" {TEXT -1 22 "In orde r to calculate " }{XPPEDIT 18 0 "Pi;" "6#%#PiG" }{TEXT -1 76 " using t his limit, we need to perform repeated applications of the function " }{XPPEDIT 18 0 "f(x) = 2+sqrt(x);" "6#/-%\"fG6#%\"xG,&\"\"#\"\"\"-%%sq rtG6#F'F*" }{TEXT -1 2 ". " }}{PARA 0 "" 0 "" {TEXT -1 79 "The standar d way of doing this from a programming point of view is to set up a " }{TEXT 259 8 "for loop" }{TEXT -1 12 " as follows." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 17 "We can calculate " } {XPPEDIT 18 0 "s[64];" "6#&%\"sG6#\"#k" }{TEXT -1 12 " as follows." }} {PARA 0 "" 0 "" {TEXT -1 0 "" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 80 "t := 2:\nn := 3:\nfor k from 1 to n do\n t := 2+sqrt(t);\nend do :\nsqrt(2-sqrt(t));" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#*$-%%sqrtG6#,& \"\"#\"\"\"*$-F%6#,&F(F)*$-F%6#,&F(F)*$-F%6#,&F(F)*$-F%6#F(F)F)F)F)F)F )F)!\"\"F)" }}}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 56 "In order to use this to obtain a numerical estimate for " } {XPPEDIT 18 0 "Pi;" "6#%#PiG" }{TEXT -1 49 " we need to multiply this \+ by 32 and put in a few " }{TEXT 0 5 "evalf" }{TEXT -1 3 "'s." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 104 "t := 2:\nn := 3:\nfor k from 1 to n do\n t := evalf(sqrt(t)+2);\nend \+ do:\nevalf((2^(n+2))*sqrt(2-sqrt(t)));" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#$\"+87LSJ!\"*" }}}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 " " {TEXT -1 33 "To get a more accurate value for " }{XPPEDIT 18 0 "Pi; " "6#%#PiG" }{TEXT -1 26 " we need to do two things:" }}{PARA 15 "" 0 "" {TEXT -1 9 "Increase " }{TEXT 272 1 "n" }{TEXT -1 1 "." }}{PARA 15 "" 0 "" {TEXT -1 61 "Increase the number of digits being used for the \+ computation." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 168 "Digits := 30:\nt := 2:\nn := 22:\nfor k from 1 to n do\n t := evalf(2+sqrt(t));\nend do:\ntemp := evalf((2^(n+2))*sqr t(2-sqrt(t)));\nDigits := 15:\nevalf(temp);\nDigits := 10:" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%%tempG$\"?gGrA//w)y*e`EfTJ!#H" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#$\"0z*e`EfTJ!#9" }}}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 42 "Comparing with the Maple's calculati on of " }{XPPEDIT 18 0 "Pi;" "6#%#PiG" }{TEXT -1 42 " we see that this is correct to 15 digits." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 14 "evalf[15](Pi);" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#$\"0z*e`EfTJ!#9" }}}{PARA 0 "" 0 "" {TEXT -1 0 "" }} {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 1 ";" }}}}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{SECT 1 {PARA 4 "" 0 "" {TEXT -1 5 "Tasks" }}{PARA 0 "" 0 " " {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 29 "(a) Find suitable choic es of " }{TEXT 0 6 "Digits" }{TEXT -1 5 " and " }{TEXT 0 1 "n" }{TEXT -1 48 " to use in the loop of the last section so that " }{XPPEDIT 18 0 "Pi;" "6#%#PiG" }{TEXT -1 31 " is given correct to 20 digits." }} {PARA 0 "" 0 "" {TEXT -1 66 "_________________________________________ _________________________" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}{PARA 0 "" 0 "" {TEXT -1 0 "" } }{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}{PARA 0 "" 0 " " {TEXT -1 66 "_______________________________________________________ ___________" }}{PARA 0 "" 0 "" {TEXT -1 89 "(b) How many sides does th e final approximating polygon for your calculation in (a) have?" }} {PARA 0 "" 0 "" {TEXT -1 65 "_________________________________________ ________________________" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 " " 0 "" {TEXT -1 47 "The final approximating polygon has sides." } }{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 66 "________ __________________________________________________________" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 110 "(c) How can you \+ determine that your value in (a) is correct to 20 digits without using Maple's calculation of " }{XPPEDIT 18 0 "Pi;" "6#%#PiG" }{TEXT -1 1 " ?" }}{PARA 0 "" 0 "" {TEXT -1 65 "____________________________________ _____________________________" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }} {PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 66 "_______________________________________________ ___________________" }}}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{SECT 1 {PARA 0 "" 0 "" {TEXT -1 16 "Code for picture" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 465 "with(plots):\nrt := ev alf(sqrt(0.5)):\npA := [-1,0]:\npB := [1,0]:\npD := [rt,rt]:\npE := [r t,-rt]:\npO := [0,0]:\nlines := plot([[pA,pD],[pO,pD],[pO,pE],[pB,pD], \n[pB,pE],[pA,pB],[pD,pE]],color=black):\ncrcle := implicitplot(x^2+y^ 2=1,x=-1..1,y=-1..1):\ntxt := textplot([[-1.08,0.03,`A`],[1.08,0.03,`B `],\n[0.77,0.77,`D`],[0.77,-0.74,`E`],[-0.07,-0.05,`O`],\n[0.63,-0.05, `C`]]):\ndisplay([crcle,lines,txt],axes=NONE,\n scaling=CONSTRA INED,tickmarks=[0,0],labels=[``,``]);" }}}{PARA 0 "" 0 "" {TEXT -1 0 " " }}}{PARA 0 "" 0 "" {TEXT -1 0 "" }}}{MARK "4 0 0" 0 }{VIEWOPTS 1 1 0 1 1 1803 1 1 1 1 }{PAGENUMBERS 0 1 2 33 1 1 }