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

  Find the general solutions of the linear system

Find the general solutions of the linear system using the method of elimination.

  Finding work from force vector

A constant force F= -3i + 8j +10k moves an object along a straight line from point (-6, -5, -4) to point (-3, 1, -6). Find the work done if the distance is measured in meters and the magnitude of the force is measured in Newtons.

  Write the english phrase as an algebraic expression

write the English phrase as an algebraic expression. A number decreased by the sum of the number and eight.

  Equation given: 4.5x + 7.7y = 12 solve for x and y

Equation given:  4.5X + 7.7Y = 12 solve for X and Y

  What is the standard deviation of the number of correct ans

A test consists of 810 true or false questions. If the student guesses on each question, what is the standard deviation of the number of correct answers?

  What is the marginal cost

What is the average cost per unit to produe 100 units?

  Write the system in non-matrix form

Calculate whether or not the given point is a solution to the system and write the system in non-matrix form

  What monthly payment will the taylors be required to make

If the loan is to be amortized over 30 yr, what monthly payment will the Taylor's be required to make? (Round your answers to the nearest cent.)

  You have following data on 1 average annual returns of

you have the following data on 1 the average annual returns of the market for the past 5 years and 2 similar

  Explain the five-steps for solving rational equations

Explain the five-steps for solving rational equations. Can any of these steps be eliminated? Can the order of these steps be changed? Would you add any steps to make it easier, or to make it easier to understand?

  Find the relative extrema of h and interpret your results

H = 4.8sin(pi/6)(t-10)+7.6, where domain of t is [0,24], and where t=0 corresponds to 12AM. When is the water level rising and falling? Find the relative extrema of H and interpret your results.

  If a forklift operator is able to load 10 bundles of 2x4s

a sawmill runs for three 4-hour shifts per day. it produces 500 2x4s per hour which are divided into 50 piece bundles

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