Write a matlab program

Assignment Help Mathematics
Reference no: EM13848703

Write a Matlab program to:

1)Using the classical Monte-Carlo method, estimate the value of the following integral:

= ∫0x(1-x)3 dx

Also, estimate the variance, (I), of this estimator. Plot both the estimates as functions

of n, the number of samples generated.

2)Using a normal random generator, you have written previously, estimate the fourth-moment ofX, where is normal with mean 5 and variance 4.

E[(X-µ)4] =∫-∞(x-µ)4fX(x)dx

Plot this estimate as a function of the sample size.

 

 

Reference no: EM13848703

Questions Cloud

Determines maleness in mammals : A black female cat (XBXB) and an orange male cat (X0Y) were mated to each other and produced a male cat that was calico. Which sex chromosomes did this male offspring inherit from its mother and father? Remember that the presence of the Y chromoso..
Calculate the rotational constant b : Calculate the rotational constant B for H2(g)and D2(g)in unite of frequency. Rationalize the trend in rotational constant for these two molecule ,given the differ only in atomic mass.
Inventories are valued at lower-of-cost-or-market using lifo : Inventories are valued at lower-of-cost-or-market using LIFO
How does the irradiation of nuclei in ft-nmr instruments : How does the irradiation of nuclei in FT-NMR instruments differ from irradiation in other types of NMR instruments? What are the advantages of FT-NMR over the other NMR techniques
Write a matlab program : Write a Matlab program to: 1)Using the classical Monte-Carlo method, estimate the value of the following integral: I = ∫01 x(1-x)3 dx Also, estimate the variance, V (I), of this estimator. Plot both the estimates as functions
Make a client server program : Make a Client Server program with following requirements……The server will create a TCP (sockstream) socket.The server will listen on the port 9999. When client connected to the server, the client will get its current time and send to the server.
A sand casting process with a starting : 1) A Batch of 40 good workpieces is to be produced using a sand casting process with a starting material thatcosts $40 a piece. The time it takes to fill the mold is 10 seconds, while the solidification time is 1minute. The casting is removed from th..
Exploring endocrine-circulatory and respiratory systems : Instructions: Your lab report from Part 1along with the Part 2 activity will serve as a guide to answer the questions andto completethe tables for the endocrine, cardiovascular (circulatory), and respiratory systems.
Provide a counterexample to show : Let S be a subset of R.  Provide a counterexample to show that the following statement is false:

Reviews

Write a Review

Mathematics Questions & Answers

  Proof infinite series

Let the sum from n=m to infinity of a_n be a series of real numbers converging to x, and let k be an integer. Then the sum from n=m+k to infinity of a_n-k also converges to x.

  A semicircle and its equation is x2 y2 24y - 3x 17 0 ab

a semicircle and its equation is x2 y2 24y - 3x 17 0.ab is the diameter of the semicircle with equation y7x. find

  How many different varieties of pizza are possible

Suppose you and three friends go to a local pizza parlor. On the menu is a "Make Your Own Pizza" with four ingredients to choose from; onions, sausage, mushrooms, and pepperoni. Your best friend is allergic to mushrooms. How many different varieti..

  How far is it from its starting position

A car travels along a straight road, heading east for 1 h, then traveling for 30 min on another road that leads northeast. If the car has maintained a constant speed of 62 mi/h, how far is it from its starting position? Round your answer to 2 deci..

  Prove the given homomorphism

Prove the given Φ is either a trival homomorphism or 1- 1.

  How many textbooks of each type were sold

A textbook store sold a combined total of physics and biology textbooks in a week. The number of biology textbooks sold was less than the number of physics textbooks sold. How many textbooks of each type were sold?

  How should the company fill the order

The company receives an order for 580 notepads, together with a check for $328. If the order fails to specify the number of each type, how should the company fill the order?

  What is the probability exactly one case is defective

A shipment of 120 computer cases that contains 5 defective cases was sent to an assembly plant. The quality control manager at the assembly plant randomly selects 5 cases and inspects them. What is the probability exactly one case is defective?

  Union and intersection of sets

Describe (in words) two different sets of people containing you as a member. Describe (in words) the complement of each set. Describe what people are not in either the original set or the complement set.

  Write-up in the style of a journals results section

Describe your analysis as per the statistical analysis section of a journal's methodology and perform your analysis and then write-up in the style of a journal's results section

  Which of the following is true about the use of theory

Which of the following is true about the use of theory in counseling? a. Research supports the increased efficacy of certain theoretical approaches with specific mental health conditions. b. Some counseling interventions are proven to be more effecti..

  Find the shortest length of wire needed

A 140 ft tower is located on the side of a mountain that is inclined 32° to the horizontal. A guy wire is to be attached to the top of the tower and anchored at a point 55 ft downhill from the base of the tower. Find the shortest length of wire ne..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd