i not only sqrt(-1)

i not only sqrt(-1) - Poruke

#1 Objavljeno: 28. 5. 2023. 13:35:26
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

We need the i variable as variable but not as sqrt(-1)
i.png
#2 Objavljeno: 30. 5. 2023. 10:42:37
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

85 svidjanja u 181 postova.

Grupa: User

Greetings,

Wrote

We need the i variable as variable but not as sqrt(-1)



There are other ASCII that can be used to avoid the imaginary number 'i'; For example, you can use the character below (will become Italic):
і:22

You also have the ability to use the 'i' variable with a subscript character (or a space) that will be treated as a different variable then 'i':
i.:22

May this be of Good Help;
⚜ 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
1 korisnika je svidelo ovu objavu
Valery Ochkov 30. 5. 2023. 12:25:00
#3 Objavljeno: 31. 5. 2023. 09:14:48
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

Wrote

Greetings,

You also have the ability to use the 'i' variable with a subscript character (or a space) that will be treated as a different variable then 'i':

i.:22

May this be of Good Help;
⚜ Kenny Lemens, P.E. ᵂᴵ



i-1.png

#4 Objavljeno: 31. 5. 2023. 10:30:43
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

You can guess the drop from the vertical position of the scoping line of the cursor. You also can add a visual dot by typing i. Ctrl-K . This prevents the dot being converted to a comma . Yet, I am not a fan of any tricks which aren't obvious to the reader. But that is a matter of taste.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 korisnika je svidelo ovu objavu
Valery Ochkov 31. 5. 2023. 11:44:00
#5 Objavljeno: 31. 5. 2023. 14:24:36
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Your Tij make Trc ['r' row ... 'c' col]
1 korisnika je svidelo ovu objavu
Valery Ochkov 31. 5. 2023. 15:02:00
#6 Objavljeno: 1. 6. 2023. 12:59:37
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

That's what I meant. If the function generates complex
'i' could not be used as index.

Spot.PNG
#7 Objavljeno: 2. 6. 2023. 08:17:15
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

We need the i variable as variable but not as sqrt(-1)


Imaginary 'i' is pretty Universal, as such in Smath.
No need to freak as stupid as Mathematica 'ii'
[i,j] as compatible indices.
[r,c] ... [m,n] as otherwise needed.

Complex.PNG
#8 Objavljeno: 2. 6. 2023. 08:56:11
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

Wrote

Wrote

We need the i variable as variable but not as sqrt(-1)


Imaginary 'i' is pretty Universal, as such in Smath.
No need to freak as stupid as Mathematica 'ii'
[i,j] as compatible indices.
[r,c] ... [m,n] as otherwise needed.

Complex.PNG



Must be so
iii.png
#9 Objavljeno: 2. 6. 2023. 12:14:04
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

A consistent way to define mathematical (and perhaps immutable) constants would be to mark them as units. In the case of e this would collide with the elementary charge but for i and pi this might work.

Yet this would require changes in the core of SMath, but part of the expected functionality could be provided by custom units.

There are some glitches in the dynamic assistant though:
- Original definition of i is displayed even though it is not available any more. This can be potentially dangerous
- Re-defined variable i is shown in the preview as we would like to see it in the sheet, yet in the sheet it is not italic.

imag.PNG
imag.sm (27,83 KiB) preuzeto 1730 put(ova).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#10 Objavljeno: 2. 6. 2023. 14:31:58
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Though, I don't vote for redefining 'i' in Smath,
how would it affect dependent plugins ? Polyroots, Matlab ...]
  • Novi postovi
  • Nema novih postova