Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
Originally Posted by: overlord Originally Posted by: chito 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. Originally Posted by: chito 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
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(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: ElSid 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
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud 1. as well, you can recast the function name. That's what I meant by recast, last page of the attached. Cheers ... Jean. Integrate AdaptiveRombergKernel FIRST Tool.sm (153kb) downloaded 4 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,131 Was thanked: 512 time(s) in 341 post(s)
|
Originally Posted by: ElSid Interesting list and I like the explanation of "LINE". Originally Posted by: ElSid 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.