Sorry to keep going with this topic but there is still a minor issue. This example is very helpful but something still isnt right. If you'll notice if I change the value of w to something like 1000x10^-9 the chart doesnt change. If you'll notice for say the 250th value I get different values in the mathcad model 2.109 and 0.684 for p and q respectively. The Mathcad model is definately the correct answer. Where mathmatica gives 1.03266 and .966417 respectively. I've attached the mathcad example.
Attachment: changew.tiff, URL: ,