Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Fibonacci Java

The Fibonacci Sequence is a very popular sequence in Math. The first two numbers in the sequence is 0 and 1. And all the succeeding numbers in the series is derived by adding the previous two numbers before it. For example, the third number in the sequence is derived by adding the first two which is 0 and 1, that equals to 1. The fourth is derived by adding the second and third 1+1 = 2. The fifth number is derived by adding the third and fourth 1+2 =3. And so on. And it is interesting to know that this sequence, which by first impression doesn't make sense, has many application in multiple discipline. For example, some traders who study technical analysis in stocks and other securities has observed that certain patterns in price movements follow the Fibonacci sequence. In software development, particularly in Agile practitioner, they follow task estimation using Fibonacci numbers. There are many more application of this. But this post will try to explore how to generate the Fibonacci series in Java.



This post first appeared on JavaDevNotes, please read the originial post: here

Share the post

Fibonacci Java

×

Subscribe to Javadevnotes

Get updates delivered right to your inbox!

Thank you for your subscription

×