![]() With this series, you will be able to calculate /4 exactly. One of the most well- known and simplest series to calculate is the Gregory- Leibniz Series : There are numerous series today that are used to generate the value of pi. After that, all we would need to do is feed this algorithm into the computer. Now, if we are able to find an infinite series such that the value of ‘S’ in the above equation equals pi, we will have found an algorithm to generate the value of pi. Proof for sum of series (Photo Credit : Peter Hermes Furian/Shutterstock) In case you are confused as to how it can be 1, here is an illustration of the proof: ![]() ![]() In this case, the addition of all terms S amounts to 1. It can be written in short using the symbol ‘sigma’: – An infinite series is an infinite sequence of values that follow a particular rule throughout.Įach term here is multiplied by half of the previous term. In our case, this set of operations is called an infinite series. What is the Algorithm For Our Calculation? And it will keep calculating until we give the instruction to stop. So, this means, if somehow, we are able to figure out this set of instructions that generate the precise value of if it is computed an infinite number of times, then the computer can do the entire calculation by itself. This means that if we are to calculate the value of using a computer, it will have to follow a set of instructions an infinite number of times, since the digits of go on forever. Of course, it wouldn’t be able to stop on its own, since it does not have the ability to make that decision.Īlso, remember that is a number with infinite decimal places. And it follows these sets of instructions until we tell it to stop. It works according to a set of instructions or steps that we feed into it. And a machine doesn’t make decisions on its own as we do. whereas, 22/7 = 3.1428571……).Ĭomputers basically work on algorithms. 22/7 is simply an approximation for, and will only give an accurate value till two decimal places ( = 3.14159265……. He had memorized the value of up to hundreds of digits (see, now that is impressive). ![]() He wasn’t just dividing 22 by 7 in his head. I could have done that!”īut as I grew older, I realized how wrong I was. You just keep dividing 22 by 7 in your head. I remember thinking every time I saw it, “So he wrote hundreds of digits of on the board, that’s easy. It’s the part where Piscine Patel tries and succeeds, to establish the short form of his name to ‘Pi’. Back then, there was a scene in the film that puzzled me every time. The movie ‘Life of Pi’ was released in 2012.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |