Skip to main content
  • 828 Accesses

Abstract

This chapter presents introductory concepts related to structured programming. Using just a few basic concepts, a computer program can be created to solve many types of engineering problems. Computers process data, so basic types of data are described. A key concept is the use of a variable to represent a value in the computer memory. Scientific computing can be accomplished using structured programming, where basic flow control is used to implement a solution strategy. The three types of flow control introduced are the IF statement, the FOR loop, and the WHILE loop. User-defined functions and strategies for finding errors in programs are considered. This chapter presents the key ideas required for analysis of code used to solve simple numerical problems. Students are expected to be able to interpret simple code and predict the result of running a segment of code. MATLAB syntax is used. MATLAB tutorials are presented in the next chapter.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 89.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Gatzke, E. (2022). Structured Programming. In: Introduction to Modeling and Numerical Methods for Biomedical and Chemical Engineers. Springer, Cham. https://doi.org/10.1007/978-3-030-76449-4_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-76449-4_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-76448-7

  • Online ISBN: 978-3-030-76449-4

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics