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 - EXAMPLE 17.1 : By using Excel or other easiest programming pack..

Answer / kangchuentat

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

Post New Answer

More Chemical Engineering Interview Questions

THERMODYNAMIC - EXAMPLE 10.1 : The water is superheated steam at 440 degree Celsius and 17.32 megapascals. Estimate the enthalpy of the steam above. From the steam table for water at 440 degree Celsius, enthalpy of steam, h at 18 megapascals is 3103.7 kilojoules per kilogram and at 16 megapascal is 3062.8 kilojoules per kilogram. Assume that h = mP + c where P is pressure; m and c are constants at fixed temperature with small differences in P.

1 Answers  


What is the difference between coagulation and flocculation in water treatment plant?

1 Answers  


ACCOUNTING AND FINANCIAL ENGINEERING - EXAMPLE 34.7 : An engineering investor purchases a $1000 bond that matures in 25 years. The coupon rate is 8 %. The purchase price is at 95 or 95 % of the par bond value. (a) What is the purchase price of the bond? (b) How much discount is enjoyed by the investor on average each year? (c) Find the income generated from coupon rate each year. (d) Find the overall interet rate or Yield to Maturity (YTM) by using the formula : YTM = [ Answer in (c) + Answer in (b) ] x 200 / [ par bond value + Answer in (a) ].

1 Answers  


FOOD ENGINEERING - QUESTION 23.2 : (a) A dryer reduces the moisture content of 100 kg of a potato product from 80 % to 10 % moisture. Find the mass of the water removed in such drying process. (b) During the drying process, the air is cooled from 80 °C to 71 °C in passing through the dryer. If the latent heat of vaporization corresponding to a saturation temperature of 71 °C is 2331 kJ / kg for water, find the heat energy required to evaporate the water only. (c) Assume potato enters at 24 °C, which is also the ambient air temperature, and leaves at the same temperature as the exit air. The specific heat of potato is 3.43 kJ / (kg °C). Find the minimum heat energy required to raise the temperature of the potatoes. (d) 250 kg of steam at 70 kPa gauge is used to heat 49,800 cubic metre of air to 80 °C, and the air is cooled to 71 °C in passing through the dryer. If the latent heat of steam at 70 kPa gauge is 2283 kJ / kg, find the heat energy in steam. (e) Calculate the efficiency of the dryer based heat input and output, in drying air. Use the formula (Ti - To) / (Ti - Ta) where Ti is the inlet (high) air temperature into the dryer, To is the outlet air temperature from the dryer, and Ta is the ambient air temperature.

1 Answers  


motor vs pump

1 Answers   Inogent Laboratories,






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.

1 Answers  


What are some good strategies for curing tube vibration in shell and tube exchangers?

0 Answers  


What does the catalytic converter on an automobile really do?

0 Answers  


QUANTUM CHEMISTRY AND CHEMICAL ENGINEERING - EXAMPLE 31.1 : As an approximation, let v = Zc / 137 where v is the radial velocity for 1 s electron of an element, c is the speed of light, Z is the atomic number. For gold with Z = 79, find the radial velocity of its 1 s electron, in term of c and percentage of the speed of light. (b) As an approximation, let A x A = 1 - Z x Z / 18769 where A is the ratio of the relativistic and non-relativistic Bohr radius. Find the value of A.

1 Answers  


what is meant by runaway temperature in a reactor?

3 Answers   Cairn,


Explain how can I evaluate the thermal relief requirements for double block-in of 98% sulfuric acid?

0 Answers  


colour of flame is blue as well red. why?

1 Answers   Oxford,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)