Fortran source code, Programming Languages

For this programming assignment, you are to develop a Fortran 90/95/2003 program to automate a useful task. The aim of the assignment is for you to reveal your competence in the Fortran language and ability to write an efficient, well-structured, error-free program. You are encouraged to suggest your own topic and task. As a guideline, the topic should preferably, but not necessarily, be related to science or engineering. The task to be automated should not be too simple or complex. If you wish to propose your own topic and task, it would be more prudent for you to seek approval first before working on it just to be sure that the topic and task chosen are both appropriate for the assignment. Some suggestions of programming tasks/topics that you may like to work on are:

1. Develop a program that finds the equation of a straight line that "best fits" a set of (x, y) data. This equation, called a regression equation, can then be used to predict y for a given value of x.

2. Develop a menu-driven program for calculating beam deflections. Various types of loads and beam boundary conditions are to be considered in order that the program developed is general and useful.

3. Consider a cable suspended from two towers of equal height. When the cable is subjected to self-weight loading only, the cable will sag into a catenary curve. Develop a program to analyze a catenary cable of given span (horizontal distance between towers) and weight per unit length of cable. The analysis includes computing the maximum sag which occurs midway between the two towers, the length of cable required as well as the maximum tension in the cable which occurs at the support point.

4. Develop a program to analyze a plane-truss structure for the deflections and axial forces developed in all members of the truss. The program could be menu-driven to analyze either (1) standard forms or (2) non-standard forms of truss structures under various loads applied at the joints. For the latter, the program should read in data that specify the form and geometry of the non-standard truss structure to be analyzed.

5. Develop a program for finding the solution of a system of linear equations. Any suitable algorithm may be selected as the basis for developing this program.

6. Develop a program to numerically compute the value of a definite integral.  Any suitable algorithm may be selected as the basis for developing this program.

7. Develop a menu-driven program that sorts a list of data. If the data are real, the sort could either be in ascending or descending numerical value order. If the data are character strings, such as names of people, the sort could either be in ascending or descending alphabetical order.

8. Develop a program to determine the roots of a n-th order polynomial function. Note that some roots may be complex conjugates.

9. Develop a program to calculate the statistics of a series of real data, including arithmetic mean, standard deviation, median, the largest and smallest numbers and the range, i.e. the difference between the largest and smallest numbers.

10. A popular method for solving systems of (non-linear) ordinary differential equations is the "Runge-Kutta" method of the fourth order. Write a program to solve a pair of differential equations.

Some of the suggested topics above require you to do some self-study. You may also modify or augment the above suggested tasks to suit your own preference. Your program should be as general as possible in order to be useful. The code developed should be tested to ensure that it executes well and correct with various sets of data.  The code will be assessed on its capability, readability, efficiency, accuracy and whether good programming style has been adopted.

You are to submit a report documenting clearly the objective and the various phases of the top-down program design development process including the pseudocode and/or flowchart of the algorithm chosen. The report should also describe the developed code's capability, features and superiority, as well as any limitations. Test examples are to be provided to demonstrate the use of the software developed, including a description of the input data used and a printout of the results displayed by the program. The file containing the source code of the program developed should also be submitted. The assessment for this assignment will be based on (1) the report, (2) the originality, complexity, usefulness and generality of the programming task/topic chosen, and (3) the Fortran source code.

Posted Date: 2/23/2013 5:41:30 AM | Location : United States







Related Discussions:- Fortran source code, Assignment Help, Ask Question on Fortran source code, Get Answer, Expert's Help, Fortran source code Discussions

Write discussion on Fortran source code
Your posts are moderated
Related Questions
You have been employed by a bounty hunter to create hit list (yes... you better do this right). Create a Hit List program that can records the name, bounty, and difficulty for ten

You are to design and create a new class called SelectCallDataDialog, which opens by clicking browse  buttons for selection of ringtones,  vibrations or leds. Depending on which th

1.) Write a flowchart and program to do the following: A pressure sensor in a cooling system measures the pressure of the refrigerant and is connected to Port -1 of the 8051. If th

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

The following are required for this lesson: Complete the Project "Adding New Payments," which is the Karate Payments that includes the Adding New Payments, Deleting Payments,

Write a program to calculate amount after n number of years by inputting principal at the rate of 8% interest.

Before I describe what you are supposed to do, please remember that this programming assignment is NOT a group project. You are NOT allowed to do this with anyone else's help. This

write a function that raises an integer to a positive integer power. call the function x_to_the_n taking two integer arguments x and n. have the function return a long int, which r

Advantages of visual basic programming language Visual Basic is an exclusive selection language published by Microsoft Company, so programs published in Visible Basic cannot, e

Genetic Diseases Problem Description Many human diseases could be controlled by the knowledge of the gene's structure and pattern. The human gene could be represented by fou