Start learning today, and be successful in your academic & professional career. Start Today!

• ## Related Books

 0 answersPost by Mohsin Alibrahim on April 23, 2015What is K ? 1 answerLast reply by: Professor Arash VafanejadMon Feb 10, 2014 9:27 PMPost by Erdem Balikci on February 9, 2014Why ncr stars from "1"?

### Loops

• The objective of this session is to learn about programs using for or while loops.
• We already talked about for and how to use it, in this session we are considering cases that the number of repetitions is not predetermined. By that we mean the condition to end a loop is only satisfied during the execution of the loop itself. The best way to solve such problems is using the while statement.
• The structure of while loop is as follows:
• while condition
• statements
• end

### Loops

Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

• Intro 0:00
• Powerful Force Statement and Determinate 0:11
• Indeterminate Repetition
• Binomial Coefficient 0:50
• For Loop
• Determinate Repetition Using For 3:40
• Indeterminate Repetition Using While
• A Guessing Game 4:12
• Create Steps to Build a Program
• Implement with Syntax in MATLAB
• Fixing Code Error
• Condition and Loop 10:00