Nichols-Assignment-D
.pdf
keyboard_arrow_up
School
University Of Arizona *
*We aren’t endorsed by this school
Course
376
Subject
Mechanical Engineering
Date
Jan 9, 2024
Type
Pages
5
Uploaded by ChancellorRockJaguar38
McKenna Nichols
BME 376: Assignment D
–
Probability Distributions
•
This assignment is focused on probability distributions. All answers should be entered in the
space provided below each question.
•
Type equations (using in-built Word features) and text. Avoid screenshots or images.
•
Upload a completed word document to D2L.
1.
[4 points]
Approximately 12% of the US population smokes cigarettes. A local government
(county) believed their community had a lower smoker rate and commissioned a survey of
400 randomly selected individuals.
What is the probability of observing more than 5 smokers in the sample?
[2 points] Approach A (compute manually i.e., without R)
𝑷(𝒙) = (
𝒏
𝒙
) ?
𝒙
?
𝒏−𝒙
𝑃(1) = (
400
1
) 0.12
1
0.88
400−1
= 3.3871 ∗ 10
−21
𝑃(2) = (
400
2
) 0.12
2
0.88
400−2
= 2.30938 ∗ 10
−22
𝑃(3) = (
400
3
) 0.12
3
0.88
400−3
= 2.09944 ∗ 10
−23
𝑃(4) = (
400
4
) 0.12
4
0.88
400−4
= 2.14715 ∗ 10
−24
𝑃(5) = (
400
5
) 0.12
5
0.88
400−5
= 2.34235 ∗ 10
−25
1 − (𝑃(1) + 𝑃(2) + 𝑃(3) + 𝑃(4) + 𝑃(5)) = 1 − (3.64141 ∗ 10
−21
) = 1
[1 point] Approach B (use R)
# include R commands here
> 1 - pbinom(5, size = 400, p = 0.12)
# paste R outputs here
1
What is the probability of observing less that 60 smokers in the sample?
[1 point] Use R (manual approach not needed)
# include R commands here
> pbinom(59, size = 400, prob = 0.12)
# paste R outputs here
0.9584233
2.
[6 points]
Based on census data, it is estimated that the percentage of individuals with no
high school education/diploma in Southern Arizona is 23%. Suppose we select three
individuals at random from the Southern Arizona community.
What is the probability that none of the three individuals have high school diploma?
[1 point] Approach A (compute manually i.e., without R)
(
3
3
) =
3!
3! ∗ 3!
=
1
6
𝑃(3) = (
3
3
) 0.23
3
0.77
3−3
= 0.012167
[1 point] Approach B (use R)
# include R commands here
> dbinom(3, size = 3, p = 0.23)
# paste R outputs here
0.012167
What is the probability that at least two individuals have
no
high school diploma?
[1 point] Approach A (compute manually i.e., without R)
(
3
1
) =
3!
1! ∗ 3!
= 1
𝑃(3) = (
3
1
) 0.23
1
0.77
3−1
= 0.0136367
[1 point] Approach B (use R)
# include R commands here
> 1 - pbinom(1, size = 3, p = 0.23)
# paste R outputs here
0.134366
What is the probability that all three individuals have high school diploma?
[1 point] Approach A (compute manually i.e., without R)
(
3
0
) =
3!
0! ∗ 3!
= 1
𝑃(3) = (
3
0
) 0.23
0
0.77
3−0
= 0.456533
[1 point] Approach B (use R)
# include R commands here
> dbinom(0, size = 3, p = 0.23)
# paste R outputs here
0.456533
3.
[9 points]
The amount of weight gained during a pregnancy is an important indicator of the
health of the mother as well as the baby. Learn more about the recommended weight gain
during pregnancy and its implications to maternal and infant health
here
.
Based on data from a birth data registry in Yuma County, the amount of weight gained
during pregnancy (in pounds) was approximately normally distributed with a mean of 30.2
pounds and a standard deviation of 13.8 pounds.
What is the probability that a randomly selected mother in Yuma County gained less than 20
pounds
(i.e., less than
recommended
amount of weight gain)?
[2 points] Approach A (compute manually i.e., without R)
𝑍 =
𝑥 − ?
𝜎
𝑍 =
20 − 30.2
13.8
= −0.73
Using the negative Z-table, the probability of this with the above z-score is 0.2327
[1 point] Approach B (use R)
# include R commands here
> pnorm(q = 20, mean = 30.2, sd = 13.8)
# paste R outputs here
0.2299139
What is the probability that a randomly selected mother in Yuma County gained between 25
to 35 pounds
(i.e., within the recommended range of weight gain)?
[2 points] Approach A (compute manually i.e., without R)
𝑍 =
𝑥 − ?
𝜎
𝑍 =
25−30.2
13.8
= −0.38
(z-table value is 0.3520);
𝑍 =
35−30.2
13.8
= 0.35
(z-table value is 0.6368)
0.6368 − 0.3520 = 0.2848
[1 point] Approach B (use R)
# include R commands here
> small <- pnorm(q = 25, mean = 30.2, sd = 13.8)
> large <- pnorm(q = 35, mean = 30.2, sd = 13.8)
> large - small
# paste R outputs here
0.282858
What is the probability that a randomly selected mother in Yuma County gained more than
40 pounds
(i.e., more the recommended amount of weight gain)?
[2 points] Approach A (compute manually i.e., without R)
𝑍 =
𝑥 − ?
𝜎
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Motiyo
Add explanation
arrow_forward
What are the answers in given problem
arrow_forward
Answer correctly only. I
arrow_forward
I need help solving this problem.
arrow_forward
11)
arrow_forward
4. Documents business requirements use-case narratives.for only one process
note: please i want Documents like this in pic
arrow_forward
I need the answer as soon as possible
arrow_forward
sample calculations
目
File Edit View Insert Format Data To
100%
$ % .0
.00 12:
fx |
A
1
Variable
Value
Units
diameter
height
m
4
volume
m^3
3
The image above shows a section of a Google sheet. What formula should be written in cell
B4 to calculate the volume of a cylinder with a diameter value in B2 and height in B3?
a) =0.25*PI()*B2^2 * B3
b) =PI()*B2^2 * B3
c) =pi*diameter^2 * height
d) =PI*B2^2 * B3
3 5
arrow_forward
Use MATLAB please make code for this.
arrow_forward
Berserk - Chapter 2- Read Berserk
compressor.
reggienet.illinoisstate.edu
https://reggienet.illinoisstate.edu/access/content/attachment/f6b18576-acf9-...
Hint. Both power-sizing and indexing will be used.
Ć
+
Question 3. The purchase price of a natural gas-fired commercial boiler (capacity X) was $181,000 eight years
ago. Another boiler of the same basic design, except with the capacity 1.42X, is currently being considered for
purchase. If it is purchased, some optional features presently costing $28,000 would be added for your
application. If the cost index was 162 for this type of equipment when the capacity X boiler was purchased and
is 221 now, and the applicable cost capacity factor is 0.8, what is your estimate of the purchase price for the
new boiler?
Hint: Use both indexing and power-sizing methods.
88
Illinois State University: TEC 330 001 FA2022 - Applied Economic Analysis For...
arrow_forward
Can i get help with these questions
arrow_forward
The following tools / resources may be useful for you to complete the assignment:a. Chatgpt (You may use it to learn Matlab coding or any other computer language. An example is given here: https://shareg.pt/mXHGne9 ). Please take note that code generated by chatgpt can be directly copied and pasted.b. Matlabi) Useful cheat sheet (https://n.ethz.ch/~marcokre/download/ML-CheatSheet.pdf)ii) Getting started with Matlab (https://matlabacademy.mathworks.com/en/details/gettingstarted )iii) Getting 30-day Matlab trial license (https://www.mathworks.com/campaigns/products/trials.html ) iv) Polyfit (https://www.mathworks.com/help/matlab/ref/polyfit.html )v) Exponential Fit (https://www.mathworks.com/matlabcentral/answers/91159-how-do-i-fit-an-exponential-curve-to-my-data)c. PlotDigitizer (https://plotdigitizer.sourceforge.net/ ) or a free online app that does not requires installation (https://plotdigitizer.com/app )You may use your own engineering judgement to make any assumptions on any…
arrow_forward
Hello I’m trying to make the graph that you see in the picture, I’m trying the exact copy of that graph using this code but I’m having a hard time doing that. Could you change the code so that it looks like the graph that you see on the picture using MATLAB, please send the code when you are finished.
% Sample data for Diesel and Petrol cars
carPosition = linspace(1, 60, 50); % Assumed positions of cars
% Fix the random seed for reproducibility
rng(45);
% Assumed positions of cars
CO2Diesel = 25 + 5*cos(carPosition/60*2*pi) + randn(1, 50)*5; % Random data for Diesel
CO2Petrol = 20 + 5*sin(carPosition/60*2*pi) + randn(1, 50)*5; % Random data for Petrol
% Fit polynomial curves
pDiesel = polyfit(carPosition, CO2Diesel, 3);
pPetrol = polyfit(carPosition, CO2Petrol, 3);
% Generate points for best fit lines
fitDiesel = polyval(pDiesel, carPosition);
fitPetrol = polyval(pPetrol, carPosition);
% Plotting the data
figure; hold on;
scatter(carPosition, CO2Diesel, 'o', 'MarkerEdgeColor', [1 0.5…
arrow_forward
Engr 215 Matlab
Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value temperatureFahrenheit, write a statement that assigns temperatureCelsius with the equivalent Celsius value.
While the equation is C = 5/9 * (F - 32), as an exercise use two statements, the first of which is "fractionalMultiplier = 5/9;"]
arrow_forward
pls help me to answer this questions
arrow_forward
Hi I need help to make the line change into a different color, I half of the line to be orange and I need the other half of the line towards the end to be purple as shown in the picture. Also I need there be a box saying Diesel, petrol, diesel best fit, petrol best fit. This part is also shown in the graph.
Please use this code and fix it in MATLAB:
% Sample data for Diesel and Petrol cars
carPosition = linspace(1, 60, 50); % Assumed positions of cars
% Fix the random seed for reproducibility
rng(50);
% Assumed positions of cars
CO2Diesel = 25 + 5*cos(carPosition/60*2*pi) + randn(1, 50)*5; % Random data for Diesel
CO2Petrol = 20 + 5*sin(carPosition/60*2*pi) + randn(1, 50)*5; % Random data for Petrol
% Fit polynomial curves
pDiesel = polyfit(carPosition, CO2Diesel, 3);
pPetrol = polyfit(carPosition, CO2Petrol, 3);
% Generate points for best fit lines
fitDiesel = polyval(pDiesel, carPosition);
fitPetrol = polyval(pPetrol, carPosition);
% Combine the best fit lines
combinedFit =…
arrow_forward
2. There were 42 mangoes in each crate. 12 such crates of mangoes were delivered to a factory. 4 mangoes
were rotten and had to be thrown away. The remaining mangoes were packed into boxes of 10 mangoes
each. Write a numerical expression in MATLAB syntax to represent this situation and then find how many
boxes of mangoes were there?
OFocus
4:20 AM
28°C Mostly clear
3/26/2022
LG
CVENUENS
THANOS
BOBBLEHEAD
AMANLANTE A ON CABIA ANn
POCKET
YOP! AVENGES
KEYCHAIN
INFINITY WAR
Handy Fan
THANOS
BOBBLE HEAD
IGENA ERANLIA P COs CA AN
arrow_forward
Hartley Electronics, Inc., in Nashville, producesshort runs of custom airwave scanners for the defense industry.The owner, Janet Hartley, has asked you to reduce inventory byintroducing a kanban system. After several hours of analysis, youdevelop the following data for scanner connectors used in onework cell. How many kanbans do you need for this connector?Daily demand 1,000 connectorsLead time 2 daysSafety stock 12 dayKanban size 500 connectors
arrow_forward
MULTIPLE CHOICE -The answer is one of the options below please solve carefully and circle the correct option Please write clear .
arrow_forward
Scenario
You are assigned a role as a mechanical engineer for a vehicle design manufacturing company. Your
department has a software to perform numerical differentiation and integration. To be able to verify the
results of using the software and validate these results, your department manager has asked you to
analytically perform some tasks to validate the results generated by the software.
Q: is the last two digits of your student Id number. If your number is (20110092) then Q=92.
P: is the last digit of your student Id Number. If your number is (20110092) then P=2,
If that digit equals zero then use P=1. Example: If your number is (20110040) then P=1.
Task 1
Determine the gradient of following functions at the given points:
a) x(t) = (2t7 + P t-2)² + (6vi – 5) when t = 1
5s+7
b) v(s) =
when s = 3
(s²-P)2
c) i(t) = 5(1 – In(2t – 1) )
when t= 1 sec.
d) V(t) =5sin(100nt + 0.2) Volts , find i(t) = 10 × x10-6 dV©)
Ampere when t= 1ms.
dt
e) y(t) = e¬(t-n) sin(Qt + P)
when t = n radian
f)…
arrow_forward
Identify the lines
arrow_forward
Follow the instructions carefully.
arrow_forward
I was going over the equations for the notes in class and I had a thought. Based on the equations in the image, you could get negative propellant mass. So, I coded it in matlab and I got negative mass. How is that possible? I think I used practical values for the velocity and mass ratio and so on. Did I do something wrong?
arrow_forward
PHYS 14 midterms - Word
Carl John Rivas
O X
File
Home
Insert
Design
Layout
References
Mailings
Review
View
Help
O Tell me what you want to do
유 Share
X Cut
P Find
Arial
- 10
A A
Aa -
AaBbCcDdE AaBbCcDdE AaBbCc AaBbCcDc A aBI
自 Copy
abc Replace
Paste
A . aly v A
1 Normal
1 No Spaci. Heading 1
Heading 2
V Format Painter
v abe
X,
Title
A Select
Clipboard
Font
Paragraph
Styles
Editing
A= 2x + 3y
B=-2x + y
4. A lightweight drone (1.00 kg) is launched at 800 m high and moves upward at a constant velocity (while
ignoring the effects of gravity only on the drone). The balloon, when measured at a horizontal distance from
you, is about 1600 m away from you. At the moment when the drone moves, you shoot a bullet (weight =180
g) with an initial velocity of 1009 m/s at a fixed angle a, where sin a=3/5 and cos a= 4/5. (g = 9.8 m/s?) (10
pts each)
a. How long does it take for the bullet to collide with the drone?
b. At what height will the bullet hit it?
Page 1 of 2
542 words
170%
PC
A O 4) 6:51 PM
arrow_forward
I need help with the purple line the line that you see one the graph on the picture needs to be on the graph.
Use this code to add the purple line and make sure it’s crossing the orange line. Please make sure the lines are positioned the same way it is shown on the picture with the graph.
Use this code on MATLAB and add the purple line.
% Sample data for Diesel and Petrol cars
carPosition = linspace(1, 60, 50); % Assumed positions of cars
% Use the 'seed' function instead of 'rng'
seed = 50; % Define your seed here
rand('seed',seed);
% Assumed CO2 emissions for Diesel and Petrol
CO2Diesel = 25 + 5*cos(carPosition/60*2*pi) + randn(1, 50)*5; % Random data for Diesel
CO2Petrol = 20 + 5*sin(carPosition/60*2*pi) + randn(1, 50)*5; % Random data for Petrol
% Fit polynomial curves with a reduced degree of 2
pDiesel = polyfit(carPosition, CO2Diesel, 2);
pPetrol = polyfit(carPosition, CO2Petrol, 2);
% Generate points for best fit lines
fitDiesel = polyval(pDiesel, carPosition);…
arrow_forward
For the air compressor shown in Figure below, the air enters from a large area and
exit from small one, explain why?
Instructions for answering this question: The answer to this questian is required as handwritten where you are
aiso required to add a Handwritten integrity Statement. Pieose follow the below steps:
1 Write on a blank poper your AUM student ID, full name, course code, section and date
2 Write the following integrity statement and sign:
"7 offirm that I have neither given nor received any help on this assessment and that personally compieted it
on my own."
3. Write your onswer to the obove question as required
4. Put your Original Civil ID card or AUM ID card on the poper
5 Toke o picture or scan, and uplood
Important note: if handwritten document is submitted without the integrity stotement including ID (Civil ID or
AUM ID), then the related handwritten question(s) will not be groded.
arrow_forward
Please type out and or diagram Your solution in a way that is easy to read I have bad eyesight
arrow_forward
You are a biomedical engineer working for a small orthopaedic firm that fabricates rectangular shaped fracture
fixation plates from titanium alloy (model = "Ti Fix-It") materials. A recent clinical report documents some problems with the plates
implanted into fractured limbs. Specifically, some plates have become permanently bent while patients are in rehab and doing partial
weight bearing activities.
Your boss asks you to review the technical report that was generated by the previous test engineer (whose job you now have!) and used to
verify the design. The brief report states the following... "Ti Fix-It plates were manufactured from Ti-6Al-4V (grade 5) and machined into
solid 150 mm long beams with a 4 mm thick and 15 mm wide cross section. Each Ti Fix-It plate was loaded in equilibrium in a 4-point bending
test (set-up configuration is provided in drawing below), with an applied load of 1000N. The maximum stress in this set-up was less than the
yield stress for the Ti-6Al-4V…
arrow_forward
Not Ai generated please show all steps
arrow_forward
I need a clear answer by hand, not by keyboard and fast answer within 20 minutes. Thank you | dybala
arrow_forward
I could not figure this problem during lecture please help me solve it! ANSWER ALL OR DO NOT ATTEMPT
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
Related Questions
- I need the answer as soon as possiblearrow_forwardsample calculations 目 File Edit View Insert Format Data To 100% $ % .0 .00 12: fx | A 1 Variable Value Units diameter height m 4 volume m^3 3 The image above shows a section of a Google sheet. What formula should be written in cell B4 to calculate the volume of a cylinder with a diameter value in B2 and height in B3? a) =0.25*PI()*B2^2 * B3 b) =PI()*B2^2 * B3 c) =pi*diameter^2 * height d) =PI*B2^2 * B3 3 5arrow_forwardUse MATLAB please make code for this.arrow_forward
- Berserk - Chapter 2- Read Berserk compressor. reggienet.illinoisstate.edu https://reggienet.illinoisstate.edu/access/content/attachment/f6b18576-acf9-... Hint. Both power-sizing and indexing will be used. Ć + Question 3. The purchase price of a natural gas-fired commercial boiler (capacity X) was $181,000 eight years ago. Another boiler of the same basic design, except with the capacity 1.42X, is currently being considered for purchase. If it is purchased, some optional features presently costing $28,000 would be added for your application. If the cost index was 162 for this type of equipment when the capacity X boiler was purchased and is 221 now, and the applicable cost capacity factor is 0.8, what is your estimate of the purchase price for the new boiler? Hint: Use both indexing and power-sizing methods. 88 Illinois State University: TEC 330 001 FA2022 - Applied Economic Analysis For...arrow_forwardCan i get help with these questionsarrow_forwardThe following tools / resources may be useful for you to complete the assignment:a. Chatgpt (You may use it to learn Matlab coding or any other computer language. An example is given here: https://shareg.pt/mXHGne9 ). Please take note that code generated by chatgpt can be directly copied and pasted.b. Matlabi) Useful cheat sheet (https://n.ethz.ch/~marcokre/download/ML-CheatSheet.pdf)ii) Getting started with Matlab (https://matlabacademy.mathworks.com/en/details/gettingstarted )iii) Getting 30-day Matlab trial license (https://www.mathworks.com/campaigns/products/trials.html ) iv) Polyfit (https://www.mathworks.com/help/matlab/ref/polyfit.html )v) Exponential Fit (https://www.mathworks.com/matlabcentral/answers/91159-how-do-i-fit-an-exponential-curve-to-my-data)c. PlotDigitizer (https://plotdigitizer.sourceforge.net/ ) or a free online app that does not requires installation (https://plotdigitizer.com/app )You may use your own engineering judgement to make any assumptions on any…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY