Reputation
6,544
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 11 74
Newest
 Revival
Impact
~63k people reached

Feb
27
asked Function equal to Ctrl+Shift+I
Feb
26
reviewed Close Translate Maple code into Mathematica
Feb
22
awarded  Nice Answer
Feb
21
comment What boundary is added when NDSolve::bcart pops up?
You mixed up -1 and 1 in your code, right?
Feb
20
revised What boundary is added when NDSolve::bcart pops up?
edited title
Feb
20
awarded  Tumbleweed
Feb
17
awarded  Nice Question
Feb
16
awarded  Nice Answer
Feb
16
revised Does NRoots own an abstract counterpart? If not, can we write one?
Typo fixed.
Feb
16
comment Dramatic speed difference of code on Matlab and Mathematica
@zjx1805 I believe you'll manage to improve the complete code if you fully understand the answers you got. BTW, See my edit for another 2X speedup.
Feb
16
revised Dramatic speed difference of code on Matlab and Mathematica
added 791 characters in body
Feb
15
comment Dramatic speed difference of code on Matlab and Mathematica
@zjx1805 Then what's the timing for my code?
Feb
15
revised Dramatic speed difference of code on Matlab and Mathematica
Tag added
Feb
15
revised Dramatic speed difference of code on Matlab and Mathematica
added 2 characters in body
Feb
15
comment Dramatic speed difference of code on Matlab and Mathematica
Seems that this hasn't been done: Hello, welcome to Mathematica.SE! I suggest the following: 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!
Feb
15
revised Dramatic speed difference of code on Matlab and Mathematica
deleted 41 characters in body
Feb
15
answered Dramatic speed difference of code on Matlab and Mathematica
Feb
14
comment FindFit runs extremely slow for my Function,how do I optimize this?
Add Method -> {Automatic, "SymbolicProcessing" -> False} in NIntegrate may help.
Feb
14
revised How can I deal with a non-numerical value for a derivative at $t = 0$ when using NDSolve?
improve the naming and format further
Feb
13
comment How can I invoke the solution of NDSolve to determine a parameter in my equation just inside NDSlove?
@lxy No, they're the same, when being a definite solution problems. The solutions of your 2 examples are different, but it's only true for general solution. When you set proper b.c.s to get a unique solution, they'll be the same, try DSolve[{y'[x] + y[x] == a f[t], y[0] == 0}, y[x], x] and DSolve[{D[y'[x] + y[x] == a f[t], x], y[0] == 0, y'[0] == a f[t]}, y[x], x]. (y'[0] == a f[t] can be easily deduced from the first equation set.) And this is exactly your case. Of course if Derivative[2, 0][h][0, t] == Derivative[2, 0][h][L, t] is mistakenly given, then it's another story.