Tag Archives: Scientific Computing Lab

TM2 – Scientific Computing Lab

Nama : Ryo Hadinata NIM    : 1601250023 04PAW IT-Math Bina Nusantara University from graphics import * import math def function(n): result = ((-1.0)**(n+1)) * (4.0/(2*n-1)) return result def main(): result = 0 win = GraphWin(“Pi Approximation”, 400, 400) Text(Point(100,75), … Continue reading

Posted in Scientific Computing Lab Assignments | Tagged , , | Leave a comment

TM1 – Scientific Computing Lab

Nama : Ryo Hadinata NIM    : 1601250023 04PAW IT-Math Bina Nusantara University Case Study: Write a program that approximates the value of π by summing the terms of this series: 4/1 – 4/3 + 4/5 – 4/7 + 4/9 – … Continue reading

Posted in Scientific Computing Lab Assignments | Tagged , , | Leave a comment