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 |
Question 76 - Let C% be the fractional crystallinity, Rs = density of sample, Ra = density of amorphous form and Rc = density of crystalline form. In a polymer, these unknowns could be related by the equation C% = (Rc / Rs) (Rs - Ra) / (Rc - Ra). (a) Find the equation of Rc as a function of C%, Rs and Ra. (b) Two samples of a polymer, C and D exist. For sample C, C% = 0.513 when Rs = 2.215 unit. For sample D, C% = 0.742 when Rs = 2.144 unit. Both samples C and D have the same values of Ra and Rc. Find the values of Ra and Rc in 6 decimal places.
why is cross over inlet provided in a furnace?
What are the three classes of organic solvents?
What is a good device to use for obtaining viscosity data for a non-newtonian fluid?
What is microstir?
Question 79 - (a) The American Petroleum Institute gravity, or API gravity, is a measure of how heavy or light a petroleum liquid is compared to water. Let SG = specific gravity of petroleum liquid, and V = barrels of crude oil per metric ton. Given the formula for API gravity = 141.5 / SG - 131.5 and V = (API gravity + 131.5) / (141.5 x 0.159), find the relationship of SG as a function of V. (b) An oil barrel is about 159 litres. If a cylinder with diameter d = 50 cm and height h = 50 cm is used to contain the oil, find the volume V of the cylinder in the unit of oil barrel by using the formula V = 3.142 x d x h x d / 4. (c) First reference : 1 cubic metre = 6.2898 oil barrels. Second reference : 1 cubic metre = 6.37 oil barrels. What are the 2 factors that cause the difference in such reference data?
Question 48 - Let a ^ 2 = a x a and a ^ 3 = a x a x a where ^ is power function. Niobium is a metal with a body-centered cubic structure. The length of the unit cell structure is b = 0.3349 nm. (a) Find the volume for a unit cell structure for niobium. (b) There are 2 atoms per unit cell structure of niobium. The metal has a molar mass of 92.9 g / mol. One mole of the metal consists of 6.02 x 10 ^ 23 atoms. Find the mass of niobium per unit cell and the density of niobium.
Question 108 - (a) The correct statement about both the average value of position (<x>) and momentum (<p>) of a 1-dimensional harmonic oscillator wavefunction is <x> = <p> = 1 - x. Find the value of x. (b) The probabilities of finding a particle around points A, B and C in the wavefunction y = f(x) are P(A), P(B) and P(C) respectively. Coordinates are A (3,5), B (4,-10) and C (6,7). Arrange P(A), P(B) and P(C) in term of a < b < c, when | y-coordinate | signifies the probability.
Name some common causes of control valve noise?
Why water is not directly added to sulphuric acid for dilution?
How can I evaluate the thermal relief requirements for double block-in of 98% sulfuric acid?
what is vacuum....?
Civil Engineering (5086)
Mechanical Engineering (4453)
Electrical Engineering (16638)
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)