0% found this document useful (0 votes)
10 views

Readme C

This document provides instructions for running C programs included on a disk that perform numerical analysis. The programs are designed to run on minimally configured computers and only require a C compiler. The programs follow standard C language conventions. When running some programs, the user will be prompted with questions and should respond with "Y" to use the functions embedded in the programs. Larger programs allow inputting data from files or generating extensive output to files to improve efficiency. The programs will prompt the user to select the input and output methods.

Uploaded by

Faby Ledesma
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Readme C

This document provides instructions for running C programs included on a disk that perform numerical analysis. The programs are designed to run on minimally configured computers and only require a C compiler. The programs follow standard C language conventions. When running some programs, the user will be prompted with questions and should respond with "Y" to use the functions embedded in the programs. Larger programs allow inputting data from files or generating extensive output to files to improve efficiency. The programs will prompt the user to select the input and output methods.

Uploaded by

Faby Ledesma
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

NUMERICAL ANALYSIS PROGRAMS IN C

About the Program Disk

This README file gives instructions to the C programs on the disk. These programs are designed to run on a minimally configured computer. Minimal hard disk space plus a C compiler are all that is really needed. All of the programs are given as ASCII files. They can be altered using any editor or word processor that creates a standard ASCII file. These are commonly called a "Text Only" file. To run the programs you must have the appropriate software. The C programs follow recognized standards for the C language. During the execution of some of the programs you will be asked questions of the form:
Has the function F been created in the program Immediately preceding the INPUT procedure?

To run the sample problems you should enter the response Y (for Yes)

since the functions are embedded within the programs. The functions will need to be changed, however, if the programs are modified to solve other problems. Some of the programs require the input of large amounts of data or generate extensive output. To enable the to be run quickly and efficiently, the input data can be placed in data files and the data files read by the program. When the output is likely to be extensive, the programs have been constructed so that it is convenient to place the output directly into an output file. The program will prompt you for the form of the input or output you would like to use. For example, when running the program for Nevilles method, ALGO31.C, using the defined data file ALGO31.DTA for the sample problem, you will first see a screen that states:
Choice of input method: 1. Input entry by entry from the keyboard 2. Input data from a text file 3. Generate data using a function F Choose 1,2, or 3 please

If you choose 1 you will need to enter all the data for the program from the keyboard, and any mistake in a data entry require the program to be rerun. Choosing 2 will lead to the input file ALG031. DTA. Choosing 3 causes the program to ask if the function has been defined. If you answer Y (for Yes), the program will assume that the function has been defined in the program and will use that function to produce the required data. If you answer N (for No), the program will assume that you want to change the function before continuing. Execution will consequently terminate so that the correct function can be entered into the program. Once this has been done, the program can be rerun.

You might also like