MATLABĀ® Test Report

Timestamp:

24-Sep-2025 22:23:56

Host:

runnervm3ublj

Platform:

glnxa64

MATLAB Version:

24.2.0.2923080 (R2024b) Update 6

Number of Tests:

6

Testing Time:

10.1928 seconds

Overall Result:

PASSED

Overview

/home/runner/work/Numerical-Integration/Numerical-Integration/SoftwareTests/

SmokeTests

6.5249 seconds

SolnSmokeTests

3.6679 seconds

Details

/home/runner/work/Numerical-Integration/Numerical-Integration/SoftwareTests/

SmokeTests

SmokeRun Class Setup Parameters: Project=matlab.project.Project Test Parameters: File=SimpsonsRules.mlx

The test passed. Duration: 4.9941 seconds

Event:

Timestamp: 24-Sep-2025 22:23:46

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/4067e457-a56e-42f2-b1eb-bd08a76b35b6/Figure_83b54ea8-81d8-4ed9-985d-44e717e6ce6e.png

Event Location: SmokeTests[Project=matlab.project.Project]/SmokeRun(File=SimpsonsRules.mlx)

Stack:

In /home/runner/work/Numerical-Integration/Numerical-Integration/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94

(Overview)

SmokeRun Class Setup Parameters: Project=matlab.project.Project Test Parameters: File=TrapezoidRule.mlx

The test passed. Duration: 1.5308 seconds

Event:

Timestamp: 24-Sep-2025 22:23:50

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/4067e457-a56e-42f2-b1eb-bd08a76b35b6/Figure_5e7e90e4-bb31-442c-a5d5-017a9ef8983d.png

Event Location: SmokeTests[Project=matlab.project.Project]/SmokeRun(File=TrapezoidRule.mlx)

Stack:

In /home/runner/work/Numerical-Integration/Numerical-Integration/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94

(Overview)

SolnSmokeTests

ExistSolns Class Setup Parameters: Project=matlab.project.Project Test Parameters: File=SimpsonsRules.mlx

The test passed. Duration: 0.0676 seconds

(Overview)

ExistSolns Class Setup Parameters: Project=matlab.project.Project Test Parameters: File=TrapezoidRule.mlx

The test passed. Duration: 0.0058 seconds

(Overview)

SmokeRun Class Setup Parameters: Project=matlab.project.Project Test Parameters: File=SimpsonsRules.mlx

The test passed. Duration: 1.1291 seconds

Event:

Timestamp: 24-Sep-2025 22:23:51

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/4067e457-a56e-42f2-b1eb-bd08a76b35b6/Figure_8c0197df-7897-4d6b-8d6c-78240743d4b5.png

Event Location: SolnSmokeTests[Project=matlab.project.Project]/SmokeRun(File=SimpsonsRules.mlx)

Stack:

In /home/runner/work/Numerical-Integration/Numerical-Integration/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110

(Overview)

SmokeRun Class Setup Parameters: Project=matlab.project.Project Test Parameters: File=TrapezoidRule.mlx

The test passed. Duration: 2.4654 seconds

Events:

Timestamp: 24-Sep-2025 22:23:52

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/4067e457-a56e-42f2-b1eb-bd08a76b35b6/Figure_02d0034d-7d08-4d5f-9af2-0b55034c8fd2.png

Event Location: SolnSmokeTests[Project=matlab.project.Project]/SmokeRun(File=TrapezoidRule.mlx)

Stack:

In /home/runner/work/Numerical-Integration/Numerical-Integration/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110

Timestamp: 24-Sep-2025 22:23:54

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/4067e457-a56e-42f2-b1eb-bd08a76b35b6/Figure_5836b65e-c418-49fb-833e-deafb957ce5a.png

Event Location: SolnSmokeTests[Project=matlab.project.Project]/SmokeRun(File=TrapezoidRule.mlx)

Stack:

In /home/runner/work/Numerical-Integration/Numerical-Integration/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110

(Overview)

Command Window Text

Running SmokeTests >> Running SimpsonsRules.mlx n = 3 T = 1x3 table k x_k x_(k+1) _ _____ _______ 1 "x_1" "x_2" k x_k x_(k+1) _ _____ _______ 1 "x_1" "x_2" I = NaN I = 31.8328 True Integral: 14.5833 Approximate Integral: 14.5833 Error: 0.000% [Terse] Diagnostic logged (2025-09-24 22:23:46): Figure saved to: --> /tmp/4067e457-a56e-42f2-b1eb-bd08a76b35b6/Figure_83b54ea8-81d8-4ed9-985d-44e717e6ce6e.png .>> Running TrapezoidRule.mlx T = 26x2 table x y ____ _______ 0 2 0.25 2.4392 0.5 2 0.75 0.7071 1 -1 1.1 -1.6473 1.15 -1.9403 1.2 -2.2058 1.2 -2.2058 1.3 -2.6361 1.4 -2.9074 1.5 -3 1.6 -2.9074 1.7 -2.6361 1.8 -2.2058 1.9 -1.6473 2 -1 2.1 -0.309 2.2 0.3787 2.3 1.0181 2.4 1.5691 2.5 2 2.6 2.2893 2.6 2.2893 2.8 2.4149 3 2 I = 0.000 dx = 0.2500 0.2500 0.2500 0.2500 0.1000 0.0500 0.0500 0 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0 0.2000 0.2000 ysub = 2.0000 2.4392 2.0000 0.7071 -1.0000 -1.6473 -1.9403 -2.2058 -2.2058 -2.6361 -2.9074 -3.0000 -2.9074 -2.6361 -2.2058 -1.6473 -1.0000 -0.3090 0.3787 1.0181 1.5691 2.0000 2.2893 2.2893 2.4149 [Terse] Diagnostic logged (2025-09-24 22:23:50): Figure saved to: --> /tmp/4067e457-a56e-42f2-b1eb-bd08a76b35b6/Figure_5e7e90e4-bb31-442c-a5d5-017a9ef8983d.png . Done SmokeTests __________ Running SolnSmokeTests ..>> Running SimpsonsRulesSoln.mlx n = 10 T = 4x3 table k x_k x_(k+1) _ _____ _______ 1 "x_1" "x_2" 3 "x_3" "x_4" 5 "x_5" "x_6" 7 "x_7" "x_8" k x_k x_(k+1) _ _____ _______ 1 "x_1" "x_2" 3 "x_3" "x_4" 5 "x_5" "x_6" 7 "x_7" "x_8" I = 31.8447 I = 31.8447 I = 31.8328 True Integral: 3.8499 Approximate Integral: 3.9666 Error: 3.032% f = function_handle with value: @(x)exp(-0.5*x)-exp(-0.25*x) I = -1.8789 I = -1.9642 I = -1.9729 g = function_handle with value: @(x)exp(-0.1*x).*cos(pi/2.*x) I = 0.7402 I = -0.0527 I = 0.0323 [Terse] Diagnostic logged (2025-09-24 22:23:51): Figure saved to: --> /tmp/4067e457-a56e-42f2-b1eb-bd08a76b35b6/Figure_8c0197df-7897-4d6b-8d6c-78240743d4b5.png .>> Running TrapezoidRuleSoln.mlx F = 27.2457 T = 26x2 table x y ____ _______ 0 2 0.25 2.4392 0.5 2 0.75 0.7071 1 -1 1.1 -1.6473 1.15 -1.9403 1.2 -2.2058 1.2 -2.2058 1.3 -2.6361 1.4 -2.9074 1.5 -3 1.6 -2.9074 1.7 -2.6361 1.8 -2.2058 1.9 -1.6473 2 -1 2.1 -0.309 2.2 0.3787 2.3 1.0181 2.4 1.5691 2.5 2 2.6 2.2893 2.6 2.2893 2.8 2.4149 3 2 I = 0.574 dx = 0.2500 0.2500 0.2500 0.2500 0.1000 0.0500 0.0500 0 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0.1000 0 0.2000 0.2000 ysub = 2.0000 2.4392 2.0000 0.7071 -1.0000 -1.6473 -1.9403 -2.2058 -2.2058 -2.6361 -2.9074 -3.0000 -2.9074 -2.6361 -2.2058 -1.6473 -1.0000 -0.3090 0.3787 1.0181 1.5691 2.0000 2.2893 2.2893 2.4149 I = 0.5736 [Terse] Diagnostic logged (2025-09-24 22:23:52): Figure saved to: --> /tmp/4067e457-a56e-42f2-b1eb-bd08a76b35b6/Figure_02d0034d-7d08-4d5f-9af2-0b55034c8fd2.png [Terse] Diagnostic logged (2025-09-24 22:23:54): Figure saved to: --> /tmp/4067e457-a56e-42f2-b1eb-bd08a76b35b6/Figure_5836b65e-c418-49fb-833e-deafb957ce5a.png . Done SolnSmokeTests __________