Student Support Forum: 'CPU busy combination Manipulate and a Function' topicStudent Support Forum > General > Archives > "CPU busy combination Manipulate and a Function"

 Next Comment > Help | Reply To Topic
 Author Comment/Response Stephan 05/20/13 05:08am Hello I use Wolfram Mathematica 9 Student Edition on a Mac. If I run the following statement the Math Kernel gets very busy: Manipulate[ qdq[p_] := a - b*p; qsq[p_] := c + d*p; Plot[{qdq[p], qsq[p]}, {p, 0, 10}, AxesLabel -> {"p", "q"}, PlotLabel -> "qp Diagram"], {{ax, 7}, 0, 50}, {{b, 2}, 0, 50}, {{c, 1}, 0, 50}, {{d, 1}, 0, 50}] If i don't use the self defined functions qdq and qsq everything runs fine: Manipulate[ Plot[{a - b*p, c + d*p}, {p, 0, 10}, AxesLabel -> {"p", "q"}, PlotLabel -> "qp Diagram"], {{a, 7}, 0, 50}, {{b, 2}, 0, 50}, {{c, 1}, 0, 50}, {{d, 1}, 0, 50}] Any ideas or suggestions? Kind Regards Stephan URL: ,

 Subject (listing for 'CPU busy combination Manipulate and a Function') Author Date Posted CPU busy combination Manipulate and a Function Stephan 05/20/13 05:08am Re: CPU busy combination Manipulate and a Funct... jf 05/20/13 1:20pm
 Next Comment > Help | Reply To Topic