Dragsdal

10 Reputation

4 Badges

11 years, 233 days

MaplePrimes Activity


These are questions asked by Dragsdal

Hey everyone.

I have a wierd problem when using the "Units[Standard]" addon.

I'm trying to do some simple thermodynamics calculations, and need to raise certain values in an irrational power.

It looks like this:

restart:
with(Units[Standard]):

n:=1.38:
p1:=1.1[bar]:
v1:=3[dm^3]:
v2:=0.4[dm^3]:

p2:=(p1*v1^n)/(v2^n):

If I execute it, I get this error:
Error, (in Units:-Standard:-^) a unit can only be raised to a rational power

Page 1 of 1