← Turbo Pascal Numerical Methods Toolbox for the Macintosh

Turbo Pascal Numerical Methods Toolbox for the Macintosh

From the originals

13 scans

Machine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.

These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.

Image 1

TURBO PASCAL TOOLBOX™ NUMERICAL METHODS

TURBO PASCAL TOOLBOX™ NUMERICAL METHODS A complete collection of Turbo Pascal® routines and programs MACINTOSH™ BORLAND

A purple-and-black software box cover with a Macintosh computer, a keyboard, a mouse, a glowing light beam, clouds, and a halftone portrait labeled BLAISE PASCAL, with the vertical BORLAND wordmark along the right edge.

Reading notes: Portrait caption reads 'BLAISE PASCAL 1623-16' with the end cut off by the card edge; the date span is partly obscured and may be incomplete. Vertical BORLAND wordmark on the right edge is read from the rotated letters and reads bottom to top as BORLAND. Small logo mark at bottom left is not transcribed as text.

Printed product names
Turbo Pascal
Languages
English
PDF page 1

TURBO PASCAL TOOLBOX™ NUMERICAL METHODS

TURBO PASCAL TOOLBOX™ NUMERICAL METHODS A complete collection of Turbo Pascal® routines and programs BLAISE PASCAL 1623-166[illegible] MACINTOSH™ BORLAND B/&/D

A dark cover with a blue-violet border shows a Macintosh computer at left, a portrait of Blaise Pascal on a stamp-like frame over clouds, a glowing light beam striking a keyboard at lower right, and a large vertical magenta Borland logo on the right edge.

Reading notes: Date on Pascal stamp is cut off at the edge, reading partially as 1623-166[illegible]. Small Borland logo at lower left is stylized and its letters are not clearly legible, so transcription there is approximate. Vertical Borland wordmark on the right edge is partly stylized; reading order treated as top to bottom.

Printed product names
Numerical Methods · Turbo Pascal · Borland
Printed dates
1623-166[illegible]
Languages
English
PDF page 2

Borland's No-Nonsense License Statement!

11111 ,ABCAl l•••rit:al ,,,,,,,,, ,,,,,,,,TM Borland's No-Nonsense License Statement! This software is protected by both United States copyright law and international treaty provisions. There- fore, you must treat this software just like a book, with the following single exception. Borland International authorizes you to make archival copies of the software for the sole purpose of backing-up our software and protecting your investment from loss. By saying, "just like a book," Borland means, for example, that this software may be used by any number of people and may be freely moved from one computer location to another, so long as there is no possibility of it being used at one location while it's being used at another. Just like a book that can't be read by two different people in two different places at the same time, neither can the software be used by two differ- ent people in two different places at the same time. (Unless, of course, Borland's copyright has been violated.) Borland International grants you (the licensed owner of the Turbo Pascal Numerical Methods Toolbox) the right to incorporate toolbox routines into your programs. You may distribute your programs that contain Numerical Toolbox routines in executable form without restriction or fee, but you may not give away or sell any part of the actual Numerical Methods Toolbox source code. You are not, of course, res- tricted from distributing your own source code. Sample programs are provided on the Numerical Methods Toolbox diskettes as examples of how to use the various toolbox features. You may edit or modify these sample programs and incorporate them into the programs that you write. Use of these sample programs is governed by the same conditions and res- trictions as outlined in the first paragraph above. WARRANTY With respect to the physical diskette and physical documentation enclosed herein, Borland International, Inc. ("Borland") warrants the same to be free of defects in materials and workmanship for a period of 60 days from the date of purchase. In the event of notification within the warranty period of defects in mate- rial or workmanship, Borland will replace the defective diskette or documentation. If you need to return a product, call the Borland Customer Service Department to obtain a return authorization number. The remedy for breach of this warranty shall be limited to replacement and shall not encompass any other damages, including but not limited to loss of profit, and special, incidental, consequential, or other similar claims. Borland International, Inc. specifically disclaims all other warranties, expressed or implied, including but not limited to implied warranties of merchantability and fitness for a particular purpose with respect to defects in the diskette and documentation, and the program license granted herein in particular, and with- out limiting operation of the program license with respect to any particular application, use, or purpose. In no event shall Borland be liable for any loss of profit or any other commercial damage, including but not limited to special, incidental, consequential or other damages. GOVERNING LAW This statement shall be construed, interpreted, and governed by the laws of the state of California. First Edition Printed in USA 987654321

Reading notes: The supplied copy is a software license statement rather than an advertisement or poster. The header line '11111 ,ABCAl l•••rit:al ,,,,,,,,, ,,,,,,,,TM' appears to be scanning noise and was not treated as copy. The product is named 'Turbo Pascal Numerical Methods Toolbox' in one place and 'Numerical Methods Toolbox' or 'Numerical Toolbox' elsewhere. '60 days' is a warranty period rather than a printed date, so no dates or years were listed. No explicit advertised prices appear in the supplied copy. Transcript is intentionally empty because the exact extracted text is preserved separately; the layout is inferred from the supplied text only.

Printed product names
Turbo Pascal Numerical Methods Toolbox · Numerical Methods Toolbox
Languages
English
PDF page 3

READ ME FIRST

READ ME FIRST In order to provide you with the latest technical information o~ our products, announcements of future updates, and up-to- the-minute information on new products, please complete and return this registration form. Be sure to read the Borland No- Nonsense· License Statement on the other side. Technical Support-To receive telephone technical supporjt, you must be the registered owner of the Borland product. Prompt technical support is available through the Borland Forums on CompuServe; just type GO BOR at any CompuServe prompt. If you need further assistance. write a letter or call Borland and be prepared to give the product name, version number, and the serial number found on the label of your master diskette. The README File-If present on your master diskette, this file contains important information that may not be in the manual. To view this file. simply type README at the command :prompt. Be sure to read this file before you call for technical support. Thank you for completing this product registration card and returnirng it promptly. We want to keep you informed. Name and address must be filled in by the person using the product for the registration form to be valid. (Please print legibly.) Serial#-------------------------'--------- Date Purchased:---'---'--- M D Y Name: ----------------------------------Title:--------------- !Bst first middle initial CompanyName'----------------------+--------------Department ________ Address: ------------------------'---------------Mail Stop: _______ City: ----------------------State: _..,- ______ Zip: ________ Country: ________ Phone#(---------------------~--~--------------- a Work a Home I have read and agree to the terms of the Borland No-Nonsense License Agreement Signature -----------------------------------Date:,___/___/ ___ In order to help us serve your needs, please complete the following: Microcomputer used: 0 IBM PC or compatible Cl Macintosh 0 other ----------'-------------------------- Where did you purchase this program? 0 Borland direct 0 discount retailer Software was bought for: 0 other mail order 0 full-service retailer 0 self 0 company I work for 0 company I own Where will you use this program! 0 at home 0 at work 0 both 0 other Where did you hear about this program! D ad in computer publication D ad in general interest publication 0 other user Nature of business: D finance/real estate/insurance 0 retail/wholesale 0 legal D health 0 published review 0 retailer 0 trade show D computer consulting 0 other consulting 0 software publishing 0 other publishing 0 other------------------- 0 other------------------- D transportation/communication/utilities D mining/construction D governmemt 0 military D professional services D other services Nature of occupation: D computers/electronics manufacturing 0 other manufacturing D education 0 other ___________________ 0 MIS/DP. systems analyst 0 administration D programming D finance/accounting D engineering/scientific D sales/marketing D doctor/lawyer D manufacturing/production 0 other professional 0 purchasing 0 operations D consulting D teacher/trainer 0 clerical 0 student D homemaker 0 retired 0 other-------------- Number of employees at business: 0 1-24 Number of mlcrocomputen at business: 0 1-9 0 25-99 0 100-499 0 10-49 0 500-1999 0 50-249 0 2000-9999 0 250-999 0 more than 9999 0 more than 999 Other Borland products owned: Programming languages 0 Turbo Pascal Turbo Pascal Toolboxes 0 Tutor 0 Database 0 Editor 0 Graphix 0 GameWorks 0 Numerical Methods What other software do you use: 0 Turbo Prolog 0 Turbo Prolog TB 0 Turbo Basic 0 Turbo Basic Database TB 0 Turbo Basic Editor TB 0 Turbo Basic Telecom TB 0 Turbo C 0 spreadsheet 0 languages D database D accounting D word processor 0 communications 0 project management 0 network What hardware peripherals do you use! 0 modem · 0 laser printer D mouse 0 hard disk 0 plotter 0 other peripheral Business Appllcatlons 0 Reflex 0 Reflex Workshop 0 Sprint For the Macintosh 0 Turbo Pascal 0 Reflex 0 SideKick 0 Eureka 0 desktop publishing 0 business graphics 0 CAD/CAM/CAE Utllity Programs: 0 SideKick 0 Traveling Side Kick 0 SuperKey 0 Turbo Lightning 0 Lightning Word Wizard Scientific & Engineering 0 Eureka 0 Other ----------- D RAM-resident utilities 0 games 0 other------------------------- 0 EGAcard D other printer ---------------- BOR0045F

Reading notes: Some OCR-like hyphenation and spacing artifacts in source (e.g., 'supjport', 'returnirng', 'governmemt') may affect exact spelling. Checkbox and form-field layout order is uncertain in the registration section.

Printed product names
Borland · Borland No-Nonsense License Agreement · Turbo Pascal · Turbo Pascal Toolboxes · Turbo Prolog · Turbo Prolog TB · Turbo Basic · Turbo Basic Database TB · Turbo Basic Editor TB · Turbo Basic Telecom TB · Turbo C · Reflex · Reflex Workshop · Sprint · SideKick · Eureka · Traveling Side Kick · SuperKey · Turbo Lightning · Lightning Word Wizard · CompuServe · GameWorks · Tutor · GraphiX · Numerical Methods
Languages
English
PDF page 4

Turbo Pascal Numerical Methods Toolbox

Turbo Pascal Numerical Methods Toolbox Borland's No-Nonsense License Statement! This software is protected by both United States copyright law and international treaty provisions. Therefore, you must treat this software just like a book, with the following single exception. Borland International, Inc. authorizes you to make archival copies of the software for the sole purpose of backing-up our software and protecting your investment from loss. By saying, "just like a book,'' Borland means, for example, that this software may be used by any number of people and may be freely moved from one computer -location to another. so long as there is no possibility of it being used at one location while it's being used at another. just like a book that can't be read by two different people in two different places at the same time, neither can the ~oftware be used by two ·different people in two different places at the same time. (Unless, of course, Borland's copyright has been violated.) Borland International grants you (the licensed owner of the Turbo Pascal Numerical Methods Toolbox) the right to incorporate toolbox routines into your programs. You may distribute your programs that contain Numerital Toolbox routines in executable form without restriction or fee. but you may not give away or sell any part of the actual Numerical Methods Toolbox source code. You are not, of course, restricted from distributing your own source code. Sample programs are provided on the Numerical Methods Toolbox diskettes as examples of how to use the various toolbox features. You may edit or modify these sample programs and incorporate them into the programs that you write. Use of these sample programs is governed by the same conditions and restrictions as outlined in the first paragraph above. WARRANTY With respect to the physical diskette and physical documentation enclosed herein, Borland International, Inc. ("Borland") warrants the same to be free of defects in materials and workmanship for a period of 60 days from the date of purchase. In the event of notification within the warranty period of defects in material or workmanship, Borland will replace the defective Cliskette or documentation. If you need to return a product. call the Borland Customer Service Department to obtain a return authorization number. The remedy for breach of this warranty shall be limited to replacement and shall not encompass any other damages. including but not limited to loss of profit. and special. incidental, consequential, or other similar claims. Borland International. Inc. specifically disclaims all other warranties, expressed or implied. including but not limited to implied warranties of merchantability and fitness for a particular purpose with respect to defects in the diskette and documentation, and fhe program license granted herein in particular. and without limiting operation of the program license with respect to any particular application, use, or purpose. In no . event shall Borland be liable for any loss of profit or any other commercial damage, including but not limited to special, incidental, consequential or other damages. GOVERNING LAW This statement shall be construed, interpreted, and governed by the laws of the state of California. BOR0420 Fold at dotted line. Tape closed. Drop in mail. No postage necessary. 11 11 BUSINESS REPLY MAIL FIRST CLASS l"ERMIT NO. 200 SANTA CRUZ. CA POSTAGE WILL BE PAID BY ADDRESSEE BORLAND INTERNATIONAL 4585 SCOTTS VALLEY DRIVE SCOTTS VALLEY. CALIFORNIA 95066-9987 11.1 ••• 1.1.11 .... 11 ••• 11 .. 1.1 .. 1.1 .. 1 •• 1.1 ••• 1 ... 111 27 NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES

Reading notes: Some characters in the OCR text are garbled (e.g., 'Numerital', 'fhe', 'Cliskette'), and the reply-card fold lines and postal text appear in a jumbled reading order.

Printed product names
Turbo Pascal Numerical Methods Toolbox
Languages
English
PDF page 5

The image is a plain, entirely blank white page with no artwork, layout, or markings visible.

Reading notes: No visible text found on the page; transcript and printed fields left empty.

PDF page 6

BORLAND INTERNATIONAL, INC. 4585 SCOTTS VALLEY DRIVE SCOTTS VALLEY, CALIFORNIA 95066 Copyright © 1987 All Rights Reserved, First Printing, 1987 Printed in U.S.A. 10 9 8 7 6 5 4 3 2 I

Reading notes: Primary heading not identifiable; source appears to be a copyright or imprint page with no advertised content.

Printed dates
1987
Languages
English
PDF page 7

Table of Contents Introduction ............................................................................................................... 1 Toolbox Functions ...................................................................................................... 1 About this Manual ..................................................................................................... 2 On the Distribution Disks ........................................................................................ 3 System Requirements ................................................................................................ 3 Acknowledgements .................................................................................................... 3 Chapter I. ROUTINE BEGINNINGS ................................................................. 5 Using the Toolbox: An Example ............................................................................... 5 The Distribution Disks ............................................................................................. 7 Installation .................................................................................................................. 8 Files on Distribution Disks ...................................................................................... 8 The Graphics Demos ......................................................... :····································· 10 Data Types and Defined Constants ....................................................................... 10 Compiler Directives ................................................................................................. 11 Chapter 2. ROOTS TO EQUATIONS IN ONE VARIABLE .......................... 13 Stopping Criteria ..................................................................................................... 15 Root of a Function Using the Bisection Method (Bisect.pas) ............................. 16 Description .......................................................................................................... 16 User-Defined Function ...................................................................................... 16 Input Parameters ................................................................................................ 16 Output Parameters ............................................................................................. 17

Reading notes: Table of Contents contains some OCR-like artifacts such as stray characters (e.g., ':·····' after The Graphics Demos) and irregular spacing.

Languages
English
PDF page 8

Turbo Pascal Numerical Methods Toolbox

Syntax of the Procedure Call .............................................................................. 17 Comments ............................................................................................................ 17 Sample Program .................................................................................................. 17 Example ........................................................................................................... 18 Root of a Function Using the Newton-Raphson Method (Raphson.pas) ............ 19 Description ........................................................................................................... 19 User-Defined Functions ..................................................................................... 19 Input Parameters ................................................................................................. 19 Output Parameters ............................................................................................. 20 Syntax of the Procedure Call ............................................................................. 20 Comments ........................................................................................................... 20 Sample Program ................................................................................................. 20 Example ........................................................................................................... 21 Root of a Function Using the Secant Method (Secant.pas) ................................ 23 Description .......................................................................................................... 23 User-Defined Function ...................................................................................... 23 Input Parameters ................................................................................................ 23 Output Parameters ............................................................................................. 24 Syntax of the Procedure Call ............................................................................. 24 Comments ........................................................................................................... 24 Sample Program ................................................................................................. 24 Example .......................................................................................................... 25 Real Roots of a Real Polynomial Equation Using the Newton-Horner Method with Deflation (Newtdefl.pas) ............................................................... 26 Description .......................................................................................................... 26 User-Defined Types ........................................................................................... 26 Input Parameters ................................................................................................ 26 Output Parameters ............................................................................................. 27 Syntax of the Procedure Call ............................................................................. 28 Comments ........................................................................................................... 28 Sample Program ................................................................................................. 28 Input Files ...................................................................................................... 28 Example .......................................................................................................... 28 Complex Roots of a Complex Function Using Muller's Method (Muller.pas) ..... 31 Description ........................................................................................................... 31 User-Defined Types ............................................................................................ 31 User-Defined Procedure ..................................................................................... 31 Input Parameters ................................................................................................. 31 Output Parameters ............................................................................................. 32 Syntax of the Procedure Call ............................................................................. 32 Comments ........................................................................................................... 32 Sample Program ................................................................................................. 33 Example .......................................................................................................... 33 Turbo Pascal Numerical Methods Toolbox

Reading notes: Table of contents layout and page numbers are not fully reliable for reading order

Printed product names
Turbo Pascal
Languages
English
PDF page 9

Complex Roots of a Complex Polynomial Using Laguerre's Method and Deflation (Laguerre.pas) ............................................................................... 35 Description .......................................................................................................... 35 User-Defined 'IYPes ............................................................................................ 35 Input Parameters ................................................................................................ 35 Output Parameters ............................................................................................. 36 Syntax of the Procedure Call ............................................................................. 36 Comments ............................................................................................................ 36 Sample Program .................................................................................................. 37 Input Files ...................................................................................................... 37 Example .......................................................................................................... 37 Chapter 3. INTERPOLATION ............................................................................ 39 Polynomial Interpolation Using Lagrange's Method (Lagrange.pas) ................. 41 Description .......................................................................................................... 41 User-Defined Types ............................................................................................ 41 Input Parameters ................................................................................................ 41 Output Parameters ............................................................................................. 42 Syntax of the Procedure Call ............................................................................. 42 Sample Program .................................................................................................. 42 Input Files ...................................................................................................... 42 Example .......................................................................................................... 43 Interpolation Using Newton's Interpolary Divided-Difference Method (Divdi£pas) ............................................................................................................. 45 Description .......................................................................................................... 45 User-Defined 'IYPes ............................................................................................ 45 Input Parameters ................................................................................................ 45 Output Parameters ............................................................................................. 46 Syntax of the Procedure Call ............................................................................. 46 Sample Program .................................................................................................. 46 Input Files ...................................................................................................... 46 Example .......................................................................................................... 46 Free Cubic Spline Interpolation (Cube....Fre.pas) ................................................ 48 Description .......................................................................................................... 48 User-Defined Types ............................................................................................ 48 Input Parameters ................................................................................................ 48 Output Parameters ............................................................................................. 49 Syntax of the Procedure Call ............................................................................. 49 Sample Program .................................................................................................. 49 Input Files ...................................................................................................... 50 Example .......................................................................................................... 50 Clamped Cubic Spline Interpolation (Cube..Cla.pas) ......................................... 53 Description .......................................................................................................... 53 User-Defined Types ............................................................................................ 53 Table of Contents iii

Reading notes: Headline ambiguous: no single primary heading identified; source is a table of contents excerpt Several OCR-damaged words such as 'IYPes', 'Interpolary', 'Divdi£pas' and 'Cube....Fre.pas'

Languages
English
PDF page 10

Input Parameters ................................................................................................ 53 Output Parameters ............................................................................................. 54 Syntax of the Procedure Call ............................................................................. 54 Sample Program ................................................................................................. 55 Input Files ...................................................................................................... 55 Example .......................................................................................................... 55 Chapter 4. NUMERICAL DIFFERENTIATION ............................................ 59 First Differentiation Using Two-Point, Three-Point, or Five-Point Formulas (Deriv.pas) ............................................................................................................... 61 Description ........................................................................................................... 61 User-Defined Types ............................................................................................ 61 Input Parameters ................................................................................................. 61 Output Parameters ............................................................................................. 62 Syntax of the Procedure Call ............................................................................. 62 Comments ........................................................................................................... 62 Sample Program ................................................................................................. 63 Input Files ...................................................................................................... 63 Example .......................................................................................................... 63 Second Differentiation Using Three-Point or Five-Point Formulas (Deriv2.pas) ............................................................................................................ 66 Description .......................................................................................................... 66 User-Defined Types ........................................................................................... 66 Input Parameters ................................................................................................ 66 Output Parameters ............................................................................................. 67 Syntax of the Procedure Call ............................................................................. 67 Comments ........................................................................................................... 67 Sample Program ................................................................................................. 68 Input Files ...................................................................................................... 68 Example .......................................................................................................... 68 Differentiation with a Cubic Spline Interpolant (Interdrv.pas) .......................... 71 Description ........................................................................................................... 71 User-Defined Types ............................................................................................ 71 Input Parameters ................................................................................................. 71 Output Parameters ............................................................................................. 72 Syntax of the Procedure Call ............................................................................. 72 Sample Program ................................................................................................. 72 Input Files ...................................................................................................... 73 Example .......................................................................................................... 73 Differentiation of a User-Defined Function (Derivfn.pas) ................................. 75 Description .......................................................................................................... 75 User-Defined Types ........................................................................................... 75 User-Defined Functions .................................................................................... 75 Input Parameters ................................................................................................ 75 iv Turbo Pascal Numerical Methods Toolbox

Reading notes: Source appears to be a table of contents, so the primary heading is not explicitly printed and headline is null. Some words contain spaced letters from extraction (e.g., 'Deriv.pas', 'Interdrv.pas') that should be verified against the original.

Printed product names
Turbo Pascal Numerical Methods Toolbox
Languages
English
PDF page 11

Output Parameters ............................................................................................. 76 Syntax of the Procedure Call ............................................................................. 76 Comments ............................................................................................................. 76 Sample Program .................................................................................................. 76 Input Files ...................................................................................................... 76 Example .......................................................................................................... 77 Second Differentiation of a User-Defined Function (Deriv2fn.pas) .................. 78 Description .......................................................................................................... 78 User-Defined Types ............................................................................................ 78 User-Defined Function ...................................................................................... 78 Input Parameters ................................................................................................ 78 Output Parameters ............................................................................................. 79 Syntax of the Procedure Call ............................................................................. 79 Comments ............................................................................................................ 79 Sample Program .................................................................................................. 79 Input Files ...................................................................................................... 80 Example .......................................................................................................... 80 Chapter 5. NUMERICAL INTEGRATION ...................................................... 83 Integration Using Simpson's Composite Algorithm (Simpson.pas) .................... 85 Description .......................................................................................................... 85 User-Defined Function ...................................................................................... 85 Input Parameters ................................................................................................ 85 Output Parameters ............................................................................................. 86 Syntax of the Procedure Call ............................................................................. 86 Sample Program .................................................................................................. 86 Example .......................................................................................................... 86 Integration Using the Trapezoid Composite Rule (Trapzoid.pas) ....................... 88 Description .......................................................................................................... 88 User-Defined Function ...................................................................................... 88 Input Parameters ................................................................................................ 88 Output Parameters ............................................................................................. 89 Syntax of the Procedure Call ............................................................................. 89 Sample Program .................................................................................................. 89 Example .......................................................................................................... 89 Integration Using Adaptive Quadrature and Simpson's Rule (Adapsimp.pas) .... 91 Description ........................................................................................................... 91 User-Defined Function .............. ; ....................................................................... 91 Input Parameters ................................................................................................ 91 Output Parameters ............................................................................................. 92 Syntax of the Procedure Call ............................................................................. 92 Comments ............................................................................................................ 92 Sample Program .................................................................................................. 92 Example ........................................................................................................... 93 Table of Contents v

Reading notes: Source is a table of contents with page numbers; no advertised products, prices, or dates are present.

Languages
English