COMPUTER PROGRAMMING FOR ENGINEERS - EXAMPLE 17.1 : By using Excel or other easiest programming package, explain how I, the integral of sin x dx from 0 to 3.142 could be approximated using random number. Find the exact value of I.
COMPUTER PROGRAMMING FOR ENGINEERS - ANSWER 17.1 : When Excel is used, let column A=RAND() and column B=ASIN(A1). Stretch the columns A and B vertically. The data is transferred to Word, then reinserted into column C and D in order to prevent changes in column A. By using the sort function from the lowest to highest, arrange the data in column C and D, followed by trapezoidal rule performance in column E=0.5*(C1+C2)*(D2-D1). The 2 times summation of values in column E will approximate I gradually as the random numbers used increase. Exact value of I = -2(-1) = 2 units. The answer is given by Kang Chuen Tat; PO Box 6263, Dandenong, Victoria VIC 3175, Australia; SMS +61405421706; chuentat@hotmail.com; http://kangchuentat.wordpress.com.
| Is This Answer Correct ? | 0 Yes | 0 No |
which is the major cement producing state in western India ?
Is there a handy way to determine if a horizontal pipe is running full if the flow rate is known?
As a chemical engineer, which are the subjects to whom more importance should be given....for technical interview.
How can one quickly estimate the additional pressure drop to be introduced with more tube passes?
What is difference between a Flue Gas Analyzer and Exhaust Gas Analyzer ?
What would happen if the suction pressure is low in a boiler feed water pump?
7 Answers CPCL, Kelvin Power Station,
Explain how can you estimate the efficiency of a pump?
i want sample inteview question of chemical engg for BARC
Question 40 - A stream with volumetric flow rate Q enters a cylindrical tank and a stream with volumetric flow rate q exits the tank. The fluid has a constant heat capacity and density. There is no temperature change or chemical reaction occurring in the tank. Develop a model for determining the height of the tank, h. Let V is the volume, A is the cross sectional area, r is the density, m is the mass, where V and A are for the tank, r and m are for the fluid. The rate of mass of fluid accumulation, dm / dt = (Q - q) r. Prove the model to be dh / dt = (Q - q) / A.
What is a good method of minimizing shell side pressure drop in a shell and tube exchanger?
what is difference between open loop system & close loop system by overview.
Can anybody suggest the Methods/Procedures for estimation of oxygen, hydrogen, methane, carbon dioxide, CO, etc. in binary or complex gas mixtures?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)