MATLAB® Test Report

Timestamp:

24-Sep-2025 22:25:41

Host:

runnervmf4ws1

Platform:

glnxa64

MATLAB Version:

25.1.0.2973910 (R2025a) Update 1

Number of Tests:

6

Testing Time:

22.9891 seconds

Overall Result:

PASSED

Overview

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

SmokeTests

13.3911 seconds

SolnSmokeTests

9.5980 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: 9.6282 seconds

Event:

Timestamp: 24-Sep-2025 22:25:19

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/d6c4ef17-8098-49eb-8e1b-946f1b07c676/Figure_9a001219-676e-419f-9d29-daeddafe0dee.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.7629 seconds

Event:

Timestamp: 24-Sep-2025 22:25:24

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/d6c4ef17-8098-49eb-8e1b-946f1b07c676/Figure_f38a9f89-84d6-4c40-99e0-33a24c32a2a3.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.0763 seconds

(Overview)

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

The test passed. Duration: 0.0072 seconds

(Overview)

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

The test passed. Duration: 3.8643 seconds

Event:

Timestamp: 24-Sep-2025 22:25:28

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/d6c4ef17-8098-49eb-8e1b-946f1b07c676/Figure_c5482fef-dcaa-4bb6-adfd-c36c146621d5.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.6502 seconds

Events:

Timestamp: 24-Sep-2025 22:25:32

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/d6c4ef17-8098-49eb-8e1b-946f1b07c676/Figure_36624f1a-6680-4222-b540-adf18a9a9dba.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:25:36

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/d6c4ef17-8098-49eb-8e1b-946f1b07c676/Figure_21f21a36-bd54-404b-ad7b-04ffae329908.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-09-24 22:25:19): Figure saved to: --> /tmp/d6c4ef17-8098-49eb-8e1b-946f1b07c676/Figure_9a001219-676e-419f-9d29-daeddafe0dee.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-09-24 22:25:24): Figure saved to: --> /tmp/d6c4ef17-8098-49eb-8e1b-946f1b07c676/Figure_f38a9f89-84d6-4c40-99e0-33a24c32a2a3.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-09-24 22:25:28): Figure saved to: --> /tmp/d6c4ef17-8098-49eb-8e1b-946f1b07c676/Figure_c5482fef-dcaa-4bb6-adfd-c36c146621d5.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-09-24 22:25:32): Figure saved to: --> /tmp/d6c4ef17-8098-49eb-8e1b-946f1b07c676/Figure_36624f1a-6680-4222-b540-adf18a9a9dba.png [Terse] Diagnostic logged (2025-09-24 22:25:36): Figure saved to: --> /tmp/d6c4ef17-8098-49eb-8e1b-946f1b07c676/Figure_21f21a36-bd54-404b-ad7b-04ffae329908.png . Done SolnSmokeTests __________