Question 27 – 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.

Answer Posted / kang chuen tat (malaysia - pen

Answer 27 : 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≈2 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between cfm (cubic feet per minute) and scfm (standard cubic feet per minute)?

727


Explain how can you quickly estimate the horsepower of a pump?

627


How can you control the ph level in our cooling water with respect to ammonia contamination?

609


Mention some of the specialized crushing methods?

575


Is there a difference in mtd (mean temperature difference) between 'e' and 'j' (divided flow) type shell and tube heat exchangers?

650






How does a tank-blanketing valve operate?

707


How can you quickly estimate the horsepower of a pump?

658


What are the different ways in which solids can be blended?

636


For what ration of Lengh/Dia. of tank (Jacketed tank), maximum heat transfer area is available?

1619


What kind of concerns is associated with temperature pinch points in condensers?

691


What does the catalytic converter on an automobile really do?

583


what is load and what are the types of load?

1607


What is some common piping materials used to transport slurries?

696


What steps can be taken to avoid stress corrosion cracking (SCC) in steel vessels used for storing anhydrous ammonia?

1704


Name some factors to consider when trying choosing between a dry screw compressor and an oil-flooded screw compressor?

547