Efficient representation of many different primitives A bit over a year ago in this forum, it was discussed how to speed up considerably the plotting of a set of points by passing the list to Point rather than applying Point to each element of the list ([1], see also [2]). My question is: what happens if each point needs to be of a different color? Does this me... 2 Mar 2010 08:57
NDSove::berr error Hello, Please help me with this; I try to numerically solve this equation: sol = NDSolve[{D[Y[z], z, z] + 10^12 Sin[Y[z]] Cos[Y[z]] == 0, (D[Y[z], z] /. z -> 0) == 2*10^6, (D[Y[z], z] /. z -> 7*10^-6) == 2*10^6}, Y[z], {z, 0, 7*10^-6}, WorkingPrecision -> 12, PrecisionGoal -> 7, Method -> {"ExplicitR... 1 Mar 2010 09:09
Not-convergence in NDSolve I compiled this program to solve a ODEs, but it is not able to converge. Someone can suggest a method? F = 26 *10^5; \[Mu] = 5.9742 *10^24 *6.67428* 10^-11; Isp = 290; m = F/(9.81 Isp); GLOW = 80000 + 23805 + 9000 + 370 + 8500 + 2556 + 1056 + 413 + 1300 + 385; tb = 80000/m; r0 = 6371; \[Theta]0 = 85 Degr... 1 Mar 2010 05:52
Saving code as PDF Hi guys I need to include some Mathematica-code in a LaTeX-document. I would really like the Mathematica-font and all of that to be apparent as well, which is why I have come to the conclusion that saving my code as PDF and including it in LaTeX is the best way to go (please correct me if I am wrong). Now, th... 4 Mar 2010 05:35
Background color or alike for Panel && Manipulate Dear Community, I faced a following problem: On my notebook PC (Windows 7, Mathematica 7) the operations like Panel or Manipulate have an unexpected appearance of a gray frame with a white (instead of LightGray) background, and a non-convex appearance. A usual Panel appearance (e.g., convex with a gray backg... 1 Mar 2010 04:46
Shading in polar plot All: I would like to shade the area outside of the circle Sqrt[3] and inside the lemniscate r^2=6Cos[2 t]. Can this be done using PolarPlot and mesh functions or is something else needed? PolarPlot[{Sqrt[3], Sqrt[6 Cos[2 t]], -Sqrt[6 Cos[2 t]]}, {t, 0, 2 Pi}] Shows the curves without the shading. Jon ... 4 Mar 2010 05:35
Distributing "Large" Expressions to Remote Nodes Dear MathGroup, I would like to send "large" expressions between a master and a parallel slave on a remote machine: slaves = LaunchKernels[] (* {KernelObject[1, "brown.chem.luc.edu"]} *) Do[ data=Table[RandomReal[],{l}]; DistributeDefinitions[data]; returnValue=ParallelEvaluate[Length[data]]; Print[{l,By... 1 Mar 2010 04:46
LogicalExpand for De Morgan's laws takes long t Hi, I'm using Mathematica 6.0 on a Mac (2.5GHz Intel Core 2 Duo with 4GB memory) with Snow Leopard 10.6.2. I have a relatively long boolean expression that I will apply the DeMorgan's law, i.e LogicalExpand[! expr]. This takes some minutes. Is there any possible solutions to "speed up" the computation? Do ... 28 Feb 2010 05:37
ListPlot Mathematica 6, XP windows Help says ListPlot plots lists of points, but my attempts to plot the following two lists failed: ListPlot[{{{1,y1},{1,y2},{1,y3}},{{2,y4},{2,y5},{2,y6}}}] The second entries in each pair are simulated values of random variables having the normal distribution, with specified param... 1 Mar 2010 05:52
LogicalExpand for De Morgan's laws takes long t Hi, I'm using Mathematica 6.0 on a Mac (2.5GHz Intel Core 2 Duo with 4GB memory) with Snow Leopard 10.6.2. I have a relatively long boolean expression that I will apply the DeMorgan's law, i.e LogicalExpand[! expr]. This takes some minutes. Is there any possible solutions to "speed up" the computation? Do ... 27 Feb 2010 03:25 |