
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Hello, please create Python Program for attached question on Probability. Please Only Write Your Code On Paper and provide a photo of this & the result.
* If you can do this, I will definitely give you a thumbs up. Thank you!

Transcribed Image Text:#8. (@.) P(A) – probability that, an ELT was made by Altigauge - 80/=0.8
P (*)
B. Probability that defective ELT was made by Altigauge
P(P) =1= made by Bryant Company 157.
made
1.
mình sang tachiba
Chartair Company St Jodard (
54
PCC)=1=
P(c)
D: defected.
P(1) - probability that an ELT made by Attigauge is defective 41.=004
(
Bryant Company is defective & / = 0.06
Charteur Company is clefective 97.=0.09.
P (B) = 11 =
P (2) = 1/2
Find P (£) = P(A).
P(A)
P(0)- total of defective ELT
P(D)= P(2). P(A) + P(B) · P(B) + P(Ⓡ) · P(C) = (0.04. 0.80)+ (0.06 0.15)+(009,
= 0.0455
P (A) = 0.8.0.04
0.0455
1
0-032
0.0455
2
0.703 70.36

Transcribed Image Text:Python Homework #1 - Baye's Theorem
Question - Make a Python Program That Solves the Following
Probability Problem (Answer to Problem in next picture):
An aircraft emergency locator transmitter (ELT) is a device designed
to transmit a signal in the case of a crash. The Altigauge
Manufacturing Company makes 80% of the ELTS, the Bryant
Company makes 15% of them, and the Chartair Company makes the
other 5%. The ELTS made by Altigauge have a 4% rate of defects, the
Bryant ELTs have a 6% rate of defects, and the Chartair ELTs have a
9% rate of defects (which helps to explain why Chartair has the lowest
market share).
a. If an ELT is randomly selected from the general population of
all ELTS, find the probability that it was made by the Altigauge
Manufacturing Company.
b. If a randomly selected ELT is then tested and is found to be
defective, find the probability that it was made by the Altigauge
Manufacturing Company
* Please Write Your Code on Paper and Do Not Give Typed Text.
(You can give a screenshot of your online code and result, but
please only write the code on Paper). I will make sure to give a
Thumbs Up, if u can do this. Thank you.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 5 steps with 3 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- In Python: So this is part of a large project I am working on but I'm having a hard time finding out how to read from one text file and then correct that information to another or same txt file as well as to do it alphabetically. Any help is appreciated. The code I've added was from a previous project that was similar as to what this one wants. I can't use custom classes and I believe I'm supposed to be opening the bad information file, writing it and corrections to a temp file and then creating a new file with the right information. I'm in a beginner class and we haven't covered anything past lists. Problem #1: How much should I study outside of class? Issue: Your fellow students liked the 2nd version of study hour’s application and want to expand it again by adding the features listed below. Minimum Study Hours per Week per Class Grade 15 A 12…arrow_forwardIn Python Initially, you will prompt the user for the names of two files: one will contain Customer information, and the other will contain Product information, as described below. Sample files are attached (below) to this project so you can download and review them. Some test cases may use other files, which you will not be able to see, so it is important that your program ask the user for the file names, and be able to open and read any file. The Customer Information file will be a csv file, with no header row, in which each line has the following fields, which are separated by commas. Customer_Number Customer_Name Customer_Balance Customer_Password For example, the sample file named customers.csv has several lines, and the first two are: 24155,"Carey, Drew Allison",838.41,Bo7&J 24426,"Butler, Geoffrey Barbara",722.93,Ep5& The Product Information file will be a csv file, with no header row, in which each line has the following fields, which are separated by commas:…arrow_forwardI don't want the code, I only want the flow chart Write a program that simulates a magic square using 3 one dimensional parallel arrays of integer type. Each one of the arrays corresponds to a row of the magic square. The program asks the user to enter the values of the magic square row by row and informs the user if the grid is a magic square or not. Project Specifications Input for this project: Values of the grid (row by row) Output for this project: Whether or not the grid is a magic square Programmer’s full name Project number Project due date Processing Requirements Use the following template to start your project: #include<iostream> using namespace std; // Global constants const int ROWS = 3; // The number of rows in the array const int COLS = 3; // The number of columns in the array const int MIN = 1; // The value of the smallest number const int MAX = 9; // The value of the largest number // Function prototypes bool isMagicSquare(int…arrow_forward
- Use the example exe located here to create the pseudo code or flow chart that would represent the logic of the program. You must use an array to store each student's average. You must use looping (for or while, your choice) where appropriate (there will be many instances). Make sure you follow structured programming principles. Run the exe as much as needed on your computer to see how it works and examine the output file. You can answer most of your questions if you use the example file. There are several ways this can be done but the following must be incorporated. Input: Number of students (min 1, max 10) Number of grades for each student (min 1, max 10) The number of points each assignment is worth Enter each student's grade for each assignment Output: Total possible worth of all assignments At the end, the average for each student (must use array) written to screen At the end, the average for each student (must use array) written to the file StudentAverages.txt (example…arrow_forwardPlease help me with this code. I have no clue how to start and write this assignment. Please give me some hints.arrow_forwardI need unique response. Do not copy anything from other websites and do not use any AI platform to generate answer. If I find this, I'll reduce the rating for sure.arrow_forward
- Choose an aspect of a game or simulation in which strategizing the next move against an opponent or the computer is an essential component. Adapt the concepts of minimax algorithm, alpha-beta pruning, and utility function. A brief description of the game or simulation. A brief description of the search methods which are used. A flowchart detailing the logic of the algorithm(s) implemented. Describe the Python code for this project. This includes any classes needed that are not part of a Python library.arrow_forwardOne of the files is the instructions. One is what I have so far. My question's are: I'm confused about what they mean by holds the following data attributes. Do I write any code for that? ALSO: for list of number of gear teeth values- I'm not sure what they mean by should have a length equal to... etc. How would I write that in python? Thanksarrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education