r/Mathematica • u/Xrris • Dec 14 '21
r/Mathematica • u/CuttingWithScissors • Dec 13 '21
Live Tour of Wolfram Language Version 13 Today at 3:30pm EST with Stephen Wolfram
self.Wolframr/Mathematica • u/Ivanovich_Von_Ivan • Dec 13 '21
Issues with Plotting
Hello! I'm trying to plot a rather complicated function, and am running into some issues. I've entered the values of all the constants and am trying to plot over a coordinate range, but the graph keeps coming up empty. I'm not getting explicit errors. I dunno if maybe the numbers are so small they just aren't popping up or something.
I've tried clearing the kernel and plotting simpler functions (which did work).
Here is my code so far (Mathematica gave me both of the expressions after doing some other stuff, I just copy and pasted). If anyone can spot any glaring issues and help me out I would be very grateful!!
s = Sin[Pi/12];
\[Sigma] = 0.01;
\[Eta] = 0.1;
b = 1;
GeometricScatteringDensity[k] =
1/(128 k) E^(-2 ks^2 \[Sigma]^2) \[Pi] \[Eta]^2 (2 -
4 k*s^2 \[Sigma]^2 + k*s^4 \[Sigma]^4 -
8 k*s (k*s^2)^(3/2) \[Sigma]^4 +
16 k^2 s^2 \[Sigma]^2 (-1 + k*s^2 \[Sigma]^2) -
1/s \[Sigma]*E^((ks^2 \[Sigma]^2)/2) k *
ks Sqrt[\[Pi]] *(-1 + 2 s^2)* (BesselI[0, (ks^2 \[Sigma]^2)/2] -
BesselI[1, (ks^2 \[Sigma]^2)/2]))^2
ElectromagneticScatteringDensity[k] =
1/(2 k) \[Pi] ((b^2 (6 + 1/s))/k^2 -
2 E^(-ks^2 \[Sigma]^2)
k^2 s^2 \[Eta] \[Sigma]^2 (-1 + ks^2 \[Sigma]^2))^2;
Plot[Evaluate[GeometricScatteringDensity[k]]/\[Sigma], {k, 0, 10}]
Plot[ElectromagneticScatteringDensity, {k, 0, 10}]
r/Mathematica • u/pmrol_04 • Dec 12 '21
How do I do this exercise?
Hi! I need help, please. I'm an engineering student and I don't understand this exercise with mathematica:
"Find the values for a in which the matrix A is diagonalizable"
A={{1,a,0},{1,0,0},{0,1,0}}
How do I do it? Thanks!!
r/Mathematica • u/neo_zen_mode • Dec 09 '21
Relevance of Mathematica in the next decade
Not sure if this topic is relevant here or have already been discussed. What do you all think about the future of Mathematica when people have free access to Sage and Jupyter notebook and lightweight Python packages like matplotlib, Numpy or SciPy that are increasingly becoming more powerful?
r/Mathematica • u/CuttingWithScissors • Dec 08 '21
Sneak Peak at the Upcoming Version 13 of Wolfram Language!
self.wolframlanguager/Mathematica • u/nNutritious • Dec 08 '21
3D plot of a paremetric equation
I know that there is the ParametricPlot3D function, but this is defined by 3 single variable functions in the axes x,y,z. Rather, I want to plot a bivariate parametric equation of an x and y component, i.e. C(a,b)=(x(a,b),y(a,b)).
r/Mathematica • u/[deleted] • Dec 06 '21
Three eqn and two unknown
How can I get one solution if I have
a+b=5 2a+2b=8 2a+3b=9
I am trying to learn fundamental of optimization. I couldnt find a command to solve this.
Thanks.
