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 Javier Ochoa  
#1 Posted : 29 March 2023 20:41:21(UTC)
Javier Ochoa


Rank: Member

Groups: Registered
Joined: 28/03/2023(UTC)
Posts: 26
Argentina
Location: San Miguel de Tucumán

Was thanked: 3 time(s) in 3 post(s)
Hi,
I installed Smath Studio from the AUR repository, I am using Arch and the installation went fine.
I am reading the document GraficasBasicas2012.pdf, which I downloaded from the Wiki Tutorials.
The problem is that the function augment(1,2,3) works different under Linux, and I cannot figure out how to make a simple graphic as the one in the adjointed file.

graficos_prueba.sm (10kb) downloaded 10 time(s).

Maybe someone could help me, regards.

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

Offline Javier Ochoa  
#2 Posted : 29 March 2023 21:59:11(UTC)
Javier Ochoa


Rank: Member

Groups: Registered
Joined: 28/03/2023(UTC)
Posts: 26
Argentina
Location: San Miguel de Tucumán

Was thanked: 3 time(s) in 3 post(s)
Hi,
In the Tools->Options Section I could change the semicolon <;> and now I use the comma (,) as separator. Now I can use the function augment with comma (,) but the graphic function is still not working.

I wonder whether someone can give me a hint.

Regards,
Offline Jean Giraud  
#3 Posted : 30 March 2023 14:09:11(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)
... fast, perfect meshing 'x'.

graficos.PNG
Offline Javier Ochoa  
#4 Posted : 30 March 2023 16:21:48(UTC)
Javier Ochoa


Rank: Member

Groups: Registered
Joined: 28/03/2023(UTC)
Posts: 26
Argentina
Location: San Miguel de Tucumán

Was thanked: 3 time(s) in 3 post(s)
Hi Jean,
Tank you for the post, he problem was solved using the pallete. I will mark as solved.
graficos_prueba.png

Regards,
Offline Jean Giraud  
#5 Posted : 30 March 2023 17:34:39(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: Javier Ochoa Go to Quoted Post
Hi Jean,
Tank you for the post, he problem was solved using the palette.
I will mark as solved.

NO Javier, NOT solved.
Your 'x' is improperly meshed.
Offline Javier Ochoa  
#6 Posted : 30 March 2023 18:16:30(UTC)
Javier Ochoa


Rank: Member

Groups: Registered
Joined: 28/03/2023(UTC)
Posts: 26
Argentina
Location: San Miguel de Tucumán

Was thanked: 3 time(s) in 3 post(s)
Hi Jean,
I can reproduce your example without any problem, I cannot understand where the parameters H,N and L are defined. Also, you defined a function xd and used to evaluate x. Why I cannot use range?.
I suppose that is there an useful explanation for this, which I am curious about it. Maybe, you can give me some hint?

graficos_prueba1.png
Regards,
Offline Jean Giraud  
#7 Posted : 30 March 2023 19:09:12(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: Javier Ochoa Go to Quoted Post
Hi Jean,
I can reproduce your example without any problem, I cannot understand where the parameters H,N and L are defined. Also, you defined a function xd and used to evaluate x. Why I cannot use range?.
I suppose that is there an useful explanation for this, which I am curious about it. Maybe, you can give me some hint?


[L,H,N] are defined in x:= xd(L,H,N)
Why I cannot use range ?.
If you use range, 'x' will start -pi
but will never exactly terminate +pi
unless N in range is 15 decimals ... totally foolish.
Your graph does not terminate +pi.
xd discretizer will populate exactly any 'N' ± pi.
Cheers ... Jean.
Offline Jean Giraud  
#8 Posted : 30 March 2023 21:28:21(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)
... complete algo style, one of my preferred.

Javier.sm (11kb) downloaded 9 time(s).
Offline Javier Ochoa  
#9 Posted : 30 March 2023 22:22:54(UTC)
Javier Ochoa


Rank: Member

Groups: Registered
Joined: 28/03/2023(UTC)
Posts: 26
Argentina
Location: San Miguel de Tucumán

Was thanked: 3 time(s) in 3 post(s)
Hi Jean,
I am greatly surprised with your answer.

I will take care of this lesson in future calculations.

Thanks in advance,
Offline overlord  
#10 Posted : 31 March 2023 03:49:26(UTC)
overlord


Rank: Advanced Member

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

Was thanked: 507 time(s) in 338 post(s)
If your purpose is plotting a range, this is the way.
This is most suitable for your type of functions.
No mumbo jumbo, no algorithm, no unnecessary coding.
Only pure simple if block.

Regards

2023-03-31_03-47.png

graficos_prueba1.sm (12kb) downloaded 5 time(s).
thanks 1 user thanked overlord for this useful post.
on 31/03/2023(UTC)
Offline Javier Ochoa  
#11 Posted : 31 March 2023 15:40:31(UTC)
Javier Ochoa


Rank: Member

Groups: Registered
Joined: 28/03/2023(UTC)
Posts: 26
Argentina
Location: San Miguel de Tucumán

Was thanked: 3 time(s) in 3 post(s)
Hi Overlord,
I very appreciate your thoughts, the graphics looks pretty good.

Kind regards
Offline Jean Giraud  
#12 Posted : 31 March 2023 16:55:57(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: Javier Ochoa Go to Quoted Post
Hi Jean,
I am greatly surprised with your answer.
I will take care of this lesson in future calculations.
Thanks in advance,

The all thing is to complete a project, mostly export.
See the missing regions ...
Please, don't hesitate ... Jean.

Javier More.sm (10kb) downloaded 9 time(s).

Offline Javier Ochoa  
#13 Posted : 31 March 2023 17:05:02(UTC)
Javier Ochoa


Rank: Member

Groups: Registered
Joined: 28/03/2023(UTC)
Posts: 26
Argentina
Location: San Miguel de Tucumán

Was thanked: 3 time(s) in 3 post(s)
Hi Jean,
This file is showing the origin of some missing parameters, like H,L,N, thank you for this worksheet.

I have a BSc in chemical engineering and a PhD in Industrial Chemistry, I also work in a biotechnology institute since 2003.

Maybe, this is why I was asking so many questions.

Kind regards,
Offline Jean Giraud  
#14 Posted : 01 April 2023 02:27: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)
Originally Posted by: Javier Ochoa Go to Quoted Post
This file is showing the origin of some missing parameters, like H,L,N, thank you for this worksheet.

You are not used yet to Smath algorithmic construction
Eager to assist your ChemEng projects.
Cheers ... Jean

Javier More.PNG
Offline Jean Giraud  
#15 Posted : 01 April 2023 16:20:34(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: Javier Ochoa Go to Quoted Post
This file is showing the origin of some missing parameters, like H,L,N, thank you for this worksheet.

To fully understand the command line algorithmic construction,
revisit this 4 examples document. Cheers ... Jean

Solve(f,q,x0,x1,TOL).sm (55kb) downloaded 8 time(s).

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.