Plotting y=\frac{(a_0+a_1)\beta}{\beta^2-a_0a_1} in Mathematica

  • Context: Mathematica 
  • Thread starter Thread starter Dragonfall
  • Start date Start date
  • Tags Tags
    Mathematica Plotting
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
Dragonfall
Messages
1,023
Reaction score
5
I need mathematica to plot

[tex]y=\frac{(a_0+a_1)\beta}{\beta^2-a_0a_1}[/tex] by assuming that [tex]a_0<0,a_1<0,-a_0-a_1<a_0a_1\pi[/tex].

by telling it to ignore the singularities, etc, but it keeps telling me that beta is not a machine sized real number at blah.

Also, how do I specify a range (ie, y from -10 to 10) in Mathematica?

Thanks.
 
Last edited:
Physics news on Phys.org
Dragonfall said:
I need mathematica to plot

[tex]y=\frac{(a_0+a_1)\beta}{\beta^2-a_0a_1}[/tex] by assuming that [tex]a_0<0,a_1<0,-a_0-a_1<a_0a_1\pi[/tex].

by telling it to ignore the singularities, etc, but it keeps telling me that beta is not a machine sized real number at blah.

Also, how do I specify a range (ie, y from -10 to 10) in Mathematica?

Thanks.

the problem is that you're using the constants that aren't numbers. i don't think mathematica will do that. use the help browser for plot, i think the command should be something like [Plot, function, {x,a,b}, {c,d}] or something like that, where the things in the fancy brakets give yr range/domain. i hate mathematica, so double check in the help browser.
 
So I'd have to set a0 and a1 to some fixed real value? This defeats the purpose of my trying to solve a PDE using graphical methods.