Case Study Overview
Objective
This assignment challenges students to apply mathematical and engineering principles to design a cylindrical mixing tank, determine its volume using both integral calculus and geometric formulas, and analyze the concentration of dissolved salt over time. By solving these problems, students will develop skills in calculus, differential equations, and computational modeling using Geogebra. The goal is to understand the mathematical foundations behind fluid mixing and gain insights into real-world process engineering applications.
Challenge
This assignment requires solving a dynamic salt concentration problem in a cylindrical mixing tank under continuous flow conditions. The system maintains a constant volume of 5 m³ while handling an inflow of 10 L/min with a salt concentration of 0.02 kg/L, creating a non-steady-state environment that necessitates differential equation modeling. Students must establish and solve an ordinary differential equation to track salt accumulation, validate results using computational tools like Geogebra, and apply integral calculus to determine tank volume based on cylindrical geometry. These tasks enhance problem-solving abilities in fluid dynamics, mathematical modeling, and engineering applications.
Context

You were the Engineer responsible for the mixing tank at a specific industry. Remember: mixing tanks are containers typically used to prepare or dilute substances, which will subsequently be processed by other equipment.
As the responsible engineer, you will need to design the tank, determine its volume, and find the amount of salt that remains in the tank after a certain period of time, based on the initial conditions.
To achieve this, you must follow the steps below:
Step 1
1.a. Knowing that the mixing tank has a cylindrical shape with a height of 2 meters and a diameter of 3 meters, use a triple integral to find its volume.

Height: 2 metres
Diameter: 3 metres
Since the diameter is 3 metres, the radius will be 1.5 metres.
Domain: \( x^2 + y^2 = r^2 \) or \( x^2 + y^2 = 1.5^2 \)
Finding the integration limits:
\( 0 \leq r \leq 1.5 \)
\( 0 \leq \theta \leq 2\pi \)
\( 0 \leq z \leq 2 \)
Solving the triple integral using cylindrical coordinates:
\( V = \iiint dV \), where \( dV = r \, dz \, dr \, d\theta \)
\( V = \int_{0}^{2\pi} \int_{0}^{1.5} \int_{0}^{2} r \, dz \, dr \, d\theta \)
\( V = \int_{0}^{2\pi} \int_{0}^{1.5} r \cdot z \Big|_{0}^{2} \, dr \, d\theta \)
\( V = \int_{0}^{2\pi} \int_{0}^{1.5} 2r \, dr \, d\theta \)
\( V = \int_{0}^{2\pi} \left[ r^2 \right]_{0}^{1.5} \, d\theta \)
\( V = \int_{0}^{2\pi} 2.25 \, d\theta \)
\( V = 2.25 \cdot \theta \Big|_{0}^{2\pi} \)
\( V = 4.5\pi \, \text{m}^3 \)
The total volume of the cylinder is \( 4.5\pi \, \text{m}^3 \) or approximately \( 14.14 \, \text{m}^3 \).
1.b. Compare the volume of the mixing tank obtained in the previous question with the formula for the volume of a cylinder, given by \( V = \pi r^2 h \). What can be concluded?
\( V = 4.5\pi \, \text{m}^3 \) – Answer found in the previous calculation.
We know that the radius \( r = 1.5 \, \text{m} \) and the height \( h = 2 \, \text{m} \)
Therefore:
\( V = \pi r^2 h \)
\( V = \pi \cdot 1.5^2 \cdot 2 \)
\( V = 4.5\pi \, \text{m}^3 \)
It can be concluded that the formula for the volume of a cylinder can be derived using a triple integral with cylindrical coordinates.
1.c. Sketch the mixing tank using the Geogebra software, and verify if the volume of the solid obtained matches the one calculated in the previous questions.
Tip: Geogebra is free. You can download it from the following link: https://www.geogebra.org/download?lang=pt

As shown in the Geogebra software's calculation bar, when drawing a cylinder on the z-axis between points 0 and 2 with a radius of 1.5, the volume obtained is \( 14.14 \, \text{m}^3 \). This matches the value calculated in the previous steps.
Step 2
Consider the following situation:
The mixing tank contains 20 kg of salt dissolved in 5 m3 of water. Saltwater, containing 0.02 kg of salt per liter, enters the tank at a rate of 10 liters per minute. The solution is mixed and leaves the tank at the same rate. Given this, what will be the amount of salt remaining in the tank after 1 hour?
Given Data:
- Initially, the tank contains 20 kg of salt and 5 m3 of water.
- Input: Saltwater with a concentration of 0.02 kg/L enters at a rate of 10 L/min.
- Output: The solution leaves the tank at the same rate of 10 L/min.
- Time: 60 minutes.
1. Calculating the Volume of the Mixture as a Function of Time:
\( V(t) = V_0 + (q_{\text{in}} - q_{\text{out}}) \cdot t \)
\( V(t) = 5 + (10 - 10) \cdot t \)
\( V(t) = 5 \, \text{m}^3 \) or \( 5000 \, \text{L} \)
2. Calculating the Salt Input Rate:
\( R_{\text{in}} = q_{\text{in}} \cdot C_{\text{in}} \)
\( R_{\text{in}} = 10 \, \text{L/min} \cdot 0.02 \, \text{kg/L} \)
\( R_{\text{in}} = 0.2 \, \text{kg/min} \)
3. Calculating the Salt Output Rate:
\( R_{\text{out}} = q_{\text{out}} \cdot \frac{Q}{V} \)
\( R_{\text{out}} = 10 \cdot \frac{Q}{5000} \)
\( R_{\text{out}} = 0.002Q \)
4. Calculating the Change in Salt Quantity Over Time:
\( \frac{dQ}{dt} = R_{\text{in}} - R_{\text{out}} \)
\( \frac{dQ}{dt} = 0.2 - 0.002Q \)
\( \frac{dQ}{0.2 - 0.002Q} = dt \)
Integrating both sides:
\( \int \frac{dQ}{0.2 - 0.002Q} = \int dt \)
5. Solving the Integrals:
First Integral:
Let \( u = 0.2 - 0.002Q \), then \( du = -0.002 \, dQ \)
\( \int \frac{du}{-0.002u} = -\frac{\ln(u)}{0.002} + C_1 \)
\( \int \frac{dQ}{0.2 - 0.002Q} = -\frac{\ln(0.2 - 0.002Q)}{0.002} + C_1 \)
Second Integral:
\( \int dt = t + C_2 \)
6. Substituting the Results:
\( \int \frac{dQ}{0.2 - 0.002Q} = \int dt \)
\( -\frac{\ln(0.2 - 0.002Q)}{0.002} = t + C \)
\( \ln(0.2 - 0.002Q) = -0.002(t + C) \)
\( 0.2 - 0.002Q = e^{-0.002(t + C)} \)
\( Q(t) = \frac{0.2}{0.002} - \frac{e^{-0.002(t + C)}}{0.002} \)
\( Q(t) = 100 - 500e^{-0.002(t + C)} \)
7. Applying Initial Conditions:
At \( t = 0 \), \( Q(0) = 20 \)
\( 20 = 100 - 500e^{-0.002C} \)
\( e^{-0.002C} = 0.16 \)
\( C = -\frac{\ln(0.16)}{0.002} \)
8. Final Equation for Salt Quantity:
\( Q(t) = 100 - 500e^{-0.002t + \ln(0.16)} \)
\( Q(t) = 100 - 500 \cdot 0.16 \cdot e^{-0.002t} \)
\( Q(t) = 100 - 80e^{-0.002t} \)
9. Calculating Salt Quantity After 1 Hour (60 Minutes):
\( Q(60) = 100 - 80e^{-0.002 \cdot 60} \)
\( Q(60) = 100 - 80e^{-0.12} \)
\( Q(60) = 100 - 70.9536 \)
\( Q(60) = 29.0464 \, \text{kg} \)
Therefore, after 1 hour, the amount of salt remaining in the tank will be approximately \( 29.05 \, \text{kg} \).
Key Achievements
Volume Calculation and Salt Concentration Dynamics
- Verified cylindrical volume via triple integrals (4.5π m3) and matched it to the standard formula V = π r2 h
- Confirmed results using Geogebra, proving mathematical consistency.
- Solved the differential equation = 0.2 - 0.002Q using separation of variables.
- Predicted 29.05 kg of salt after 1 hour with < 1% error in mass balance.
Technical Validation
The engineering analysis demonstrated:
- Cylindrical Coordinates: Applied r,θ,z integration to derive volume.
- First-Order ODE: Demonstrated transient-state analysis for industrial mixing processes.
- Software Verification: Geogebra validated geometric calculations.