Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Quality Control Probability Analysis | Section
Python Math Module Essentials: Trigonometry, Logarithms, and Constants - 1769704232288
Seksjon 1. Kapittel 48
single

single

Challenge: Quality Control Probability Analysis

Sveip for å vise menyen

Oppgave

Sveip for å begynne å kode

You work in quality control at a rod manufacturing plant. Your goal is to analyze the quality of rod batches using probability rules and sample statistics.

Union Rule:

P(AB)=P(A)+P(B)P(AB)P(A \cup B) = P(A) + P(B) - P(A \cap B)

Conditional Probability:

P(AB)=P(AB)P(B)P(A \mid B) = \frac{P(A \cap B)}{P(B)}

Sample Statistics:

  • Mean: xˉ=xin\bar{x} = \frac{\sum x_i}{n}
  • Variance: s2=(xixˉ)2ns^2 = \frac{\sum (x_i - \bar{x})^2}{n}
  • Standard Deviation: s=s2s = \sqrt{s^2}

Given Data:

  • Total rods: 100
  • Defective rods: 20
  • Rods longer than 50 cm: 30
  • Defective and long rods: 10
  • Population mean length: 50 cm
  • Population standard deviation: 0.5 cm
  • Sample size: 10 rods

Your task:

  1. Compute the probability that a rod is defective or long (P(DL)P(D \cup L)).
  2. Compute the probability that a rod is defective given it is long (P(DL)P(D \mid L)).
  3. Generate a sample of 10 rod lengths using numpy and compute:
    • Mean.
    • Variance.
    • Standard deviation.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 48
single

single

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

some-alt