DanFromDK

15 Reputation

4 Badges

1 years, 221 days

MaplePrimes Activity


These are replies submitted by DanFromDK

Thank you @acer .

It works great until I use isolate or simplify.
Do you know a solution to this?

Version:

kernelopts(version)

`Maple 2020.1, X86 64 WINDOWS, Jun 10 2020, Build ID 1474787`

(1)

 

Using isolate - (constants not defined)

isolate(Q = m*c*`ΔT`, c)

c = Q/(m*`ΔT`)

(2)

 

Defining constants:NULL

m := .25*Unit('kg'); Q := 22.5*Unit('kJ'); `ΔT` := 100*Unit('K')

100*Units:-Unit(K)

(3)

 

Using isolate:

isolate(Q = m*c*`ΔT`, c)

c = .9000000000*Units:-Unit(kJ)/(Units:-Unit(kg)*Units:-Unit(K))

(4)

 

Using simplify and isolate:

simplify(isolate(Q = m*c*`ΔT`, c))

c = 900.0000000*Units:-Unit(m^2/(K*s^2))

(5)

(Main problem)

 

Using the recommended syntax:

"with(Units[Simple]):;Units:-UseUnit(J/(kg K)):" 

c = 22.5*Unit('kJ')/((.25*Unit('kg')*100)*Unit('K'))

c = 900.0000000*Units:-Unit(J/(kg*K))

(6)

(Works great!)

 

Using the recommended syntax with isolate and constants defined:

isolate(Q = m*c*`ΔT`, c)

c = 900.0000000/Units:-Unit(kg*K/J)

(7)

Using the recommended syntax with simplify and isolate and constants:

simplify(isolate(Q = m*c*`ΔT`, c))

c = 900./Units:-Unit(kg*K/J)

(8)

(New problem)

 

restart

``


 

Download Unit_problem_version_1.mw

Unit_problem_version_1.mw

Page 1 of 1