Chapter 1. Tutorial 1.2: Creating and interpreting bar charts and pie charts

1.1 Problem Statement

{0.30, 0.35, 0.40, 0.45, 0.50}
rand(0,4)
@color[$colorindex]
{0.70, 0.65, 0.60, 0.55, 0.50}

Series circuits have the components on the same line and if any one fails, the entire circuit does not work (similar to old fashion Christmas lights). Consider the series circuit below with different colored lights. The probability that a bulb fails during the holiday season varies by color with P(failure for red) = $color ; P(failure for green)=0.60; P(failure for blue) = 0.70. Each bulb fails independently of the other bulbs.

1.2 Step 1

questions

Question 1.1

SRixnfqSOLIs+TcomUbMAk1BwdfmdXj2OYfXbZTrQ5ByrqWM0LOV1HKnyQTh8h0EjDfo4ZJjPr7pKot31/QG1ARoeBZN/MCAzflprZILM6opAQkg/vWYkIUg0SYFFxlskmaAC9tmcaw=
Correct.
Incorrect.

Question 1.2

EeTxgFRtu9AMlBDpILBarMNe9U0bSG+/6TGjRkEenhMjamvGATkR5WOaHv+BjU7N6fl08L/KtOa9ZzmoW6zy6e3UoPnwGoBEUYkUCIRQPMfMQLhtU69vHoR0fmiqbZ1YZBYAWA==
Correct.
Incorrect.

Question 1.3

3DZ2QUpfkN3DdZUCIu14Sr2x/J/cI+mzCftQzehyddhnyrKdvvYj0p24wrKJRrC5Aoo1V159xjiIXwxD8lTnGTsaHq/n6M9oecgcoD2iHHLWhrYDsYkT3s0r8Dod67dJ2a8ii4ty8eo=
Correct.
Incorrect.

Question 1.4

Hna8CbohrZLtolHk5SXx6G0SXj10ALtUqjXBnzICdKsiloL6gmw76CjpFwdW6/aqAmyMIRAGHdH//9Z1ApaZi3PEGus9EOnPzjaGfI7bbODSmCIuXkPQDHBpJDa9NUMYj4zNQ2Xfl3brSlnBN8p5OKUDzhs65fyWEC52jpcY01wDn+97R7ZigsCNYOP+5D+vYGbxxjiEuW5pz0tmtcMA+CQLXEzm7LkwHG7SNLyLzku0pLiBBcmRUwfqH3Zh/wGoJncR8qQlWcZ23TI0K34bzc1uJJMkVvPMedD11DHXp9v604M1qnGDdvhrBjmeVyMj3pW798hOq+PvQCoGeZWp0ltJVyUnG/FKCCy1jbA/+bH7SaIcKc3/cJ1+biB+3dR1Gwdqn1fnliCLOArp79PrCmlImrStNzIBfdKyWBKmbdwo8vm01g+cTQmdmHtt23WN+AgUHELvoNa90QasmokDkCmTH+sdft5f
1
Incorrect.
You've got it.

Question 1.5

Clearly, Delta Air Lines is the dominant airline at this airport in terms of number of domestic passengers carried. The other airline with a significantly larger number of passengers than the others is oQDJRdivne41J4Xkq7BnErRiMHc77tF6rmlnqxoBOHDAcYzs3eglju3pwodoXr4wiAqv9A0zfunq2Q0R346+VhhMHxzsSiG0ZBLmskNkAo862/kbaIDgODuPDUs= and the airline shown with the least number is j6KY+Y6Gw1hvasqYUyB7vK40R8OMvaDNvJJMCVNOr1A5NiHuzD8M/u/QR+gKrs4n6PZy+lKEM/wISfgVoAmYR9v/BMGmtQVNwGCnxONEIaBLk+8+fGGL0MVEBpQ=

Note from Adam: We don't have the ability to correctly evaluate the last part of this question. It will need to be re-written.

1
Incorrect.
You've got it.

1.3 Step 2

questions

Question 1.6

A

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranPassengers], ["Southwest Airlines", $SouthwestPassengers],["American Airlines",$AmericanAirlinesPassengers] , ["US Airways", $UsAirwaysPassengers], ["All Others", $AllOthersPassengers ]]]

400px
300px
pie
5

B

[ [ ["Delta Air Lines",$DeltaPassengersDiv2],["AirTran Airways",$AirTranPassengersDiv2], ["Southwest Airlines", $SouthwestPassengers],["American Airlines",$AmericanAirlinesPassengers] , ["US Airways", $UsAirwaysPassengers], ["All Others", $AllOthersPassengers ]]]

400px
300px
pie
5

C

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranPassengersDiv2], ["Southwest Airlines", $SouthwestPassengers],["American Airlines",$AmericanAirlinesPassengers] , ["US Airways", $UsAirwaysPassengers], ["All Others", $AllOthersPassengersDiv2 ]]]

400px
300px
pie
5

D

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranPassengers], ["Southwest Airlines", $SouthwestPassengersMult4],["American Airlines",$AmericanAirlinesPassengersMult4] , ["US Airways", $UsAirwaysPassengersMult4], ["All Others", $AllOthersPassengers ]]]

400px
300px
pie
5
KbnivCfQsjAzheKhXXpxAl6D8i1mfBFFO6dW2IrtPTXAvyZ+A5eQqIypb3muxZqavE4DM8OcRuVE2uC6fMSrj2Tu4r2bOoxAuFZAzJsnzJo6WM5dHFnMFu4l61L6fTVT0bx5t2tykJty97dDYAzO7bxBD/nZ5Gj+3ITN+6oFFdGa6iuJHjAGv+0AGvl6s3AaDuDI3O6O0whZOCSF
1
Incorrect.
You've got it.

Question 1.7

Approximately what percent of all passengers were carried by Delta Airlines?

Y5ecNdDRbdU0Hq+LQNkZUpqP48H8M+faWSJwo41hlagWMJWoWX2W5nCexp6rzzU7k06tOCwgJ6il/3NB4rhyxbGSki1EvKypwAxvcDxbT6YZmYjdl2aEascrRlAB+iM/GNa8qX7DHwnW2blpTuy8b/fEL8FsV4Bz

1
Incorrect.
You've got it.

1.4 Step 3

Question 1.8

A

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranMult2], ["All Others", $AllOthersMult2]]]

400px
300px
pie
5

B

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranPassengersDiv2], ["All Others", $AllOthers2Div2]]]

400px
300px
pie
5

C

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranPassengers], ["All Others", $AllOthers2]]]

400px
300px
pie
5

D

[ [ ["Delta Air Lines",$DeltaPassengers],["AirTran Airways",$AirTranPassengers], ["All Others", $AllOthersPassengers]]]

400px
300px
pie
5
+zjkOHO4hJ/5o4qHbJF2GFGZ2ZrVQ/Msbk21JBvm41uJuaEmiJ5gZ7m4cAHPcmGj/duPKGxdUVNnKhwXCXTa/q+J/okAFJMBAJiDSQE+VVdB1v5cLyI6W+a98faV7SZWU7fmN784BHKHvNPgfuHFKVpfKlhgzAJWe3g0AC6G4kSjNBWoXUN/kkaWf9zxzUJoyL0utejS9hd8OHWmuyrFE3/dFh9AXryEh/lYv5u1hoPKN1i2vRWrzuUxsMciuQ+dtMoAEO23QSWhG5TBYlk8V17WVqXZP/Yc+fTpbaa7J7Cw35Q9gKOpxn3XWKdrTw7ortz8kQgtDGk2Q66mMMUyKqc4petRljE020aaX+pGhEUXVKefZUlTkwKy55LG1pYIgnXK08fswPURGOW7LJ7J9m9orFR4N4KX
1
Incorrect.
You've got it.

Question 1.9

1lBpml26hZz3kuCwx/gVvll7KySLG3djZulTqrsrcb1784Q+OMIkgZzHorKPWM9Cp+lBraYhwkuCMeusbar6KIQpctseXfQnWvZq5a9VV/g6qcbUHnYtPLmH9YrXmRSHGDktO4U06JqSAD0Zg8rT6NMMqM3oe+y0mXjf5ZRZDP1w+JLpIrRQCh7000UbcbbU9XXz83F57WjFyPJ4aDa3s8PbBL0dtKCjenSr7vlXWmQapYVI0qCJk/OO2UZiXZcQVBR7QxbcpqHUqszUi/wQ953wMTML1HT3mt6LsMuz59DKX8ROB08ngYqQe8/E7M95t2R7J/FM0ss=