0
votes
0answers
2 views

How to extract part of association?

Considering an association: asc = <|"a"->1, "b"->2, "c"-><|"e"->3, "c"->4|>, "d"->5, "e"->6, "f"-><|"g"->7|>|> How ...
0
votes
0answers
2 views

A book or tutorial/guide for “Systems Interfaces & Deployment”

I'm looking for a complete guide (call it a book, tutorial, guide or whatever) about some programming topics which are not enough covered by Mathematica Documentation Center, in my opinion. Topics ...
0
votes
1answer
41 views

Plot a circle and create a 3-D revolution plot out of it

If I have the equation (x-2)^2 + (y-2)^2 == 1 I can use a ContourPlot, however am having trouble changing the axes origin. I ...
0
votes
0answers
8 views

Convert .csv Dataset and store in Databin

Trying out the new Databin product in the Wolfram Cloud. I have a simple ,-delimited .csv file with a header row which I have imported using the follwing: ...
6
votes
0answers
38 views

Upgrade to Windows 10

Can users of Mathematica on Windows 7 or Windows 8/8.1 upgrade their computers to Windows 10 – a process that began today? Does Mathematica work? Are all the settings, licenses, access to files and ...
1
vote
1answer
58 views

Pulling out a prefactor from a dot product

I have three complicated vectors u, v and w as well as three simple prefactors ...
0
votes
0answers
12 views

5 var Interpolation for a financial structured product

I have to optimize the risk reward of a financial structured product depending on several variables: the tenor (between 12 and 36 months), the type (american, european), the KI barrier(between 50 and ...
0
votes
2answers
62 views
0
votes
0answers
27 views

How to disqualify a rule

Executing this line Assuming[x < 0, x -> 10] Expected output: False Say x -> 10 is a root of a polynomial ...
1
vote
1answer
67 views

How to increase the thickness of the edge in a random image

This is a Voronoi Diagram. I really want to know how to change the thickness of the "wall" of each V-cell, in another words, the thickness of the edge in this diagram.
-1
votes
0answers
17 views

Another Integration to prove [on hold]

We want to prove this integration $\displaystyle\int_{-\infty}^{\infty} \frac{x sin (x)}{1+x^2} = \frac{\pi}{e} $
0
votes
0answers
22 views

How to find roots of a bi-quadratic equation having symbolic coefficients? [on hold]

I have the following equation with the symbolic coefficients specified using syms which I have been trying to solve in MATLAB ...
1
vote
0answers
28 views
7
votes
2answers
205 views

How to define the Bernstein function like the built-in BernsteinBasis?

We know the Bernstein function defined as below: $$B_{n,i}(u)=\binom n i u^i(1-u)^{n-i}$$ And we define $B_{n,i}(u)=0$ when $i<0 $ or $i>n$ In addition, the first derivative of $B_{n,i}(u)$ ...
4
votes
2answers
43 views

Usage of StringTemplate

The documentation for StringTemplate has the following example ...
0
votes
0answers
6 views

What's the last whole number before a googolplex? [migrated]

"What's the last whole number before a googolplex?" My six yr old asked me this, this evening, how does a math challenged dad answer this?! A googolplex is hard enough as it is to imagine or ...
2
votes
0answers
62 views

Mathematica file transforms to some strange format

I am facing a very annoying problem with mathematica file. Sometimes it is automatically saved in a "pdf like" bizarre format. Each input and output line of the original (.nb) file starts with In[#] ...
2
votes
2answers
43 views

List all “duplicate” elements in Tally

Tally[list,test] can use a custom function test to judge if elements are equal. But the output will only give the first element ...
-1
votes
1answer
47 views

Pulling variable out of NonlinearModelFit

I have a fit, Dynamic[f1 = NonlinearModelFit[d1, a Exp[-(b (x - c1))^2] + yoff, {a, b}, x]] Where I need to be able to access ...
1
vote
1answer
30 views

Confusion over blank sequence in pattern matching

My overall goal was to produce a list of heads used in a graphics output. For an example I used: ...
4
votes
3answers
241 views

Implementing Picard's Iteration for solving ODEs

Picard's Iteration is a way of solving the IVP $$y'(x)=f(x,y(x)), \quad y(x_0)=y_0 $$ It consists of defining the following sequence of functions recursively: $$y_0(x):=y_0 \\ ...
1
vote
3answers
123 views

SymbolicC Simplified Displayed

How might I display a simplified SymbolicC below. For example in the following example ...
2
votes
0answers
66 views

Minimax for conditioned UnitStep functions

I made a simplified version of my problem, and I have now: ...
4
votes
2answers
172 views

DSolve misses a solution of a differential equation

[Note that in the cited duplicate, DSolve not finding solution I expected, the general solution returned by DSolve is missing a solution for quite different reasons ...
0
votes
0answers
23 views

ImplicitRegion gives arbitrary boundaries

equation1 is the major unbounded region I would like to generate ...
3
votes
2answers
135 views
0
votes
1answer
133 views

How to solve constraint differential equations using If function

I have to solve a series of differential equations along with a constraint that has to be satisfied at each point of time where $t\in [0, 100]$ The model parameters are ...
2
votes
1answer
62 views

Potential flow over cylinder with FEM: Pressure field is flipped

Much in the fashion of a few problems already answered on Mathematica.SE (1, 2), I am trying to solve the Laplace equation in velocity potential $\phi$ to simulate irrotational, inviscid flow over a ...
14
votes
1answer
415 views

How to determine BLAS/LAPACK implementation used internally for numerical matrix operations?

Is there a command which reveals which implementation of BLAS and LAPACK are used in Mathematica's matrix operations such as Eigensystem? I asked a related question ...
0
votes
1answer
72 views

How to make the plot smooth

There are some stranges point which cause the figure isn't smooth. I think that the reason is the method of numericial integration. Here is my code, it's pleasure that one can revise the drawbacks in ...
4
votes
1answer
106 views

NMinimize fails on Mesh?

Context I want to identify the minimum of a solution of a PDE found on a mesh. Problem I do not understand why NMinimize fails on a mesh? As a test case, ...
0
votes
0answers
18 views
7
votes
1answer
43 views

Prevent 10.2 from creating “Wolfram Mathematica” directory on Linux

Since upgrading to version 10.2.0.0, every time I start the Mathematica front-end it creates a "Wolfram Mathematica" directory under my home directory. (It never seems to put anything in it.) Anybody ...
3
votes
0answers
50 views

Incorporate a Range into FindRoot?

I asked the question Storing Variables in "Loops" and Point Plotting yesterday, and thanks to unbelievable assistance, I've almost got exactly what I was hoping for. I have the function ...
2
votes
0answers
23 views

Fishing for monomials in a nested or partially factored polynomial stream

I have a problem where I'd like to be able to take a multivariate polynomial whose variables are nonscalar and is not written explicitly as a sum of it's nonzero monomial terms and determine which ...
-5
votes
1answer
57 views

how to change parameters in NDSolve?

I want to solve a PDE with parameters chosen based on the sign of derivative. For instance in the following PDE ...
2
votes
1answer
65 views

How can I write a loop to get many values from a solution?

I am looking at the value of x[t] at day t = 200 over several years. I tried to do it using a For-loop but it didn't work. This ...
2
votes
1answer
51 views

Find sub-sets of vanishing additions or subtractions from a list?

Let's say I have a list L containing n numerical numbers. Now I want to find all sub-sets of ...
0
votes
2answers
42 views

Function to list Collatz sequence doesn`t work [duplicate]

I am new to Mathematica and was trying to make a function that lists the Collatz sequence stating with a given number, but I can´t get it to work. Here is my function: ...
1
vote
1answer
71 views

How to plot a function defined by an expression containing integrals [duplicate]

It seems Mathematica does not like it when it is given a function defined by an integral to plot. How would one plot a function $F(x)=\int_0^x\int_0^xf(t,s)dtds$ on a given interval? Edit In ...
1
vote
0answers
46 views
+50

The module load only works for the first node, not all. Is there's a way to specify the full path to the math command when launching remote kernels

Running a Mathematica .m file in cluster for parallel computing. But get an error "bash: math: command not found". Is there's a way to specify the full path to the ...
3
votes
3answers
66 views

List connectivity of points in discretized mesh

I'm trying to automate the extraction of the points and a compatible connectivity list for meshes created using the DiscretizeRegion or similar method. If I create ...
18
votes
1answer
227 views

Speeding up the built-in Rudin-Shapiro and Thue-Morse sequence functions

Version 10.2 introduced two well-studied sequences as functions: the (Golay-)Rudin-Shapiro sequence (RudinShapiro[]) and the (Prouhet-)Thue-Morse sequence (...
8
votes
1answer
74 views
+100

Accessing figure style (oldstyle or lining) of TrueType fonts

Most professional fonts come with at least two figure styles: old style (or text) figures and lining figures. In plots and most other figures I prefer to use lining figures. This is no problem with ...
0
votes
0answers
33 views

Binomial decomposition of a list? [on hold]

Given a list L with n elements, I would like to generate all possible unordered subsets of ...
5
votes
2answers
92 views

PlotLegends “Expressions” default for ListPlot?

gwr pointed out an apparent problem with setting a default Option value of PlotLegends for DateListPlot. I traced the problem ...

15 30 50 per page