All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Slide show numbers show 0

In one of my "Classic" slideshows, the numbering is corrupted. When new slides are inserted, they show up as slide number 0 (several of them), while the originals retain their numbers. Is there a way ...
1
vote
1answer
34 views

FindInstance confused by CoprimeQ

For some reason when I type FindInstance[a + b == c && CoprimeQ[a, b, c] == True, {a, b, c}, Integers] Mathematica just immediately returns my input as ...
0
votes
0answers
32 views

Implementing a generic product rule

I'd like to implement a generic rule for expanding differential forms by the product rule. For instance, I'd like to transform the following PDE: $\phi \frac{\partial \phi}{\partial t} = \phi \nabla^...
1
vote
0answers
58 views

Is function polymorphism possible in Mathematica [duplicate]

Is there a way to have polymorphic function definitions in Mathematica? I looked around online and didn't anything discussing it.
1
vote
0answers
34 views

Transpose two lists with rightarrow and commas [on hold]

I need to transpose the two following lists: data0 = {99.52267, 93.78726, 99.67644, 99.85036}; error0 = {0.21152, 0.37626, 0.16309, 0.10167}; Into ...
2
votes
1answer
56 views

How to update values in a Summary Box? [on hold]

Update The code below works fine. Failed update of summary box was from a typo in the actual code. Admins can delete this question if needed. For a summary box that includes a calculated value ...
0
votes
1answer
31 views

Compare their asymptotic behaviour using the order notation [on hold]

For each pair of the following functions, compare their asymptotic behaviour using the order notation. f(n) = e^n and g(n)= 3n^2
3
votes
0answers
74 views

Text flow into user-defined outline

I'd like to flow text into a region defined by a curve, such as: ...
1
vote
2answers
65 views

How to fit different parts of a log-log plot

I have data of a function that goes like $f(x)\propto x ^\alpha $ for a certain range of $x$ and like $f(x)\propto x^\beta$ for another one. It is common in the literature to make a log log plot and ...
-1
votes
0answers
29 views

Prove that of two discrete random variables X and Y are independent [on hold]

Prove that of two discrete random variables X and Y are independent, then H(X|Y) = H(X).
0
votes
0answers
40 views

How can we calculate the probability for different events [on hold]

For example, You send out three messages for help: a smoke signal that has probability 0.1 of being seen a message in a bottle that has probability 0.2 of being found a carrier pigeon that has ...
0
votes
1answer
36 views

How to restore broken Automatic cell grouping behavior?

By default output cells are grouped with the input cell from which they are generated (note the nested cell brackets on the right): Sometimes it is desirable to group manually input cell with ...
0
votes
0answers
19 views

What won't ContourPlot show a non-empty plot? [on hold]

This is the code that doesn't work: ...
0
votes
0answers
27 views

Compute entropy of the following random variables

Compute entropy of the following random variables: the random variable X that takes the values 0, 1, with probability 1/2.
1
vote
0answers
37 views

Assigning labels to numbers in ListContourPlot

I am trying to plot some 2D data using ListContourPlot. The quantity to be plotted has only three discrete values 0, 1, 2. While plotting them, I want to assign these numbers some labels say A, B, C, ...
0
votes
0answers
30 views

If I create any Plot in Mathematica, the plot is empty [on hold]

I have no idea what I have done. Even when I open a new notebook and try to plot a simple plot, returned is an empty plot. For example: ...
0
votes
2answers
32 views

Check whether a given quantity is negative

Given four numbers $n0, n1, n2, n4$ such that $n1+n2+n3+n4 = 1$. How can we check the sign of $A - 2 B$ (where $A$ and $B$ are defined below), i.e., whether this quantity is positive or negative? <...
0
votes
1answer
28 views

Excluding an imaginary, partial, part of solution from Solve

When I type the command Solve[{x + 1/x == y - 1/y, x^2 + 1/x^2 == y^2 - 1/y^2}] // Simplify // N I get a 'close to zero' imaginary part, ...
1
vote
2answers
51 views

Delete pre-existing output under EvaluationCell[] from CellProlog

We know that there is an efficient way to delete all output from the EvaluationNotebook[]: ...
1
vote
0answers
20 views

strange behaviour of Eigensystem and Eigenvectors [duplicate]

consider this: ...
0
votes
3answers
75 views

How to extract some specific value from NDSolve?

How can i extract some value from NDSolve. We know that gives us a InterpolatingFunction. But i need to use some specific value. For example this is the NDSolve: This is the equation used ...
11
votes
2answers
195 views

How to convert this term to a Hypergeometric function?

term=8*(-1)^(1/4)*Sqrt[b]*q0^(3/2)*\[Kappa]* EllipticF[I*ArcSinh[((-1)^(1/4)*Sqrt[b]*r)/Sqrt[q0]], -1] This is a physical term and it is not convenient to appear ...
0
votes
0answers
52 views

why this graph is not plotting in mathmatica? [on hold]

I want to plot this function for time but why i am unable to plot this graph? ...
1
vote
0answers
21 views

Derivatives with dummy indices not commutative after 3d derivative?

Recently I've encountered the following issue in xAct. I've defined the Manifold and tensors in the following manner Then consider the following expressions. In the case where there are 2 ...
0
votes
0answers
41 views

I do not know how to do this polynomial interpolation question [on hold]

I have attached a photo below of the question I have no idea how to do!
0
votes
0answers
29 views

Need help with the “step size is effectively zero; singularity or stiff system suspected” message

I'm trying to solve a system of ODEa, and I always get a message saying NDSolve::ndsz: ..step size is effectively zero; singularity or stiff system suspected. I tried ...
0
votes
0answers
25 views

Not really sure what am I doing wrong in Newton Euler iterative method

I am trying to perform iterative newton Euler method for dynamics of an RP manipulator. I have the DH table, inertia vectors and was able to get the value of wdot[i] (angular acceleration) but having ...
8
votes
1answer
97 views

Reversing a GroupBy operation

Suppose that I have a this list of associations ...
0
votes
0answers
14 views

Solve Fredholm integral equation of the second kind containing Double Exponential Oscillatory

Given where $h =0.5$ and $\kappa = 1$. $G_F(s)$ is the Fourier cosine transform of $G(\lambda)$ defined as Then I want to solve the following Fredholm integral equation of the second kind for the ...
2
votes
1answer
43 views

Converting between XML and JSON?

I can't seem to find a way to convert between an XML string and RawJSON: ...
2
votes
1answer
50 views

How to plot a wave like curve by using existing data?

I am trying to draw a time vs. position graph with these data: t = {0, 0.47, 0.92, 1.37 ,1.8, 2.21} p = {0 ,11.3, 4.2, 10.5, 5, 9.5} But since the data does ...
0
votes
0answers
47 views

Catastrophic loss of precision in numerical integration [on hold]

I am trying to get the following code running: ...
2
votes
1answer
34 views

Importing a csv file yields weird first character

Whenever I import a CSV file, I get this weird character at the beginning of the file ,I am not sure why. How can I avoid this?
2
votes
1answer
35 views

Interpolating and subtracting two sets of data

I have a data set "data9k" with x varying from 0 to 365, and another data "data0" set with x varying from 0 to 365. But the x values for both data sets are not same but similar. I want to subtract the ...
-2
votes
0answers
17 views

need code for this coupled system to solve for different parameters [duplicate]

\begin{equation}\label{velocity} (1+\lambda{f^2}){f^{\prime\prime\prime}}+ff^{\prime\prime}+2\lambda{f^{\prime}}f^{\prime\prime}- ({f^{\prime}}+\frac{\eta}{2}f^{\prime\prime})-(f^{\prime})^2+M(f^{\...
2
votes
1answer
22 views

SetDelayed error for Derivative rule

Having a delayed assignment of the form Derivative[1][f][x_] := HoldForm[f[x]] works. But if there is a delayed assignment for f as in ...
7
votes
2answers
149 views

How can I filter an EntityClass by _not_ having a property?

With Mathematica 12, I can create implicit Entity Classes like: I can also filter for having exactly a specific property, like so It seems quite trivial, but I can't seem to filter by a property not ...
2
votes
1answer
53 views

How can a set of rules be applied to edit strings within a list of lists while maintaining list structure?

In attempting to read a webpage ("https://www.house.gov/representatives#by-name") I have managed to import a table using ...
3
votes
1answer
34 views

Prevent argument substitution in held expression when injecting into unevaluated code

I want to write a custom sow/reap pair to wrap any piece of code in sow[code] and call reap ...
2
votes
1answer
35 views

How to Mathematica applied discrete Fourier transform to matrix?

I am new user of Mathematica, sorry if my question odd. I not understanding, how to Mathematica apply the discrete Fourier transform for matrix: ...
2
votes
0answers
60 views

Finding solutions of a complicated equation

Consider the following setup ...
2
votes
0answers
39 views

Speeding up the process of NDSolve[] when a user-defined function is involved?

I am trying to tackle a (1+4 dimensional PDE) model at which the solution of the first PDE (with some interpolations and changing the domain) would be used in the second PDE. In fact, I must choose ...
-3
votes
0answers
67 views

Set Theory Question [closed]

Q: Sum 40 balls in a box, 8= Blue, 13= Black, remaining= grey, I pick 5 balls randomly, pick another then put 1 back, pick another then put 1 back, i. Then return a ball & pick another ...
0
votes
0answers
44 views

Define a function including two solve solutions

I'm trying to combine the solutions coming from two NSolves and define a new function that I've to integrate. Basically I've defined two ...
0
votes
0answers
18 views

Define a matrix of equal entries [closed]

How can I create a matrix whose entries are equal to each other? E.g. with mat = {{a, a, a}, {a, a, a}, {a, a, a}} I can build a matrix of "a"s. I wonder if ...
1
vote
1answer
53 views

why some parts of my curve are removed or wiped

When I try to draw the next code I get a curve with missing parts, as shown in the picture. I do not know if it is an precision problem in the Mathematica program or is some data not calculated. Or is ...
3
votes
1answer
46 views

wolframscript command line output from ParallelDo kernels contains lots of gibberish

I run this code: ParallelDo[ Print["Hi"];, {i,Range[2]} ] And I get this: ...
1
vote
1answer
35 views

Formatting numbers in wolframscript command-line output

I am trying to run the following code using wolframscript on windows: a = 123.4567891011213; Print["a = ",a]; Print["a = ",AccountingForm[a,3]]; The output is: <...
1
vote
0answers
32 views

Inverse[m1 m2] not equivalent to Inverse[m2] Inverse[m1], m1,m2 are 3x3 matrices, why? [closed]

I would like to use Mathematica to show that $(AB)^{-1} = B^{-1}A^{-1}$ I used ...
0
votes
0answers
38 views

FindRoot does not see all roots [on hold]

From my plot, I see that my transcendental equation $f(x)=0$ has roots near points $\lbrace0.2,0.3,0.4,0.5\rbrace$. Unfortunately, using function FindRoots with ...

15 30 50 per page