Question: Integral using variable with units.

What is the problem with the integral below when I use a variable n?

with(Units:-Simple)

V__1 := Unit('m'^3) = Units:-Unit(m^3)NULL

V__2 := 2*Unit('m'^3) = 2*Units:-Unit(m^3)NULL

int(1/V, V = V__1 .. V__2)

ln(2)

(1)

`assuming`([int(n/V, V = n*Unit('m'^3) .. m*Unit('m'^3))], [n > 0, m > 0])

-ln(n)*n+ln(m)*n

(2)

NULL

Download Units_Int.mw

Please Wait...