# 17.7 Matlab files for "problems" in "applied probability"  (Page 2/3)

 Page 2 / 3

## Npr02_16

```% file npr02_16.m % Data for problem P2-16minvec3 DV = [A|Ac; A;    B;    C; (A&B)|(A&C)|(B&C); A&B&C; A&C; (A&B)-2*(B&C)];DP = [ 1  0.221 0.209 0.112   0.197           0.045  0.062      0];TV = [A|B|C; (A&Bc&Cc)|(Ac&B&Cc)|(Ac&Bc&C)];disp('Call for mincalc')```

## Npr02_17

```% file npr02_17.m % Data for problem P2-17% A = alignment;  B = brake work;  C = headlight minvec3DV = [A|Ac; A&B&C; (A&B)|(A&C)|(B&C); B&C;    A  ];DP = [ 1    0.100      0.325          0.125 0.550];TV = [A&Bc&Cc; Ac&(~(B&C))];disp('Call for mincalc')```

## Npr02_18

```% file npr02_18.m % Date for problem P2-18minvec3 DV = [A|Ac; A&(B|C); Ac; Ac&Bc&Cc];DP = [ 1     0.3     0.6    0.1];TV = [B|C; (((A&B)|(Ac&Bc))&Cc)|(A&C); Ac&(B|Cc)];disp('Call for mincalc')  % Modification % DV = [DV; Ac&B&C; Ac&B];% DP = [DP   0.2     0.3];```

## Npr02_19

```% file npr02_19.m % Data for problem P2-19% A = computer;  B = monitor;  C = printer minvec3DV = [A|Ac; A&B; A&B&Cc; A&C; B&C; (A&Cc)|(Ac&C); ...           (A&Bc)|(Ac&B); (B&Cc)|(Bc&C)];DP = [1 0.49 0.17 0.45 0.39 0.50 0.43 0.43];TV = [A; B; C; (A&B&Cc)|(A&Bc&C)|(Ac&B&C); (A&B)|(A&C)|(B&C); A&B&C];disp('Call for mincalc')```

## Npr02_20

```% file npr02_20.m % Data for problem P2-20minvec3 DV = [A|Ac; A;     B;  A&B&C; A&C; (A&B)|(A&C)|(B&C); B&C - 2*(A&C)];DP = [  1  0.232 0.228 0.045 0.062      0.197            0];TV = [A|B|C; Ac&Bc&C];disp('Call for mincalc') % Modification% DV = [DV; C];% DP = [DP  0.230 ];```

## Npr02_21

```% file npr02_21.m % Data for problem P2-21minvec3 DV = [A|Ac; A;  A&B; A&B&C;  C;  Ac&Cc];DP = [ 1   0.4 0.3  0.25   0.65  0.3 ];TV = [(A&Cc)|(Ac&C); Ac&Bc; A|B; A&Bc];disp('Call for mincalc') % Modification% DV = [DV; Ac&B&Cc; Ac&Bc];% DP = [DP   0.1      0.3 ];```

## Npr02_22

```% file npr02_22.m % Data for problem P2-22minvec3 DV = [A|Ac; A;  A&B; A&B&C;  C;  Ac&Cc];DP = [ 1   0.4 0.5  0.25   0.65  0.3 ];TV = [(A&Cc)|(Ac&C); Ac&Bc; A|B; A&Bc];disp('Call for mincalc') % Modification% DV = [DV; Ac&B&Cc; Ac&Bc];% DP = [DP   0.1      0.3 ];```

## Npr02_23

```% file npr02_23.m % Data for problem P2-23minvec3 DV = [A|Ac; A;  A&C; A&B&C;  C;  Ac&Cc];DP = [ 1   0.4 0.3  0.25   0.65  0.3 ];TV = [(A&Cc)|(Ac&C); Ac&Bc; A|B; A&Bc];disp('Call for mincalc') % Modification% DV = [DV; Ac&B&Cc; Ac&Bc];% DP = [DP   0.1      0.3 ];```

## Npr03_01

```% file npr03_01.m % Data for problem P3-1minvec3 DV = [A|Ac; A;  A&B; B&C; Ac|(B&C); Ac&B&Cc];DP = [ 1   0.55 0.30 0.20   0.55     0.15  ];TV = [Ac&B; B];disp('Call for mincalc')```

## Npr04_04

```% file npr04_04.m % Data for problem P4-4pm = [0.032 0.016 0.376 0.011 0.364 0.073 0.077 0.051];disp('Minterm probabilities for P4-4 are in pm')```

## Npr04_05

```% file npr04_05.m % Data for problem P4-5pm = [0.084 0.196 0.036 0.084 0.085 0.196 0.035 0.084 ...           0.021 0.049 0.009 0.021 0.020 0.049 0.010 0.021]; disp('Minterm probabilities for P4-5 are in pm')```

## Npr04_06

```% file npr04_06.m % Data for problem P4-6pm =  [0.085 0.195 0.035 0.085 0.080 0.200 0.035 0.085 ...         0.020 0.050 0.010 0.020 0.020 0.050 0.015 0.015]; disp('Minterm probabilities for P4-6 are in pm')```

## Mpr05_16

```% file mpr05_16.m % Data for Problem P5-16A = [51 26  7; 42 32 10; 19 54 11; 24 53  7; 27 52  5;      49 19 16; 16 59  9; 47 32  5; 55 17 12; 24 53  7]; B = [27 34  5; 19 43  4; 39 22  5; 38 19  9; 28 33  5;     19 41  6; 37 21  8; 19 42  5; 27 33  6; 39 21  6];disp('Call for oddsdf')```

explain and give four Example hyperbolic function
The denominator of a certain fraction is 9 more than the numerator. If 6 is added to both terms of the fraction, the value of the fraction becomes 2/3. Find the original fraction. 2. The sum of the least and greatest of 3 consecutive integers is 60. What are the valu
1. x + 6 2 -------------- = _ x + 9 + 6 3 x + 6 3 ----------- x -- (cross multiply) x + 15 2 3(x + 6) = 2(x + 15) 3x + 18 = 2x + 30 (-2x from both) x + 18 = 30 (-18 from both) x = 12 Test: 12 + 6 18 2 -------------- = --- = --- 12 + 9 + 6 27 3
Pawel
2. (x) + (x + 2) = 60 2x + 2 = 60 2x = 58 x = 29 29, 30, & 31
Pawel
ok
Ifeanyi
on number 2 question How did you got 2x +2
Ifeanyi
combine like terms. x + x + 2 is same as 2x + 2
Pawel
Mark and Don are planning to sell each of their marble collections at a garage sale. If Don has 1 more than 3 times the number of marbles Mark has, how many does each boy have to sell if the total number of marbles is 113?
Mark = x,. Don = 3x + 1 x + 3x + 1 = 113 4x = 112, x = 28 Mark = 28, Don = 85, 28 + 85 = 113
Pawel
how do I set up the problem?
what is a solution set?
Harshika
find the subring of gaussian integers?
Rofiqul
hello, I am happy to help!
Abdullahi
hi mam
Mark
find the value of 2x=32
divide by 2 on each side of the equal sign to solve for x
corri
X=16
Michael
Want to review on complex number 1.What are complex number 2.How to solve complex number problems.
Beyan
yes i wantt to review
Mark
use the y -intercept and slope to sketch the graph of the equation y=6x
how do we prove the quadratic formular
Darius
hello, if you have a question about Algebra 2. I may be able to help. I am an Algebra 2 Teacher
thank you help me with how to prove the quadratic equation
Seidu
may God blessed u for that. Please I want u to help me in sets.
Opoku
what is math number
4
Trista
x-2y+3z=-3 2x-y+z=7 -x+3y-z=6
can you teacch how to solve that🙏
Mark
Solve for the first variable in one of the equations, then substitute the result into the other equation. Point For: (6111,4111,−411)(6111,4111,-411) Equation Form: x=6111,y=4111,z=−411x=6111,y=4111,z=-411
Brenna
(61/11,41/11,−4/11)
Brenna
x=61/11 y=41/11 z=−4/11 x=61/11 y=41/11 z=-4/11
Brenna
Need help solving this problem (2/7)^-2
x+2y-z=7
Sidiki
what is the coefficient of -4×
-1
Shedrak
the operation * is x * y =x + y/ 1+(x × y) show if the operation is commutative if x × y is not equal to -1
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.
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.
What is the expressiin for seven less than four times the number of nickels
How do i figure this problem out.
how do you translate this in Algebraic Expressions
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)=
. After 3 months on a diet, Lisa had lost 12% of her original weight. She lost 21 pounds. What was Lisa's original weight?
A fair die is tossed 180 times. Find the probability P that the face 6 will appear between 29 and 32 times inclusive

#### Get Jobilize Job Search Mobile App in your pocket Now! By OpenStax By JavaChamp Team By OpenStax By Robert Murphy By OpenStax By Katy Keilers By Yasser Ibrahim By OpenStax By Mistry Bhavesh By OpenStax