# How can I get plot [closed]

here I want to plot the v vs p ...the code I used here...

Clear["Global*"]

p'[v] = (((c1^2 + c2^2 + u*v)*(v + u)*v)/(d1^2*(v^2 - c1^2)*p*
v)) + ((d1^2*
p^2 (v^2 + c1^2 + (v^2 - c1^2)^2/2*c2^2))/(d1^2*(v^2 - c1^2)*p*
v));
p1 = Integrate[p'[v], v];


now what should I do get the plot v vs p1....

• See Plot Nov 19 '16 at 7:17
• Possible duplicate of Plotting multivariable integration Nov 19 '16 at 7:21
• Can't get any plot or particular procedure to get that plot .. #zentient
– xyz
Nov 19 '16 at 7:26
• Welcome to Mathematica.SE! 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour and check the faqs! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign!
– user9660
Nov 19 '16 at 7:30
• The first thing you must do is to associate values to parameters For instance you can Nov 19 '16 at 9:36

You need to define the undefined variables:

pp[v_, c1_, c2_, u_, d1_,
p_] := (((c1^2 + c2^2 + u*v)*(v + u)*v)/(d1^2*(v^2 - c1^2)*p*
v)) + ((d1^2*
p^2 (v^2 + c1^2 + (v^2 - c1^2)^2/2*c2^2))/(d1^2*(v^2 - c1^2)*p*
v));
p1[c1_, c2_, u_, d1_, p_] := Integrate[pp[v, c1, c2, u, d1, p], v]


Then you can plot the function for any range of the variables:

Plot[Evaluate[p1[1, 1, 1, 1, 1]], {v, 0, 1}]
`