-1
$\begingroup$

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....

$\endgroup$
7
  • $\begingroup$ See Plot $\endgroup$ Nov 19 '16 at 7:17
  • $\begingroup$ Possible duplicate of Plotting multivariable integration $\endgroup$ Nov 19 '16 at 7:21
  • $\begingroup$ Can't get any plot or particular procedure to get that plot .. #zentient $\endgroup$
    – xyz
    Nov 19 '16 at 7:26
  • $\begingroup$ 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! $\endgroup$
    – user9660
    Nov 19 '16 at 7:30
  • $\begingroup$ The first thing you must do is to associate values to parameters For instance you can $\endgroup$ Nov 19 '16 at 9:36
2
$\begingroup$

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}]

enter image description here

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.