using some math functions with units (log)

using some math functions with units (log) - Values with units give errors with math function like log10 - 消息

#1 已发布: 2024/4/15 20:17:52
Harry Bouma

Harry Bouma

0个赞,共4个帖子。

组: User

unitsproblem.sm (5.85 KiB)已下载 1679 次。

Hi,
I'm trying to create a solution for fatigue strength which makes use of the log10 function.
I can't seem to get it working with values which have units defined for them.
ignoring units also doesn't help for the calculation.
Completely removing units does work, but isn't preferred.
Does anyone have a workaround or method that works with the use of units?


#2 已发布: 2024/4/15 20:46:22
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Since it is an empirical formula, you have to divide the variables by the units you are supposed to assign while solving by hand (here I've assumed the units you used in the assignments are those expected in the formula).

2024-04-15 14_36_31-SMath Solver - [unitsproblem.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 已发布: 2024/4/16 17:01:32
Harry Bouma

Harry Bouma

0个赞,共4个帖子。

组: User

Thank you very much Davide.
Simple solution that wasn't obvious for me.
#4 已发布: 2024/4/16 19:24:49
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

No problem, somehow the simplest things are the hardest to figure out
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • 有新帖
  • 无新帖