Z-Y.L
Reputation
340
Top tag
Next privilege 500 Rep.
Access review queues
 May9 comment Least Square Fitting @AlexeiBoulbitch I usually write an answer in the comment if it can be expressed as one sentence. Anyway, thanks for your suggestion! May7 comment Least Square Fitting Using Solve is an easy way: Solve[Log[y]==(*your answer from A*)/.x->Log[u],y] Apr10 comment A question about two ways to use Default Thanks for your help! Apr10 comment How to solve correctly inside a DO loop and then plot There are some warnings when solving your equation in the Do loop. You'd better correct the code. By the way, the solutions to your equations contains complex numbers, so the condition -1.01 < x < 1.01 might give you the void set. Mar11 comment Are there some other ways to solve a second PDE except DSolve? @Nasser Thank you! Mar11 comment Are there some other ways to solve a second PDE except DSolve? @xzczd Thanks for this information. I'll try it again. Feb17 comment “Save Graphic As…” does not include plot legends Actually, you can use Export command to export your result as a picture such that Export["test.jpg",(*your result*)]. By this way the legend is included. Feb17 comment Convert number to exponent form with highest power possible @NLCJ In @Rojo 's comment, exp=GCD @@ FactorInteger[n][[All,2]] is exp=Apply[GCD,FactorInteger[n][[All,2]]]. This may be make it clearer. Jan20 comment Count the number of sqrt and 4th powers in a function As suggested by @b.gatessucks,you should check the FullForm of this expression first. Besides, patterns of specified types includes _Integer,_Real,_Complex,_List,_Symbol and the general _head, where head is returned by Head. So there is no _Sqrt but _Power,because Head[Sqrt[x]] returns Power. Jul17 comment Conditioning on group of functions @Amin That's right, but you have to declare the option Se before Bigin["Private"] in the form of Options[AbEst]={Se->False}, since you can't modify the variables in the context Private. If so, the definition of the function should be AbEst[b0_, u0_, method_, opts___?OptionQ] :=Module[{...,op=Se/.{opts}/.Options[AbEst]},...]. Jul17 comment How to group lists that own one common element? Thank you! Gather is more general and flexible than GatherBy. Jul17 comment How to group lists that own one common element? Thanks very much! It is what I want. In fact, I don't need to get those sub-lists like {9,7}. Jul17 comment Conditioning on group of functions @Amin You're right! I forgot to add ; at the end. I have corrected it. By the way ,can I have a look at how you wrote your package? You can't just save as Mathematica package. You have to create a new package document by File->New->Package.Or if the format style of the code that you want to write to a package in your notebook is Code(the shortcut is Alt+8), then you can save as a Mathematica package. Jul16 comment Conditioning on group of functions @Amin Please see the updates. Jul16 comment ReadList with type Expression unable to read scientific notation? The problem lies in the E . In Mathematica, E presents the exponential constant e. In your case, ReadList gets the result of 8.846947803007962 times E minus 4 Jun12 comment Expressing large numbers in index form Are you sure 1237940039285380274899124224 = 510^10? Isn't 510^10 equal to 1190424238276130010000000000? Maybe I didn't understand correctly. Jun11 comment FullDefinition and Module local variable By looking at the details and all examples in the help document, the possible reason is that FullDefinition[expr] just PRINTs all the symbols relative to expr, not distinguishing Local variables from global ones, because of its attribute of HoldAll. Apr18 comment Strange result from evaluating a Limit expression @Szabolcs They have just filed a reporter with their developer. I'm afraid they have not resolved the problem. Apr12 comment Strange result from evaluating a Limit expression Sure. @Szabolcs Apr11 comment Strange result from evaluating a Limit expression I evaluated it with V9.0.1 on Win7 (32bit), while my friend got 0 with V9.0.1 on Win7(64bit). It's strange!@m_goldberg @Szabolcs