Programming in MuPAD - Control Structures

Author First name, Last name, Institution

Miroslaw Majewski

Document Type

Book Chapter

Source of Publication

MuPAD Pro Computing Essentials

Publication Date

1-1-2004

Abstract

In the previous chapter we started talking about programming in MuPAD. However, so far we haven't written anything that would deserve to be called a program. Well, perhaps these four lines can be called a program: ; ; ; ; Of course, we cannot do too much with just the assignment operator:= and selected arithmetical operations. In this chapter, I will show you the most important MuPAD control structures. You will learn how to implement decisions in MuPAD programs, how to program iterations and finally how to program situations with multiple choices. This is our goal for the next few pages. Let us begin with decisions.

Publisher

Springer Berlin Heidelberg

First Page

45

Last Page

74

Disciplines

Computer Sciences

Indexed in Scopus

no

Open Access

no

Share

COinS