Reputation
8,097
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
17 51
Newest
 Enlightened
Impact
~78k people reached

Feb
18
comment invert system of two parametric ODEs and plot results of do-loop
Your Do loops as written have several missing brackets and incorrect capitalisation (Nsolve instead of NSolve). What's the numerical value for zf? NSolve gives a rule as a result, not a value which you can directly compare. Maybe you want Sow and Reap rather than Print.
Feb
12
comment Problem With 3D Contour Plot
What's wrong with that result? What were you expecting?
Feb
10
comment How can I improve Do loop?
DayName is (still) rather slow. See here for a discussion. (Used to be called DayOfWeek before version 9).
Jan
23
comment Reading binary strings from file as strings
@Ajasja It's because it's simple. Easy to understand the problem and easy to understand the answer. The other question/answer is big and intimidating.
Jan
16
comment How to get a rule for, e.g., (x + y) to apply to (-x - y), etc.?
Use FullForm[x + y] and FullForm[-x - y] to see how those two expressions are different (or TreeForm if you are feeling daring). ReplaceAll is a dumb function that is not going to transform your expression for you. It may not be friendly, but it is reliable. In general, as Kuba has suggested, it's better to replace atomic elements.
Dec
10
comment calculating a sequence of functions using iteration
Actually I'm not sure how one would effectively memoise this. How do you cope with the conditions on the argument that isn't memoised?
Nov
20
comment 3D Plot of .txt File of the Surface Plotting Variety
I probably wasn't clear in the answer. Import["C:\\yourfile.dat", "Table"] will read the file directly. I just used ImportString as a toy example.
Nov
18
comment Fitting a function
You could use a rule fit /. m_ t + c_ :> m or pick out the right part fit[[2, 1]]
Oct
17
comment Too much whitespace in a GraphicsGrid containing Legended Plots
You could try Grid instead of GraphicsGrid.
Oct
17
comment Newton-Raphson Method and the Van der Waal Equation Coding question
Looks like you actually want a root this time instead of the minimum. Change FindMinimum back to FindRoot. Also don't forget to adjust your PlotRange.
Oct
17
comment Newton-Raphson Method and the Van der Waal Equation Coding question
Starting conditions were found by trial and error: minimise with a starting value function, plot the results, make up a new function that approximates the good bits of the plot, repeat. See the edit for a better way to do it.
Oct
15
comment Customizing & finding intersection points in polar plot
That's why I'd like to know exactly what the theorem is. As far as I can tell, the curve does not go through equally spaced points at those angles (aside from my ability to count to eight).
Oct
14
comment Customizing & finding intersection points in polar plot
That's not a golden spiral. This might be PolarPlot[GoldenRatio^(2 n/\[Pi]), {n, 0, 2 \[Pi]}]. Can you quote or link to the theorem?
Oct
10
comment How can I speed up my numerical integration?
And should x0 be -50 or 10^-50?
Oct
9
comment How can I speed up my numerical integration?
What's x2? Also, your function f doesn't seem to use xe?
Sep
5
comment Text as plot axes values
What's the deal with Europium?
Jul
17
comment Picking numbers within a list with an interval of 60
You might need to explain a bit more clearly. For example, what's wrong with {5, 14} as one of your sublists? Posting your existing code always helps too. Split and Gather are useful functions for this type of problem.
Jun
26
comment Why doesn't FindRoot work correctly?
It's finding a root, which is all it is asked to do. Starting a bit closer might give the root that you want. Try changing your .5 to x.1.
Jun
20
comment Efficient Generation of Subgraphs (or, unfriend a friend a day)
With 10 people, they each have a choice of 9 unfriendings, giving $9^{10}$ possibilities. The next day there is probably still 10 people with 8 choices, so the total possibilities so far is $9^{10} 8^{10}$. This gets very big, very fast. I don't think you are going to brute force it.
Jun
18
comment StringReplace except some pattern
@HyperGroups Indeed. Have edited to fix.