# All Questions

22 views

### $2^p+16k^2+16k+14=(8k^2+10k+3) \cdot s$ in Mathematica

Could someone write this in mathematica for me: $2^p+16k^2+16k+14=(8k^2+10k+3) \cdot s$ where $s,k,p$ are integers, and $0<s,0<p, 0 \le k \le 20$. Find mininimum value of $p$ so that $s$ is an ...
26 views

### Plotting an Infinite series question

I am trying to plot the infinite sum: $$u(x,t)=∑_{n=1}(8L^2/(2n-1)^3π^3)\sin(((2n-1)πx)/L)e^{(-(2n-1)^2π^2kt)/L^2}$$ with $L=1$, $k=1$ and $t=0.1$, $0.2$, $0.5$, $1.0$, $10.0$. This is what I have ...
29 views

### ParallelTable and Random

Each time I execute the following code it generates the same cylinders with the same format. ...
40 views

### Three Body Problem Equilateral Triangle

I'm currently working on showing that the equilateral triangle arrangement of the three-body problem has an analytic solution. So far I've written the equations of motion of each body into Mathematica ...
38 views

### Extract part of a matrix

I have imported a matrix from a .txt file (it could be better from an Excel file): ...
23 views

### Orderless and Sequence

I just ran into the following subtlety. Let us consider a function f with attribute Orderless. ...
41 views

### What is the difference between Dynamic[x] and Dynamic[ h[x] ] for DynamicModule variables?

Why plain Dynamic[x] is less sensitive and less likely to automatically be updated than e.g. Dynamic[{x}]? The issue was raised ...
20 views

### How to find x intercept using two functions in NDSolve?

I have functions for x[t] and y[t] in NDsolve and I want to find where the graph crosses the ...
107 views

### intersecting cylinders

I try to replicate the two figures of two intersecting cylinders from here. I tried ...
46 views

### ListPlot of imginary part

Assuming I have a list like: {{1, 1. - 0.0169212 I}, {2, 0.99611 + 0.0326189 I}, {3,1.02048 + 0.0945609 I}, {4, 1.02722 + 0.138977 I}} When I try now ...
30 views

### How to delete certain words from a word cloud in mathematica?

I generated word clouds from a text file in Mathematica. I was able to remove words with 5 or less characters from the cloud. ...
25 views

### Maximum Value of an Interpolating Function [on hold]

my code below does not output the correct maximum value. ...
33 views

### Y-axis Tick labels are all identical [duplicate]

For Plot[x^12 - x^9 + x^4 + 1, {x, -.001, .001}] Details on Y-axis seem to be wrong.I am using V 9.0.1.0 .Bug?
44 views

### Getting axes range from plot (of the plot) [duplicate]

Related to this question in a way. After making a plot, I'd like to get the plot range (not the range of the function, but the range chosen for plotting which usually leaves some buffer room). I've ...
28 views

### Avoiding Smoothing in ListSurfacePlot3D

I'm loading a dataset {x,y,z,v} from a text file. It is about a triangulated surface and then I am using ListSurfacePlot3D to plot it. However, ListSurfacePlot3D is ...
29 views

### For “ListPlot3D” ,How to make a color plot, if the f(x,y) range only from very small amount

I have plotted with List3d plot using the following command ...
37 views

### Wrong root when using numerical values

I have the following inequality: $$\sqrt{\frac{a}{2x}}+ \frac{b}{1-\frac{a}{a+\sqrt{a(2bx + a)}}} + \frac{a}{2x\frac{a}{a+\sqrt{a(2bx + a)}}\left(1-\frac{a}{a+\sqrt{a(2bx + a)}}\right)} < f$$ on ...
293 views

### How to code the following in Mathematica

How do I get the following into Mathematica, solving for a: $$0.7 = 1 - \frac{2}{a} \times [ \frac{1}{a} \int_0^a \frac{x}{\exp(x)-1} dx + \frac{a}{6} - 1]$$
45 views

32 views

### Trouble solving system of nonlinear equations with piecewise

Here is my code so far ...
117 views

### How can I plot an impulse series within a square wave?

I want to plot a repeated impulse of 1 millisecond (ms) within a signal of 61 Hz (16ms). My current code is: ...
73 views

### Back from transfer function (s-domain) to differential equation (in t-domain)

I've got the following transfer function (in the s-domain): $$\text{H}(s)=\frac{\text{C}s}{\text{RC}s+1}$$ Is there a function in Mathematica 10 that I can go back to the differential equation (in ...
46 views

### How to convert an uploaded image to a “dot-to-dot” puzzle?

I would like to upload an image to Mathematica and have the software place numbered points throughout the image so that it appears as a "dot-to-dot" image puzzle. I would also like to specify exactly ...
41 views

### Planning flights for a special route

I want to plan a world trip with Mathematica. So I already have the dataset with all the cities I want to visit and the tour (with the command FindShortestTour). So ...
52 views

### Error in Manipulate [on hold]

I am trying to create a button which will give random values for certain parameters. I am using the following in Manipulate[]. ...
22 views

### Share variables among notebooks with different Kernels

So I have a server running in another notebook with a secondary kernel. I run my main notebook and launch the server notebook, but I have configured the variables in my main one, and can't find a way ...
62 views

76 views

### Difference Colored legends from main plot

I am using the below code to create legends but I don't know why the colors in legends for various plots are different of devoted to main color of plots From ...
29 views

### Discrete Mathematics DFA Finite State Digram Problem [on hold]

So I am solving a finite state diagram problem where w alternates a's and b's and has an even number of b's. In my solution I had this basically. I was just wondering if this is acceptable because ...
39 views

### Avoid Evaluation of Function at NDSolve

I have a huge "black-box" f function, which I want to integrate. Let's define it: f[x_,y_,a_]:=a*Exp[-(a*10000)(x^3+y^3)] as ...