class7b_matlab_activities

# class7b_matlab_activities - ENGR 195(II Spring 2010 Class...

This preview shows pages 1–2. Sign up to view the full content.

ENGR 195(II) – Spring 2010 Activity 1 Class 7b Activity 1 – Fibonacci Series Generation In this exercise, you and a partner will practice using the while…end statement to generate the Fibonacci Series. Leonardo Fibonacci was an Italian mathematician who lived between 1170-1240. He traveled on business with his father and was exposed to many different mathematical techniques used throughout the world. Fibonacci collected these ideas in books. His writings introduced Arabic numerals into European mathematics. Fibonacci also made significant contributions to mathematics, in number theory and on recursive sequences. He is most famous for the Fibonacci sequence, in which each number is the sum of the previous two, i.e., 0, 1, 1, 2, 3, 5, 8, 13, 21, . . . 1. Open function_header_template.m in the MATLAB editor and re-save as fib_series.m 2. Draw a flowchart (do not use code in your flowchart) to think through how to develop the Fibonacci Series. Test your flowchart for generating the first 10 values of the series.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 2

class7b_matlab_activities - ENGR 195(II Spring 2010 Class...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online