SMath Studio Forum
»
SMath Studio
»
Questions
»
Numeric integration boundary assignation
Rank: Member Groups: Registered
Joined: 15/09/2012(UTC) Posts: 20 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).Thank you
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/12/2011(UTC) Posts: 319 Location: italy Was thanked: 109 time(s) in 93 post(s)
|
attention: you used "t" both as a vector and as an integration variable sergio
|
1 user thanked PompelmoTell for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Guy Payeur I was writing an example and meet a possible issue. Like this ... ISERROR QUESTION MARK.sm (17kb) downloaded 12 time(s).
|
1 user thanked Jean Giraud for this useful post.
|
|
|
Rank: Member Groups: Registered
Joined: 15/09/2012(UTC) Posts: 20 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? See the attached file. ISERROR QUESTION MARK_2.sm (17kb) downloaded 6 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Originally Posted by: Guy Payeur 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: Best regards Alvaro.
|
1 user thanked Razonar for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Guy Payeur 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 ISERROR QUESTION MARK_2.sm (19kb) downloaded 8 time(s).
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/09/2012(UTC) Posts: 20 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).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Guy Payeur 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).
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/09/2012(UTC) Posts: 20 Location: Quebec Was thanked: 2 time(s) in 2 post(s)
|
Ok, so this worked because 'x' is the variable name for the vanishing iterator. Also worked because 'z' is a passing variable that will be iterated by 'x' in the plot. 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
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Guy Payeur 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).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Guy Payeur 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).
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Numeric integration boundary assignation
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.