Re: * Interesting, but WHY are you doing that?by Lou (no login)
That's just a boiled down example. I just came across this problem while troubleshooting a program I'm writing.
I'm writing a program plotting current and voltage for RLC circuits. (I'm using VIEW and WINDOW commands to change the scale.) Occasionally, depending on the circuit elements, in order to see small current details, I have to change the scale to be very small, but the voltage remains large. This means the voltage is off scale and cannot be seen on screen. This is not a problem since I'm only concerned with the current. If I want to see the voltage, I just change the scale back. But when the scale was small, I was occasionally seeing voltage plots that I quickly realized should not be there. The voltage plotted as expected when I changed the scale back to normal, so I figured it was a plotting error in Qbasic, not my plotting commands. I verified it with that example.
|Response Title||Author and Date|
|Re: * Interesting, but WHY are you doing that?||Laanan Fisher on Feb 5|
|I don't think it will be too hard.||Anonymous on Feb 5|
|Maybe because higher values "wrap" into the negative...||on Feb 5|
|Re: Maybe because higher values "wrap" into the negative...||Laanan Fisher on Feb 5|
|This is what I noticed...||on Feb 6|
|*Very interesting.Something to experiment with. Thanks.||Lou on Feb 6|