sqrt(squared units) not working anymore?

sqrt(squared units) not working anymore? - Messages

#1 Posted: 7/14/2014 11:34:46 AM
zapzapouch

zapzapouch

0 likes in 27 posts.

Group: User

I had a worksheet that worked in the past, but now it doesn't, saying "operation cannot be performed with units", because it's sqrt(V^2)? But if I break it up into two steps it works:


resistor noise fail.sm (6 KiB) downloaded 52 time(s).
#2 Posted: 7/14/2014 12:43:55 PM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Works for me with SMath 0.97.5301, but I see you are using 0.97.5154

Could you try to open your file with the latest Nightly build?
2014-07-14 18_44_11-SMath Studio Desktop - [resistor noise fail.sm].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 7/14/2014 12:52:13 PM
zapzapouch

zapzapouch

0 likes in 27 posts.

Group: User

yes, it works in the Nightly build. thanks.

by the way, the email notification links never work. I always get

"There has been a serious error loading the forum. No further information is available.

Please contact the administrator if this message persists."

and have to find the topic manually
#4 Posted: 7/14/2014 12:57:40 PM
zapzapouch

zapzapouch

0 likes in 27 posts.

Group: User

Actually, no, the original worksheet is not working, only the copy that I uploaded


Basic stuff.sm (11 KiB) downloaded 59 time(s).
#5 Posted: 7/14/2014 1:23:39 PM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

I've already seen this bug, sometimes comes to light...

when the SMath engine output unitary exponents on units, square root fails.

Refreshing the worksheet alternately works/doesn't works.


[EDIT] Added in the BTS: SS-177
2014-07-14 19_21_05-SMath Studio Desktop - [Basic stuff.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts New Posts
  • No New Posts No New Posts