Skip to main content
10 events
when toggle format what by license comment
Mar 19, 2016 at 15:17 comment added kirma As far as I understand your code, I think you should really not use For, and probably not even Print (I admit, I used it quite a bit 20 years ago when I was green). Instead, you should consider Functions, Tables, or other functional concepts. My personal preference is to avoid imperative programming and explicit loops whenever practical. Mathematica is really suited for this approach, and as a result you'll feel a lot less like you're fighting against it.
Mar 18, 2016 at 14:32 review Close votes
Mar 20, 2016 at 10:55
Mar 18, 2016 at 14:21 answer added Gypaets timeline score: 4
Mar 18, 2016 at 14:17 comment added Dr. belisarius Welcome to Mathematica.SE! I suggest the following: 0) Browse the common pitfalls question 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Read the faq! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign!
Mar 18, 2016 at 14:17 vote accept K.Kozieł
Mar 18, 2016 at 14:14 comment added Nasser But you wrote For[u == 1, u <= 1, so how do you expect this to run 11 times? try may be For[u = 0, u <= 1..... (note also difference between = and ==). These are not the same in Mathematica. see help on reference.wolfram.com/language/ref/For.html also better to use Do if you need to make explicit loops.
Mar 18, 2016 at 14:11 answer added Dr. belisarius timeline score: 7
Mar 18, 2016 at 14:05 history edited Dr. belisarius CC BY-SA 3.0
added 43 characters in body
Mar 18, 2016 at 13:53 review First posts
Mar 18, 2016 at 14:14
Mar 18, 2016 at 13:52 history asked K.Kozieł CC BY-SA 3.0