Magnitude of a vector?

Magnitude of a vector? - Where's the operator? - Сообщения

#1 Опубликовано: 27.09.2020 12:35:26
ggmaynard

ggmaynard

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

Группа: User

I'm a long time Mathcad user (back to the DOS version) and I think SMath is great, better than what Mathcad has become. So I'm surprised to be so stumped by something so simple. How do I get the magnitude of a vector? In Mathcad I'd use the "|" keyboard shortcut, but in SMath that's a Boolean OR. In the tool palettes I see two operators that look like what I want: absolute value (works only on scalars) and determinant (works only on square matrices). I know this probably seems like a dumb question but I can't find reference to it anywhere.
#2 Опубликовано: 27.09.2020 13:13:32
ggmaynard

ggmaynard

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

Группа: User

Just discovered the answer apparently is the "norme" function, kind of like in MATLAB. Mathcad has it too, but for square matrices only. I guess I was thinking more like an engineer than a mathematician. Would still be interested to know whether there's a way I'm missing that makes the vector magnitude look like |x| which is the usage I'm used to.
#3 Опубликовано: 27.09.2020 14:10:21
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

For only numerical procedures it seems that you can redefine abs(x) in this way:

Clipboard01.jpg

Notice that this don't works for derivatives. It could be a good idea typesetting norme(x) as ||x|| (double bar).

Best regards.
Alvaro.
1 пользователям понравился этот пост
sergio 27.09.2020 14:30:00
#4 Опубликовано: 27.09.2020 21:28:38
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

How do I get the magnitude of a vector?


More generally, the length of a vector is its arc length.
Then from simple Wikipedia style or mathematically computable..
Always possible from discrete data + finite differences.

#5 Опубликовано: 28.09.2020 09:19:38
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

makes the vector magnitude look like |x|



ArcLength.sm (49 КиБ) скачан 112 раз(а).

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений