Vertical Bar Question

Vertical Bar Question - Mensajes

#1 Publicado: 10/4/2022 1:57:45
Mark R Harris

Mark R Harris

5 me gusta en 90 mensajes.

Grupo: User

Hi,

As I'm learning into SMath (and greatly enjoying this) I've struck a wee problem and I can't seem to find in the tool pallets or the interactive book/help videos.

It is the Vertical Bar operator (constraint? inputs?) and how do I enter it?

Thank you in advance.

Vertical Bar Qtn.png
#2 Publicado: 10/4/2022 5:49:49
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

It is the Vertical Bar operator (constraint? inputs?) and how do I enter it?


It is line() function.
A 1 usuarios les gustó este mensaje
Mark R Harris 10/4/2022 6:17:00
#3 Publicado: 10/4/2022 6:22:16
Mark R Harris

Mark R Harris

5 me gusta en 90 mensajes.

Grupo: User

Wrote

It is line() function.


Excellent, thank you. On to it.

#4 Publicado: 10/4/2022 10:45:51
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

It is the Vertical Bar operator (constraint? inputs?) and how do I enter it?


Type ]
to elongate: click any place holder, type ,,,,,, coma
Try it, does it work ? Much simpler than from f(x) menu.
#5 Publicado: 10/4/2022 14:05:43
Fridel Selitsky

Fridel Selitsky

520 me gusta en 451 mensajes.

Grupo: User

No function line()
Primer.png
Primer.sm (6,32 KiB) descargado 1259 vez(es).
A 1 usuarios les gustó este mensaje
Mark R Harris 11/4/2022 2:02:00
#6 Publicado: 11/4/2022 0:30:57
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

Excellent, thank you. On to it.


Line() is used mainly for programming.
One benefit of using is using in user functions.
You can find more information about other things on Reference book.

Regards

Cilck to enlarge
A 1 usuarios les gustó este mensaje
Mark R Harris 11/4/2022 2:01:00
#7 Publicado: 11/4/2022 6:51:49
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

In Appendix B of the SMath Handbuch you find a list of operators and how to input them.

There is also a snippet "Help" in the online gallery but some entries there are not correctly formatted (problem with Table region).

In the interactive handbook you find these tables under >SMath Studio Documents >Operators and their keyboard input.



The tables there seem to be ok. There seem to be differences between the rendering engine in the reference material window and in the main window of SMath Studio.

2022-04-11 11_53_08-SMath Solver - [mathblock_Solve.sm_].png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 1 usuarios les gustó este mensaje
Mark R Harris 11/4/2022 15:38:00
#8 Publicado: 11/4/2022 9:30:31
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Your very first project may produce an arc region
as exemplified/demo in the attached ... NFG for suite.
As offered, no flaw ...
However, new command line dictates the suite be adapted.
Smath so gorgeous in there !
Cheers ... Jean.

Maths algo style.sm (43,74 KiB) descargado 1246 vez(es).
#9 Publicado: 11/4/2022 10:42:00
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

As I'm learning into SMath (and greatly enjoying this) I've struck a wee problem and I can't seem to find in the tool pallets or the interactive book/help videos.


Here, there is no tool palette.
Immensely productive.

Algo Line.PNG
#10 Publicado: 11/4/2022 14:21:06
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

There are some other tricks to remember as well.
Here is list of would be considered useful;
  • symbolic/numeric optimization
    most errors can be parsed with selecting the right one
  • Δ temperatures (Δ°C, Δ°F, Δ°Re)
  • using units for engineering calculations
  • not using units for plots and some solvers {solve(), roots()}
    or using multiplications at right place to trick as value is unitless
  • using maple() or maxima() for most symbolic results (better support)
  • smath vectors/matrices starts with 1, mathcad starts with 0
    some new users troubles with converting mathcad functions to smath
  • recursive functions shall give an error after 50 steps
    better not to use it, try to write algorithms conventional way
  • eval() for faster calculations (sometimes)
  • line() for verbatim functions (not needed always)
  • to be careful for variable names
  • choosing right plot for the right job
A 1 usuarios les gustó este mensaje
Mark R Harris 11/4/2022 15:39:00
#11 Publicado: 12/4/2022 8:35:59
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

As offered, no flaw ...


... slightly refreshed.

Maths algo style.sm (46,74 KiB) descargado 1264 vez(es).



#12 Publicado: 12/4/2022 20:13:42
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

line style.PNG
#13 Publicado: 13/4/2022 6:28:14
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Sometimes eval() and line() can correct the solutions too.
SMath may have difficulties and those two may help.

Regards
  • Nuevos mensajes
  • Sin mensajes nuevos