FDS

220 Reputation

6 Badges

19 years, 192 days

MaplePrimes Activity


These are questions asked by FDS

As a newbie I tried to do some simple calculations. Unfortunately one of my calculations does not solve. I assume I do not see the obvious. Would someone be so kind to help me out? Thank you
 

restart

with(LinearAlgebra)

pH := Vector(2, {(1) = 7.17, (2) = 7.25})

Vector[column](%id = 4598165698)

(1)

pCO2 := Vector(2, {(1) = 74, (2) = 56})

Vector[column](%id = 4696862338)

(2)

pK := 6.1

6.1

(3)

CO2 := `~`[`*`](pCO2, 0.3e-1)

Vector[column](%id = 4696842050)

(4)

HCO3 := `~`[`*`](`~`[`*`](0.3e-1, pCO2), 10^`~`[`-`](pH, pK))

Error, (in rtable/Power) exponentiation operation not defined for non-algebraic exponents

 

TCO2 := CO2+HCO3

28.30272572

(5)

VCO2 := 22.4*(28.3-25.41)*5.9

381.9424

(6)

NULL


 

Download test.mw
 

restart

with(LinearAlgebra)

pH := Vector(2, {(1) = 7.17, (2) = 7.25})

Vector[column](%id = 4598165698)

(1)

pCO2 := Vector(2, {(1) = 74, (2) = 56})

Vector[column](%id = 4696862338)

(2)

pK := 6.1

6.1

(3)

CO2 := `~`[`*`](pCO2, 0.3e-1)

Vector[column](%id = 4696842050)

(4)

HCO3 := `~`[`*`](`~`[`*`](0.3e-1, pCO2), 10^`~`[`-`](pH, pK))

Error, (in rtable/Power) exponentiation operation not defined for non-algebraic exponents

 

TCO2 := CO2+HCO3

28.30272572

(5)

VCO2 := 22.4*(28.3-25.41)*5.9

381.9424

(6)

NULL


 

Download test.mw

 

Dear, I am a newby using Maple and encounter following issue: when I multiply a vector with 2 elements and units [m] with e.g. 6 [m] using the *~ for an element by element multiplication this works as it should. However, when I try to multiply a vector with 2 elements and units [mA] and multiply this in the same way as above with 14 [V] I get as answer 2 results with a correct multiplication but followed by V mA. First I would expect [W] as unit but the V mA in the result vector are apparently no units. What am I doing wrong?

Thank you for any help.

First 7 8 9 Page 9 of 9