answersLogoWhite

0


Best Answer

In mathematics, Fibonacci coding is a universal code which encodes positive integers into binary code words

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the Fibonacci code used for?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is Fibonacci heaps algorithm?

fibonacci heap is a heap


Fibbomacci series using recursion shell programming?

Here is a good answer for recursion Fibonacci series. #include <stdio.h> #include <conio.h> long Fibonacci(long n); int main() { long r, n,i; printf("Enter the value of n: "); scanf("%ld",&n); for(i=0;i<=n;i++) { printf(" Fibonacci(%ld)= %ld\n", i,Fibonacci(i)); } getch(); return 0; } long Fibonacci(long n) { if(n==0 n==1) return n; else { return (Fibonacci(n-1)+Fibonacci(n-2)); } } for n=5; Output: Fibonacci(0)=0 Fibonacci(1)=1 Fibonacci(2)=1 Fibonacci(3)=2 Fibonacci(4)=3 Fibonacci(5)=5


Write a program to print the Fibonacci series in php upto input value using recursive function?

The Fibonacci sequence uses recursion to derive answers. It is defined as: F0 = 0 F1 = 1 Fn = F(n - 1) + F(n -2) To have this sequence printed by a php script use the following: function fibonacci($n) { if($n 1) return 1; //F1 else return fibonacci($n - 1) + fibonacci($n - 2); //Fn } This recursive function will print out the Fibonacci number for the integer n. To make it print out all the numbers in a particular set add this to your script. for($i = 0; $i < 15; $i++) { echo fibonacci($i) . "<br />"; } So your final result would look like. <?php function fibonacci($n) { if($n 1) return 1; else return fibonacci($n - 1) + fibonacci($n - 2); } for($i = 0; $i < 15; $i++) { echo fibonacci($i) . "<br />"; } ?>


Write a function to code the Fibonacci series in LISP programming language?

(defun fibo (n) (if (< n 2) n (return (+ (fibo (- n 1)) (fibo (- n 2))))))


How do you write the code for generating Fibonacci search in C programming?

Use a lookup table. The first two elements are 0 and 1 and each subsequent element is the sum of the preceding two elements. The table needn't be very large as there are only 43 Fibonacci numbers in the range 0 to 1 billion. If you need larger numbers, use long doubles.

Related questions

Why did Fibonacci think of the Fibonacci code?

There is the Fibonacci sequence but what is the Fibonacci code?


Is Fibonacci pronounced like 'fibonachi' or 'fibonakki'?

Fibonacci is pronounced 'fibonachi' watch The DaVinci Code a Fibonacci code is one of the clues to the puzzle


The name of the book that has Fibonacci sequence?

"The DaVinci Code" used it as a clue and a code for getting into a special safety box.


What comes after 34 in Fibonacci's code?

Fibonacci sequence adds the previous two numbers to get the next number. 1,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,1597


How did Robert Langdon solve the Fibonacci sequence in The Da Vinci Code?

In The Da Vinci Code, Robert Langdon realized the Fibonacci sequence was the key to solving the cryptex puzzle by recognizing the sequence in the numbers on the Vitruvian Man painting. He used the Fibonacci sequence to determine the correct order of the letters in the password.


Fibonacci sequence code in turbo-C?

turn off your pc.


How is the Fibonacci sequence used today?

The Fibonacci sequence is used in various fields such as mathematics, computer science, and biology. In mathematics, it appears in the analysis of financial markets, algorithms, and number theory. In computer science, it is used in algorithms for searching, sorting, and optimization. In biology, the Fibonacci sequence can be observed in the arrangement of leaves, branches, and petals in plants.


When and how is the Fibonacci Sequence used?

The Fibonacci sequence is used for many calculations in regards to nature. The Fibonacci sequence can help you determine the growth of buds on trees or the growth rate of a starfish.


How do you use Fibonacci in reality?

the Fibonacci numbers are used in describing the spirals in a flower, shells and the like. It is also used in number theory of the golden triangle.


How is Lenardo Fibonacci discoverey used in science?

Your mind will be blown if you search Phi, The golden ratio, or the fibonacci sequence. It has to do with everything.


What math is used in finance?

Fibonacci Numbers/ sequence


Is Fibonacci sequence of numbers used today?

Yes, it is.