1
$\begingroup$

I am trying to couple Manipulate with QueueProperties and it does not seem to work. It creates the manipulate screen but it is not dynamic. It just sits there.

Here is my example:

\[ScriptCapitalQ] = QueueingProcess[\[Lambda], 4.3, 1]

then I add:

Manipulate[QueueProperties[\[ScriptCapitalQ]], {\[Lambda], 1, 4}]

and it creates the Manipulate framework, but lambda does not change dynamically and recompute the QueueProperties.

$\endgroup$
  • $\begingroup$ I edited your question for you and added code formatting. To learn how to properly format your question yourself please have a look here $\endgroup$ – Sascha Jan 22 '16 at 19:44
  • 2
    $\begingroup$ With Manipulate[] you generally want to have your expression being a function of the parameters that you want to manipulate. E.g. try \[ScriptCapitalQ][\[Lambda]_] := QueueingProcess[\[Lambda], 4.3, 1] and accordingly Manipulate[QueueProperties[\[ScriptCapitalQ][\[Lambda]]], {\[Lambda], 1, 4}] $\endgroup$ – Sascha Jan 22 '16 at 19:50
2
$\begingroup$

As Sascha has note in a comment, you need to define your queueing process as a function of λ.

q[λ_] := QueueingProcess[λ, 4.3, 1]
Manipulate[
  QueueProperties[q[λ]],
  {λ, 1, 4, Appearance -> "Labeled"}]

process

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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