Question: Homework 9 InstructionsDEFINE:Write a program that loops through numbers 1 - 1 0 0 0 . Then, check which numbers are part of the Fibonacci
Homework InstructionsDEFINE:Write a program that loops through numbers Then, check which numbers are part of the Fibonacci sequence. Note that the Fibonacci sequence begins with and and then all following items in the sequence are the sum of the two previous items. For example, the first numbers in the sequence are and You should only print out numbers that are part of the Fibonacci sequence do not print out all numbersMEASURE:Is a number part of the Fibonacci sequence?Hint: One way to do this is to check these equations below where n is the number you are checking. If either of these results is a perfect square the result of multiplying a number by itself it is part of the sequence.ANALYZE:How do you make a list of numbers that goes from to IndexingHow do you check if a number is part of the Fibonacci sequence see hint aboveHow do you only print values that are part of the sequence?IMPROVE:Code your solution in MATLAB, making sure that your solution both runs and produces the desired results. Then, turn in a PDF of your code to the DL Dropbox following the naming format: lastNamefirstNameLoopsCode.pdfNote that you can simply copy and paste your code into a program like Microsoft Word and save the file as a PDF or use the publish command to easily generate a PDF of your code. You can not submit images of your code I must be able to copy and paste your code to test it Remember that there is a special folder named Late Labs for anyone who misses the deadline but still wishes to submit their lab. Note that this DropBox also has a date where it will lock, and any assignments submitted here will be subject to a point penalty.Homework Instructions
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
