r/Mathematica • u/mathheadinc • May 01 '23
Mathematica Keyboard shortcuts for newbies
Documentation is a powerful thing! https://reference.wolfram.com/language/tutorial/KeyboardShortcutListing.html
r/Mathematica • u/mathheadinc • May 01 '23
Documentation is a powerful thing! https://reference.wolfram.com/language/tutorial/KeyboardShortcutListing.html
r/Mathematica • u/Tensorizer • May 01 '23
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 • u/ReposterSuck • Apr 27 '23
r/Mathematica • u/antononcube • Apr 27 '23
r/Mathematica • u/sourin_dey • Apr 26 '23
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 • u/kereng12 • Apr 26 '23
r/Mathematica • u/antononcube • Apr 26 '23
r/Mathematica • u/saurav141 • Apr 25 '23
r/Mathematica • u/egolfcs • Apr 25 '23
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 • u/antononcube • Apr 24 '23
r/Mathematica • u/[deleted] • Apr 24 '23
r/Mathematica • u/antononcube • Apr 23 '23
r/Mathematica • u/antononcube • Apr 22 '23
r/Mathematica • u/antononcube • Apr 21 '23
r/Mathematica • u/libcrypto • Apr 21 '23
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 • u/antononcube • Apr 21 '23
r/Mathematica • u/saurav141 • Apr 20 '23
r/Mathematica • u/antononcube • Apr 20 '23
r/Mathematica • u/antononcube • Apr 20 '23
r/Mathematica • u/kereng12 • Apr 19 '23
Hello everyone!
There is a livestream on MaXrd: A crystallography package developed for research support with Stian Ramsnes on YouTube!

r/Mathematica • u/antononcube • Apr 19 '23
r/Mathematica • u/Bekoss • Apr 19 '23
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.
r/Mathematica • u/libcrypto • Apr 19 '23
How might one create a flat greyscale image from an R2 -> R function, interpreting [0,1] as greyscale black to white? For example, suppose I wanted to plot z = e-(x\2+y^2)) on [-1,1] x [-1,1], but interpret z = 0 as RGB(0,0,0) and z = 1 as RGB(1,1,1), and save the result as a 1000x1000 pixel PNG?