1
vote
0answers
51 views

Computing integral involving derivatives

I want to evaluate an expression $\int_C g(\nabla f)ds$. This is an integration along a curve $C$ in a plane given as a function of some parameter $s$: ...
2
votes
1answer
184 views

Nested If statement with unevaluated arguments

I have a list of boolean functions {f1, f2, f3, ...} that take a value and return True or ...
1
vote
0answers
88 views

Improving semantic interpretation of dates

SemanticInterpretation and Interpreter are promising but imperfect, eg extracting dates and calendar expressions from ...
3
votes
0answers
291 views

Minimalistic code challenge on Apollonian gaskets

I've been recently fascinated by the beauty, symmetry and mathematical richness of the Apollonian gaskets. So I felt myself challenged to see if it was possible to generate one in Mathematica with ...
8
votes
0answers
472 views

Step-by-step instruction to Install C Compiler

I remember using C compiler on my previous computers, and I never had any problems installing them. At this time, however, I failed to work through the instructions provided in Mathematica ...
1
vote
2answers
63 views

Transforming functions

I am not familiar with Mathematica but have the following question: I am trying to write Mathematica code that transforms $x^a+y^a$ to $(x+y)^a$ for any $x$ and $y$ and integer $a$. I also need to ...
1
vote
1answer
78 views

How to show all terms of a (very) large expression which was cut by skeleton << >>?

I obtained a very large expression but I noticed that Mathematica omitted some terms and wrote <<1>> or <<8>> instead. I would like to see all terms in order to write rules that simplify ...
1
vote
1answer
112 views

cross point of intersecting lines [duplicate]

What is the easiest way to find the crossing point of two intersecting lines passing lets say through points line1 = {p1,p2}, line2 = {p3,p4}?
0
votes
0answers
87 views

DSolve response with DSolve

I'm trying this code ...
-1
votes
1answer
91 views

Looping within linear programming

I am trying to do some network programming around optimization. Here is a reduced sample: ...
4
votes
1answer
70 views

How to stop a Dynamic[] in one notebook from hurting performance in another?

I have two notebooks open, one has a dynamic expression running (a simple clock) ...
2
votes
2answers
193 views
0
votes
0answers
83 views

imaginary part in optimization problems

I have some trouble with an optimization problem. The constraints are always real, but in the first place there are also complex parts in the expression (which all sum up to 0). The problem now is ...
4
votes
1answer
261 views

mathematica use too much memory to Import large dat file

Err... When I try to Import a .dat file by dat = Import["D:\\TIEGCM\\solar_input\\omni_m_all_years.dat", "Table"]; or ...
1
vote
3answers
436 views

How to simplify and shorten pattern code?

I this code to sorting only those tuples that are have total sum of 15 without repetition.: ...
0
votes
1answer
71 views

Can't obtain a closed form expression for an integral

I am trying to find the result of quite a complicated double integral. While the first part (being a Principal value integral) gave no particular problems, the second one is not providing any closed ...
0
votes
1answer
132 views

Using WhenEvent

I want to solve this simple equation with a event: ...
4
votes
1answer
143 views

Memory leak in MemberQ

Bug introduced in 10.0.0 and fixed in 10.0.2 Consider the following code. ...
2
votes
1answer
65 views

What's the meaning of <<19>> in the result [duplicate]

Try the following: ...
3
votes
0answers
70 views

short cut entry in KeyEventTranslations.tr works on V 10.0.2 but does not work in V 10.1

I added 2 useful key shortcuts to my V 10.0.2 KeyEventTranslations.tr to allow adding [[ and ...
1
vote
0answers
63 views

Different results from Simplify and Reduce given inequality (x/y^2 != 0 && x != 0)

In: Simplify[x/y^2 != 0 && x != 0] Out: x != 0 && y != 0 However, if we use ...
3
votes
1answer
130 views

Separate output screen; clearing (cleaning) output screen

Is there a way to split the screen so that the code is visible on top, and the output generated from its execution appears at the bottom? Is there any way to clear the screen from previous runs, so ...
0
votes
1answer
48 views

Strange output of ColorFunction

In v10.0.2, compare the following two outputs: Plot3D[x^2 + y^2, {x, -2, 2}, {y, -2, 2}, ColorFunction -> (Hue[Sqrt[#1^2 + #2^2]] &)] ...
1
vote
1answer
122 views

Solving ODES in order to find unknown constants

I am trying to solve a set of ODES which represent a second order consecutive chemical reaction. ...
0
votes
1answer
105 views

What is stored in the kernel's memory

I disabled "Show Suggestions Bar after last output" in the preferences. I begin my code with $HistoryLength = 0. After running my code, I run the following. ...
0
votes
1answer
82 views

Problem simulating a wave on a string by solving the wave equation as a difference equation.

This is a question I posted earlier however the purpose of what I'm doing is going to be expounded much more clearly. ...
10
votes
1answer
185 views

Compilation of Total with compensated summation

I sometimes obtain an unexpected error when trying to call a compiled version of Total with compensated summation turned on. More specifically I define ...
4
votes
1answer
86 views

Automatically assign Variablenames to multiple checkboxes

I want to implement the option to import data from Excel and then the ability to trim this data in order to fit the needs. The import from Excel: (source) ...
0
votes
1answer
136 views

Improve appearance of ListPointPlot3D with respect to Plot3D

I solve a PDE of which solution is physically a probability density $p$. Due to the algorithm the result is a $n\times m$-matrix which will be plotted by ...
0
votes
0answers
84 views

How to sweep a parameter in an ODEs system using ParametricNDSolveValue?

I want to analyze how my ODEs system behaves when I change only one parameter (in this case d). ...
3
votes
0answers
32 views

EventHandler click event in Graphics[ ] object does not work properly after using Deploy [duplicate]

There is a problem clicking layered Graphics objects after using Deploy. For example, the code below works as intended with the Disk 'on top of' the Line. Click either object anywhere and EventHandler ...
0
votes
1answer
180 views

How to get an analytical solution for this equation set with Abs function in it?

To calculate the solution for the following equation set's unknown variables ${C,V}$ \begin{equation} \begin{aligned} \sum_{i=1}^m Abs[bt_{i} \cdot xt'_{i} - V \cdot bt'_{i}] \cdot c &== C \\ C + ...
0
votes
0answers
152 views

Solving a big System of ODEs

I want to solve numerically a linear first-order ODE system with over 12000 equations. I used NDSolve with implicit options: ...
0
votes
0answers
55 views

Plotting a 4dimensional spherical function In mathematica [duplicate]

Im trying to plot the results of the schroedinger equation for hydrogen in mathematica this is the function I defined: ...
0
votes
1answer
190 views

NDSolve solving problem

I am trying to solve for the function y[x] obeying the ODE: $ \frac{x}{1 + x}y^{\prime\prime}(x) + \frac{2 x + 1}{(1 + x)^2} y^{\prime}(x) = \frac{1}{3\sqrt{y(x)}} ...
2
votes
5answers
108 views

Find list item before first negative value [closed]

If I have a list like this: ...
8
votes
0answers
73 views

Finding simplifying substitutions for an integral involving limits and integrand

[The following is based on a William Lowell Putnam Mathematical Competition problem.] Consider the definite integral: $I = \int\limits_2^4 \frac{\sqrt{\log (9-x)}}{\sqrt{\log (9-x)}+\sqrt{\log ...
2
votes
2answers
419 views

Solve ODE in State-space form

Is it possible to solve an ODE in state-space form in mathematica? Such as x'[t]=A.x[t] I attempted ...
-2
votes
1answer
75 views

Using functions inside Solve [closed]

I'm trying to solve a system with the function: Solve. But I am not able to use functions within the Solve, for example the ABS ...
6
votes
4answers
373 views

How to delete Missing[“NotAvailable”] from list of rules? [duplicate]

Considering we have a list of rules: ...
0
votes
0answers
97 views

How to remove Graphics3D artifacts and order graphics objects; best practice?

What is best practice (or different methods) to remove graphical artifacts in Graphics3D objects? Are there, for example, rules of thumb for ordering the arguments (...
-1
votes
1answer
288 views

Plot a function of multiple variables, with all but one are fixed

I have a function of multiple variables that I want to plot. The function is a bit complicated as this ...
0
votes
0answers
61 views

Atlas 2 For Mathematica. Need to calculate Riemann tensor, etc [duplicate]

Is anyone familiar with Atlas 2 for Mathematica to calculate the Riemann Tensor, Ricci Tensor, and scalar I have a metric that I need to calculate these things for. Can anyone help? I'm not too up on ...
2
votes
1answer
136 views

Access properties in Mathematica

This may seem a trivial question but I am coming to Mathematica from object oriented programming languages. The results of many analyses are composite datatype. I want to access part of the result. ...
0
votes
1answer
83 views

Need Query form to extract Min and Max DateList values for PlotRange from a Dataset

(* SUMMARY - In a Dataset holding DateList entries, how do I extract a minimum and maximum DateList value to pass into DateListPlot's PlotRange specification? See QUESTION further below *) (* Sample ...
1
vote
2answers
192 views

How can I project a Torus along the x-axis?

Making a Torus seems simple enough, but how do I project it along the x-axis? For example, I want to rotate this: And make it look like this: Thanks for who can help!
3
votes
2answers
170 views

How to create a recursive TreeGraph

How could I create a recursive tree graph, such as one defined by the following: A family of trees $T_n$ are defined recursively as follows, for all integers $n \ge 1$. The tree $T_1$ consists of a ...
6
votes
2answers
163 views

Apply an accumulative function to each column of a dataset

Given a dataset with many columns, how can apply a function (in this case Count[Missing_]) to each column? ...
4
votes
0answers
79 views

Smart use of ParallelMap over Plus

I'm looking for ways to speed up calculation of a integral with a many-terms integrant. The obvious way is to go in parallel. I was surprised, but for some tests integration by ...

15 30 50 per page