<< Chapter < Page Chapter >> Page >

Npr05_17

% file npr05_17.m % Data for problem P5-17PG1 = 84/150; PG2 = 66/125;A = [0.61 0.31 0.08      0.50 0.38 0.12     0.23 0.64 0.13      0.29 0.63 0.08     0.32 0.62 0.06      0.58 0.23 0.19     0.19 0.70 0.11      0.56 0.38 0.06     0.65 0.20 0.15      0.29 0.63 0.08]; B = [0.41 0.51 0.08     0.29 0.65 0.06      0.59 0.33 0.08     0.57 0.29 0.14      0.42 0.50 0.08     0.29 0.62 0.09      0.56 0.32 0.12     0.29 0.64 0.08      0.41 0.50 0.09     0.59 0.32 0.09];disp('Call for oddsdp')

Npr06_10

% file npr06_10.m % Data for problem P6-10pm = [ 0.072 0.048 0.018 0.012 0.168 0.112 0.042 0.028 ...        0.062 0.048 0.028 0.010 0.170 0.110 0.040 0.032]; c  = [-5.3 -2.5 2.3 4.2 -3.7]; disp('Minterm probabilities are in pm, coefficients in c')

Npr06_12

% file npr06_12.m % Data for problem P6-12pm = 0.001*[5 7 6 8 9 14 22 33 21 32 50 75 86 129 201 302]; c = [1 1 1 1 0]; disp('Minterm probabilities in pm, coefficients in c')

Npr06_18.m

% file npr06_18.m % Data for problem P6-18cx = [5 17 21 8 15 0];cy = [8 15 12 18 15 12 0];pmx = minprob(0.01*[37 22 38 81 63]);pmy = minprob(0.01*[77 52 23 41 83 58]);disp('Data in cx, cy, pmx, pmy')

Npr07_01

\begin{verbatim} % file npr07_01.m% Data for problem P7-1 T = [1 3 2 3 4 2 1 3 5 2]; pc = 0.01*[ 8 13 6 9 14 11 12 7 11 9]; disp('Data are in T and pc')\end{verbatim}

Npr07_02

% file npr07_02.m % Data for problem P7-2T = [3.5 5.0 3.5 7.5 5.0 5.0 3.5 7.5];pc = 0.01*[10 15 15 20 10 5 10 15];disp('Data are in T, pc')

Npr08_01

% file npr08_01.m % Solution for problem P8-1X = 0:2; Y = 0:2;Pn = [132  24   0; 864 144  6; 1260 216 6];P = Pn/(52*51); disp('Data in Pn, P, X, Y')

Npr08_02

% file npr08_02.m % Solution for problem P8-2X = 0:2; Y = 0:2;Pn = [6 0 0; 18 12 0; 6 12 2];P = Pn/56; disp('Data are in X, Y,Pn, P')

Npr08_03

% file npr08_03.m % Solution for problem  P8-3X = 1:6; Y = 0:6;P0 = zeros(6,7);       % Initialize for i = 1:6            % Calculate rows of Y probabilities    P0(i,1:i+1) = (1/6)*ibinom(i,1/2,0:i); endP = rot90(P0);         % Rotate to orient as on the plane PY = fliplr(sum(P'));  % Reverse to put in normal orderdisp('Answers are in X, Y, P, PY')

Npr08_04

% file npr08_04.m % Solution for problem P8-4X = 2:12; Y = 0:12;PX = (1/36)*[1 2 3 4 5 6 5 4 3 2 1];P0 = zeros(11,13); for i = 1:11    P0(i,1:i+2) = PX(i)*ibinom(i+1,1/2,0:i+1); endP = rot90(P0); PY = fliplr(sum(P'));disp('Answers are in X, Y, PY, P')

Npr08_05

% file npr08_05.m % Data and basic calculations for P8-5PX = (1/36)*[1 2 3 4 5 6 5 4 3 2 1];X = 2:12; Y = 0:12;P0 = zeros(11,13); for i = 1:11  P0(i,1:i+2) = PX(i)*ibinom(i+1,1/6,0:i+1); endP = rot90(P0); PY = fliplr(sum(P'));disp('Answers are in X, Y, P, PY')

Npr08_06

% file  Newprobs/pr08_06.m % Data for problem P8-6 (from Exam 2, 95f)P = [0.0483    0.0357    0.0420    0.0399    0.0441      0.0437    0.0323    0.0380    0.0361    0.0399     0.0713    0.0527    0.0620    0.0609    0.0551      0.0667    0.0493    0.0580    0.0651    0.0589]; X = [-2.3 -0.7 1.1 3.9 5.1]; Y = [ 1.3  2.5 4.1 5.3]; disp('Data are in X, Y, P')

Npr08_07

% file pr08_07.m  (from Exam3, 96s) % Data for problem P8-7X = [-3.1 -0.5  1.2  2.4  3.7 4.9];Y = [-3.8 -2.0  4.1  7.5];P = [ 0.0090    0.0396    0.0594    0.0216    0.0440    0.0203;       0.0495         0    0.1089    0.0528    0.0363    0.0231;      0.0405    0.1320    0.0891    0.0324    0.0297    0.0189;       0.0510    0.0484    0.0726    0.0132         0    0.0077]; disp('Data are in X, Y, P')

Npr08_08

% file Newprobs/pr08_08.m (from Exam 4 96s) % Data for problem P8-8P = [0.0156  0.0191  0.0081  0.0035  0.0091  0.0070  0.0098  0.0056  0.0091  0.0049;      0.0064  0.0204  0.0108  0.0040  0.0054  0.0080  0.0112  0.0064  0.0104  0.0056;     0.0196  0.0256  0.0126  0.0060  0.0156  0.0120  0.0168  0.0096  0.0056  0.0084;      0.0112  0.0182  0.0108  0.0070  0.0182  0.0140  0.0196  0.0012  0.0182  0.0038;     0.0060  0.0260  0.0162  0.0050  0.0160  0.0200  0.0280  0.0060  0.0160  0.0040;      0.0096  0.0056  0.0072  0.0060  0.0256  0.0120  0.0268  0.0096  0.0256  0.0084;     0.0044  0.0134  0.0180  0.0140  0.0234  0.0180  0.0252  0.0244  0.0234  0.0126;      0.0072  0.0017  0.0063  0.0045  0.0167  0.0090  0.0026  0.0172  0.0217  0.0223];  X = 1:2:19; Y = [-5  -3  -1  3  5 9 10 12]; disp('Data are in X, Y, P')

Npr08_09

% file pr08_09.m   (from Exam3 95f) % Data for problem P8-9P = [0.0390    0.0110    0.0050    0.0010    0.0010;      0.0650    0.0700    0.0500    0.0150    0.0100;     0.0310    0.0610    0.1370    0.0510    0.0330;      0.0120    0.0490    0.1630    0.0580    0.0390;     0.0030    0.0090    0.0450    0.0250    0.0170];X = [1 1.5 2 2.5 3];Y = [1 2 3 4 5];disp('Data are in X, Y, P')

Npr09_02

\begin{verbatim} % file Newprobs/npr09_02.m% Data for problem P9-2 P = [0.0589 0.0342 0.0304 0.0456 0.0209;0.0961 0.0556 0.0498 0.0744 0.0341; 0.0682 0.0398 0.0350 0.0528 0.0242;0.0868 0.0504 0.0448 0.0672 0.0308];X = [-3.9 -1.7 1.5 2.8 4.1];Y = [-2 1 2.6 5.1];disp('Data are in X, Y, P') \end{verbatim}

Npr10_16

\begin{verbatim} % file npr10_16.m% Data for problem P10-16 cx = [-2 1 3 0]; pmx = 0.001*[255 25 375 45 108 12 162 18]; cy = [1 3 1 -3]; pmy = minprob(0.01*[32 56 40]); Z = [-1.3 1.2 2.7 3.4 5.8]; PZ = 0.01*[12 24 43 13 8]; disp('Data are in cx, pmx, cy, pmy, Z, PZ')\end{verbatim}

Npr12_10

% file npr12_10.m % Data for problems P12-10, P12_11cx = [-3.3 -1.7 2.3 7.6 -3.4];pmx = 0.0001*[475 725 120 180 1125 1675 280 420 480 720 130 170 1120 1680 270 430];cy = [10 17 20 -10];pmy = 0.01*[6 14 9 21 6 14 9 21];disp('Data are in cx, cy, pmx and pmy')

Npr16_07

\begin{verbatim} % file npr16_07.m% Transition matrix for problem P16-7 P = [0.23 0.32 0.02 0.22 0.21;0.29 0.41 0.10 0.08 0.12; 0.22 0.07 0.31 0.14 0.26;0.32 0.15 0.05 0.33 0.15; 0.08 0.23 0.31 0.09 0.29]; disp('Transition matrix is P')\end{verbatim}

Npr16_09

% file npr16_09.m % Transition matrix for problem P16-9P = [0.2 0.5 0.3  0   0   0   0;      0.6 0.1 0.3  0   0   0   0;     0.2 0.7 0.1  0   0   0   0;      0   0   0  0.6 0.4  0   0;       0   0   0  0.5 0.5  0   0;     0.1 0.3  0  0.2 0.1 0.1 0.2;      0.1 0.2 0.1 0.2 0.2 0.2  0 ]; disp('Transition matrix is P')

Questions & Answers

the art of managing the production, distribution and consumption.
Satangthem Reply
what is economics
Khawar Reply
okk
damfash
marginal utility is the additional satisfaction one derives from consuming additional unit of a good or service.
Fred
It's the allocation of scarce resources.
Fred
marginal utility please?
Dishan
marginal utility is the additional satisfaction one derives from consuming additional unit of a good or service.
Fred
I know the definition, but I don't understand its meaning.
Dishan
what is the must definition of economic please?
Nurudeen
demand lfs
Alpha
Economics is derived from the word Oikonomia which means management of household things. Thus, Economics is a study of household things with the constrains of allocating scare resources.
Dishan
what is Open Market Operation
Adu Reply
dominating middlemen men activities circumstances
Christy Reply
what Equilibrium price
Adji Reply
what is gap
mirwais
who is good with the indifference curve
Dexter
What is diseconomic
Alixe Reply
what are the types of goods
WARIDI
how can price determination be the central problem of micro economics
simon Reply
marginal cost formula
Nandu Reply
you should differentiate the total cost function in order to get marginal cost function then you can get marginal cost from it
boniphace
What about total cost
Foday
ok
Foday
how can price determination be the central problem if micro economics
simon
formula of cross elasticity of demand
Theresia Reply
what is ceteris paribus
Priyanka Reply
what is ceteris parabus
Priyanka
Ceteris paribus - Literally, "other things being equal"; usually used in economics to indicate that all variables except the ones specified are assumed not to change.
Abdullah
What is broker
scor
land is natural resources that is made by nature
scor
What is broker
scor
what is land
kafui
What is broker
scor
land is natural resources that is made by nature
scor
whats poppina nigga turn it up for a minute get it
amarsyaheed Reply
what is this?
Philo
am from nigeria@ pilo
Frank
am from nigeria@ pilo
Frank
so
owusu
what is production possibility frontier
owusu
it's a summary of opportunity cost depicted on a curve.
okhiria
please help me solve this question with the aid of appropriate diagrams explain how each of the following changes will affect the market price and quantity of bread 1. A
Manuela Reply
please l need past question about economics
Prosper Reply
ok let me know some of the questions please.
Effah
ok am not wit some if den nw buh by tommorow I shall get Dem
adepojurafiu
Hi guys can I get Adam Smith's WEALTH OF NATIONS fo sale?
Ukpen
hello I'm Babaisa alhaji Mustapha. I'm studying Economics in the university of Maiduguri
Babaisa
okay
Humaira
my name is faisal Yahaya. i studied economics at Kaduna state university before proceeding to West African union university benin republic for masters
Faisal
Hi guys..I am from Bangladesh..
Mannan
Wat d meaning of management
igwe Reply
disaster management cycle
Gogul Reply
cooperate social responsibility
igwe
Fedric Wilson Taylor also define management as the act of knowing what to do and seeing that it is done in the best and cheapest way
OLANIYI
A soccer field is a rectangle 130 meters wide and 110 meters long. The coach asks players to run from one corner to the other corner diagonally across. What is that distance, to the nearest tenths place.
Kimberly Reply
Jeannette has $5 and $10 bills in her wallet. The number of fives is three more than six times the number of tens. Let t represent the number of tens. Write an expression for the number of fives.
August Reply
What is the expressiin for seven less than four times the number of nickels
Leonardo Reply
How do i figure this problem out.
how do you translate this in Algebraic Expressions
linda Reply
why surface tension is zero at critical temperature
Shanjida
I think if critical temperature denote high temperature then a liquid stats boils that time the water stats to evaporate so some moles of h2o to up and due to high temp the bonding break they have low density so it can be a reason
s.
Need to simplify the expresin. 3/7 (x+y)-1/7 (x-1)=
Crystal Reply
. After 3 months on a diet, Lisa had lost 12% of her original weight. She lost 21 pounds. What was Lisa's original weight?
Chris Reply
Difference between extinct and extici spicies
Amanpreet Reply
A fair die is tossed 180 times. Find the probability P that the face 6 will appear between 29 and 32 times inclusive
Samson Reply

Get the best Algebra and trigonometry course in your pocket!





Source:  OpenStax, Applied probability. OpenStax CNX. Aug 31, 2009 Download for free at http://cnx.org/content/col10708/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Applied probability' conversation and receive update notifications?

Ask