Vertical Bar Question

Vertical Bar Question - Poruke

#1 Objavljeno: 10. 4. 2022. 01:57:45
Mark R Harris

Mark R Harris

5 svidjanja u 90 postova.

Grupa: 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 Objavljeno: 10. 4. 2022. 05:49:49
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

Wrote

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


It is line() function.
1 korisnika je svidelo ovu objavu
Mark R Harris 10. 4. 2022. 06:17:00
#3 Objavljeno: 10. 4. 2022. 06:22:16
Mark R Harris

Mark R Harris

5 svidjanja u 90 postova.

Grupa: User

Wrote

It is line() function.


Excellent, thank you. On to it.

#4 Objavljeno: 10. 4. 2022. 10:45:51
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 10. 4. 2022. 14:05:43
Fridel Selitsky

Fridel Selitsky

520 svidjanja u 451 postova.

Grupa: User

No function line()
Primer.png
Primer.sm (6,32 KiB) preuzeto 1284 put(ova).
1 korisnika je svidelo ovu objavu
Mark R Harris 11. 4. 2022. 02:02:00
#6 Objavljeno: 11. 4. 2022. 00:30:57
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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
1 korisnika je svidelo ovu objavu
Mark R Harris 11. 4. 2022. 02:01:00
#7 Objavljeno: 11. 4. 2022. 06:51:49
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: 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
1 korisnika je svidelo ovu objavu
Mark R Harris 11. 4. 2022. 15:38:00
#8 Objavljeno: 11. 4. 2022. 09:30:31
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1281 put(ova).
#9 Objavljeno: 11. 4. 2022. 10:42:00
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 11. 4. 2022. 14:21:06
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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
1 korisnika je svidelo ovu objavu
Mark R Harris 11. 4. 2022. 15:39:00
#11 Objavljeno: 12. 4. 2022. 08:35:59
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

As offered, no flaw ...


... slightly refreshed.

Maths algo style.sm (46,74 KiB) preuzeto 1298 put(ova).



#12 Objavljeno: 12. 4. 2022. 20:13:42
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

line style.PNG
#13 Objavljeno: 13. 4. 2022. 06:28:14
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

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

Regards
  • Novi postovi
  • Nema novih postova