4
votes
3answers
199 views

How can I suppress zero or nonzero values in a matrix?

So, if I have something like: F[IdentityMatrix[3] // MatrixForm, 1] I'd like F[] to display: $$\begin{pmatrix} 1 & ...
1
vote
1answer
61 views

How to rewrite and possibly speed up a recursive sum?

I have the following for-loop calculating a multiple nested sum ...
3
votes
1answer
118 views

Solving Non-linear System of Equations

I need to get a symbolic solution to a system of non-linear equations (equation 8 is non-linear), but Mathematica is running for ever and gives no answer. Is there another way to get the solution? My ...
3
votes
1answer
93 views

How to reduce a quartic form to a quadratic form with equal roots

Preface: To clear the theoretical background this question is cross-posted on math.stackexchange here. I have a polynomial in $n$ variables of the form ...
2
votes
1answer
157 views

Compile a MeijerG function [duplicate]

I am not very experienced with Compile, I tried to use it for a Meijer-G function ...
5
votes
1answer
103 views

How do I efficiently navigate the Documentation Center?

Back in the day, I read the Mathematica Book cover-to-cover, and I found it to be an enlightening experience. I realize that the Documentation Center is now an order of magnitude larger than the ...
0
votes
1answer
91 views

Writing a Code to plot a function that includes a double integral [closed]

I am trying to write a code in Mathematica. Here are my steps: F[u_] = Some nontrivial and long expression in terms of u; Umax[x_, y_] = Some expression in terms of x and y; W[x_, y_] := integral ...
1
vote
1answer
42 views

Problem using variable loaded from TextField

I'm trying to make a simple app, which loads some data via TextFields and then does something with that, but ... ...
2
votes
1answer
63 views

Dot in place of prime to denote differentiation

To denote differentiation with respect to time I wish to use overhead dots rather than primes, so that differential expressions will look somewhat like this: $\quad \quad$ ...
1
vote
0answers
45 views

Updating a GUI with ComboBox using GUIKit

Dear Mathematica users, does anyone know how I can update my existing Gui window (made with GUIKit) by choosing different values of a ComboBox so that different and multiple TextFields etc appear ...
3
votes
0answers
49 views

Using an external Pattern breaks Format

I noted while writing this answer that using an external Pattern on Format doesn't work: ...
0
votes
1answer
42 views

Partition a range of integers into triples

Some time ago, I was asked to look at a simple to formulate puzzle. Consider the list of numbers {1,2, ..., 33}. Try to split this list in 11 triples, such that in ...
0
votes
0answers
6 views

Evaluate the Limit [migrated]

Evaluate the Limit: lim [(1 + 3x) / (1 + 4x^2 + 3x^4)]^3 x->1, as x approaches 1 The answer is supposed to be 1/8 but i keep getting 7/23. what did i do wrong? My work is shown below. Step 1) ...
0
votes
0answers
37 views

Why is PolyLog[] giving weird answers for ordinary values?

Possibly related to this question, but it seems slightly different: Strange behaviour of PolyLog Function Wikipedia says that for real s, z<1 should be real. So I was confused when MMa returned: ...
1
vote
1answer
92 views

Runge-Kutta Butcher tables

I like to have the Butcher's table for Explicit (or implicit as well) Runge-Kutta method of a fixed order. I do not understand reading ...
1
vote
1answer
53 views

How can I plot a 3D graph that shows how a histogram varies with a particular parameter?

How can I plot a 3D graph that shows how a histogram varies with a particular parameter? A simple example of this would be plotting a histogram of data described by a gaussian. The gaussian is of ...
5
votes
1answer
118 views

TeXForm and Symbolize

I would like to use TeXForm to generate latex output as usual. Howeve, I use subscripted variables such as c_t. Unfortunately, when using symbolize in the notations package for this end, TeXForm does ...
0
votes
0answers
38 views

Why is default option not being applied? [on hold]

I developed a function that converts a magnitude and angle to the corresponding cartesian coordinates. As a convenience, I want the function to assume the angle I provide is in degrees by default, so ...
2
votes
1answer
44 views

How to apply a transformation to a grid?

I would like to apply a coordinate transformation, visualised as an action on a two-dimensional grid like The particular example above is $$x^\mu \mapsto \frac{x^\mu - b^\mu x^2}{1-b\cdot x+ b^2 ...
0
votes
0answers
49 views

Question about degenerate functions in Mathematica 10 [closed]

I found some functions included in "Combinatorica" package were obsoleted, such as MinimumVertexColoring, VertexColoring. Is there any other new replacement function for them? If not, what is the back ...
4
votes
2answers
356 views

Force a negative square root to be interpreted as an I

I have expressions like $$\sqrt{-\sqrt{1+x^2}} $$ how can I force mathematica to systematically rewrite this as $$i(1+x^2)^{1/4} \quad ? $$
4
votes
1answer
81 views

Is there a built-in function to do binary search?

Is there a built-in function to do binary search? Say, given a list (sorted) and a number, find the position which keeps the listed sorted when the number is inserted. I know that ...
3
votes
3answers
104 views

Differential equation with a Heavisidetheta function running for ever

So I'm trying to get the solution of the following differential equation: ...
0
votes
0answers
23 views

Can't Load .rst file

I've been working with the FeynRules 2.1 package in Mathematica 10. If I download the MC4BSM_2012 FeynRules files and run the Mathematica Notebook I've got no problem in Ubuntu (A lot of warnings ...
0
votes
1answer
56 views

NDSolve not able to solve a system of differential equations

Here are some basic equations ...
2
votes
1answer
39 views

How to simulate Placed in workaround for PlotLegends ParametricPlot bug?

I'd like Legended output for call like: ...
0
votes
0answers
36 views

Strange behavior of AssociationMap

here is what I've searched over stackexchange I'm on windows 8.1 x64 with Mathema... 10.0.2. sometimes, Definition[AssociationMap ]=Null I found ...
1
vote
1answer
102 views

how to find curve fitting parameters without an explicit relation between x and y?

Let's say I have some experimental data (x,y) and I want to find some fitting parameters. But in my mathematical model, the fitting parameter are not in a simple equation that relates x and y. For ...
-1
votes
1answer
61 views

Logic Gates - How to show eight ways an AND function can be realized using negative and postivie logic [closed]

I am asked to use negative and positive logic (using bubbles on the gates) to show eight ways that an AND function can be realized. Im not too sure how to do this. The only way I can create an AND ...
0
votes
1answer
64 views
1
vote
1answer
66 views

Overlap an image in real time

I made a real-time face detector with Mathematica, and I want to put an image where it detects the face. Here is my code: ...
6
votes
1answer
75 views

Select From List of Nested Associations

I have an association: ...
1
vote
0answers
67 views

Code turns dark blue after trying to run it [closed]

I have a large amount of data in my N-Body Code. I imagine Mathematica doesn't really like this, but is there any other reason for my code turning a navy blue colour after I try to run it?
1
vote
2answers
113 views

Solving a second order non-linear differential equation

I am trying to solve the following equation DSolve[{u''[t] + 4 u[t] + 0.1 u[t]^3 u'[t] ^2 == 0, u[0] == 1, u'[0] == 1}, u, t] Unfortunately Mathematica is ...
0
votes
0answers
25 views

How to Insert Page Break at end of Repeating Block with “Evaluate and Delete”?

This is with version 10.0.2 I have simple notebook template to generate some bingo cards. I would like to have them print two to a page. However, no matter what I do with the page break it will not ...
5
votes
2answers
109 views

Discretizing regions with pointy boundaries

I'm trying to discretize a region with "pointy" boundaries to study dielectric breaking on electrodes with pointy surfaces. So far I've tried 3 types of boundaries, but the meshing functions stall ...
3
votes
2answers
149 views

How to save all notebook outputs as pdf file

I have produced a lot of graphs and tables in my notebook. I am trying to save all these outputs as pdf file. As we know form Rodney and form Mr. Wizard , we can not use save as function. I have ...
0
votes
0answers
72 views

Expand a fitting using FindFit[]

I need to implement multidimensional optimization using FindFit[]. But it's essential to exclude some parameters from the main procedure of optimization and to move on from direct optimization in ...
0
votes
0answers
36 views

How many CPUs does gridMathematica support?

In the features section it is written that: gridMathematica is an integrated extension system for increasing the power of your Mathematica licenses. gridMathematica Server gives Mathematica users ...
9
votes
3answers
236 views

Label multiple edges between same vertices

I have a simple graph with multiple edges between two vertices, say: Graph[{ Labeled[a -> b, "A"], Labeled[a -> b, "B"] }] Unfortunately, Mathematica ...
11
votes
1answer
204 views

Filling to Axis as Arrow

In version 9 I could do the following with the output as shown. ...
1
vote
0answers
44 views

How to input a dynamically changing parameter in NDSolve? [closed]

I am trying to solve a system of DEs with additional conditions, and one condition depends on a parameter. Let us consider the following example: ...
1
vote
1answer
63 views

Simplification of algebraic expression

I found an entry of a matrix from two different methods using mathematica. Which are given as; g/(Sqrt[2] Sqrt[1 + g^2 - Sqrt[1 + g^2]]) and ...
2
votes
3answers
160 views

Using DiscretePlot to graph the Riemann sum of a parabola

I want to graph the Riemann sum (upper sum) of $y=x^2$ with $1\leq x\leq 4$ using 6 rectangles. I want the rectangles to be green. On the Wolfram Mathworld website, I can render exactly what I want ...
0
votes
0answers
37 views

Define column types in a Dataset - Failure on append and Typesystem

I have a basic function that populates a Dataset according to user specified parameters. ...
2
votes
2answers
134 views

How to apply # on different lists? [duplicate]

If I have list1 = {1, 2, 3, 4} list2 = {5, 6, 7, 8} How can I do so, that function[#1, #2] takes ...
2
votes
1answer
95 views

PDE: Solving Burgers' equation with initial value given by a self consistency equation

I would like to solve in Mathematica the well known inviscid Burgers' equation \begin{align} \begin{cases} u_t(x,t) + u(x,t)u_x(x,t)= 0 \\ u(x,0) = m(x) \end{cases} \end{align} where $$m(x) ...

15 30 50 per page