Questions tagged [mathematica-online]
For questions specific to the Wolfram product Mathematica Online.
161
questions
0
votes
0
answers
33
views
Run the same calculation with function call and notebook, got different results
I am runing QMRITools' Dixontools from https://www.qmritools.com/tool/dixontools/ . And I tried to figure out some middle output inside the function DixonReconstruct...
5
votes
2
answers
357
views
An integral using Mathematica or otherwise
Consider the unit square integral $$I=\int_{(0,1)^5}\frac{x(1-x)y(1-y)u(1-u)v(1-v)w(1-w)}{(1-(1-xyuv)w)^2}\ dxdydudvdw$$
Using Mathematica or otherwise I need a closed form of I, possibly in terms of ...
0
votes
0
answers
59
views
How to compile a tools based on WL to C/C++
I am a new comer to learn WL.
I tried to compile a tool named qmritools into c code version.
After searching for some methods like ...
5
votes
1
answer
258
views
Closed form of an integral using Mathematica or otherwise
Define $$I=-\int_0^1\int_0^1 \frac{x^2(1-x)y^2(1-y)(2(1-xy)+(1+xy)\log(xy))^3}{(1-xy)^7}\ dxdy $$
Now using Wolfram Alpha
$I\approx 0.00133186$.
Using Mathematica or otherwise, I need to find a ...
0
votes
1
answer
77
views
I want to represent the function based on specific variables in Mathematica
I have a function call S11
and I want the formula simplified with variables: Q, k, wn.
But I new with Mathematica, don't know how to do it. And I can't find the function doing this.
Please help me ...
1
vote
2
answers
54
views
How can I change design a function $Modu$ such that $Modu[2k,2]$ to be zero?
I am dealing with some calculations of integer variables, so I want to define a function $Modu[x]= x \; mod \; 2$ such that $Modu[2x]=0$.
If I directly use $Mod[2k,2]$, the output should still be $Mod[...
1
vote
0
answers
47
views
Find roots for complicated expression involving HarmonicNumber
I have a equation like this:
(u + v + w + 2 u w + 2 v w + 2u v + 3u v w)/[1 - (v w + uv + uw + 2 u v w)]
...
0
votes
0
answers
52
views
Forecast of 100 days prices using ARIMA-GARCH model but I encountered error saying the input for garch model is not valid
The below section is the data I take to do the ARIMA-GARCH model.
...
0
votes
1
answer
108
views
Need explanation on data[[i]][[1]]
I am trying to train a physics model and then check its profile. For this model, data for physics model is defined with:
...
0
votes
0
answers
58
views
Numeric coefficients of a series/polynomial
In my work, i usually come across expressions of the form: $$\text{L3}=\frac{625 f_5^{30} q^4}{f_1^{31}}+\frac{24458 f_5^{24} q^3}{f_1^{25}}+\frac{25436 f_5^{18} q^2}{f_1^{19}}+\frac{25415 f_5^{12} q}{...
0
votes
1
answer
137
views
Mathematica code to compute a constant
I am reading an interesting paper One of the numbers ζ(5), ζ(7), ζ(9), ζ(11) is irrational by Zudilin. We fix odd numbers $q$ and $r$, $q\geq r+4$ and a tuple $\eta_0,\eta_1,...,\eta_q$ of positive ...
3
votes
4
answers
173
views
Sort Column as a Row
I have
a = {1, 2, 3, 10};
b= {2, 3, 4, 8};
t= Do[If[a[[i]]+b[[i]]>3,Print[a[[i]]],"No"],{i,1,4}];
2
3
10
I need to get the result; t={2,3,10}
1
vote
0
answers
59
views
Save the mathematica notebook on cloud as PDF on System/Cloud
I am using mathematica on the free Wolfram cloud version.
I first tried using the option of "Print to PDF" available under the "File" on the top of Nav Bar. However, it redirects ...
2
votes
1
answer
170
views
Bifurcation Diagram for x' = (rx) - sinx
I solved for finding the fixed points analytically for various ranges of u for x'[t] = (ux) - sinx
for u = 0
0 <u <<1
u>1
0>u>-infinity
and its a very complicated bifurcation ...
1
vote
2
answers
76
views
Get explicit formula after matrix derivation with Mathematica [duplicate]
I want to calculate the derivative of a matrix with respect to a vector with mathematica, and I would like to know if it is possible to have a formula as an answer instead of an expanded matrix.
For ...
1
vote
2
answers
149
views
Mathematica cannot solve this complicated integration
first-time here. I am trying to use Mathematica to evaluate a solution from Duhamel's principle, the integration looks like
$\int^t_0\frac{e^{-ks-\frac{r^2}{2(2Ds+\sigma^2+2D_pt)}}}{2Ds+\sigma^2+2D_pt}...
1
vote
0
answers
89
views
How can I rasterize expressions with Runic characters in Wolfram Cloud?
Here is my function to create polynomials with a specific format:
...
0
votes
1
answer
132
views
4
votes
3
answers
144
views
I need help in complements of subsets
I have two subsets and tried this expression with MapThread:
...
1
vote
1
answer
162
views
Could anyone please help me find the error in the code
I have a problem with DSolve and the following code:
DSolve[{D[Ψ[x], x, x] == κ^2 Ψ[x],
Ψ[0] == Ψs, Ψ[Infinity] == 0}, Ψ, x]
...
0
votes
0
answers
33
views
How Do I Graph an SVEIAR function with the reproduction Number
Just need help figuring out how to plot a graph of an SVEIAR model with its' reproduction number. I'm a bit confused on how to properly make a graph based off the model and reproduction number.
...
0
votes
0
answers
53
views
I need help with plotting and SVEIAR Code with the Reproduction Number on Mathematica
I need help because everytime I plot it doesn't work.
...
0
votes
0
answers
55
views
Solving polynomial roots of any degree only by Vieta's formula
I have already wrote the code that solves it for quadratic formula and I'm curious if this is possible to make that function work with any kind of polynomial(higher degrees) and solving roots only ...
0
votes
1
answer
105
views
How to make code for boundary value problem?
I am trying to make graphs given by using this code but I failed. Please correct this code.
...
1
vote
1
answer
74
views
Animate function error
I'm new to Mathematica and I'm trying to plot a interactive graph of a curve with a slider that shows the tangent to the curve in whichever point of the interval, my implementation is
...
2
votes
4
answers
399
views
Horizontal version of Print[]
With the following code I produce the binary digits of n=13:
n=13;
Q = Quotient[n, 2];
While[Q != 0, Print[Mod[n, 2]]; Q = Quotient[n, 2]; n = Q]
The problem is ...
2
votes
2
answers
514
views
Mathematica and WolframAlpha gives wrong result about DiracDelta function
Wolfram alpha says the integral does not converge and also Mathematica didn't give answer to the integral:
$$\int_0^t\delta(z)\delta(t-z)dz$$
which should gives the result of $\delta(t)$ as you will ...
0
votes
0
answers
108
views
I am having problem with initialization of parallelization in Mathematica
I have been using parallel computing in Mathematica for a couple of months. Today suddenly, parallel kernels are not starting. Can anyone tell me what can be the potential reason?
...
2
votes
1
answer
82
views
how to solve problem involving a condition?
I am new to mathematica, therefore this might be a pretty simple question,
My problem is for example: Compute the eigenvalue for matrix A= {{1,c},{1/c,1}}, c>0.
when the matrix becomes more ...
-1
votes
1
answer
135
views
How to find an approximate equation from a given equation using Mathematica? [closed]
I am interested in finding an approximate equation based on a given equation using Mathematica. Specifically, I am working with the quantum illumination transmitter's quantum Chernoff bound (...
-2
votes
1
answer
85
views
List of Integers [closed]
Evan writes down a list of 15 integers, each of which is either 0 or 1. He does this in such a way that there are never three consecutive integers in the list that have the same value. How many ways ...
2
votes
1
answer
84
views
Nintegrate and Integrate don't give same results
I am trying to compute an integral of the form
$\int_{\frac{1}{10000}}^{\frac{1}{1000}}g(x)x e^{3ix}$
in Mathematica both numerically and analytically. $g(x)$ is equal to
...
1
vote
1
answer
112
views
Question about numerical integration of a double integral
I am trying to numerically integrate the following double integral in Mathematica for different values of t.
...
-1
votes
1
answer
75
views
Triangle with three corners, find area f(a) and when function has its min-value
This is my code:
...
1
vote
0
answers
81
views
Problem of " The kernel is not responsing to dynamic evaluation "
I am having this error again and again while using parallel computation. The code is fine because
it runs when I am not using parallel computation. But as it takes a lot of time to run ( around 3 - 4 ...
0
votes
0
answers
47
views
I am having problem in paralleltable and parallel sum ( Parallel computation in Mathematica)
You will receive the code here
I want to do parallel computation here because I have planning to go further level and it will take a much longer time. I could not understand what this error means and ...
1
vote
2
answers
63
views
Question about the behavior of a data point as a function of time
I have a set of data points. The first coordinate is time and the second coordinate is energy. I am trying to figure out how the energy is decaying over time. Particularly, I have to find if it is ...
0
votes
1
answer
56
views
How to export file in For loop? [closed]
I am using the following code to export a file with three columns. I am using the Export file command like this but not getting the output. Can someone please help with this?
...
1
vote
1
answer
90
views
A 3-dimensional principal value integral [closed]
I am trying to find a principal value integral of the following form in Mathematica. $f(z)$ is a smooth function. The problem is that Mathematica is very slow in this computation.
$\int_1^2 dx\int_1^3 ...
2
votes
1
answer
100
views
Limit of Taylor coefficients
I want to calculate the following limit:
b[n_] := (D[1/(1 - t), {t, n}] /. {t -> 0})/Factorial[n]
Limit[b[n], n -> ∞]
(* Indeterminate *)
where ...
0
votes
0
answers
86
views
How can I upload a package which is saved locally as a ZIP file to Mathemtica Cloud and Load the package?
I am using the online Mathematica Cloud. I have one complete package(in this case, a group theory-related mathematics package), which is saved locally as a ZIPed folder. The ZIPed folder contains ...
4
votes
3
answers
579
views
Mathematica not solving this integral
I am trying to solve for
But it is returning the same. I need this to complete my research.
Please help.
The expression used by me in mathematica is:
...
2
votes
1
answer
74
views
Solving equation using mathematica
How I can solve the equation :
$$R -\tan^{-1}[(m1/m3)*(k3/k1)] - \tan^{-1}[(m1/m2)*(k2/k1)]=0$$
I tried on it using findroot as following :
...
1
vote
0
answers
56
views
Plot the graph with two best response functions, Mathematica
I have another doubt regarding Mathematica. This is probably another question that can be easily answered, but since I'm a beginner it's a while that I'm stuck.
Since I'm using Mathematica online, the ...
0
votes
1
answer
136
views
Is it worth learning Mathematica if I want to choose my career in Cloud Computing? [closed]
currently doing my Masters in Computer Engineering. Is it worth learning Mathematica as I am thinking of pursuing my career in the field of Cloud Computing?. If yes, I really appreciate any good ...
0
votes
2
answers
83
views
Table generation with random variates inside. Mathematica [closed]
I'm new on this forum, and I'm also a new user of the software Mathematica. For this reason, I'm sorry if my question will be unclear and / or dumb.
I have to make a numerical simulation with random ...
0
votes
0
answers
30
views
How to export raw data into a text file as columns?
I have used NDSolve to find the solution of sixteen coupled first order differential equations. It takes a lot of time to process, and I want to import this data into python for plots.
-2
votes
2
answers
182
views
How do I create cobweb iterations or stair steps **WITH ARROWS** to show attractive and repulsive fixed points for a graph? [closed]
I'm new to Mathematica, so I would appreciate any help. How do I create cobweb iterations or stair steps WITH ARROWS to show attractive and repulsive fixed points for this graph?
I want it to look ...
-2
votes
1
answer
128
views
How to plot an iterative function of y(n+1) against y(n) in order to analyze the convergence of real power towers? [closed]
I'm new to mathematica and was wondering how to plot an iterative graph for power towers. If there is a power tower y= x^x^x^x^x^x^... we can rewrite it as an iterative equation in the following way:
...
1
vote
1
answer
140
views
Create Matrix with both matrices on the diagonal AND the upper diagonal? [duplicate]
I do know how to do this for matrices on the diagonal, but I can't figure out how to do this for matrices on both the diagonal and the upper diagonal. Can someone help me?