# All Questions

162 views

94 views

...
90 views

### Tree-like nesting of function

Is there an elegant way to nest a function in a similar fashion to tree graphs; i.e., create and follow branches until some criterion is met (until we reach a leaf)? An example: We want to ...
263 views

### Count elements of a list

Let's create a random list n = 100; data = Table[{RandomReal[{0, 2}], RandomReal[{-1, 1}]}, {i, 0, n}] Now we divide the $(x,y)$ plane into four sectors with the ...
152 views

### Draw and Quantity

I'd like to use Quantity in my graphics, but I can't figure out how to do it even for a very simple Circle. ...
202 views

### How can i subtract a surface from another

I have one surface which i got with using analytical solution. And one by ListPlot3D. My question is how can be withdrawn from the one from the another. ...
75 views

### Transforming/exporting text to image

I have a string in a .txt which I process as follow: ...
128 views

### Manipulating list based on Euclidean distance

I have an array of 101 matrices. Each matrix contains information like id, position (x,y,z), time etc about a collection of particles, looks like this ...
105 views

261 views

### ContourPlot: format numbers in contour labels and legend

Can you suggest me a simple way to specify custom display format (for example ScientificForm) for such large values in contour labels and legend please? Thank you! ...
129 views

### White Lines in Contour Plot and 3D Plot

This is a follow up question to the original question here (has a solution). I am plotting another different total potentials and for this particular case the repulsive potential is a rectangle (open ...
88 views

### Books of algorithms for programming [closed]

I'm studying Computer Science and would like to know, if there are special books on algorithms for programmers, or if you can suggest some books talking on algorithms in general
52 views

### Execute code when it's saved [duplicate]

How do I execute code on save? This is a similar question: Running a package automatically when it's saved
137 views

### Plotting Intersecting Circles On A 2-D Plane

I am new to Mathematica and I would like to plot a number of circles all onto the same graph. I would like to visually observe which circles intersect each other. One constraint on all the circles is ...
585 views

### What is the difference between Composition (@*) and sequential applications (@)?

What is the difference between f@*g@*h@x and f@g@h@x Both evaluate to f[g[h[x]]] ...
299 views

### How can I tally continuous sequences in a list?

I have a stream of data like this: 0001100111100000111111001110000001111111111000000111000111110000... (I can represent them as a list, like in {0,0,0,1,1,...}, ...
144 views

### How to find critical points of trig function over an interval?

I need to find the critical points (maxima, minima and points of inflection) of the function $f(x)= \sin(x)+\ln(\frac{1}{4}x^2-\frac{1}{4}x+\frac{3}{2})$ over the interval $-3\leq x\leq5$. To do this ...
103 views

### How to convert string to integer list?

Saying we have a string: "1 2 3 4 5 6" I want to convert this to integer list. First I do: ...
130 views

### How to delete a pattern from String?

Having a string like : "{Aaaa -> a, Bbbb- > b, Cccc -> , Ddddd -> c, Eeeee -> , Fffff -> e}" I want to delete the parts that contain ...
62 views

### Plot of a R -> R^2 fuction [closed]

I have an algorithm that when you insert the parameter B, the function gives a solution {x,y}. How can I plot that? I tried ...
354 views

### Length of a word

Probably my problem is very simple but I couldn't have found a solution to it anywhere else. How can I find a word of a certain length using a DictionaryLookup ...
129 views

116 views

### How to get star coordinates for a given time

In the documentation of StarData, there is an example that shows how to get the altitude of Sirius at a given time (in the horizontal coordinate system). However, ...
161 views

186 views

### Why is a symbol still found after changing its context?

It seems that we can change the context of symbols: In[1]:= x = 1 Out[1]= 1 In[2]:= Context[x] = "foo`"; But then x is still ...
162 views

I am using ...
81 views

### Four integrals, how can I expedite the calculations?

I have to calculate the following multiple integrals (4 integrals) ...