Unit or user error?

Unit or user error? - Сообщения

#1 Опубликовано: 29.11.2022 09:31:40
Roger

Roger

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

Группа: User

Hi all!

Why do b not compute unless I have the formula in the bottom? What am I missing or is it a flaw in SMath?

SMath v 1.0 build 8348.

Unit error.sm (66 КиБ) скачан 25 раз(а).

Thanks,
Roger
#2 Опубликовано: 29.11.2022 10:32:18
Martin Kraska

Martin Kraska

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

Группа: Moderator

This is because at definition time, d.2 has an incorrect (unitless) value. Note that embedded definitions in text regions are as valid as in separate math regions.

The symbolic definition is stored using the existing value of d.2 so that subsequent changes of d.2 don't affect the result any more.

You either use the correct value in the text or you change the assignment operator to boolean equal.

2022-11-29 14_28_05-SMath Solver 1.0.8253 - [Unit error.sm_].png
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 29.11.2022 11:00:23
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

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

Группа: User

Roger,

SMath allows you to declare math variables/evaluations within a text element. Thus, for the text: "use d₂ := 10⁹ or other large number;" d₂ was actually treated as a Mathematical evaluation. Just remove the d₂ := 10⁹ declaration and your sheet will start behaving correctly.


- Kenny Lemens, P.E. ᵂᴵ
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
#4 Опубликовано: 29.11.2022 11:15:12
Roger

Roger

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

Группа: User

Understood, thanks guys!
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений