Home > Store

Engineering Problem Solving with C, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

Engineering Problem Solving with C, 2nd Edition

Book

  • Sorry, this book is no longer in print.
Not for Sale

About

Features

  • NEW - Expanded coverage of essential features that are needed to write reusable C code are covered, including a new Chapter 7 on C structures and additional coverage of pointers.
    • Students have a complete yet concise reference. Ex.___

  • NEW - Optional chapter devoted to an introduction to object oriented programming and C++.
    • Helps students identify the key differences between C and C++, introduces C++ I/O and classes with applications problems in data filters and simulation. Ex.___

  • Additional end-of-chapter questions.
    • Helps students prepare for exams. Ex.___

  • Includes Etter's proven five-step process for solving engineering and scientific problems. Asks students to: state the problem clearly; describe the input and output information; work a simple example by hand; develop an algorithm and convert it to a computer program; and test the solution with a variety of data.
    • Students develop problem-solving skills applicable to any tool/platform. Ex.___

  • Practical real-world engineering and scientific examples and problems centered around a theme of grand challenges—e.g., prediction of weather, climate, and global change; computerized speech understanding; mapping of the human genome, image processing and simulation.
    • Motivates students with real engineering examples. Ex.___

  • Working, state-of-the-art C programs—showing top-down design and stepwise refinement with the use of decomposition outlines, and pseudocode.
    • Students learn how to write maintainable, well documented code. Ex.___

  • Excellent pedagogy and problems featuring three types of problems (with answers). Includes: Practice! Problems—short answer. Modify! Problems—hands-on experiences with the programs developed in the Problem Solving Applied sections. Chapter End Problems—range from straightforward to longer projects, all related to a variety of engineering applications.
  • Optional discussion of numerical techniques that are commonly used in solving engineering problems—interpolation, linear modeling (regression), numerical integration, root finding, the solution to simultaneous equations, and the concept of a matrix.
  • Optional chapter sections stress good software engineering techniques—readability and documentation, software life cycle, portability, maintenance, modularity, recursion, abstraction, reusability, structured programming, validation, and verification.

Description

  • Copyright 2000
  • Dimensions: 7 X 9-1/4
  • Pages: 600
  • Edition: 2nd
  • Book
  • ISBN-10: 0-13-010930-4
  • ISBN-13: 978-0-13-010930-9

Best-selling author, Delores M. Etter, and computer science and engineering educator co-author, Jeanine A. Ingber, provide an introduction to engineering problem solving using the ANSI C programming language that features the widest variety of real world applications available. The authors employ an easy-to-use, problem-solving methodology to solve a diverse range of problems from areas including electrical, computer, mechanical, civil, chemical, and environmental engineering and computer science. The emphasis on engineering and scientific problem solving remain as an integral part of the text.

  • To develop a consistent methodology for solving engineering problems
  • .

  • To present the fundamental capabilities of C, the language of choice of many practicing engineers and scientists
  • .

  • To illustrate the problem solving process with C through a variety of engineering examples and applications
  • .

  • Introduces the topics of character data and the discussion of C strings early
  • .

  • Adds chapters on: structures and C++ Programming language
  • .

  • Includes a new section of problems for each chapter
  • .

  • Provides new engineering application problems: Simulation, Image Processing, and Complex Number
  • .

  • Offers an Instructor's Resource CD-ROM to supplement text
  • .

  • Companion Website available at www.prenhall.com/etter

Sample Content

Table of Contents



1. Engineering Problem Solving.


2. Simple C Programs.


3. Control Structures and Data Files.


4. Modular Programming with Functions.


5. Arrays and Matrices.


6. An Introduction to Pointers.


7. An Introduction to Structures.


8. An Introduction to C++.


Appendix A: ANSI C Standard Library.


Appendix B: ASCII Character Codes.


Appendix C: Using MATLAB to Plot Data from ASCII Files.


Appendix D: References.


Complete Solutions to Practice! Problems.


Selected Solutions to Modify! Problems.


Selected Solutions to End-of-Chapter Problems.


Index.

Preface

Preface

Engineers use computers to solve a variety of problems ranging from the evaluation of a simple function to solving a system of nonlinear equations. C has become the language of choice of many engineers and scientists not only because it has powerful commands and data structures, but also because it can easily be used for system-level operations. Since C is the language that a new engineer is most likely to encounter in a job, it is a good choice for an introduction to computing for engineers. Therefore, this text was written to introduce engineering problem solving with the following objectives:

  • to develop a consistent methodology for solving engineering problems,
  • to present the fundamental capabilities of C, the language of choice of many practicing engineers and scientists, and
  • to illustrate the problem solving process with C through a variety of engineering examples and applications.

To accomplish these objectives, Chapter 1 presents a five-step process that is used consistently in the rest of the text for solving engineering problems. Chapters 2-7 present the fundamental capabilities of C for solving engineering problems. Chapter 8 is a brief introduction to Object-Oriented Programming using C++. Object-oriented programming is gaining popularity in many fields of engineering and science and is likely to be seen in the workplace. Chapter 8 is intended to familiarize readers with some of the basic object-oriented features of C++. Throughout all these chapters, we present a large number of examples from many different engineering and science disciplines. The solutions to these examples are developed using the five-step process and ANSI C (and ANSI C++ in Chapter 8), the standards developed by the American National Standards Institute.

CHANGES TO THE SECOND EDITION

This second edition is in response to the insightful comments of our readers and reviewers. It includes a reorganization of some topics and the addition of new topics. The second edition moves the discussion of character data up to Chapter 2 and moves the discussion of character strings up to Chapter 5. Two new chapters have been added to the text; a chapter on structures and a chapter introducing the C++ programming language. We have added a new section of problems, titled Exam Practice! to the end of each chapter and have added new end-of-chapter exercises to many of the chapters. New engineering application problems, including simulation, image processing, and complex numbers, have been added to the text, as well as additional numerical techniques, including the Newton-Raphson method and numerical integration using the Trapezoid Rule. New algorithms include the sequential search and the binary search. Our objectives and our approach to engineering problem solving remain the same.

PREREQUISITES

No prior experience with the computer is assumed. The mathematical prerequisites are college algebra and trigonometry. Of course, the initial material can be covered much faster if the student has used other computer languages or software tools.

COURSE STRUCTURE

The material in these chapters was selected to provide the basis for a one-term course in engineering computing. These chapters contain the essential topics of mathematical computations, character data, control structures, functions, arrays, pointers, and structures. Students with background in another computer language should be able to complete this material in less than a semester. A minimal course that provides only an introduction to C can be designed using the nonoptional sections of the text. (Optional sections are indicated in the Contents.) Three ways to use the text, along with the recommended chapter sections, are

  • Introduction to C Many freshman introductory courses introduce the student to several computer tools in addition to an introduction to a language. For these courses, we recommend covering the nonoptional sections of Chapters 1-5. This material introduces students to the fundamental capabilities of C, and they will be able to write substantial programs using mathematical computations, character data, control structures, functions, and arrays.
  • Problem Solving with C In a semester course devoted specifically to teaching students to master the C language, we recommend covering all nonoptional sections of Chapters 1-7. This material covers all the fundamental concepts of the C language, including mathematical computations, character data, control structures, functions, arrays, pointers, and structures.
  • Problem Solving with C and Numerical Techniques Upper-level students or students who are already familiar with other high-level languages will be able to cover the material in this text very quickly. In addition, they will be able to apply the numerical technique material to their other courses. Therefore, we recommend that these students cover all sections of Chapters 1-7, including the optional material.

Many students may be interested in reading about some of the additional object-oriented features found in C++. We recommend that students cover all nonoptional sections of Chapters 1-7 before reading Chapter 8.

PROBLEM-SOLVING METHODOLOGY

The emphasis on engineering and scientific problem solving is an integral part of the text. Chapter 1 introduces a five-step process for solving engineering problems using the computer:

1. State the problem clearly. 2. Describe the input and output information. 3. Work a simple example by hand. 4. Develop an algorithm and convert it to a computer program. 5. Test the solution with a variety of data.

To reinforce the development of problem-solving skills, each of these five steps is clearly identified each time that a complete engineering problem is solved. In addition, top-down design and stepwise refinement are presented with the use of decomposition outlines, pseudocode, and flowcharts.

ENGINEERING AND SCIENTIFIC APPLICATIONS

Throughout the text, emphasis is placed on incorporating real-world engineering and scientific examples and problems. This emphasis is centered around a theme of grand challenges, which include the following:

  • prediction of weather, climate, and global change
  • computerized speech understanding
  • mapping of the human genome
  • improvements in vehicle performance
  • enhanced oil and gas recovery
  • simulation

Each chapter begins with a photograph and a discussion of some aspect of one of these grand challenges that provides a glimpse of some of the exciting and interesting areas in which engineers might work. Later in the chapter, we solve a problem that not only relates to the introductory problem, but also has applications in other problem solutions. The grand challenges are also referenced in many of the other examples and problems.

ANSI C

The statements presented and all programs developed use the C standards developed by the American National Standards Institute. By using ANSI C, students learn to write portable code that can be transferred from one computer platform to another. Many of the capabilities are discussed in the text, and additional ones are discussed in Appendix A.

SOFTWARE ENGINEERING CONCEPTS

Engineers and scientists are expected to develop and implement user-friendly and reusable computer solutions. Learning software engineering techniques is therefore crucial to successfully developing these computer solutions. Readability and documentation are stressed in the development of programs. Additional topics that relate to software engineering issues are discussed throughout the text and include issues such as software life cycle, portability, maintenance, modularity, recursion, abstraction, reusability, structured programming, validation, and verification.

FOUR TYPES OF PROBLEMS

Learning any new skill requires practice at a number of different levels of difficulty. We have developed four types of exercises that are used throughout the text to develop problem-solving skills. The first set of exercises is Practice! problems. These are short-answer questions that relate to the section of material just presented. Most sections are immediately followed by a set of Practice! problems so that students can determine if they are ready to continue to the next section. Complete solutions to all the Practice! problems are included at the end of the text.

The Modify! problems are designed to provide hands-on experiences with the programs developed in the Problem Solving Applied sections. In these sections, we develop a complete C program using the five-step process. The Modify! problems ask students to run the program with different sets of data to test their understanding of how the program works and of the relationships among the engineering variables. These exercises also ask the students to make simple modifications to the program and then run the program to test their changes. Selected solutions to some of the Modify! problems are included at the end of the text.

Each chapter ends with a set of Exam Practice! problems and a set of end-of-chapter problems. The Exam Practice! problems are short-answer questions that relate to the material covered in the chapter. These problems help students determine how well they understand the features of C presented in the chapter. The end-of-chapter problems are new problems that relate to a variety of engineering applications, and the level of difficulty ranges from very straightforward to longer project assignments. Each problem requires that the student develop a complete C program or function. Engineering data sets are included for many of the problems to use in testing. Selected solutions to some of the Exam Practice! and end-of-chapter problems are included at the end of the text.

STUDY AND PROGRAMMING AIDS

Margin notes are used to help the reader not only identify the important concepts, but also to easily locate specific topics. In addition, margin notes are used to identify programming style guidelines and debugging information. Style guidelines show students how to write C programs that incorporate good software discipline; debugging sections help students recognize common errors so that they can avoid them.

The programming style notes are indicated with the margin note ,I>Style, and the debugging notes are indicated with a bug icon. Each Chapter Summary contains a summary of the style notes and debugging notes, plus a list of the Key Terms from the chapter and a C Statement Summary of the new statements to make the book easier to use as a reference. The combined list of these key terms, along with their definitions, is included in a Glossary at the end of the text.

OPTIONAL NUMERICAL TECHNIQUES

Numerical techniques that are commonly used in solving engineering problems are also discussed in optional sections in the chapters, and include interpolation, linear modeling (regression), root finding, numerical integration, and the solution to simultaneous equations. The concept of a matrix is also introduced and then illustrated using a number of examples. All of these topics are presented assuming only a trigonometry and college algebra background.

MATLAB AND VISUALIZATION

The visualization of the information related to a problem and its solution is a critical component in understanding and developing the intuition necessary to be a creative engineer. Therefore, we have included a number of plots of data throughout the text to illustrate the relationships of the information needed to solve specific problems. All the plots were generated using MATLAB, a powerful environment for numerical computations, data analysis, and visualization. We have also included an appendix that shows how to generate a simple plot from data that have been stored in an ASCII data file; this ASCII file could be generated with a word processor or it could be generated by a C program. If a course is planned that will include material on both C and MATLAB, a special package that includes this text and Engineering Problem Solving with MATLAB is available from Prentice Hall.

APPENDICES

To further enhance reference use, the appendices include a number of important topics. Appendix A contains a discussion of the components in the ANSI C Standard Library. Appendix B presents the ASCII character codes. Appendix C shows how to use MATLAB to plot data from ASCII files; this allows students to generate ASCII files with their C programs and to then plot the values using MATLAB. Finally, Appendix D contains a list of references used throughout the text.

INSTRUCTOR'S RESOURCE CD

An Instructor's Resource CD is available, which contains complete solutions to all the Modify! problems and end-of-chapter problems, as well as data files to use with application problems. A complete set of Power Point slides is included to assist the instructor in preparing lecture material.

NONTECHNICAL SKILLS

The engineer of the 21st century needs many skills and capabilities in addition to the technical ones learned in an engineering program. In Chapter 1 we present a brief discussion on some of these nontechnical skills that are so important to engineers. Specifically, we discuss developing both oral and written communications skills, understanding the design/process/manufacture path that takes an idea and leads to a product, working in interdisciplinary teams, understanding the world and its marketplace, the importance of synthesis as well as analysis, and the importance of ethics and other societal concerns in engineering solutions. While this text is devoted primarily to teaching problem solving skills and the C language, we have attempted to tie these other nontechnical topics into many of the problems and discussions in the text.

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020