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 Leandro Martins  
#1 Posted : 22 September 2020 14:37:20(UTC)
Leandro Martins


Rank: Member

Groups: Registered
Joined: 15/09/2020(UTC)
Posts: 9
Brazil

Was thanked: 1 time(s) in 1 post(s)
Hello everyone.

I have an If shown in the image below. I would like that in addition to the result of the equation, it would also be shown from which equation the result originated.
It is possible?
Capturar.PNG

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

Offline Jean Giraud  
#2 Posted : 22 September 2020 15:37:22(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Leandro Martins Go to Quoted Post
I have an If shown in the image below.
I would like that in addition to the result of the equation,
it would also be shown from which equation the result originated.
It is possible?

Maybe ... but document is missing ... Ah !

Offline PompelmoTell  
#3 Posted : 22 September 2020 16:14:47(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 318
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
Leandro, for example like this:
Leandro.sm (8kb) downloaded 31 time(s).
As Jean says help us get help and always attach the smath file with the problematic example.

sergio
Offline Leandro Martins  
#4 Posted : 22 September 2020 17:37:05(UTC)
Leandro Martins


Rank: Member

Groups: Registered
Joined: 15/09/2020(UTC)
Posts: 9
Brazil

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: PompelmoTell Go to Quoted Post
Leandro, for example like this:
Leandro.sm (8kb) downloaded 31 time(s).
As Jean says help us get help and always attach the smath file with the problematic example.

sergio


Thank´s so much Sergio. It´s Works very nice.
Next time I will put smath file.

Attach the math file only to check my solution. But this is in Portuguese!

Memoria de Calculo Monovia.sm (244kb) downloaded 29 time(s).

Edited by moderator 22 September 2020 20:31:08(UTC)  | Reason: Marked as solved

Offline Razonar  
#5 Posted : 22 September 2020 23:41:26(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Hi. Those are very similar to the Sergio (Pompelmo Tell) solution:

Clipboard01.jpg

Best regards.
Alvaro.
Offline Jean Giraud  
#6 Posted : 23 September 2020 15:31:24(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Often, if/otherwise is more convenient in program.
In some applications, program accepts only if/else.
Generally < is incompletely determined ... ≤ is completely determined.
It may result in an error message or simply an error w/o message.

if-else ... if-otherwise.sm (22kb) downloaded 24 time(s).
Users browsing this topic
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.