I am trying to find the volume of a PFR reactor. For this purpose I have written the rate expression as a function of conversion, and stuffed it in to an integral. I am using the AutomaticUnits package by Jon McLoone.
The problem is that when I execute the equation containing the integral, Mathematica starts working, but returns no result. I abort the operation after waiting what I would call suffcient time My setup is seen below:
I have investigated it for a long time now, and have found out the following:
If I remove the Units, the expression Evaluates as it is supposed to.
If I keep the units, and take the reciprocal of 1/rA ( so just rA ), it evaluates. Not with the correct answer of course.
I have done the exact same operations once before, but with a much smaller function rA, which worked!
I am pretty much on bare ground, and hope someone can help me by pointing out my mistakes. I am afraid the answer is obvious, but I have stared too much at the same two lines of code, and have hence become immune toward finding a solution.
You have decyphered it all correctly. I am sorry you had to do that. I use the *dintt* method in Mathematica, and so it pasted it oddly.
When I remove the units in the function rA and calculate, I get the same result as you in a matter of seconds (270.514 Liters), which is what I would expect. Nevertheless, when I execute the βV==β with units in rA, Mathematica just keeps running, without finding anything. So after waiting a long time, I just abort. Naturally I would like to calculate the expression with units. Add why does it help reciprocating the reciprocal ( 1/rA )?
What is funny, we run the same operating system, and the same version of Mathematica. Thus I do not get why it does that. Did you use the AutomaticUnits package when you executed?
I had not heard of the AutomaticUnits package until your note.
In my version, Mathematica treats all these βunitsβ as undefined symbols.
Most conveniently cancel.