We have to write a program to calculate pi, and i realy have no idea where to start. any ideas would be great.