We read your photo as:

Write Python programs for mineral ore grade analysis, beam load deflection calculation, and road construction cost estimation.

Computer Science

ScanSolve AI Answer

Here is the transcription of the provided image:

Question 2: Mineral Ore Grade Analysis

A mining engineer wants to determine the grade of mineral ore extracted from a mine.

Mathematical Model

Ore Grade:

Ore Grade=Mass of Valuable MineralTotal Mass of Ore×100\text{Ore Grade} = \frac{\text{Mass of Valuable Mineral}}{\text{Total Mass of Ore}} \times 100

Tasks

Write a Python program that:

  1. Accepts:
    • Total mass of ore extracted
    • Mass of valuable mineral obtained
  2. Calculates the ore grade percentage.
  3. Classifies the ore as:
    • High grade
    • Medium grade
    • Low grade
  4. Calculates the average ore grade for seven days of mining operations.
  5. Displays the results in a table format.

Question 3: Beam Load Deflection Calculation

A structural engineer wants to determine the deflection of a beam under load.

Mathematical Model

Maximum deflection of a simply supported beam:

δ=5WL4384EI\delta = \frac{5WL^4}{384EI}

Where:

  • WW = applied load
  • LL = length of beam
  • EE = modulus of elasticity
  • II = moment of inertia

Tasks

Write a Python program that:

  1. Accepts:
    • Load applied on the beam
    • Length of beam
    • Modulus of elasticity
    • Moment of inertia
  2. Calculates the maximum beam deflection.
  3. Determines whether the beam is safe or unsafe based on a chosen allowable deflection.

Question 4: Road Construction Cost Estimation

A civil engineer wants to estimate the cost of constructing a road section.

Given

  • Road length (km)
  • Road width (m)
  • Cost of construction per square meter

Mathematical Model

Road Area:

Road Area=Road Length (m)×Road Width (m)\text{Road Area} = \text{Road Length (m)} \times \text{Road Width (m)}

Total Cost:

Total Cost=Road Area×Cost per square meter\text{Total Cost} = \text{Road Area} \times \text{Cost per square meter}

Tasks

Write a Python program that:

  1. Accepts:
    • Road length in kilometers
    • Road width in meters
    • Cost of construction per square meter
  2. Converts road length from kilometers to meters.
  3. Calculates the road area in square meters.
  4. Calculates the total cost of construction.
  5. Displays the results in a clear format.
Was this helpful?

Still stuck on this one?

Ask a follow-up, and the answer starts from this question.

Got a different question?Ask your own question
Handwritten step-by-step solution preview

Handwritten Step-by-Step Solution

Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.

Try on WhatsApp