1 страниц (17 вхождений)
units strange behaviour - Сообщения
#1 Опубликовано: 28.08.2010 20:47:04




This is the first i noted when starting working with units in some basic mass moments exercises for my students
The problem appears when trying to replace the "m2" units with "cm2"... but when tryng to represent the result in "cm" there is no problem, and the units have sense.
Thanks for this great software... An amazing job!!!
#2 Опубликовано: 28.08.2010 21:12:17
Hello.
I've tested your example and no error found:

(download the worksheet)
Please attach your *.sm file here so that I could check it.
Best regards, Andrey Ivashov.
I've tested your example and no error found:
(download the worksheet)
Please attach your *.sm file here so that I could check it.
Best regards, Andrey Ivashov.
#3 Опубликовано: 28.08.2010 21:19:00
#4 Опубликовано: 28.08.2010 21:33:00
It is interesting. I've checked your file with 0.89 version and it is OK. Please can you check the About Dialog of the program in order to check versions of all libraries used? Information should look the same as on the picture below:

If it is the same, then this is very strange... Are you use Portable or Setup version of SMath Studio Desktop? (or maybe Handheld or Mono version?)
Regards.
If it is the same, then this is very strange... Are you use Portable or Setup version of SMath Studio Desktop? (or maybe Handheld or Mono version?)
Regards.
#5 Опубликовано: 28.08.2010 21:46:41
Im using desktop version, not portable, and having the same library versions... any suggest?
#6 Опубликовано: 28.08.2010 21:59:34
After testing portable version, the problem has disappeared... need any information about my .net version?
#7 Опубликовано: 28.08.2010 22:03:49
Hmm. Actually I have two thoughts:
1) Try to reinstall the program and then restart your PC
2) If (1) will not help, then I will prepare a special debug version of SMath Studio for you. It will create a log with all information I need to fix this stuff.
Waiting for your response regarding first item
Regards.
1) Try to reinstall the program and then restart your PC

2) If (1) will not help, then I will prepare a special debug version of SMath Studio for you. It will create a log with all information I need to fix this stuff.
Waiting for your response regarding first item

Regards.
#8 Опубликовано: 28.08.2010 22:05:49
WroteAfter testing portable version, the problem has disappeared... need any information about my .net version?
You've tried a Portable version and now no problem with that installed one?
#9 Опубликовано: 28.08.2010 22:27:32
The problem is not present only in the portable version, but remains in the msi version, even after reinstalling and rebooting... Tell me if you need something from me.
#10 Опубликовано: 28.08.2010 22:39:35
Ok, thank you. Then I will prepare a version for debug purposes tomorrow and I will ask you to open the file with units.
Best regards.
Best regards.
#11 Опубликовано: 29.08.2010 09:12:07
Hello.
I've prepared a new version of SMath Studio with ability to log some debug information: SMathStudioDesktop.0_89_5.Setup.msi. First of all, please, install this version (previous one should be removed before you will start). To activate debugging you need to open the file units_debug.sm, wait till the automatic evaluation will be finished and then just close a program. This SM file has a mark inside, that will activate debugging, so after you'll close a program SMath Studio will automatically open a text file with all information I need to fix a problem. Please, copy all the text from the opened file here and I will check it.
P.S.: This new version of SMath Studio can be used to test new features and/or for everyday use. It has several minor issues only regarding new Area Control implementation.
Thanks in advance. Best regards, Andrey Ivashov.
WroteTell me if you need something from me.
I've prepared a new version of SMath Studio with ability to log some debug information: SMathStudioDesktop.0_89_5.Setup.msi. First of all, please, install this version (previous one should be removed before you will start). To activate debugging you need to open the file units_debug.sm, wait till the automatic evaluation will be finished and then just close a program. This SM file has a mark inside, that will activate debugging, so after you'll close a program SMath Studio will automatically open a text file with all information I need to fix a problem. Please, copy all the text from the opened file here and I will check it.
P.S.: This new version of SMath Studio can be used to test new features and/or for everyday use. It has several minor issues only regarding new Area Control implementation.
Thanks in advance. Best regards, Andrey Ivashov.
#12 Опубликовано: 29.08.2010 12:21:50
Here is the debug file! Hope this helps
#13 Опубликовано: 29.08.2010 13:05:17
Many thanks!
It helped! Working to fix and will create a fixed package for you.
Regards.
It helped! Working to fix and will create a fixed package for you.
Regards.
#14 Опубликовано: 29.08.2010 13:10:40
Actually error appears only when "Answer (set)" option changed to f.e. "Real" item. If you will change it to "Standard" or "Auto" - you will not see this issue anymore.
If you don't mind I will not create an additional package, because issue can be easily fixed with Options Dialog. Ok?
If you don't mind I will not create an additional package, because issue can be easily fixed with Options Dialog. Ok?
#15 Опубликовано: 29.08.2010 13:23:11
No problem! The auto/standard solution worked great, and its good to know that this problem will be solved in next release. Anyway, i found another kind of issue discovered today, when inserting units in an example i made last week...
This is simpler, i guess, and its related with an error like "max positive numer reached"... calculing second moments of a figure, i'm sending you the file for further working.
I guess this new issue is related with the 4th power when trying to find second moments.
Thanks!
This is simpler, i guess, and its related with an error like "max positive numer reached"... calculing second moments of a figure, i'm sending you the file for further working.
I guess this new issue is related with the 4th power when trying to find second moments.
Thanks!
#16 Опубликовано: 29.08.2010 13:46:57
Wroteits related with an error like "max positive numer reached"... calculing second moments of a figure, i'm sending you the file for further working
There were two things:
1) I don't know why, but you uses index 1 to retrieve data from the square roots into I1 and I2 definitions.
2) In SMath Studio it is known issue when Symbolic engine returns "max positive number..." error. To make it possible to workaround it Optimization was introduced. Please see here and here.
Here is a corrected worksheet: massprop_mod.sm (only I1 and I2 definitions modified: indexes removed and Numeric Optimization turned on).
Regards.
#17 Опубликовано: 29.08.2010 13:57:43
Thanks again... the index 1 in the root was introduced because i was receiving 2 square roots (positive and negative), but after changing set from real to auto, im receiving only one square root.
Thanks, ill read the post about optimization!
Thanks, ill read the post about optimization!
1 страниц (17 вхождений)
-
Новые сообщения
-
Нет новых сообщений