1
vote
0answers
43 views

Change “ListPlot” to 16 bit accuracy? [on hold]

I have (with the help of this forum) managed to plot a bifurcation diagram with the following code: ...
18
votes
2answers
542 views

Where can I get detailed information on how the Plot command works?

The command Plot[x^2, {x, -3, 3}, PlotStyle -> Arrowheads[{-.025, .025}]] /.Line -> Arrow produces this output. What I don't understand is what ...
5
votes
0answers
62 views

Huge difference after changing a fraction to decimal

I have a limit to calculate. With[{p = 1/2, q = 0.1}, Limit[a^q Integrate[Sin[x]/x^p, {x, a, Infinity}], a -> Infinity]] gives correct result ...
3
votes
2answers
240 views

Extracting RGB color code from a plot

I have let Mathematica to draw a plot of some functions written as below: ...
2
votes
0answers
26 views

FindPeaks error “ Expecting an image or graphics instead of”

I'm running Mathematica 10.3.1.0 on windows 7 Professional Sp.1 when I try to use FindPeaks I keep getting the following error, even when trying the example in the ...
0
votes
1answer
75 views

Why are CoefficientRules and MonomialList so slow?

Why is CoefficientRules so slow in this example (v10.2 on OS X 10.11.4)? ...
0
votes
0answers
21 views

How to derive natural boundary conditions and governing equations by Mathematica [on hold]

I can derive governing equations of system by Variational Package of Mathematica but it doesn't give boundary conditions. How can i get them? or is there another way (such as another software) to do ...
0
votes
0answers
42 views

NDSolve won't stop running [on hold]

I'm trying to solve the wave equation with NDSolve, but everytime I hit evaluate notebook it won't stop running. Any insights? ...
2
votes
1answer
51 views
0
votes
0answers
30 views

Time and distance problem [on hold]

A train starts from Jammu for Srinagar at 13:30 and reaches Srinagar at 17:30. Another train starts from Srinagar at 15:30 and reaches Jammu at 19:00. At what time will the trains meet?. I have ...
2
votes
0answers
68 views

Wrong limit involving sine?

Using Mathematica 9.0.0.0, I was trying to calculate the sum $$ B_n = \sum_{i=1}^n \sin^4\left(\frac{(i-1)}{(n-1)}\cdot\frac{\pi}{2}\right). $$ where I thought it would be $B_n = \frac{3(n-1) + ...
1
vote
0answers
38 views

axis label problem

I have a contourplot with (Greek) omega on the y-axis and Q^2 (GeV^2) on the x-axis. When I do ...
6
votes
3answers
426 views

Partition a disk into regions based on points on a circle

I am plotting the roots of a polynomial on the unite circle this way ...
4
votes
1answer
50 views

To embed metadata in a notebook, keeping them both human readable and easily parsable

I' m trying to set up a gizmo to manage the large notebooks collection, in my Mathematica workspace. The main idea is to embed indexing metadata in each notebook and manage them by means of function ...
2
votes
1answer
70 views

Mathematica built-in function that translates number strings to numbers

I recently ran across a function in mathematica that translates "twenty-two" to 22, but I can not remember what it is and my searching through the help functions has yielded nothing. Can anybody help? ...
1
vote
1answer
58 views

How to convert Image3D object into Graphics3D object and vice versa?

There are some rendering options (for example, Lighting) which are associated with the Graphics3D objects. I cannot apply these ...
1
vote
1answer
41 views

Specify the color of each residue in a protein (PDB)?

I'm importing a .pdb file containing a single protein. Mathematica automatically produces a plot of the protein. I want to specify the color of each residue independently, in this plot. Is this ...
3
votes
0answers
95 views

Integrate producing bad result

I noticed a bug in Mathematica. It computes incorrectly a definite integral ...
0
votes
1answer
75 views

How to find roots using the bisection method [duplicate]

First I plot the function and then I try to find a domain such that I can see the curve cut through the x-axis. I do this via trial and error ...
0
votes
0answers
27 views

Extension of the question “Manipulate Slider Value on the Plot”

In the Stack exchange question Manipulate Slider Value on the Plot, the task was to display the value of a parameter. Here was Hector's answer ...
0
votes
0answers
64 views

Why are my associations not consistantly followed? [on hold]

I'm working on a code that automatically reorders the words of a phrase. I'm getting some inconsistencies with the word "glass". EDIT: Sorry for not simplifying the code to a basic example. Here's a ...
0
votes
0answers
41 views

Evaluating interpolating functions embedded in equation [on hold]

I have created an interpolating function v(x,y) that contains an interpolation. When called, it returns an equation that contains embedded interpolating functions. ...
1
vote
3answers
49 views

Can highlight an expression in mathematica in an expansion?

I ask mathematica to make an expansion of some expression. Is there a way to ask mathematica to highlight all terms that, say, goes by x^3 since it is really hard to find them? E.g. ...
3
votes
4answers
121 views

Find the length of the intersection of two lists including duplicates

I have 2 Lists. The first one includes all the numbers from 1 to 10. listA={1,2,3,4,5,6,7,8,9,10} The second includes ...
0
votes
1answer
51 views

Simplify assuming $x$ is small [on hold]

I would like to assume that $x$ is small so that values of the order $x^2$ (and higher orders) are negligible. For example, I would like Mathematica to return $1-2m$ when I ask it to simplify ...
3
votes
2answers
318 views

Creating a bifurcation diagram of the logistics map [on hold]

I am brand new to Mathematica so please keep that in mind. I've run into trouble trying to make a bifurcation diagram. Here is what I have done: I have a function $f(x)$ that relies on a value $r$ ...
4
votes
1answer
60 views

Issues with modeling pulses in a very simple system of DAEs

Some time ago I had asked this question about evaluation difficulties using Euler Integration to solve a system of ODE where discrete pulses occur. While I have now abandoned Euler integration and ...
0
votes
1answer
48 views

4-digit number, where $d_{1000} \lt d_{100} \lt d_{10}\lt d_{1}$ [on hold]

I need to find all 4-digit numbers, where ones-number > tens-number > hundreds-number > thousands-number. 6789 is the highest possible such number and 1234 is the lowest. One solution is to write them ...
7
votes
0answers
54 views

Is it better to completely forget about the existence of PowersRepresentations?

I noticed that in several cases the performance of PowersRepresentations is hugely worse than that of IntegerPartitions. (Mma ...
0
votes
0answers
41 views

What is it with MemberQ? [on hold]

Look at this operation MemberQ[x^3, x^3] (* False *) Is it correct, or a bug?
9
votes
1answer
133 views
+50

How do I use the third and fourth arguments of Parenthesize?

Parenthesize seems to do a good job with constructing boxes that need to be appropriately parenthesized: ...
-4
votes
1answer
32 views

How to write this iterative sequence function in mathematica

The function is Tx=1-x if x∈[0,1/7) =(x+6)/7 if x∈[1/7,1]. I have to write the iterative sequence for n=0,1,2,3,4,5----- where x_{n+1}= ...
2
votes
1answer
34 views

Square bracketed matrices in Mathematica - precision markers?

I'm trying to display Matrices with square brackets in Mathematica. I've found this post from a mailing list in 2009 http://forums.wolfram.com/mathgroup/archive/2009/Aug/msg00458.html and it seems to ...
0
votes
1answer
61 views

How to perform this nth derivative operation in MMA?

I have to solve this following equation where I need to differentiate a function $n$ times. $$A=\sum_{n=0}^{m-1}\frac{s^n}{n!}(-1)^n\frac{d^nf(s)}{ds^n}$$ How to express the above equation in ...
2
votes
2answers
61 views

How to make a replacement, provided an inner rule applies

Consider: expr /. (b[a_] * c_f /; !FreeQ[c, d[a]] :> (c /. (d[a] :> e) )) Here's how it works: in expr, the products ...
1
vote
0answers
27 views

How does WolframAlpha calculate closed form approximations of irrational numbers? [on hold]

How does WolframAlpha do this: I'm aware of services such as RIES, which is an inverse equation solver, and ISC, the Inverse Symbolic Calculator. But WA goes much further. I've tried doing a ...
3
votes
1answer
71 views

Untangling a tangly block of If statements

This is a followup to my previous question: How to simplify block of multiple repetitive If statements? I have another block of If statements, somewhat like the other one I need help simplifying ...
8
votes
1answer
103 views

Why FoldList 5 times faster than Apply for matrix multiplication?

Consider this list of $2x2$ matrices: list=RandomReal[{-2,2},{500,2,2}]; Now compare timings of Apply and ...
0
votes
0answers
27 views

How to export VTK in Mathematica

I would like to export VTK file in the Mathematica. ...
31
votes
0answers
393 views

Guidelines for planning custom GUI in Mathematica

This post is here to save your time during GUI development in Mathematica. And one way to do this is to know where limits are and to be aware of features that are awaiting. Intro Usually I don't ...
0
votes
0answers
24 views

How to assign a value written in InputField into a variable? [on hold]

I want to write a Mathematica code which will show an InputField and then I will enter the value in it and it will assign this written value to a variable but this variable must be an array like ...
3
votes
0answers
24 views

How can I set notebook's options without opening it?

At present moment, to batch apply a change in a set of notebook I use a "brute force", rough, method: ...
0
votes
3answers
215 views

Simple pattern/texture on chart elements [duplicate]

If I print the following BarChart in black and white, then it is very difficult to tell which bar is "a" and which is "b". ...
3
votes
0answers
32 views

Bug in Mathematica 9 (Quaternion)

That code: << Quaternions`; Exp[Quaternion[1, 0, 0, 0]] produce bug: ...
14
votes
1answer
237 views

What is a printer's point?

Edit 28. IV 2016, Reply from WRI: The developer replied today to the documentation question we are having. He agrees the statements in the 2 reference pages can be clarified. [...] ...
-6
votes
0answers
23 views

About Pade approximants for higher degrees using Mathematica [on hold]

In running Pade approximants for a series with higher degrees say 10. it gets hanged. doesnot rut. what may be the problem. Sometimes after long time. it shows low memory space. for example [Beta] = ...
3
votes
1answer
44 views

Change of parameters on ouput graph

I have generated the graph, but i lost the settings, i would like to make the Plotmarkers slightly bigger. Is there anything to do this without redoing the computation? Like ...

15 30 50 per page