Vertical Bar Question

Vertical Bar Question - Messages

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

Mark R Harris

4 likes in 90 posts.

Group: 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 Posted: 4/10/2022 5:49:49 AM
overlord

overlord

551 likes in 1332 posts.

Group: Moderator

Wrote

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


It is line() function.
1 users liked this post
Mark R Harris 4/10/2022 6:17:00 AM
#3 Posted: 4/10/2022 6:22:16 AM
Mark R Harris

Mark R Harris

4 likes in 90 posts.

Group: User

Wrote

It is line() function.


Excellent, thank you. On to it.

#4 Posted: 4/10/2022 10:45:51 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 4/10/2022 2:05:43 PM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

No function line()
Primer.png
Primer.sm (6 KiB) downloaded 25 time(s).
1 users liked this post
Mark R Harris 4/11/2022 2:02:00 AM
#6 Posted: 4/11/2022 12:30:57 AM
overlord

overlord

551 likes in 1332 posts.

Group: 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 users liked this post
Mark R Harris 4/11/2022 2:01:00 AM
#7 Posted: 4/11/2022 6:51:49 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: 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
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Mark R Harris 4/11/2022 3:38:00 PM
#8 Posted: 4/11/2022 9:30:31 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 24 time(s).
#9 Posted: 4/11/2022 10:42:00 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 4/11/2022 2:21:06 PM
overlord

overlord

551 likes in 1332 posts.

Group: 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 users liked this post
Mark R Harris 4/11/2022 3:39:00 PM
#11 Posted: 4/12/2022 8:35:59 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

As offered, no flaw ...


... slightly refreshed.

Maths algo style.sm (46 KiB) downloaded 27 time(s).



#12 Posted: 4/12/2022 8:13:42 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

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

overlord

551 likes in 1332 posts.

Group: Moderator

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

Regards
  • New Posts New Posts
  • No New Posts No New Posts