MATLAB® Test Report

Timestamp:

10-Oct-2025 13:36:04

Host:

runnervmwhb2z

Platform:

glnxa64

MATLAB Version:

25.1.0.2973910 (R2025a) Update 1

Number of Tests:

6

Testing Time:

24.0432 seconds

Overall Result:

PASSED

Overview

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

SmokeTests

14.1663 seconds

SolnSmokeTests

9.8769 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: 10.2189 seconds

Event:

Timestamp: 10-Oct-2025 13:35:41

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/a4a49851-da9a-46e3-93a7-7e4c843b34aa/Figure_f777659f-ec5e-4805-8455-c61567766028.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: 3.9474 seconds

Event:

Timestamp: 10-Oct-2025 13:35:47

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/a4a49851-da9a-46e3-93a7-7e4c843b34aa/Figure_39b880f3-e01e-42cc-b086-3262539a8070.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.0736 seconds

(Overview)

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

The test passed. Duration: 0.0068 seconds

(Overview)

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

The test passed. Duration: 3.9682 seconds

Event:

Timestamp: 10-Oct-2025 13:35:51

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/a4a49851-da9a-46e3-93a7-7e4c843b34aa/Figure_6d3ccc78-461a-4a4f-87a8-ffc9083776a1.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: 5.8283 seconds

Events:

Timestamp: 10-Oct-2025 13:35:55

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/a4a49851-da9a-46e3-93a7-7e4c843b34aa/Figure_9c2b27b7-865f-4dca-8f46-107fa19134c2.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: 10-Oct-2025 13:35:59

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/a4a49851-da9a-46e3-93a7-7e4c843b34aa/Figure_b7af64b5-6b24-476b-bfce-364389c3301a.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 = 1×3 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-10-10 13:35:41): Figure saved to: --> /tmp/a4a49851-da9a-46e3-93a7-7e4c843b34aa/Figure_f777659f-ec5e-4805-8455-c61567766028.png .>> Running TrapezoidRule.mlx T = 26×2 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-10-10 13:35:47): Figure saved to: --> /tmp/a4a49851-da9a-46e3-93a7-7e4c843b34aa/Figure_39b880f3-e01e-42cc-b086-3262539a8070.png . Done SmokeTests __________ Running SolnSmokeTests ..>> Running SimpsonsRulesSoln.mlx n = 10 T = 4×3 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-10-10 13:35:51): Figure saved to: --> /tmp/a4a49851-da9a-46e3-93a7-7e4c843b34aa/Figure_6d3ccc78-461a-4a4f-87a8-ffc9083776a1.png .>> Running TrapezoidRuleSoln.mlx F = 27.2457 T = 26×2 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-10-10 13:35:55): Figure saved to: --> /tmp/a4a49851-da9a-46e3-93a7-7e4c843b34aa/Figure_9c2b27b7-865f-4dca-8f46-107fa19134c2.png [Terse] Diagnostic logged (2025-10-10 13:35:59): Figure saved to: --> /tmp/a4a49851-da9a-46e3-93a7-7e4c843b34aa/Figure_b7af64b5-6b24-476b-bfce-364389c3301a.png . Done SolnSmokeTests __________