"solve" inside a programm
hello everyone, let's see if you can help me. It turns out that I want to plot a root locus.
It turns out that I have to solve the equation [1+ K G(s)* H(s)= 0] for each K.
For a given K I can do it with solve: for example:
G(s):=10/(s^2+2*s+10) and H(s):=5/(s+5) for a k:=3 gives me the following result.
R:[-7.75;0.375-5.07i;0.375+5.07i]
how do I get the same within a program by varying k by different values?


