From: SourceForge.net <no...@so...> - 2010-01-07 18:55:13
|
Bugs item #2927429, was opened at 2010-01-07 10:39 Message generated for change (Settings changed) made by riotorto You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2927429&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Tests Group: None >Status: Closed >Resolution: Wont Fix Priority: 5 Private: No Submitted By: Stas (newhippie) Assigned to: Nobody/Anonymous (nobody) Summary: Simplification of units do not work always Initial Comment: Hi, I am using maxima 5.9.2. wihile using the "unit" package it is not possible to do som operations. For example: (i1) load(unit); (o1) ... (i2) a:2*Hz/3*s; (o2) 2/3 (i3) sqrt(a); (o3) CLIENT: Lost socket connection ... Restart Maxima with 'Maxima->Restart Maxima'. It is a general behaviour when unsing to different dimensions, which are normaly simplifyed to 1. The same thing happens by cm/m of kg/g. Is there a way to tell maxima to use only the number of an variable and not the units? The bad thing is, that the standard mathematical opperations are possible: in the example before it could be: a+a or a*a ... The error happens by sqrt and ^. I have not tested other things yet. Someone an idea? ---------------------------------------------------------------------- Comment By: Stas (newhippie) Date: 2010-01-07 19:15 Message: Oh, sorry. I mean 5.19.2. In fact, I'm now using ezunits. Thanks to you. ---------------------------------------------------------------------- Comment By: Mario Rodriguez Riotorto (riotorto) Date: 2010-01-07 13:07 Message: Hello, You are using a very old version of Maxima; I suggest you update it. In any case, I think package units is no longer maintained, but you can use package ezunits instead: Maxima 5.20post http://maxima.sourceforge.net using Lisp CLISP 2.44.1 (2008-02-23) Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) display2d : false $ (%i2) load(ezunits) $ (%i3) a:2/3 `Hz/s; (%o3) 2/3 ` Hz/s (%i4) b : sqrt(a); (%o4) sqrt(2)/sqrt(3) ` sqrt(Hz)/sqrt(s) (%i5) b ``fundamental_units(b); 0 errors, 0 warnings ezunits: computing conversions to base units; may take a moment. (%o5) sqrt(2)/sqrt(3) ` 1/s -- Mario ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2927429&group_id=4933 |