using some math functions with units (log)

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

#1 Pubblicato: 15/04/2024 20:17:52
Harry Bouma

Harry Bouma

0 apprezzamenti in 4 post.

Gruppo: User

unitsproblem.sm (5,85 KiB) scaricato 1665 volta(e).

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 Pubblicato: 15/04/2024 20:46:22
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 Pubblicato: 16/04/2024 17:01:32
Harry Bouma

Harry Bouma

0 apprezzamenti in 4 post.

Gruppo: User

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

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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
  • Nuovi post
  • Nessun nuovo post