It helps you determine the amount of watts a turbine produces because math is the only way to go
The fraction of shipments that will be accepted is 0.1299.
<h3>
How to calculate the probability?</h3>
Probability of a defective DVD = 0.04
Using Binomial distribution,
Fraction of shipments accepted = Probability of zero defects in sample of 50 = P(X = 0)
= 50C0 * 0.040 * (1 - 0.04)⁵⁰
= 0.96⁵⁰
= 0.1299
Fraction of shipments accepted = Probability of zero or one defects in sample of 50 = P(X = 0) + P(X = 1)
= 50C0 * 0.040 * (1 - 0.04)50-0 + 50C1 * 0.041 * (1 - 0.04)50-1
= 0.9650 + 50 * 0.04 * 0.9649
= 0.4005
Learn more about probability on:
brainly.com/question/24756209
#SPJ1
Answer:
// Python code
username=input("Type your name: ")
desc=input("Describe yourself: ")
f=open('profile.html','w')
html="<html>\n"+\
"<head>\n"+\
"</head>\n"+\
"<body>\n"+\
"<center>\n"+\
"<h1>"+username+"</h1>\n"+\
"</center>\n"+\
"<hr/>\n"+\
desc+"\n"\
"<hr/>\n"+\
"</body>\n"+\
"</html>\n"
f.write(html)
f.close()
Code for profile.html file
<html>
<head>
</head>
<body>
<center>
<h1>Jon Doe</h1>
</center>
<hr/>
A software engineer working at a startup.
<hr/>
</body>
</html>
Explanation:
- Get the name and description of user as an input.
- Write HTML content by opening the file.
- Create and develop the essential HTML syntax.
- Write the information into the HTML file and finally close the file.
- Write the HTML code in the profile.html file.
<span>A batch processing system is the execution of a series of jobs in a program on a computer without manual intervention</span>