Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline marks2c  
#1 Posted : 10 April 2022 07:57:45(UTC)
marks2c


Rank: Advanced Member

Groups: Registered
Joined: 01/04/2020(UTC)
Posts: 85
New Zealand
Location: Wellington

Was thanked: 4 time(s) in 3 post(s)
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

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline overlord  
#2 Posted : 10 April 2022 11:49:49(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Originally Posted by: marks2c Go to Quoted Post
It is the Vertical Bar operator (constraint? inputs?) and how do I enter it?

It is line() function.
thanks 1 user thanked overlord for this useful post.
on 10/04/2022(UTC)
Offline marks2c  
#3 Posted : 10 April 2022 12:22:16(UTC)
marks2c


Rank: Advanced Member

Groups: Registered
Joined: 01/04/2020(UTC)
Posts: 85
New Zealand
Location: Wellington

Was thanked: 4 time(s) in 3 post(s)
Originally Posted by: overlord Go to Quoted Post
It is line() function.

Excellent, thank you. On to it.

Offline Jean Giraud  
#4 Posted : 10 April 2022 16:45:51(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: marks2c Go to Quoted Post
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.
Offline Ber7  
#5 Posted : 10 April 2022 20:05:43(UTC)
Ber7


Rank: Advanced Member

Groups: Registered
Joined: 15/07/2010(UTC)
Posts: 437
Man
Israel
Location: Beer-Sheva

Was thanked: 520 time(s) in 288 post(s)
No function line()
Primer.png
Primer.sm (7kb) downloaded 5 time(s).
thanks 1 user thanked Ber7 for this useful post.
on 11/04/2022(UTC)
Offline overlord  
#6 Posted : 11 April 2022 06:30:57(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Originally Posted by: marks2c Go to Quoted Post
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
thanks 1 user thanked overlord for this useful post.
on 11/04/2022(UTC)
Offline mkraska  
#7 Posted : 11 April 2022 12:51:49(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,988
Germany

Was thanked: 1126 time(s) in 723 post(s)
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

Edited by user 11 April 2022 12:59:13(UTC)  | Reason: Not specified

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 11/04/2022(UTC)
Offline Jean Giraud  
#8 Posted : 11 April 2022 15:30:31(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
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 (44kb) downloaded 5 time(s).
Offline Jean Giraud  
#9 Posted : 11 April 2022 16:42:00(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: marks2c Go to Quoted Post
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
Offline overlord  
#10 Posted : 11 April 2022 20:21:06(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
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
thanks 1 user thanked overlord for this useful post.
on 11/04/2022(UTC)
Offline Jean Giraud  
#11 Posted : 12 April 2022 14:35:59(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
As offered, no flaw ...

... slightly refreshed.

Maths algo style.sm (47kb) downloaded 6 time(s).



Offline Jean Giraud  
#12 Posted : 13 April 2022 02:13:42(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
line style.PNG
Offline overlord  
#13 Posted : 13 April 2022 12:28:14(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Sometimes eval() and line() can correct the solutions too.
SMath may have difficulties and those two may help.

Regards
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.