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 Опубликовано: 15.04.2024 20:17:52
Harry Bouma

Harry Bouma

0 сообщений из 4 понравились пользователям.

Группа: User

unitsproblem.sm (5 КиБ) скачан 39 раз(а).

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 Опубликовано: 15.04.2024 20:46:22
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: 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 Опубликовано: 16.04.2024 17:01:32
Harry Bouma

Harry Bouma

0 сообщений из 4 понравились пользователям.

Группа: User

Thank you very much Davide.
Simple solution that wasn't obvious for me.
#4 Опубликовано: 16.04.2024 19:24:49
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений