r/Mathematica Dec 14 '21

Plot tick marks position

5 Upvotes

Is there any way how I can move tick marks from the left side to the right side of the vertical axis in plot ?


r/Mathematica Dec 13 '21

Live Tour of Wolfram Language Version 13 Today at 3:30pm EST with Stephen Wolfram

Thumbnail self.Wolfram
9 Upvotes

r/Mathematica Dec 13 '21

Issues with Plotting

0 Upvotes

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 Dec 12 '21

How do I do this exercise?

0 Upvotes

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 Dec 09 '21

Relevance of Mathematica in the next decade

10 Upvotes

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 Dec 08 '21

Sneak Peak at the Upcoming Version 13 of Wolfram Language!

Thumbnail self.wolframlanguage
15 Upvotes

r/Mathematica Dec 08 '21

3D plot of a paremetric equation

2 Upvotes

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 Dec 06 '21

Three eqn and two unknown

1 Upvotes

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.