Nasser
Reputation
34,863
Next tag badge:
95/100 score
27/20 answers
Badges
1 53 123
Newest
Impact
~435k people reached

• 1 helpful flag
• 2,566 votes cast

# 3,274 Actions

 Nov 18 comment Catastrophic loss of precision Please change the letter l to something else, say L0. I can figure if I am looking at a 1 or l in your code, they look very much the same. Nov 17 revised How to extract a list of available Method-s remove debug line Nov 17 comment How to extract a list of available Method-s @AlexeiBoulbitch I've added another function to filter only those options which has the Method-> on them and only show those. I kept the original function as is. Nov 17 revised How to extract a list of available Method-s added filter to pick methods Nov 17 awarded Enlightened Nov 17 awarded Notable Question Nov 16 comment For loops in Mathematica n = 5; For[i = 1, i <= n, i++, For[j = 1, j <= n, j++, If[i != j , Print["i=", i, " j=", j] ] ] ] screen shot to confirm the result !Mathematica graphics Nov 16 comment Troubles with FindFit for ODE This code (from documentation) works The code does not work. screen shot: !Mathematica graphics you might be missing some additional code. Please post complete working code. Nov 16 comment “Independent” Variables in Manipulate if you make your code readable, may be you'll get better help. I can't even read the code. This is how it looks on my notebook !Mathematica graphics may be it will help if you start by removing all the subscript boxes stuff. Nov 14 comment Creating an orrery most folks here use Mathematica, and systemModeler is separate program from Mathematica. I suggest asking at community.wolfram.com they have special group for system modeler there. Nov 14 awarded Nice Answer Nov 14 comment Calculating an integral by the Romberg Algorithm @ShutaoTang one hr? No, it runs in Matlab just as fast as with Mathematica. I can't imagine why this would take one hr. May be your friend has a bug in the code. They can run the Matlab profiler on it to find where the slow down is. Nov 14 comment Calculating an integral by the Romberg Algorithm @belisarius it is not functional because the original HW here and here was in Matlab actually, and I just did now a quick 1:1 translation on the fly. (did not want to change many things so not to break it :) Nov 14 revised How to extract a list of available Method-s added 202 characters in body Nov 14 answered How to extract a list of available Method-s Nov 14 revised Calculating an integral by the Romberg Algorithm updated image Nov 14 revised Calculating an integral by the Romberg Algorithm deleted 47 characters in body Nov 14 comment Calculating an integral by the Romberg Algorithm what does HW assignmentmean it means it was a home work, for school. I took a class and this was one HW. Nov 14 answered Calculating an integral by the Romberg Algorithm Nov 14 comment Calculating an integral by the Romberg Algorithm I understand what this is doing. My point is that, you should first work on the algorithm to make sure it works, but eliminating any un-needed extra fancy complexity. You can always fine tune things later if needed. I'll try to look up my HW and post my code.