Message Boards Message Boards

0
|
2254 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Plot functions with unknown parameters

Posted 3 years ago

I am new to Mathematica. I have the following details. A=(((β-α)((β-1)α-2))/(2(1+α)^2 (1+β))) /K1 and β= K2/K1, with the plot range 0<α<2 and 5>β>2

I want to plot a graph β vs A. Could somebody help me out how to do this plot in Mathematica?

POSTED BY: S Long
2 Replies

You have so many parameters that you cannot do it in a single plot. You can do it with a 3D graph

With[{K2 = \[Beta]*K1},
 Manipulate[
  Plot3D[
   (((\[Beta] - \[Alpha]) ((\[Beta] - 1) \[Alpha] - 
          2))/(2 (1 + \[Alpha])^2 (1 + \[Beta])))/K1,
   {\[Alpha], 0, 2}, {\[Beta], 2, 5}, 
   AxesLabel -> {\[Alpha], \[Beta], A}],
  {{K1, 1}, 0, 2}]]

or with a 2D graph

With[{K2 = \[Beta]*K1},
 Manipulate[
  Plot[
   (((\[Beta] - \[Alpha]) ((\[Beta] - 1) \[Alpha] - 
          2))/(2 (1 + \[Alpha])^2 (1 + \[Beta])))/K1,
   {\[Beta], 2, 5}, AxesLabel -> {\[Beta], A}],
  {\[Alpha], 0, 2}, {{K1, 1}, 0, 2}]]
POSTED BY: Gianluca Gorni
Posted 3 years ago

Thank you so much.

POSTED BY: S Long
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract