Re: Incompatible units?
- To: mathgroup at smc.vnet.net
- Subject: [mg97782] Re: Incompatible units?
- From: David Bailey <dave at removedbailey.co.uk>
- Date: Sat, 21 Mar 2009 05:19:29 -0500 (EST)
- References: <gpvhet$h05$1@smc.vnet.net>
Mathias Lindner wrote: > Hi > > Today I struggled with the units package - again... > > Let me show you what I did: > > Dynamic[Subscript[\[Tau], p]] > Subscript[l, case] > \[Lambda] = \Convert[Subscript[l, case]/Dynamic[Subscript[\[Tau], p]], 1] > > This input results in: > > 27.4889 Meter Milli > 281 Meter Milli > > Convert::incomp : Incompatible units in (281 Meter Milli)/(27.4889 Meter Milli) and 1. > (281 Meter Milli)/(27.4889 Meter Milli) > > If I don't use dynamic but constant tau_p everything is fine... > So Mathematica isn't able to to reduce this fraction? What's the reason for this behaviour and what can I do about it? > > Thanks for your help! > > Mathias > Your code is still obviously incomplete - for example, the number 27.4889 must come from something. Give us some complete code, and try to explain what you are trying to do with the Dynamic. David Bailey http://www.dbaileyconsultancy.co.uk