All Questions

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

Why can't this simple differential equation be solved?

I'm trying to solve the following partial differential equation: $$ f(x,y) = \partial_x^2f(x,y)-\partial_y^2f(x,y) $$ for which one obvious solution would be: $$ f(x,y)=e^{2x+\sqrt{3}y} $$ An even ...
1
vote
1answer
7 views

How to make boxes independent from those cell-formatting options?

In a cell whose LanguageCategory option is True, boxes will be syntax-highlighted. Is there any way to diasble such cell-...
0
votes
1answer
7 views

How to Solve a function f[x[y],y] == 0 in Mathematica? i.e. a function of 2 variables, where one is dependent on other

I am new to Mathematica and am trying to solve an equation to calculate amplitude as a function of frequency numerically. The parameters are as follows :- ...
0
votes
0answers
4 views

Find Longest ‘A’ Path in 2D List

Write a Python application to find the longest ‘A’ path on a map of capital (uppercase) letters. The map is represented as a matrix (2-dimensional list) of capital letters. Starting from any point, ...
1
vote
0answers
15 views

Mathematica 12.1 a lot of text shown as “$Failed” on manjaro Linux.How could I solve it?

After installing the mathematica with the official installer on manjaro , when I opened it , lots of UI texts were shown as "$Failed". However all functions works well in mathematica. What's ...
0
votes
0answers
9 views

RS232 send string with quotation marks, encoded in a given page code

I managed to communicate via Wolfram Connected Devices Project, with the GDS2072A oscilloscope. The communication was made through the COM5 port, RS232. I successfully tested the connection with the ...
0
votes
0answers
8 views

Fisher distribution expressed with Chi ²

I am learning about the ANOVA test. This involves the Fisher-distribution. I know there is the ANOVA function and the ...
0
votes
0answers
35 views

How to make a 4-dimensional plot?

`The following code represents the sets of inequalities that I want to show in a region plot. It has four parameters. The acceptable range for the 4 parameters is given by:{e, 0, 10}, {Subscript[c, I],...
1
vote
1answer
41 views

Obtaining the intersections of 3-D regions using loop?

I am trying to take intersections of several three-dimensional regions by using the regionplot3d command. Currently thinking about how to use looping to take intersections for several 3-D regions. <...
0
votes
0answers
32 views

My code breaks as soon as I try to print a variable

EDIT: I think I figured out what was wrong. Since I was adding in Print[m] AFTER I ran the loop I had to clear my variables if I wanted to run the loop again. I guess my new question is, why did I ...
0
votes
0answers
28 views

Histogram of the roll of a die during “n” trials

How can I get something like this example so that on the y-axis appears the number of tests and on the x-axis a histogram with the numbers from 1 to 6. The idea is that the bars accumulate the number ...
0
votes
0answers
16 views

How do i use Streamplot to plot a non homogenous differential equation [closed]

I have the following equations: x' = x-y y' = x+y-2xy I used the following code to do the streamplot: I apologize for only having an image, as I am using Mathematica through my school servers I cannot ...
0
votes
1answer
18 views

Problem with exporting text

I prepared in Mathematica some long text: text = string1 <> string2 <> ... <> stringn; (some strings contains TeX code). Then I would like to ...
3
votes
0answers
29 views

Label Resolution in Plot3D with MaTex

I am using MaTeX for labeling which works fine with Plot but with Plot3D the label ...
-1
votes
2answers
63 views

How would I go about creating a tear drop shape of cubes in mathematica?

I am just practicing making some new designs with Mathematica and I thought of this recently. I want to make a tear drop shape (doesn't matter the orientation) constructed of mini cubes. I am ...
0
votes
1answer
29 views

BCS fit to conductance spectrum (from STS) to get the superconducting energy gap

Can someone help me fitting STS spectra using the Dynes formula (Phys. Rev. Lett. 41, 1509 (1978).) to find a superconducting gap? I try to fit using FindFit in Mathematica but it gives several errors....
0
votes
2answers
26 views

Extracting city names in the text form from the function CountryData

I was planning to create an array with all capital cities in Europe using the following command: CountryData["Europe", "CapitalCity"] But ...
1
vote
0answers
19 views

WriteString to socket takes long pauses in the middle of sending a string?

I use mysock = SocketConnect[...] to connect to a socket hosted by a c++ program. Then, I send a string mystr to that socket via ...
0
votes
1answer
46 views

Partial derivative of an integral

I have the following function (it is the incomplete elliptic integral of first kind) $$ F(b,g) = \int_{0}^{b} \frac{dx}{\sqrt{(1-x^2)(1-gx^2)}} $$ I would like to compute $$\frac{\partial F}{\partial ...
0
votes
0answers
21 views

Solving a system of equations when multiple expressions are not defined

I am trying to solve this system of equations for $F_1$, $F_2$, $F_3$, and $F_4$ (in terms of the $C$ quantities): I enter this: ...
0
votes
0answers
47 views

Bifurcation diagram for coupled nonlinear difference equations

I’ve been trying to plot bifurcation diagram of 2D map for the system: $x_{t+1} = x_t + y_t + A x_t y_t - b x_t$ $y_{t+1} = y_t + \dfrac{x_t}{A} - x_t y_t + c y_t^2 - d y_t$ Following example by Chris ...
0
votes
0answers
24 views

Form sub-equations from a parent equation

I have 2 coupled differential equations which I want to solve using Galerkin Method. As such, I want to substitute the dependent variables as a polynomial expansion of the independent variable, ...
0
votes
1answer
36 views

Do or For cycle to have more than ListLinePlot

I have a generic function: f[a_,b_]:=Module[{e,f,g,h}] which returns the scalar g and the list ...
0
votes
0answers
27 views

Return local variables from a function built with Module

I have a generic function: f[a_,b_]:=Module[{l,m,n,o,p}] How can I have returned: l, m and p by using: ...
0
votes
0answers
48 views

How can I find a numerical solution to the following problem:

I have this evolution equation: $\frac{d C(\mu)}{d\ln\mu}=[y(\mu)]^2C(\mu)$ and I have to find a numerical solution for $C$. The complication arises because I do not know the exact for of the function ...
0
votes
1answer
39 views

What is the syntax for using Reap and Sow and WhenEvent with derivative = 0 with interpolating function?

I have a system of three ODEs. This system oscillates. I need to determine the frequency of each of the three solutions. My file. You can download and modify this. I'm new to Mathematica and I know ...
7
votes
5answers
236 views

Remove inner brackets

If I have the result ...
0
votes
1answer
19 views

Can LINK addtwo.obj addtwotm.obj wstp64i4.lib /OUT:addtwo.exe actually work with Visual Studio 2019 tools, if so how?

Can LINK addtwo.obj addtwotm.obj wstp64i4.lib /OUT:addtwo.exe actually work with Visual Studio 2019 tools, if so how? ...
0
votes
0answers
30 views

Complex mapping of curve

I have a curve in the complex plane (a unit circle), and I want to plot the curve with a complex function applied to it ($f(z)=\sqrt{z}$) How do I go about doing that? I know how this can be done ...
0
votes
1answer
23 views

2 axis plot with SciDraw

What is the best way to include the 2 axis plot in Scidraw? I need it as one of a bunch of multipanel figures and when I include it with FigGraphics the second Y ...
0
votes
0answers
24 views

ParallelTable - performance problem

I noticed some issue while making parallel computations with Table loop. I noticed that when one of kernels finishes its part of job, it stops working and only rest of kernels work. But when ...
1
vote
0answers
59 views

Numerical instabilities in a solution to a partial differential equation

I have been trying to solve a partial differential equation known as KdV (Korteweg-de Vries) equation using NDSolve. KdV equation is written as: $\frac{\partial u(x,t)}{\partial t}+\frac{\partial^3 u(...
0
votes
1answer
38 views

Change Replace Rule with Function Input

I am trying to create a function that takes in an input $\mu$ and place that input into the replace rule for a numerical integration, as seen in the code below: ...
0
votes
2answers
48 views

Input a frequency distribution with unequal class widths and estimate the mean and median

The websites I have visited and the texts available to me determine the mean of an unequal frequency distribution using mean = Sum(class marks x frequency) / Sum(frequency). This is an example I ...
0
votes
1answer
32 views

Specifying custom ColorFunction for ListPlot3D

I have some data that takes the shape {{x,y,z}...} = somedata. I also have a custom gradient which I made using ...
0
votes
1answer
37 views

Why does Solve give me an expression with root in it for this equation?

"12.0.0 for Microsoft Windows (64-bit) (April 6, 2019)" This can be solved by hand without too much difficulty. But ...
0
votes
0answers
36 views

PDE of two unknown functions

I want to find two functions $h_1(t), h_2(x,t)$ such that the function $h(x,t) = \frac{1}{2} (x-b)^2 h_2(x,t)+(x-b) h_1(t)+\frac{g(t)-\beta h_1(t)}{\alpha }$ satisfies the PDE $$h_t = \frac{1}{2} \...
2
votes
2answers
63 views

Sorting a list of pairs so that the larger number in the pair appears first

Imagine I have this data. I want to sort it so that it takes the form: {{<larger>, <smaller>}, {<larger>, <smaller>}, ...}, Any help ...
1
vote
1answer
74 views

Visualisation of equipotential surface - linear charge

I am completely new in Mathematica "programming" language. At the university in Electrodynamics, we have gotten a homework to visualise the equipotential surfaces with function ContourPlot3D....
0
votes
1answer
47 views

Marking the minimum point of a quadratic

Clear[a] Manipulate[ Plot[ a*x^2 + 2*x + a, {x, -40, 40}, PlotRange -> {-15, 15}], {a, -10, 10}] I want to mark the minimum value in this range with a blue ...
1
vote
1answer
55 views

Getting full expression of real roots using ToRadicals?

I'm solving this system of equations with Mathematica: ...
0
votes
1answer
28 views

Assume symmetric F[a,b] = F[b,a] when CountDistinct and similar functions

I wonder how I can tell Mathematica to regard the following expressions: F[a,b] and F[b,a] as being equal, so for example ...
1
vote
0answers
27 views

Why is this PDE a Delay PDE according to Mathematica, and is there a way to solve it?

I am trying to solve a Partial Differential Equation, but NDSolve is giving me a NDSolveValue::delpde error, and I can't figure out why Mathematica sees my PDE as a ...
0
votes
2answers
62 views

plotting parabolas

I had to redo the problem because there was a mistake. With the given function from a previous problem, I was solving link, I found that the parabola created a trajectory on the graph, ie another ...
1
vote
0answers
44 views

MeshRegion automatically merges vertices that have the same position in space

I sometimes work with surface meshes that have self-intersections (immersions rather than embeddings). MeshRegion usually doesn't have any problems dealing with ...
0
votes
0answers
18 views

Simple Question: Expand[(a + b)^2] in electrical communication research [closed]

Expand[(a + b)^2] I have two terms here, term a ...
0
votes
0answers
19 views

How to control the decimals in MaTeX

I'm using MaTeX to display the ticks of a stream plot. However, I would like to standardize the number of decimals displayed in this plot, that is, I would like to show just one decimal. My code is ...
0
votes
0answers
15 views

Is substitution of symbolic expressions for JordanDecomposition correct?

Is it correct if I substitute letters A-Z for 25 expressions that are in a 5x5 matrix, run JordanDecomposition and then substitute expressions back? The process makes no progress after a day with ...
1
vote
1answer
33 views

DSolveValue differential equation list of arbitrary values

I have been solving arrays of differential equations, and recently moved to the general case, where my initial conditions are arbitrary constants (either real or complex). However when I moved from ...
0
votes
1answer
25 views

Part::partd Part specification is longer than depth of object [closed]

I hope a similar question doesn't already exist. Some questions with the same error weren't that applicable to my case. So I need to get the first element of the list of two matrices of ...

15 30 50 per page
1
2 3 4 5
1457