progs/lecture1.scala
changeset 361 f88b5cec2e5d
parent 360 e45d2890749d
child 364 f1a6fa599d26
--- a/progs/lecture1.scala	Sat Nov 14 00:40:47 2020 +0000
+++ b/progs/lecture1.scala	Sun Nov 15 13:10:43 2020 +0000
@@ -483,16 +483,6 @@
 
 
 
-////////////
-// calculating pi 
-def f(n: BigInt) = BigDecimal(4 * n * n) / BigDecimal(4 * n * n - 1)
-
-2 * (BigInt(1) to BigInt(100000)).map(f).product
-
-(1 to 1000).sum
-(1 to 1000).product
-
-
 // Further Information
 //=====================