MATLABĀ® Test Report

Timestamp:

25-Jul-2025 17:35:20

Host:

pkrvmpptgkbjq6m

Platform:

glnxa64

MATLAB Version:

25.1.0.2973910 (R2025a) Update 1

Number of Tests:

5

Testing Time:

71.0118 seconds

Overall Result:

PASSED

Overview

/home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/

SmokeTests

39.9762 seconds

FunctionTests

1.5074 seconds

SolnSmokeTests

29.5283 seconds

Details

/home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/

SmokeTests

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

The test passed. Duration: 39.9762 seconds

Events:

Timestamp: 25-Jul-2025 17:34:25

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_62fed0f6-0f53-45f3-95d0-204499e7b7be.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94

Timestamp: 25-Jul-2025 17:34:39

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_3d0c3088-0992-4769-8baa-8f3cdab042ec.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94

Timestamp: 25-Jul-2025 17:34:40

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_3c2b96fb-4a41-4bd0-9fd6-e9ab48ac0632.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94

Timestamp: 25-Jul-2025 17:34:40

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_ff9de10c-f034-44db-9906-4bdb52997371.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94

Timestamp: 25-Jul-2025 17:34:41

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_26fee296-0966-4716-9b72-10d48f85948c.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94

Timestamp: 25-Jul-2025 17:34:41

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_c6fe5db8-e97b-4231-8770-581e1c16abf3.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94

Timestamp: 25-Jul-2025 17:34:42

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_6ddbc624-2da7-482f-a6dd-881d3247ab4a.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94

Timestamp: 25-Jul-2025 17:34:42

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_2026341a-3c73-4f70-bc03-84698a042bef.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94

Timestamp: 25-Jul-2025 17:34:43

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_255b30f1-22b4-4796-8b03-0363274bf34e.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SmokeTests.m (SmokeTests.SmokeRun) at 94

(Overview)

FunctionTests

testPlotWithValidNonDefaultInputs

The test passed. Duration: 1.1686 seconds

Events:

Framework Diagnostic:

verifyNotEmpty passed. --> The value has a size of [1 1]. Actual Value: Axes (Test Plot) with properties: XLim: [5 11] YLim: [-6 6] XScale: 'linear' YScale: 'linear' GridLineStyle: '-' Position: [0.130000000000000 0.110000000000000 0.775000000000000 0.815000000000000] Units: 'normalized' Use GET to show all properties

Event Location: FunctionTests/testPlotWithValidNonDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithValidNonDefaultInputs) at 22

Framework Diagnostic:

verifyEqual passed. --> The strings are equal. Actual Value: "X-axis" Expected Value: "X-axis"

Event Location: FunctionTests/testPlotWithValidNonDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithValidNonDefaultInputs) at 23

Framework Diagnostic:

verifyEqual passed. --> The strings are equal. Actual Value: "Y-axis" Expected Value: "Y-axis"

Event Location: FunctionTests/testPlotWithValidNonDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithValidNonDefaultInputs) at 24

Framework Diagnostic:

verifyEqual passed. --> The strings are equal. Actual Value: "Z-axis" Expected Value: "Z-axis"

Event Location: FunctionTests/testPlotWithValidNonDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithValidNonDefaultInputs) at 25

Framework Diagnostic:

verifyEqual passed. --> The strings are equal. Actual Value: "Test Plot" Expected Value: "Test Plot"

Event Location: FunctionTests/testPlotWithValidNonDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithValidNonDefaultInputs) at 26

Framework Diagnostic:

verifyEqual passed. --> The numeric values are equal using "isequaln". Actual Value: 4 Expected Value: 4

Event Location: FunctionTests/testPlotWithValidNonDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithValidNonDefaultInputs) at 27

Framework Diagnostic:

verifyEqual passed. --> The numeric values are equal using "isequaln". Actual Value: 9 Expected Value: 9

Event Location: FunctionTests/testPlotWithValidNonDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithValidNonDefaultInputs) at 28

(Overview)

testPlotWithDefaultInputs

The test passed. Duration: 0.3388 seconds

Events:

Framework Diagnostic:

verifyNotEmpty passed. --> The value has a size of [1 1]. Actual Value: Axes (Curve) with properties: XLim: [4.250000000000000 11.750000000000000] YLim: [-5.124984265959235 6.124858393633110] XScale: 'linear' YScale: 'linear' GridLineStyle: '-' Position: [0.130000000000000 0.110000000000000 0.775000000000000 0.815000000000000] Units: 'normalized' Use GET to show all properties

Event Location: FunctionTests/testPlotWithDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithDefaultInputs) at 42

Framework Diagnostic:

verifyEqual passed. --> The strings are equal. Actual Value: "X" Expected Value: "X"

Event Location: FunctionTests/testPlotWithDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithDefaultInputs) at 43

Framework Diagnostic:

verifyEqual passed. --> The strings are equal. Actual Value: "Y" Expected Value: "Y"

Event Location: FunctionTests/testPlotWithDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithDefaultInputs) at 44

Framework Diagnostic:

verifyEqual passed. --> The strings are equal. Actual Value: "Z" Expected Value: "Z"

Event Location: FunctionTests/testPlotWithDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithDefaultInputs) at 45

Framework Diagnostic:

verifyEqual passed. --> The strings are equal. Actual Value: "Curve" Expected Value: "Curve"

Event Location: FunctionTests/testPlotWithDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithDefaultInputs) at 46

Framework Diagnostic:

verifyEqual passed. --> The numeric values are equal using "isequaln". Actual Value: 1 Expected Value: 1

Event Location: FunctionTests/testPlotWithDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithDefaultInputs) at 47

Framework Diagnostic:

verifyEqual passed. --> The numeric values are equal using "isequaln". Actual Value: 10 Expected Value: 10

Event Location: FunctionTests/testPlotWithDefaultInputs

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/FunctionTests.m (FunctionTests.testPlotWithDefaultInputs) at 48

(Overview)

SolnSmokeTests

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

The test passed. Duration: 0.0870 seconds

(Overview)

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

The test passed. Duration: 29.4413 seconds

Events:

Timestamp: 25-Jul-2025 17:34:58

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_6a0f2a16-356e-496a-93a2-2cacb1384651.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110

Timestamp: 25-Jul-2025 17:35:10

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_fd66b31b-3986-4dde-ad3e-bf15118e3483.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110

Timestamp: 25-Jul-2025 17:35:11

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_79ed3aba-b533-43e4-baaf-6efa3245446d.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110

Timestamp: 25-Jul-2025 17:35:12

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_38df76a4-2427-4b54-816b-b79094b387e7.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110

Timestamp: 25-Jul-2025 17:35:12

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_1532c565-a19f-4b90-8677-4271d2bb3d35.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110

Timestamp: 25-Jul-2025 17:35:12

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_98620888-be23-4ab0-a16f-3f95ab9daee9.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110

Timestamp: 25-Jul-2025 17:35:13

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_e0260e9c-fde7-432e-ab5d-a0914605241a.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110

Timestamp: 25-Jul-2025 17:35:13

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_5b3472b3-32ba-423e-bb34-c5433476b18d.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110

Timestamp: 25-Jul-2025 17:35:14

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_645fecb5-3b8d-4e98-9fbd-a3e6b893f834.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110

Timestamp: 25-Jul-2025 17:35:14

Verbosity: Terse

Logged Diagnostic:

Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_5ba8b0cb-47d4-436b-879c-379ec71bb9e5.png

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

Stack:

In /home/runner/work/Multivariable-Integrals/Multivariable-Integrals/SoftwareTests/SolnSmokeTests.m (SolnSmokeTests.SmokeRun) at 110

(Overview)

Command Window Text

Running SmokeTests >> Running LineIntegrals.mlx Please select a curve. You must select a curve to determine a line integral. a) is not correct. What is the curl of F_vec == (x - 3)*e_y? What is the curl of y*sin(x)*e_x - y*cos(x)*e_y? Alternately, can you compute a G with gradient(G) == y*sin(x)*e_x - y*cos(x)*e_y? Please correct your reasoning and try again. The curve C is a straight line from (4,-4) to (0,-4) and F_vec == e_r or, equivalently, F_vec == (x/sqrt(x^2 + y^2))*e_x + (y/sqrt(x^2 + y^2))*e_y. This is the default value. Please solve the problem. The value -999 is not correct. That is the default value. Please try again. The value -999 is not correct. That is the default value. Please try again. The value -999 is not correct. That is the default value. Please try again. The value -999 is not correct. That is the default value. Please try again. The value -999 is not correct. That is the default value. Please try again. Edge 1:int(- 0.5902*x - 2.049, x, 5.0, 0.358) == 16.8508 Edge 2:int(1.1323*x - 2.6654634, x, 0.358, -3.2102) == 15.2725 Edge 3:int(3.1692*x + 3.87336584, x, -3.2102, -1.4563) == -6.1758 Edge 4:int(- 0.3344*x - 1.22898672, x, -1.4563, -6.984) == -1.0064 Edge 5:int(0.371*x + 3.697264, x, -6.984, -2.6967) == 8.152 Edge 6:int(2.6955*x + 9.96565485, x, -2.6967, -1.1062) == 7.6989 Edge 7:int(- 2.3054*x + 4.43376652, x, -1.1062, 1.0388) == 9.677 Edge 8:int(0.2226*x + 1.80756312, x, 1.0388, 6.3004) == 13.809 Edge 9:int(0.7025*x - 1.215831, x, 6.3004, 1.4125) == -7.2987 Edge 10:int(- 1.3314*x + 1.6569025, x, 1.4125, 5.0) == -9.3699 The area of the star is the sum total: 47.6094 CorrectSoln = 123/2 That is the default value. The area is positive. Work = -88*log(8/5) which is approximately -41.3603 kJ. Because the work is negative, this means that we must put energy into the system to compress the cylinder. [Terse] Diagnostic logged (2025-07-25 17:34:25): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_62fed0f6-0f53-45f3-95d0-204499e7b7be.png [Terse] Diagnostic logged (2025-07-25 17:34:39): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_3d0c3088-0992-4769-8baa-8f3cdab042ec.png [Terse] Diagnostic logged (2025-07-25 17:34:40): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_3c2b96fb-4a41-4bd0-9fd6-e9ab48ac0632.png [Terse] Diagnostic logged (2025-07-25 17:34:40): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_ff9de10c-f034-44db-9906-4bdb52997371.png [Terse] Diagnostic logged (2025-07-25 17:34:41): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_26fee296-0966-4716-9b72-10d48f85948c.png [Terse] Diagnostic logged (2025-07-25 17:34:41): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_c6fe5db8-e97b-4231-8770-581e1c16abf3.png [Terse] Diagnostic logged (2025-07-25 17:34:42): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_6ddbc624-2da7-482f-a6dd-881d3247ab4a.png [Terse] Diagnostic logged (2025-07-25 17:34:42): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_2026341a-3c73-4f70-bc03-84698a042bef.png [Terse] Diagnostic logged (2025-07-25 17:34:43): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_255b30f1-22b4-4796-8b03-0363274bf34e.png . Done SmokeTests __________ Running FunctionTests .. Done FunctionTests __________ Running SolnSmokeTests .>> Running LineIntegralsSoln.mlx Yes, the integral of a radially outward field over this clockwise rectangle is visibly zero. This does require observing that the radially outward field is conservative. You are correct. Options b), c), and d) are conservative while a) and e) are not conservative. a) (curl(F_vec) == e_z) ~= 0 so F_vec is not conservative. b) G == (- cos(x)) - y^3/3 so F_vec is conservative. c) G == (-3)/r^2 so F_vec is conservative. d) G == (2*x - 3*y) + z s F_vec is conservative. e) (curl(F_vec) == (y - 1)*sin(x)*e_z) ~= 0 so F_vec is not conservative. The curve C is a straight line from (-2,-3) to (5,4) and F_vec == x*e_x. The curve is a straight diagonal line. C can be parameterized as s(t) = (x(t),y(t)) with x(t) == 7*t - 2 and y(t) == 7*t - 3 for (0 <= t) <= 1. This means that ds/dt = (7,7). Note that in this case, the field can be parameterized as F_vec == (7*t - 2)*e_x. So the problem becomes: int(49*t - 14, t, 0, 1) == 21/2 This answer is correct. This answer is correct. This answer is correct. This answer is correct. The value 1.5 is not correct. Please try again. Edge 1:int(- 0.3341*x - 0.6636, x, 4.0, 0.4167) == 5.0215 Edge 2:int(3.3427*x - 2.19570309, x, 0.4167, -0.666) == 2.8288 Edge 3:int(- 2.634*x - 6.176544, x, -0.666, -1.6926) == 3.1518 Edge 4:int(- 0.3624*x - 2.33189824, x, -1.6926, -4.4116) == 3.333 Edge 5:int(0.4428*x + 1.22035648, x, -4.4116, -1.2944) == -0.1339 Edge 6:int(- 4.3364*x - 4.96583616, x, -1.2944, -2.0605) == -1.7682 Edge 7:int(- 1.1151*x + 1.67153645, x, -2.0605, 0.2155) == 6.1456 Edge 8:int(0.6005*x + 1.30169225, x, 0.2155, 3.1382) == 6.7473 Edge 9:int(1.424*x - 1.2825968, x, 3.1382, 1.0197) == -3.5544 Edge 10:int(- 0.7279*x + 0.91173963, x, 1.0197, 4.0) == -2.7277 The area of the star is the sum total: 19.0438 Edge 1:int(0.6*x - 3.4, x, 4.0, -1.0) == 12.5 Edge 2:int(- 1.6667*x - 5.6667, x, -1.0, -4.0) == 4.5 Edge 3:int(0.6*x + 3.4, x, -4.0, 1.0) == 12.5 Edge 4:int(4.0*x, x, 1.0, 0) == -2.0 Edge 5:int(-0.25*x, x, 0, 4.0) == -2.0 The area of the star is the sum total: 25.5 CorrectSoln = 51/2 Work = -88*log(8/5) which is approximately -41.3603 kJ. Because the work is negative, this means that we must put energy into the system to compress the cylinder. [Terse] Diagnostic logged (2025-07-25 17:34:58): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_6a0f2a16-356e-496a-93a2-2cacb1384651.png [Terse] Diagnostic logged (2025-07-25 17:35:10): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_fd66b31b-3986-4dde-ad3e-bf15118e3483.png [Terse] Diagnostic logged (2025-07-25 17:35:11): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_79ed3aba-b533-43e4-baaf-6efa3245446d.png [Terse] Diagnostic logged (2025-07-25 17:35:12): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_38df76a4-2427-4b54-816b-b79094b387e7.png [Terse] Diagnostic logged (2025-07-25 17:35:12): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_1532c565-a19f-4b90-8677-4271d2bb3d35.png [Terse] Diagnostic logged (2025-07-25 17:35:12): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_98620888-be23-4ab0-a16f-3f95ab9daee9.png [Terse] Diagnostic logged (2025-07-25 17:35:13): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_e0260e9c-fde7-432e-ab5d-a0914605241a.png [Terse] Diagnostic logged (2025-07-25 17:35:13): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_5b3472b3-32ba-423e-bb34-c5433476b18d.png [Terse] Diagnostic logged (2025-07-25 17:35:14): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_645fecb5-3b8d-4e98-9fbd-a3e6b893f834.png [Terse] Diagnostic logged (2025-07-25 17:35:14): Figure saved to: --> /tmp/05c2c7fc-0e57-45f8-b322-b199ec227a95/Figure_5ba8b0cb-47d4-436b-879c-379ec71bb9e5.png . Done SolnSmokeTests __________