# All Questions

2 views

### ScheduledTask with scoped variables. Working with timed evaluation

I guess I have to try harder and focus more but timed evaluation always frustrates me. I will show the issue on simple delayed trigger example. ...
42 views

### Gamma function computation efficiency?

I wonder what kind of algorithm is used to compute the values for the gamma function. Specifically, I am interested in how the computational load increases when the complexity of the input grows. So, ...
57 views

### Reproducing a Plot done with WolframAlpha [duplicate]

I have problem to draw in Mathematica a plot like this: Plot[{Sum[a^10*(-1)^(x-a), {a, 1, x}]}, {x, 1, 10}] The problem is that on the plot there is no graph. As ...
43 views

### How to make GraphicsGrid with different widths of rows?

I want to make GraphicsGrid and I want to use first row for indication of parameters, but in that case the first row remains in same size as others. How can I make ...
38 views

### Using high RasterSize or ImageResolution changes contour pattern

I found that the detailed contour pattern will be altered if we Rasterize the original graphics using high RasterSize or ...
67 views

### Combining 2 or more functions

Maybe the question is stupid but I am newbie in using Mathematica, so I really need your help. I have a periodic smooth function s[ϕ] and $4$ different functions ...
78 views

### How to exit from the innermost enclosing pure function?

Here is what I tried to do: ...
84 views

### Solve Differential Equations using DSolve

I want so solve a differential equation $$\frac{d}{dx}(k_0 (\frac{T[x]}{T_0})^n \frac{dT[x]}{dx})=0,$$ with boundary conditions $T[l]=T_0, T'[0]=-\frac{q_0}{k_0 T[0]^n}$ using ...
44 views

### Infix strange behaviour

Maybe this is a bug or maybe Infix acts differently than the other functions. The fact is that both: TreeForm[Infix[f[x, a]]] and ...
33 views

### how to do variation

I have an equation needs to do variation. I can do it by hand, but I get different result by mathematica. maybe I made some mistakes in programming. can anyone point out for me? thanks This is how I ...
47 views

### How to create 2k sized vector in k sized loop

I want to solve a system of simple differential equations. At some point I need to solve non-linear system of algebraic equations with Newton method. I would like to efficiently create a right hand ...
41 views

### how recover lost data of coordinates from contourplot of mention data?

I have made Contour Plot for a lot of data, like this ...
28 views

### Buttons to generate copyable output

I have a grid as per below, made out of a series of buttons. Upon mouse click, I would like the buttons to (a) change the colour of that square and (b) output the text value of that button ...
20 views

triangle ABC with an arbitrary point M inside it, while MB" , MC" , MA" are distances and AA, BB , CC` are heights of the ABC triangle I need to prove the ...
34 views

### Export all open notebooks and change font size

Is there a simple way to export all open notebooks to pdfs? Also, when I export notebooks the font looks too big / the margins are too big. Can I change these settings when exporting?
49 views

### Export data of a 3D histogram

I want to export the data of a three dimensional histogram in the format # x y z with a blank line between different lines, so that one can plot the ...
56 views

### Sum of first n items in a sequence [on hold]

What's a way to sum over the first n items in a sequence, for example the sequence defined by $2^{k-1}\cdot k$ for $k\in\mathbb{Z},k>0$? I do these by hand all the time but am a bit tired of doing ...
70 views

32 views

### Financial number format

How can I change this function: nFormat=NumberForm[#,{\[Infinity],2},NumberPoint->",",NumberSeparator->".",DigitBlock->3,ExponentStep->10]&; So ...
65 views

### How to make the GroupOpeners visible in the SlideShow regime?

I am preparing a presentation on Mathematica and realized that though I made the GroupOpeners visible in the working regime (through the OptionInspector), they are invisible in the regime of the ...
52 views

### Importing and running a notebook [duplicate]

I have a very long .nb file. I want to subdivide the different sections into separate notebooks, then call them in a common nb ...
80 views

...
59 views

### How to solve this FindFit::nrlnum:

the following code show error message FindFit::nrlnum: "The function value {6.71759 -9.36268*10^-8\ I,6.51797 -8.42641*10^-8\ I,6.31789 -7.49014*10^-8\ I,6.1179 -6.55387*10^-8\ I,5.91794 ...
136 views

### Reducing mesh details while exporting to vector format SVG

I am trying to export a simple cuboid into .SVG format. In the output file, the cuboid is finely meshed, which increases the file size. How to remove this detailed mesh? ...
48 views

### Kernel behaviour in FindMinimum Optimization

I am optimizing very big problem as following: ...
73 views

### Finding Minimum of a list after interpolation

I have a set of lists called Er[l], where l is from 1 to 13. I want to find the minimum point in the plot in these lists after interpolation by spline method. I need the values and the points on the ...
257 views

### Can (compiled) matrix permanent evaluation be further sped-up?

Update  Multiple optimizations that were suggested by members "ssch" and Simon Woods have in aggregate yielded a ~5X code-speedup; and these optimizations now are incorporated in the example ...
58 views

### solving nonlinear pde for response and its derivatives in space and time? [on hold]

It is possible to solve mentioned nonlinear pde, for v(x,t) and its space and time derivatives in Mathematica? Boundary conditions are, v(0, t) = 0; v"(0, t) = 0 @ x= 0 v(l, t) = 0; v"(l, ...