Pascal Programs : for scientists and engineers /

Introduction, The purpose of this book is twofold: to help the reader develop a proficiency in the use of Pascal, and to build a library of programs that can be used to solve problems frequently encountered in science and engineering. The programs in this book will prove valuable to the practicing s...

Descripción completa

Detalles Bibliográficos
Formato: Libro
Lenguaje:Spanish
Publicado: Estados Unidos de América : SYBEX, ©1981
Edición:First edition
LEADER 12519nam a2200205 i 4500
008 220712b pn ||||| |||| 00| 0 spa d
020 |a 089588-058-X 
040 |a Sistema de Bibliotecas de la Universidad Tecnológica de Panamá 
245 1 0 |a Pascal Programs :  |b for scientists and engineers /  |c Alan R. Miller 
250 |a First edition 
264 3 1 |b SYBEX,  |c ©1981  |a Estados Unidos de América : 
300 |a xxi, 374 páginas :   |b ilustraciones ;  |c 23 cm 
505 0 |a 1. Evaluation of a Pascal compiler. Introduction. -- Precision and Range of Floating-Point Operations. -- Pascal Program: A Test of the Floating- Point Operations. -- Pascal SIN and COS Functions. -- Pascal Program: Testing the SIN Function. -- Other Pascal Functions. -- External Files. -- A Power-of-10 Function. -- Pascal Program: Calculating Powers of 10. – Summary. -- 2. Mean and standard deviation. Introduction. -- The Mean. -- The Standard Deviation. -- Pascal Program: Mean and Standard Deviation. -- Random Numbers. -- Pascal Function: A Random Number Generator. -- Pascal Program: Evaluation of a Random Number Generator. -- Pascal Function: Gaussian Random Number Generator. -- Pascal Program: Evaluating RANDG. – Summary. -- 3. Vector and Matrix operations. Introduction. -- Scalars and Arrays. – Vectors. – Matrices. -- Pascal Program: Matrix Multiplication. – Determinants. -- Pascal Program: Determinants. -- Inverse Matrices and Matrix Division. – Summary. -- 4. Simultaneous solution of linear equations. Introduction. -- Linear Equations and Simultaneous Equations. -- Solution by Cramer's Rule. -- Pascal Program: A More Elegant Use of Cramer's Rule. -- Solution by Gauss Elimination. -- Pascal Program: The Gauss Elimination Method. -- Solution by Gauss-Jordan Elimination. -- Pascal Program: Gauss-Jordan Elimination. -- Multiple Constant Vectors and Matrix Inversion. -- Pascal Program: Gauss-Jordan Elimination, Version Two. -- III-Conditioned Equations. -- Pascal Program: Solving Hilbert Matrices. -- A Simultaneous Best Fit. -- Pascal Program: The Best Fit Solution. -- Equations with Complex Coefficients. -- Pascal Program: Simultaneous Equations with Complex Coefficients. -- The Gauss-Seidel Iterative Method. -- Pascal Program: The Gauss-Seidel Method. – Summary. -- 5. Development of a curve-fitting program. -- 6. Sorting. Introduction. -- Handling Experimental Data. -- A Bubble Sort. -- Pascal Program: The Bubble Sort and TSTSORT. -- Pascal Procedure: Bubble Sort with SWAP. -- A Shell Sort. -- Pascal Procedure: The Shell-Metzner Sort. -- The Quick Sort. -- Pascal Procedure: A Recursive Quick Sort. -- Pascal Procedure: A Nonrecursive Quick Sort. -- Incorporating Sort into the Curve-Fitting Program. – Summary. -- 7. General least-squares curve fitting. Introduction. -- A Parabolic Curve Fit. -- Pascal Program: Least-Squares Curve Fit for a Parabola. -- Curve Fits for Other Equations. -- Pascal Program: The Matrix Approach to Curve Fitting. -- Pascal Program: Adjusting the Order of the Polynomial. -- Pascal Program: The Heat-Capacity Equation. --Pascal Program: The Vapor Pressure Equation. -- A Three-Variable Equation. -- Pascal Program: An Equation of State for Steam. – Summary. -- 8. Solution of equations by Newton's method. Introduction. -- Formulating Newton's Method. -- Pascal Program: A First Attempt at Newton's Method. -- Pascal Programs: Solving Other Equations. -- Pascal Program: The Vapor Pressure Equation. – Summary. -- 9. Numerical integration. Introduction. -- The Definite Integral. -- The Trapezoidal Rule. -- Pascal Program: The Trapezoidal Rule with User Input for the number of Panels. -- Pascal Program: An Improved Trapezoidal Rule. -- Pascal Program: Trapezoidal Rule with End Correction. -- Pascal Program: Simpson's Integration Method. -- Pascal Program: The Simpson Method with End Correction. -- The Romberg Method. -- Pascal Program: Integration by the Romberg Method. -- Functions that Become Infinite at One Limit. -- Pascal Program: Adjustable Panels for an Infinite Function. – Summary. -- 10. Nonlinear curve-fitting equations. Introduction. -- Linearizing the Rational Function. -- Pascal Program: The Clausing Factor Fitted to the Rational Function. -- Linearizing the Exponential Equation. -- Pascal Program: An Exponential Curve Fit for the Diftusion of Zinc in Copper. -- Direct Solution of the Exponential Equation. -- Pascal Program: A Nonlinearized Exponential Curve Fit. – Summary. -- 11. Advanced applications. Introduction. -- The Normal and Cumulative Distribution Functions. -- The Gaussian Error Function. -- Pascal Program: Evaluating the Gaussian Eror Function Using Simpson's Rule. -- Pascal Program: Evaluating the Gaussian Error Function Using an Infinite Series Expansion. -- The Complement of the Error Function 329. -- Pascal Program: Evaluating the Complement of the Error Function. -- Pascal Program: A Faster Implementation of the Error Function. -- The Gamma Function. -- Pascal Program: Evaluation of the Gamma Function. -- Bessel Functions. -- Pascal Program: Bessel Functions of the First Kind. -- Pascal Program: Bessel Functions of the Second Kind. – Summary. -- Appendix A: Reserved Words and Functions. -- Appendix B: Summary of Pascal. -- Minimum Standard Character Set 355. -- Variable Names. – Numbers. – Comments. – Operations. – Syntax. -- Conditional Statements. -- Iterative Statements. -- Transfer-of-Control Statements. -- Input and Output. -- Data Types. – Bibliography. – Index. 
520 3 |a Introduction, The purpose of this book is twofold: to help the reader develop a proficiency in the use of Pascal, and to build a library of programs that can be used to solve problems frequently encountered in science and engineering. The programs in this book will prove valuable to the practicing scientist or engineer. The material is also suitable for a junior- or senior-level engineering course in numerical methods. The reader should have a working knowledge of an applications language such as Pascal, FORTRAN, or BASIC. In addition, experience with vector operations and with differential and integral calculus will be helpful. The many distinctive features of Pascal lead to clear and elegant programming practices. Two of these features that are particularly valuable in scientific programs are long variable names and block structure. When identifiers such as SUM-X-SQUARED and NO-CHANGE can be utilized in preference to shorter symbols, thee resulting source code is easier to understand. Pascal also offers a greater variety of iterative statements than those supplied in the most common BASIC and FORTRAN compilers. The statem FORI: = 1 TO N DO corresponds to the FOR... NEXT loop in BASIC and DO ... CONTINUE in FORTRAN. In Pascal this statement is complemented by the other iterative constructions WHILE...DO and REPEAT... UNTIL. The major features of Pascal are summarized in Pascal User Manual and Report, by Jensen and Wirth'; additional details can be found in Introduction to Pascal, by Zaks?. However, not all of the features included in the original specification of Pascal have been incorporated into actual Pascal compilers. For example, most Pascal compilers do not allow procedure and function names to be used as parameters to other procedures. (This problem is discussed in Chapter 8 under the heading generalizing Procedure Calls.") On the other hand, several desirable features, omitted from the original definition of Pascal, have been added to commercial Pascal compilers. (Unfortunately, these additions have not been uniformly implemented.) One such feature is the incorporation of the dynamic string type. Another is the inclusion of a random number generator, a feature discussed in Chapter 2. Throughout this work, features common to other high-level languages such as FORTRAN, BASIC, and ALGOL have frequently been utilized in preference to the more elegant techniques of Pascal. For example, arrays are used in prererence to records. Asa consequence, the algorithms presented here can be more easily converted into other languages. The reader who is primarily interested in the Pascal programs developed in this book will have no trouble locating them; the sections that contain programs, procedures, or functions are clearly labeled. However, this book is designed to be read from beginning to end each chapter discusses and develops tools that will be used again in subsequent chapters. The mathematical algorithms of each program are methodically described before the program itself is implemented, and sample output is supplied for most of the programs. The following brief descriptions summarize the contents of each chapter: Chapter 1, Evaluation ofa Pascal Compiler, identifies weak points in several commercial compilers, and supplies programs for testing any Pascal compiler. The results of these tests will be used to select various constants and procedures in later chapters. Also included in Chapter 1 is a discussion of logarithmic, exponential, and trigonometric functions in Pascal. Chapter 2, Mean and Standard Deviation, discusses some basic statistical algorithms and presents a program for implementing them. Procedures for generating-and testingboth uniform and Gaussian random numbers are also given. Chapter 3, Vector and Matrix Operations, summarizes the operations of vector and matrix arithmetic, including dot product, cross product, matrix multiplication, and matrix inversion. Two important programs are developed-one for carrying out matrix multiplication, and another for calculating determinants. Chapter 4, Simultaneous Solution of Linear Equations, presents programs to carry out the algorithms of Cramer's rule, the Gauss elimination method, the Gauss-Jordan elimination method, and the Gauss-Seidel method-all for solving simutaneous equations. In addition, ill-conditioning is studied through a program that generates Hillbert matrices, and a program is developed for solving equations with complex coetcients. Chapter 5, Development of a Curve-Fitting Program, is the first of a series of chapters on curve fitting In a good illustration of top-down program development, a linear least-squares curve-fitting program is written and discussed. The program includes procedures to simulate data, plot curves, compute the fitted cunve, and supply the correlation coefficient. Chapter 6, Sorting. describes and compares several Pascal sorting routines, including two bubble sorts, a Shell sort, and a recursive and nonrecursive quick sort. A sort routine is incorporated into the curve-fitting program of Chapter 5 to enable the program to handle real experimental data. Chapter 7, General Least-Squares Curve Fitting, extends the curve-fitting program to general polynomial equations, and finds curve fits for three examples: heat capacity, vapor pressure, and superheated steam. Chapter 8, Solution of Equations by Newton's Method, presents a series of programs that use Newton's algorithm for finding the roots of an equation. This tool will be used again in Chapter 10 for nonlinear curve fitting. Chapter 9, Numerical Integration, develops programs for three different integration methods-trapezoidal rule, Simpson's rule, and the Romberg method. End correction is also discussed. Simpson's rule will be used in Chapter 11 for evaluating the Gaussian error function. Chapter 10, Nonlinear Curve Fitting Equations, discusses curve-1itting algorithms for the rational function and the exponential function. Two examples are given-the Clausing factor, and the diffusion equation. Chapter 11, Advanced Applications: The Normal Curve, the Gaussian Error Function, the Gamma Function, and the Bessel Function, addresses several advanced topics in programming for mathematical applications. This last chapter summarizes and expands upon a number of the concepts presented earlier in the book. For the reader who is approaching Pascal for the first time, a summary of the syntax, standard functions, and reserved words of Pascal is included in the appendices. It is hoped, however, that the real educational experience of this book will be gained througha careful study of the programs themselves. 
541 1 |a Casimiro Vásquez.  |c D  |d Recibido:1987/10/19.  |e 900114134  |h $25.00. 
900 |a BUT-VE 
942 |c LIBRO 
946 |a 37977  |b Madeline Rivera  |c 37977  |d Madeline Rivera 
999 |c 127408  |d 127408 
952 |0 0  |1 0  |2 ddc  |4 0  |7 3  |8 GEN  |9 158757  |a BUT-VE  |b BUT-VE  |d 2022-06-28  |e D  |g 25.00  |p 900114134  |r 2022-06-28  |t e.1  |w 2022-06-28  |y LIBRO