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 Guy Payeur  
#1 Posted : 20 April 2019 18:05:19(UTC)
Guy Payeur


Rank: Member

Groups: Registered
Joined: 15/09/2012(UTC)
Posts: 20
Man
Canada
Location: Quebec

Was thanked: 2 time(s) in 2 post(s)
Hello,

I was writing an example and meet a possible issue.

Look at the attached file, is it normal to not being able to assign directly t.1 and t.n to the integral interval?

ISERROR QUESTION MARK.sm (15kb) downloaded 10 time(s).

2019-04-20 11_03_05-SMath Studio - [ISERROR QUESTION MARK.sm_].png

2019-04-20 11_04_01-SMath Studio - [ISERROR QUESTION MARK.sm_].png

Thank you

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

Offline PompelmoTell  
#2 Posted : 20 April 2019 18:37:52(UTC)
PompelmoTell


Rank: Advanced Member

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

Was thanked: 109 time(s) in 93 post(s)
attention: you used "t" both as a vector and as an integration variable
integ.png

sergio
thanks 1 user thanked PompelmoTell for this useful post.
on 20/04/2019(UTC)
Offline Jean Giraud  
#3 Posted : 20 April 2019 21:04: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)
Originally Posted by: Guy Payeur Go to Quoted Post
I was writing an example and meet a possible issue.

Like this ...

Cumul.PNG

ISERROR QUESTION MARK.sm (17kb) downloaded 12 time(s).
thanks 1 user thanked Jean Giraud for this useful post.
on 20/04/2019(UTC)
Offline Guy Payeur  
#4 Posted : 23 April 2019 18:45:50(UTC)
Guy Payeur


Rank: Member

Groups: Registered
Joined: 15/09/2012(UTC)
Posts: 20
Man
Canada
Location: Quebec

Was thanked: 2 time(s) in 2 post(s)
Thank you Jean for your example of cumulative integration. That was my next step :-)

Still, I found that the integration variable is not quite independent (local) to the integral function. Should it be the case?

2019-04-23 11_44_33-SMath Studio - [ISERROR QUESTION MARK_2.sm].png

See the attached file. ISERROR QUESTION MARK_2.sm (17kb) downloaded 6 time(s).
Offline Razonar  
#5 Posted : 23 April 2019 20:46:43(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)
Originally Posted by: Guy Payeur Go to Quoted Post
Thank you Jean for your example of cumulative integration. That was my next step :-)

Still, I found that the integration variable is not quite independent (local) to the integral function. Should it be the case?


Hi. It isn't in other software, like maple. Usually it must to be an undefined name:

Clipboard01.gif

Best regards
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 23/04/2019(UTC)
Offline Jean Giraud  
#6 Posted : 23 April 2019 22:09:05(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: Guy Payeur Go to Quoted Post
Still, I found that the integration variable is not quite independent (local) to the integral function.

Yes, like in Mathcad, in the wild domain of integration
Doctored in red, attached ... Cheers ... Jean

IntegrateGuy.PNG

ISERROR QUESTION MARK_2.sm (19kb) downloaded 8 time(s).


Offline Guy Payeur  
#7 Posted : 24 April 2019 06:31:11(UTC)
Guy Payeur


Rank: Member

Groups: Registered
Joined: 15/09/2012(UTC)
Posts: 20
Man
Canada
Location: Quebec

Was thanked: 2 time(s) in 2 post(s)
Using wild value for x axis brought plots that look a lot better. Thank you Jean.

I guess that integration range meant not to be mixed with the integration variable. That does not disturb the calculation, but was only a bit counter intuitive.

Thanks for all (Jean, Alvaro and Sergio)

ISERROR QUESTION MARK_3.sm (58kb) downloaded 7 time(s).
Offline Jean Giraud  
#8 Posted : 24 April 2019 14:36:49(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: Guy Payeur Go to Quoted Post
I guess that integration range meant not to be mixed with the integration variable. That does not disturb the calculation, but was only a bit counter intuitive.

Same in Mathcad/Mathsoft. Read more in the attached from Drummondville.
Salut Voisin ! .. Jean

Integrate Compendium_000 Indefinite.sm (11kb) downloaded 9 time(s).

Offline Guy Payeur  
#9 Posted : 24 April 2019 15:53:25(UTC)
Guy Payeur


Rank: Member

Groups: Registered
Joined: 15/09/2012(UTC)
Posts: 20
Man
Canada
Location: Quebec

Was thanked: 2 time(s) in 2 post(s)
2019-04-24 08_33_40-SMath Studio - [Integrate Compendium_000 Indefinite.sm_].png

Ok, so this worked because 'x' is the variable name for the vanishing iterator.


2019-04-24 08_35_16-SMath Studio - [Integrate Compendium_000 Indefinite.sm_].png

Also worked because 'z' is a passing variable that will be iterated by 'x' in the plot.


2019-04-24 08_39_00-SMath Studio - [Integrate Compendium_000 Indefinite.sm_].png

Would you explain why [-2..2] is 222 pixels? Should this be correlated to the window resolution? And not being a fixed value?

Thank you
Offline Jean Giraud  
#10 Posted : 24 April 2019 18:41:41(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: Guy Payeur Go to Quoted Post
Would you explain why [-2..2] is 222 pixels? Should this be correlated to the window resolution? And not being a fixed value?

I copied the plot from another document, as it was then calipered.
Smath native 2D plot are adjustable by pixel in both directions.
Very nice to get pleasant looking side by side up/down plots.
Mathcad used to be not by pixel, rater by ½ pica. Thus not fine
trace and never none two of same size.
The other gorgeous plots are OriginLab. Not a function plotter
but plot XY data joined by spline(s) on pixels.
When you Shift+@ you get the native Smath canvas 232 150
Windows screen resolution is 96 ppi [PixelPerInch].
Thus eye fatigue on long term use because the internal
EyeFourierTransform must convert to the normal eye resolution
"normalized" 1200 ppi.

Read more about indefinite integral plots ... Jean

Integrate Compendium_000 Indefinite.sm (20kb) downloaded 10 time(s).
Offline Jean Giraud  
#11 Posted : 25 April 2019 05:40:05(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: Guy Payeur Go to Quoted Post
Would you explain why [-2..2] is 222 pixels? Should this be correlated to the window resolution? And not being a fixed value?

Another interesting visit ... It would be on prescribed pixels
if the cumulative would be discretized instead of scalar.
In the attached the f(x) looks monster big to calculates, not so.
f(x) is given in the Smath executable format.

Integrate_00000 [ RECAST Scalar].sm (14kb) downloaded 7 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.