Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.7K Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How do I Plot with an inverse function?

Posted 4 years ago

I want to plot a function which is dependent on v over p. I have another function for p[v] so i thought I could plot using the inverse function. Can somebody tell me what I did wrong here?

In[11]:= p[t_, v_] := (8*t*v^2 - 9 v^2 + 3)/((3 v - 1) v^2)

In[13]:= T = 0.95

Out[13]= 0.95

In[46]:= p1[v_] := p[T, v]

In[47]:= V[P_] := InverseFunction[p1][P]

In[48]:= Plot[-T*Log[3 V[p] - 1] + T/(3 V[p] - 1) - 9/(4 V[p]), {p, 0,
   2}]
Attachment

Attachments:
POSTED BY: Florian Maier
3 Replies
Posted 4 years ago

Hello Gianluca and Henrik!

Thank you for your answers, now I understand what I did wrong.

POSTED BY: Updating Name
POSTED BY: Henrik Schachner

Try for example V[1] and you will see that V has complex values.The function p1 is not invertible. InverseFunction[p1] is picking a solution of an equation of third degree.

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