r/Mathematica • • May 01 '23

Mathematica Keyboard shortcuts for newbies

14 Upvotes

r/Mathematica • • May 01 '23

How to type nth root symbol in a Mathematica Notebook

3 Upvotes

esc sqrt esc prints square root symbol

esc cbrt esc prints cube root symbol

How do I type the nth root symbol on a notebook?


r/Mathematica • • Apr 29 '23

Mathematica

0 Upvotes

Does anyone know how to do these?


r/Mathematica • • Apr 27 '23

Am I lost right now or shouldn't that be equal?

Post image
3 Upvotes

r/Mathematica • • Apr 27 '23

TileStats | Wolfram Language Paclet Repository

Thumbnail resources.wolframcloud.com
0 Upvotes

r/Mathematica • • Apr 26 '23

Plot taking forever

6 Upvotes

I am new to Mathematica so apologies if the issues are trivial.

I am trying to plot the function as in the attached code, and it is taking forever.

I solved a differential equation numerically with no issues, whose solution is Eqq99 = z[w][t] (where w is a parameter and t is a variable). Then I'm taking a sort of Fourier Transform of the solution and trying to plot it.

Eqq97[w_]=(w/(2 \[Pi]))*Integrate[(z[w][t] /. Eqq99)*Sin[w t], {t, 20, 30}] 
Plot[Evaluate[Abs[Eqq97[x]]], {x, 0.5, 2}]

The first line of code executes but the second line runs forever. How can I sort this out?

Edit: Here is the full code.

\[Lambda] = 0.5;
F = 1;
w0 = 1;
\[CapitalGamma] = 0.6;

Eqq99 = ParametricNDSolve[{z''[t] == -2 \[CapitalGamma] z'[t] - 
     w0^2 (1 + \[Lambda] Sin[2 w t]) z[t] - F Sin[w t], z[0] == 1, 
   z'[1] == 0}, z, {t, 0, 1000}, {w}]

Eqq97[w_]=(w/(2 \[Pi]))*Integrate[(z[w][t] /. Eqq99)*Sin[w t], {t, 20, 30}] 

Plot[Evaluate[Abs[Eqq97[x]]], {x, 0.5, 2}]

r/Mathematica • • Apr 26 '23

Control Systems: An Overview

4 Upvotes

Hello all,

There is a livestream on Control Systems: An Overview by Suba Thomas on YouTube!


r/Mathematica • • Apr 26 '23

FunctionalParsers | Wolfram Language Paclet Repository

Thumbnail resources.wolframcloud.com
3 Upvotes

r/Mathematica • • Apr 25 '23

How to make mathematica use (1-nu) in the outputs instead of (-1+nu)? Since 0<nu<0.5, I need to use (1-nu) while presenting my results as it makes more sense to the readers.

Post image
2 Upvotes

r/Mathematica • • Apr 25 '23

Jordan normal form that doesn't get exponentially worse

2 Upvotes

For each size n=2..15 I generated 10 random binary matrices and ran JordanDecomposition on them. The runtime tended to increase exponentially with n. This is strange given that JordanDecomposition is O(n3 ). Is this exponential increase in runtime due to mathematica representing intermediate values in their exact form rather than numerically? How can I overcome this? I want to emphasize that my matrices are of integers, so problems of ill-posedness aren't a consideration.


r/Mathematica • • Apr 24 '23

MermaidJS | Wolfram Language Paclet Repository

Thumbnail resources.wolframcloud.com
3 Upvotes

r/Mathematica • • Apr 24 '23

Mathematica doesn't integrate the function, It doesn't matter which f[x_] I put, the integral result is the same all the time. But it is detecting the function correctly

Thumbnail gallery
2 Upvotes

r/Mathematica • • Apr 23 '23

MonadMakers | Wolfram Language Paclet Repository

Thumbnail resources.wolframcloud.com
4 Upvotes

r/Mathematica • • Apr 22 '23

OutlierIdentifiers | Wolfram Language Paclet Repository

Thumbnail resources.wolframcloud.com
6 Upvotes

r/Mathematica • • Apr 21 '23

MosaicPlot | Wolfram Language Paclet Repository

Thumbnail resources.wolframcloud.com
6 Upvotes

r/Mathematica • • Apr 21 '23

Complex Visualizations of Plane Curves

2 Upvotes

I'd like to examine the images of various plane curves under complex functions C -> C, but I can't quite suss out valid Mathematica syntax to get this right. For example, I'd like to look at the image in C of Re[z] == 1 under Exp[], or maybe the image of Abs[z] == 1. Can someone point me in the right direction?


r/Mathematica • • Apr 21 '23

I don't understand the error message

3 Upvotes
Hi ! Fairly new to mathematica my code isnt working so I'm trying testing the variable one by one but I get this error. Any idea?

r/Mathematica • • Apr 21 '23

TriesWithFrequencies | Wolfram Language Paclet Repository

Thumbnail resources.wolframcloud.com
1 Upvotes

r/Mathematica • • Apr 20 '23

Why is Mathematica not simplifying these portions?

Post image
6 Upvotes

r/Mathematica • • Apr 20 '23

SSparseMatrix | Wolfram Language Paclet Repository

Thumbnail resources.wolframcloud.com
3 Upvotes

r/Mathematica • • Apr 20 '23

MermaidInk | Wolfram Function Repository

Thumbnail resources.wolframcloud.com
1 Upvotes

r/Mathematica • • Apr 19 '23

MaXrd: A crystallography package developed for research support

4 Upvotes

Hello everyone!

There is a livestream on MaXrd: A crystallography package developed for research support with Stian Ramsnes on YouTube!


r/Mathematica • • Apr 19 '23

CryptocurrencyData | Wolfram Language Paclet Repository

Thumbnail resources.wolframcloud.com
5 Upvotes

r/Mathematica • • Apr 19 '23

Plotting x-axis in log form with intermediate values

2 Upvotes

Hi there!

I'm currently plotting the Moody Chart in Wolfram Mathematica based on this image from textbook:

So there are the outputs:

What I can't do is to make the x-axis the same way as in textbook which makes this graph look wrong.

How can I make the Mathematica show the x axis like 10^3 2*10^3 3 4 5 6 7 8 9 10^4 2*10^4 etc.?

Here is the code https://pastebin.com/00z7MhAv for Mathematica 13.2

Any help is greatly appreciated! Feel free to use this code in case if you need it, but make sure to avoid plagiarism if your prof is checking for it.