# All Questions

80,023 questions
Filter by
Sorted by
Tagged with
21 views

### Controlling precision in Do command

so I have the following code: ...
20 views

### Creating and defining a family of functions with indexed variables?

I am trying to do the following: Create a list as Table[Subscript[\[Beta], i] _, {i, 1, dim}] And then use this list to define a function: ...
26 views

28 views

### Solving triple integral

Can you help solve this: ...
27 views

### Is it possible to generate a random vector space in Mathematica?

I’d like to generate a random vector space, to practice applying certain theorems to it and seeing them concretely. How can I generate a random vector space?
23 views

### Music animations

I've been tempted to use Mathematica to create some artistic musical animations. That is, if I have a music file, I want to be able to edit, for example, its waveform animation. For example, get ...
30 views

### How to specify range in an implicit relationship with variable?

Here is the plot I want to do: ContourPlot[3 Abs[x] y (y^2/x^2 - 1/3) - 2/(Abs[x] y) == 3 Sqrt[1 - y^2/x^2], {x, -20, 20}, {y/x, 1/Sqrt, 1}] However when I ...
38 views

### Asymptotic bode plot

Is it possible to plot an asymptotic bode plot. I am interested in verifying my straight line bode plot approximations done by hand by using mathematica but the bodeplot function generates the curved ...
97 views

### How to specify the domain of a parameter?

There is a similar post: How to specify the domain of a variable?, but it doesn't work well for me. I want to evaluate the integral below, with a parameter $\gamma$. The result is obviously different ...
24 views

### Currency Interpretation for VND

As I was helping an OP with a question involving Vietnamese currency, I didn't realize at the time that the currency amount was not being interpreted accurately (or so I think now). Apparently, the ...
26 views

### plotting simple harmonic oscillator problem [closed]

1.3 A simple harmonic oscillator consists of a mass m and a spring with stiffness constant k. It moves in one dimension x(t) with velocity v(t) where x(t) = A cos(wt + φ) and v(t) = -x(t) = −wA sin(wt ...
45 views

### Needs in Vector Analysis Version 11.3 [closed]

Please tell me What is the right command for needs Vector Analysis in 11.3. The Vector Statements are not working
42 views

### Derivation of the inequality [migrated]

For positive integer k, for any c>0, does there exist k_0>0 that depends on c, such that:
37 views

### how to exclude some points which are not well-defined in NIntegrate? [closed]

I have obtained the following plot from a NIntegrate as you can see, some points are not well-defined (between 0.01 and 0.02) and have produced anomalies in the ...
39 views

### how can I show these legends in a single row? [duplicate]

I have extracted the following code from my legends plots because I need them individually ...
25 views

### Find DL in given paths [migrated]

I wanna just say that DL is the tangential vector at every point, but I'm not sure. Any help is greatly appreciated.
124 views

### Why my piecewise function is not working

It says Part 1 of {} does not exist when I try to plot the vector fields of this piecewise function. ...
34 views

### Single-press TemplateBox deletion

One of the handy things about TemplateBox is that it can be used to define an alias for a more "natural symbol" (by having an empty list first argument ...
473 views

### Why is Mathematica unable to solve this integral equation?

How to solve the following integral equation in Mathematica? eqn = y[x, z] == z + x*Integrate[y[t, v], {t, 0, 1}, {v, 0, 1}] sol = DSolveValue[eqn, y[x, z], {x, z}] ...
60 views

### Can I compile wolfram code into latex like sagemath does with the sagetex package?

I'm trying to use mathematics inside latex. Just as it is done with sagetex. I have the suspicion that it cannot be done since mathematica is not open source, but hope is the last thing that I'm lost. ...
64 views

### Mathematica secretly plotting vector graphics outside the axis range

I have code to plot the zero contour of a function. This function is symmetric about the x=0 axis, but I only want to display it in the first quadrant. Additionally, I currently set up the axes as a ...
81 views

### Keep Mathematica 12.3 from auto-formatting double square brackets?

I just updated to Mathematica 12.3.1. Whenever I use the double square brackets used to specify Part, Mathematica now auto-formats them. While the readability is nice, when I go to edit the code, I ...
70 views

### How can I label the plots inside a Graphic grid?

I have some plots as images. I import them in a notebook and arrange them using GraphicGrid as follows Now I want to label each one in the empty space of the plots,...
62 views

### How to solve ODEs using deep learning in Mathematica [closed]

I have a number of ODEs (58) with 16 parameters and 9 variables. I want to solve the ODEs to obtain the analytical relationship between the parameters and variables. It is obviously that the ODEs ...
112 views

### Making a list of variables

Consider the following code, which give a Manipulate object that returns the "total" of a certain variable var 1 ...
36 views

35 views

### Plotting a 3D plane function and a cylinder in the same figure [closed]

I'm very new to mathematica and I can't figure out this extremely simple thing that I see even in my Multivariable Calculus textbook. Basically I want to take the two plots below, one of a cylinder ...
82 views

### Non linear first DE with lot of parts

I want to know how I can solve this equation in Mathematica I guess I missed something!! DSolve[ {a (h[a])^2 h'[a] +(nh[a]/ a^2) + m(h[a])^3 - l (h[a])^2 - t == 0}, h, a] h[a] is my function and n,m,l,...
175 views

### Fit: Experimental`NumericalFunction error when fitting a black-box function

I'm trying some multidimensional Chebyshev fits. First, define a wrapper to prevent premature symbolic evaluation (I don't want a power series result): ...
244 views

### A way to contract input in Mathematica

If I input a giant matrix in Mathematica, and it is contained in a cell, is there a way to contract it so that it uses up significantly less space in the notebook?
50 views

### How can I save the output from AudioRecord?

I'm trying to save a recording using AudioRecord. My recording gets overwritten even if I save the output in a fresh cell. This illustrates the issue: ...
40 views

### How to speed up the multiple sums and integration?

I want to numerically calculate a sum with multiple variables and then integrate the whole expression. Any solutions to speed up the process? ...
62 views

### Plotting a sequence of functions with cases

How can I plot functions like this $$f_{2^n+j}(x)=\begin{cases}0, x\in [\frac{j}{2^n},\frac{j+1}{2^n}]\\1, x\in x<\frac{j}{2^n} \text{ or } x>\frac{j+1}{2^n}\end{cases}$$? I tried something like ...
40 views

### Lanczos method to tridagonalize a matrix

I want to tridagonalize a sparse matrix using the Lanczos algorithm. I am working with a very large sparse matrix and I need some speed. In the following for example ...
51 views

### PlotRange is not applied after text image conversion is moved

I converted the text image using Rotate and Translate functions. ...
41 views

### Strange behavior of the Exponential Integral formula [closed]

I am trying to figure out why Mathematica is telling me a formula for the exponential integral doesn't converge, even though it gives me the very same integral by means of the function ExpIntegralE ...
I have in a notebook: my_val = 10 my_val^2 but this returns $\text{my_val}^2$ instead of $100$. Why doesnt it return 100? More confusingly, if I try: ...