# All Questions

53 views

### Switching ArcTan argument from a sequence to a list

The objective is to determine the angle formed by the line connecting two points in the plane, say p and q. The ...
79 views

### How to handle Indeterminate TimeConstrain

I have to use Timeconstrained[aux] first for avoid some bigs calculation that dont need and it use a lot of time of calculate, so i can't do this. ...
50 views

### Multiple lines in an If statement [on hold]

What I am wondering is how do you perform multiple lines when using the If statement. I know the following is not proper Mathematica code, but how would I do this in Mathematica? ...
30 views

### Turning something into a form that can be used as C code [on hold]

I have a function F[x_]:= SOMETHING and I want to use it in a C code. Is there any easy way of doing this? Examples For functions like Log or sqrt, it could use the math library, for special ...
2k views

### Formatting Ticks and FrameTicks labels with a function

Is there a convenient way to format tick labels? In this example I would like to use the default Mathematica tick intervals, but simply convert the X axis labels to strings with "s" added. As you ...
412 views

### How to create a thick spiral then extract the coordinates from the image?

I can plot a thin spiral using just: $r=\frac{\theta }{2 \pi };$ PolarPlot[theta/2 Pi,{theta,0,2 Pi}] but is there a way to plot a spiral that has actual area ...
135 views

### Where I can find the CD version of Stan Wagon - “Mathematica in action” 3rd ed. book?

I've just started my license and I need the code to focus on implementing my programs. I can't make the code in the book run. Can anyone help?
38 views

### NDsolve with discontinuous non-numeric PDE coefficients

I want to solve the heat diffusion equation with variable thermal conductivity. So I have the following code ...
709 views

### How to get grid lines at all (log) tick marks in Version 10?

In Version 7 using GridLines -> Automatic (or All) would put a grid line at every log-spaced tick mark: ...
58 views

### How to tell Mathematica that a limit converges to a product of two variables

I have looked through the manual and Im simply just stuck trying to make Mathematica solve this: ...
170 views

### Labels strangely rendered in PDF

I'm new to Mathematica so I apologize if this is obvious to answer. Anyway, using the following code (most of it is extraneous, to make the plot look the way I want) I plotted the Morse potential, ...
124 views

### Having trouble translating Matlab fsolve into Mathematica

I searched the site and found that someone said FindRoot is equivalent to fsolve, however, without proper options, ...
728 views

### How to define a recursive pattern?

I want to translate this recursive syntactic definition into a Mathematica pattern1: $$\mathtt{x}: \begin{cases} \text{Null}\\ \{\textit{integer}, \mathtt{x}\} \end{cases}$$ In other ...
25 views

### Method used by NMaximize with a binary linear problem

I'm using Mathematica 7's NMaximize to solve a linear programming problem with thousands of 0/1 integer variables, thousands of linear constraints and a linear target. I suppose I could use ...
38 views

### How to change the position of the PlotLabel? [duplicate]

PlotLabel positions the label on top of the plot by default. I would like to put it below the plot. How can I do that? Thank you.
45 views

### Change only tick labels while keeping default ticks [duplicate]

Consider the following Plot3D (although the same question might be asked for the 2D case) ...
2k views

### How to remove ConditionalExpression from output

I need define the function with parameter so I could directly generate a power series expansion. The problem is that in some cases ConditionalExpression appears in output. Here is my code: ...
70 views

### What options need to be set for Simplify to perform a certain manipulations similar to FullSimplify?

Simplify performs algebraic transformations and is fast, while FullSimplify tries a wide range of transformations involving ...
30 views

### EdgeForm with Graphics

I want my figure to have an edge and I am playing around with EdgeForm[Thick], putting it in different places. My figure is: ...
5k views

### How to avoid returning a Null if there is no “else” condition in an If contruct

I need to use If but with only one option that is if "a" then do "b", else do nothing. So I wrote If[a,b] but the problem is ...
518 views

### Specifying non-conflicting PlotTheme options

A bug or limitation in 10.0.0 affects a few of these examples; it was resolved in 10.1.0. I am trying out Mathematica 10 on https://programming.wolframcloud.com. ...
1k views

61 views

### What is the meaning of the lists of numbers in the FullForm of a compiled function?

For example, f = Compile[{{x, _Real}}, x]; FullForm[f] has this output: ...
436 views

### Save a C compiled function without losing the blessing of C compiler

Consider the following example: ...
51 views

### Assign values to parameters from a list/Matrix using GUI

Assume there is a list like: ma={{L1,r1},{L2,r2}}; I want to convert the ma to a GUI which asks me about the values of ...
570 views

### Importing Excel Spreadsheet containing Array Formulas

Has anyone had any success with importing an Excel Spreadsheet holding an array formula into Mathematica? The Syntax I'm using is ...
54 views

### Evaluate NDSolve within NDSolve

So I am attempting to solve a differential equation which includes a differential equation (i am not sure if this why my code is giving problems). I am pretty sure that everything is as its supposed ...
1k views

### Why does Mathematica use [[ ]] notation for array indexing?

I am confused by why Mathematica uses [[3]] to get the 3rd element, or [[i,j] to get the i,j-th element of a 2D array. This ...