![ElSid ElSid](/forum/images/noavatar.gif) ![](/forum/Images/Ranks/Advanced-Member.png) Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 ![Man Man](/forum/Themes/yafvision/male.gif) ![United States United States](/forum/Content/images/flags/US.png) Location: USA Was thanked: 17 time(s) in 15 post(s)
|
Originally Posted by: overlord ![Go to Quoted Post Go to Quoted Post](/forum/Themes/yafvision/icon_latest_reply.gif) Originally Posted by: chito ![Go to Quoted Post Go to Quoted Post](/forum/Themes/yafvision/icon_latest_reply.gif) Is there a reason why Dy is within in eval()? eval() makes computations faster most of time. Very minor times, may have no effect or slows the calculation. It would be wise to choose where and when to use it. ![2021-12-23_17-53.png](/forum/resource.ashx?a=42748&b=2) Originally Posted by: chito ![Go to Quoted Post Go to Quoted Post](/forum/Themes/yafvision/icon_latest_reply.gif) I think this is a very important point that I need to keep in mind. Using unique names in functions is also a great suggestion. Thank you overlord. Well thank you, glad if I could help. There are some other tricks to remember as well. Here is list of which come to my mind at this instant; - symbolic/numeric optimization
most errors can be parsed with selecting the right one
- Δ temperatures (Δ°C, Δ°F, Δ°Re)
- not using units for some solvers {solve(), roots()}
or using multiplications at right place to trick solver 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 wrtie algorithms conventional way
- eval() for faster calculations
- line() for functions (not needed always)
- to be careful for variable names
- choosing right plot for the right job
Interesting list and I like the explanation of "LINE". In addition, it took me a bit to understand using # in the variable name when I first started. I now use it all the time, but it took me a bit for it to sink in & a newbie needs to understand that it's a special character (I tend to use # first). As I update some of my calculations, I'll look at both of these items
|
|
|
|
![Jean Giraud Jean Giraud](/forum/resource.ashx?url=http%3a%2f%2fen.smath.info%2fforum%2fUploads%2f9678.PNG&width=100&height=100) Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 ![Canada Canada](/forum/Content/images/flags/CA.png) Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
![Jean Giraud Jean Giraud](/forum/resource.ashx?url=http%3a%2f%2fen.smath.info%2fforum%2fUploads%2f9678.PNG&width=100&height=100) Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 ![Canada Canada](/forum/Content/images/flags/CA.png) Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: ElSid ![Go to Quoted Post Go to Quoted Post](/forum/Themes/yafvision/icon_latest_reply.gif) Interesting list and I like the explanation of "LINE". In addition, it took me a bit to understand using # in the variable name when I first started. line | is typical of an algorithmic suite wrt a dependent program. Download 2022 Samples ... see color(M). The algo style I offered previously was not possible official SS 5346, but possible from Un-Official SS 5346 from recollection. Then came superb native Smath 6179. Cheers ... Jean
|
|
|
|
![Jean Giraud Jean Giraud](/forum/resource.ashx?url=http%3a%2f%2fen.smath.info%2fforum%2fUploads%2f9678.PNG&width=100&height=100) Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 ![Canada Canada](/forum/Content/images/flags/CA.png) Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud ![Go to Quoted Post Go to Quoted Post](/forum/Themes/yafvision/icon_latest_reply.gif) 1. as well, you can recast the function name. That's what I meant by recast, last page of the attached. Cheers ... Jean. ![Recast.PNG](/forum/resource.ashx?a=42787&b=2) Integrate AdaptiveRombergKernel FIRST Tool.sm (153kb) downloaded 4 time(s).
|
|
|
|
![Jean Giraud Jean Giraud](/forum/resource.ashx?url=http%3a%2f%2fen.smath.info%2fforum%2fUploads%2f9678.PNG&width=100&height=100) Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 ![Canada Canada](/forum/Content/images/flags/CA.png) Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
![overlord overlord](/forum/images/noavatar.gif) ![](/forum/Images/Ranks/Advanced-Member.png) Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,129 ![Turkey Turkey](/forum/Content/images/flags/TR.png) Was thanked: 510 time(s) in 340 post(s)
|
Originally Posted by: ElSid ![Go to Quoted Post Go to Quoted Post](/forum/Themes/yafvision/icon_latest_reply.gif) Interesting list and I like the explanation of "LINE". Originally Posted by: ElSid ![Go to Quoted Post Go to Quoted Post](/forum/Themes/yafvision/icon_latest_reply.gif) I now use it all the time. After I finished to write list, I realized it too. (swh) Line explanation is not mine, it is from Reference Book. I do started to use some special characters too. This is much easier to assign unique variable names at first than maintaining after using them.
|
|
|
|
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.