george2079
Reputation
10,857
Top tag
Next privilege 15,000 Rep.
Protect questions
 Apr15 comment How do I plot a filled cylinder in 3D? For this particular example I would do the math and use Disk to draw an ellipse as a 2d graphic. You will get a sharper quality figure.. Apr15 comment How to generate a random, relatively prime number to p? just FYI the brute force approach (While[ ! CoprimeQ[n , i = RandomInteger[n]]]; i) is much faster than the "more elegant" answers.. Apr14 comment Make a program that does union of two lists This can be done with two sets of loops. Not sure why you needed three. Its still so ugly I'm not going to post it though Apr14 comment Unable to Solve (for arclength parametrization) using the parameter s as it own limit doesn't make sense. Try Solve[ArcLength[r[s], {s, 0, smax}] == a, smax] Apr14 comment Bincounting multiple data I'd guess you are after something like BinCounts[#,{min,max,space}]&/@ Table[..] Apr14 comment NMinimize: More parameters lead to worse results although not to be expected here NMinimize isnt guaranteed to find a global minimum, you likely found a local minimum. Apr14 revised NMinimize: More parameters lead to worse results although not to be expected here added 102 characters in body Apr14 revised How to draw a Circle in 3D on a sphere deleted 3 characters in body Apr13 comment How to draw a Circle in 3D on a sphere even do: EdgeForm[Red], FaceForm[Transparent] ..to actually have just a circle. Apr13 revised How to draw a Circle in 3D on a sphere added 18 characters in body Apr13 answered How to draw a Circle in 3D on a sphere Apr13 comment How to draw a Circle in 3D on a sphere I hope its ok, I took the liberty of improving the question because there are a number of good answers here..and the question appears in danger of being closed. Apr13 revised How to draw a Circle in 3D on a sphere Improved question to preserve good answers. Apr10 comment How can I evaluate this function in Mathematica? show what you have tried so folks can see where you are stuck. One hint, dont try to work with subscripts, define F simply like: F[ l_,w_]:= .. Apr10 comment Importing files into mathematica from flashdrive overkill, but maybe useful to someone mathematica.stackexchange.com/a/45918/2079 Apr10 comment Importing files into mathematica from flashdrive Try SetDirectory["E:"] ( or whatever the drive letter is of course ) , then FileNames[] Apr10 comment Importing files into mathematica from flashdrive windows paths look like: "E:\\MOptics\\..." (single forward slash should work as well ) Apr10 comment Plotting with arbitrary units likewise Ticks -> {{#, StringJoin@ {ToString@#, " a"} } & /@ Range[-2 , 2 ] in case your "unit" is not something Quantity knows Apr10 comment Convert Dates to values on an X axis no need to subtract off the initial time here, if you remove that then you can do Plot[fit, {x, AbsoluteTime[{1991, 4, 1}], AbsoluteTime[{2009, 12, 12}]}] which can be directly combined with the DateListPlot Apr10 comment How to calculate time period? You ought to fix this to show the result with the corrected time spec.