Question: ( 3 0 p ) Let A be an n n matrix with non - zero determinant and b be a vector of size n
p Let be an matrix with nonzero determinant and be a vector of size Then, there is only a unique solution vector to linear equation set Assume that all elements of matrix A and vector are independent continuous uniform random variables between and Under this assumption, on the average, what fraction of the elements of would be negative if:
Develop a program where you can use classes MCModel and MCSim as they are developed in IE class. Develop a child class Axb to MCModel that overrides the inherited run and reset methods and simulates the above experiment. Use Monte Carlo simulation to estimate each average fraction and print your results to the console.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
