Hi Ihor.
I'm null at elisp. Could you please refer to me a simple example of math
operation and unit simplification in elisp?
Thanks :$
10 dic 2022 14:51:39 Ihor Radchenko :
> Ypo writes:
>
>> (defmath uconvert (v u)
>> "Convert value V to compatible unit U."
>> (math-convert-units v u))
Ypo writes:
> (defmath uconvert (v u)
> "Convert value V to compatible unit U."
> (math-convert-units v u))
>
>
> But no luck, "cs" result is an ERROR. Is it feasible to get a value for
> "cs" with no units?
Note that apart from Calc formula notation, you can use Elisp. That will
avoid
#+TBLFM: $s=uconvert($W*$l/$Z,kg / cm^2)::$cs=uconvert($s_lim/$s, )
where uconvert is defined as:
(defmath uconvert (v u)
"Convert value V to compatible unit U."
(math-convert-units v u))
But no luck, "cs" result is an ERROR. Is it feasible to get a value
for "cs" with no units?
Ok, it
Hi
I have found an alternative solution to this problem:
Is it possible to express in a calc block some basic operations with
variables and non-predefined units?
For example, if you wanted to build a code block that calculates how
much money costs
a land with an Area of 300x300 m^2 at a