Timestamp: |
05-Mar-2025 18:22:08 |
Host: |
fv-az1371-106 |
Platform: |
glnxa64 |
MATLAB Version: |
24.2.0.2863752 (R2024b) Update 5 |
Number of Tests: |
18 |
Testing Time: |
12.1618 seconds |
Overall Result: |
PASSED |
/home/runner/work/Applied-ODEs/Applied-ODEs/SoftwareTests/
9.3209 seconds |
||
2.8408 seconds |
||
The test passed. Duration: 1.2889 seconds
(Overview)
The test passed. Duration: 0.1238 seconds
(Overview)
The test passed. Duration: 6.2185 seconds
Event:
Diagnostic logged.
Timestamp: 05-Mar-2025 18:21:58 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/0ec24a11-f511-46d2-b44a-087a3bfdca1b/Figure_2c27788b-1d33-473c-bd94-b180d67b1810.png Event Location: SmokeTests[Project=matlab.project.Project]/SmokeRun(File=IntegratingFactors.mlx) Stack: In /home/runner/work/Applied-ODEs/Applied-ODEs/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94 |
(Overview)
The test passed. Duration: 1.5698 seconds
Event:
Diagnostic logged.
Timestamp: 05-Mar-2025 18:22:01 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/0ec24a11-f511-46d2-b44a-087a3bfdca1b/Figure_e9c3fdd7-d501-4db1-bead-dfd7fb3e5846.png Event Location: SmokeTests[Project=matlab.project.Project]/SmokeRun(File=SeparationOfVariables.mlx) Stack: In /home/runner/work/Applied-ODEs/Applied-ODEs/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94 |
(Overview)
The test passed. Duration: 0.0783 seconds
(Overview)
The test passed. Duration: 0.0416 seconds
(Overview)
The test passed. Duration: 0.0555 seconds
(Overview)
The test passed. Duration: 0.0059 seconds
(Overview)
The test passed. Duration: 0.0057 seconds
(Overview)
The test passed. Duration: 0.0053 seconds
(Overview)
The test passed. Duration: 0.0076 seconds
(Overview)
The test passed. Duration: 0.0054 seconds
(Overview)
The test passed. Duration: 0.0537 seconds
(Overview)
The test passed. Duration: 0.0760 seconds
(Overview)
The test passed. Duration: 1.5310 seconds
Event:
Diagnostic logged.
Timestamp: 05-Mar-2025 18:22:03 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/0ec24a11-f511-46d2-b44a-087a3bfdca1b/Figure_1b223cb9-9db5-4e50-a372-99aa8ef55543.png Event Location: SolnSmokeTests[Project=matlab.project.Project]/SmokeRun(File=IntegratingFactors.mlx) Stack: In /home/runner/work/Applied-ODEs/Applied-ODEs/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110 |
(Overview)
The test passed. Duration: 1.0243 seconds
Event:
Diagnostic logged.
Timestamp: 05-Mar-2025 18:22:04 Verbosity: Terse Logged Diagnostic: Figure saved to: --> /tmp/0ec24a11-f511-46d2-b44a-087a3bfdca1b/Figure_55441903-8219-4c82-a8a9-d33f3b0219d1.png Event Location: SolnSmokeTests[Project=matlab.project.Project]/SmokeRun(File=SeparationOfVariables.mlx) Stack: In /home/runner/work/Applied-ODEs/Applied-ODEs/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110 |
(Overview)
The test passed. Duration: 0.0394 seconds
(Overview)
The test passed. Duration: 0.0311 seconds
(Overview)
Running SmokeTests >> Running CharacteristicEquations.mlx .>> Running Classification.mlx Please select one or more variables. Please select an answer. Please select one or more variables. Please select an answer. Please enter a nonzero order. Please select an answer. Please select an answer. Please enter a nonzero order. Please select an answer. Please select an answer. Please enter a nonzero order. Please select an answer. Please select an answer. .>> Running IntegratingFactors.mlx Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a positive integer. We start with our generic formula for chemical concentration: diff(M(t), t) == concentrationIn*rateIn - (rateOut*M(t))/(volInit + t*(rateIn - rateOut)) Plugging in the parameters, we have: diff(M(t), t) == 4 - M(t)/(50*(t/50 + 100)) [Terse] Diagnostic logged (2025-03-05 18:21:58): Figure saved to: --> /tmp/0ec24a11-f511-46d2-b44a-087a3bfdca1b/Figure_2c27788b-1d33-473c-bd94-b180d67b1810.png .>> Running SeparationOfVariables.mlx Please select an answer. Please select an answer. Please select an answer. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a positive integer. Please enter a nonzero expression. Please enter a nonzero expression. Please enter a nonzero expression. P(t) == (P0*k*exp(r*t))/((k - P0) + P0*exp(r*t)) Plugging in these custom parameters, we get: P(t) == (86100000*exp(t/20))/(8200*exp(t/20) + 2300) Here's a plot of the solution: [Terse] Diagnostic logged (2025-03-05 18:22:01): Figure saved to: --> /tmp/0ec24a11-f511-46d2-b44a-087a3bfdca1b/Figure_e9c3fdd7-d501-4db1-bead-dfd7fb3e5846.png .>> Running SystemsOfODEs.mlx .>> Running UndeterminedCoefficients.mlx . Done SmokeTests __________ Running SolnSmokeTests ......>> Running CharacteristicEquationsSoln.mlx .>> Running ClassificationSoln.mlx Correct! b and c are the independent variables in this equation. Correct! This is a partial differential equation, because it has more than one independent variable. Correct! b is the only independent variable in this equation. Correct! This is an ordinary differential equation, because it has one independent variable. Correct! The fourth derivative of y is the highest derivative that appears in the equation, so the order is 4. Correct! All coefficients of y and its derivatatives are constant or functions of t, so the equation is linear. Correct! The trivial solution y=0 is not a solution, so the equation is nonhomogeneous. Correct! The third derivative of y is the highest derivative that appears in the equation, so the order is 3. Correct! The equation has a nonlinear term y' * y, so the equation is nonlinear. Correct! Because the equation is nonlinear, we can't assess its homogeneity. Correct! The second derivative of y is the highest derivative that appears in the equation, so the order is 2. Correct! All coefficients of y and its derivatatives are constant or functions of t, so the equation is linear. Correct! The trivial solution y=0 is a solution, so the equation is homogeneous. .>> Running IntegratingFactorsSoln.mlx Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Starting with the equation from part (c): M == (20000*t + 2*t^2 + C)/(5000 + t) Remember that M represents the *quantity* of mercury in the water, so we have M(0) = 1.5 * 100 = 150. Solve for C, plugging in M = 150 and t = 0: 150 == (0 + 0 + C)/(5000 + 0) 150 == C/5000 C == 750000 Finally, plugging this value for C back into the equation from part (c), we get: M == (20000*t + 2*t^2 + 750000)/(5000 + t) Correct! See below for a detailed explanation. We start with our generic formula for chemical concentration: diff(M(t), t) == concentrationIn*rateIn - (rateOut*M(t))/(volInit + t*(rateIn - rateOut)) Plugging in the parameters, we have: diff(M(t), t) == 4 - M(t)/(50*(t/50 + 100)) [Terse] Diagnostic logged (2025-03-05 18:22:03): Figure saved to: --> /tmp/0ec24a11-f511-46d2-b44a-087a3bfdca1b/Figure_1b223cb9-9db5-4e50-a372-99aa8ef55543.png .>> Running SeparationOfVariablesSoln.mlx Correct! This can be rewritten as: (1/y)*dy == 3*x^2*dx Correct! Using y' = dy/dx, this can be rewritten as: (1/y^2)*dy == (e^x/x)*dx Correct! There is no way to separate the x and y terms in this equation, so it is not separable. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. Correct! See below for a detailed explanation. P(t) == (P0*k*exp(r*t))/((k - P0) + P0*exp(r*t)) Plugging in these custom parameters, we get: P(t) == (86100000*exp(t/20))/(8200*exp(t/20) + 2300) Here's a plot of the solution: [Terse] Diagnostic logged (2025-03-05 18:22:04): Figure saved to: --> /tmp/0ec24a11-f511-46d2-b44a-087a3bfdca1b/Figure_55441903-8219-4c82-a8a9-d33f3b0219d1.png . >> Running SystemsOfODEsSoln.mlx .>> Running UndeterminedCoefficientsSoln.mlx . Done SolnSmokeTests __________