Fibonacci Series in Java

Java code written to count and output the Fibonacci sequence.

// Algorithm for Adding Fibonacci Numbers

// @author www.mikestratton.net
public class Fibonacci
{

public static void main(String[] args)
{

int count = 20; // set the number of times the equation runs ** do not exceed 44
int x = 0; int y = 1; // set the initial values to be added
int fib = 0; //  fibonacci number

for (int i = 0; i <= count; i++)
{
fib = x + y;
Read more →

The Evolution of the Geek

Rarely, if ever, do I step outside of the realm of professional and/or educational resources when blogging on MikeStratton.net. That said, I feel that this blog is highly relevant as most believe that computer guys, those that work in the field of Information Technology and Software, are geeks.

The evolution of the geek has been great, indeed. As far as today’s standards are concerned, being a geek is a great way to make a living! That is of course. if you ...

Read more →

Introduction to Logarithms

Video on this page courtesy of The University of Western Australia.
http://www.uwa.edu.au/

Logarithm Defined:

23 = 8
“The base of 2 raised to the power of 3 gives the number 8.”
log8
“What power of the base 2 gives us the number 8?”

Logarithm Sample Problem:

log3 9 = ?
“What power of 3 produces 9″
In other words, how many times do I have to multiply 3 by itself to produce ...

Read more →
Page 1 of 31 12345...»