|
Home Introduction to Software Data Structures System Engineering Database Management System Discrete Mathematics Numerical & Statistical Computing Software Engineering Operation Research Accounting & Finance Computer Architecture Operating Systems Intelligent Systems Relational Database Obejct Oiented Systems
| |
|
Numerical & Statistical Computing |
|
Problems Discussed in this chapter
1. FORTRAN Program for Matrix
Multiplication
|
A Fortran program that reads four natural
numbers m,n,p,q and further reads entries of two matrices A and
B of real numbers, respectively of size m x n and p x q.
Further, the program checks whether the matrix product A x B is
defined. If the product is defined then the program computes the
product matrix, else prints a suitable message.
|
2. FORTRAN Program for Factorial
Calculation
|
Write a FORTRAN Function FACT with one Integer
parameter N, that computes the factorial of N and prints
suitable message.
|
3. FORTRAN Program for Mean, Minimum and
Maximum Calculation
|
Write a FORTRAN subroutine MMM that computes
the mean, the minimum and the maximum of an array A of N real
numbers and prints out the values with suitable messages.
|
4. Draw a Pie Chart
|
5. Probability Calculation
|
In a bolt factory Machines A, B and C
manufacture respectively 25, 35 and 40 percent of the total. Out
of their total output 5, 4 and 2 percent are defective. A bolt
drawn from the procedure at random is found to be defective.
What is the probability that it is manufactured by (i) factory A
(ii) factory C ?
|
6. Binomial Probability Calculation
|
The Probability that a certain kind of
component will survive a given shock test is 2/5. Find the
probability that exactly three of the next five components
tested will survive, using Binomial Distribution.
|
7. Calculation or Correlation Coefficient
|
A computer while calculating correlation
coefficient between 25 pairs of two variables and x and y,
obtained the following constants :
N=25 x = 125 x2 = 650 y = 100 y2 = 460 xy = 508
A recheck showed that the computer has occupied wrongly two
pairs (6,14) and (8,6) of values of (x,y) instead of the correct
values (8,12) and (6,8) respectively. Obtain the correct value
of the correlation coefficient.
|
|
|
| |
|
Links for Web
Developers Web Publishers |
|
|
|
Links from Google |
|
|
|
|
|
|
|
|
|