Skip to main content

BASIC Programming on a Microcomputer

  • Chapter
  • 20 Accesses

Abstract

It is appropriate to consider the question of computer programming from the point of view of the reason for using the computer. In the context of this book, the computer is used to perform a defined mathematical task. Any overall task can be broken down into component tasks and it is preferable to think in terms of some relatively small component task at this stage. For example, suppose that a range of sizes are nominated for reinforcing bar and that it is necessary to calculate the perimeter and sectional area for each bar. Further, suppose that the diameters are given as 10, 12, 14, 16, 18 and 20 mm. The steps to the solution can be written down as:

  1. (1)

    Consider the first diameter D = 10.

  2. (2)

    Solve for perimeter P = π × D and area A = π × D2/4.

  3. (3)

    Repeat for all given bar diameters.

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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Further Reading

  • Albrecht, R. L., Finkel, L. and Brown, J. R. BASIC, John Wiley, New York, 2nd edn., 1978

    Google Scholar 

  • Brainerd, W. S., Goldberg, C. H. and Gross, J. L. Introduction to Computer Programming, Harper and Row, New York, 1979

    Google Scholar 

  • Forsyth, R. The BASIC Idea. An Introduction to Computer Programming, Chapman and Hall, London, 1978

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Copyright information

© 1984 W. H. Mosley and W. J. Spencer

About this chapter

Cite this chapter

Mosley, W.H., Spencer, W.J. (1984). BASIC Programming on a Microcomputer. In: Microcomputer Applications in Structural Engineering. Palgrave, London. https://doi.org/10.1007/978-1-349-17550-5_2

Download citation

  • DOI: https://doi.org/10.1007/978-1-349-17550-5_2

  • Publisher Name: Palgrave, London

  • Print ISBN: 978-0-333-34090-5

  • Online ISBN: 978-1-349-17550-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics