Error Propagation in Transcendental Equation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
jst6981
Messages
2
Reaction score
1
Hey guys,

I'm in a class where we're learning about waveguides, and without going into too much depth, we often solve an equation

$$ \tan{(\kappa (\frac{a}{2}))} = \frac{\gamma}{\kappa} $$

for ##\kappa## numerically since there isn't an analytic solution for ##\kappa##. I'm doing a project where ##a## has an error ##\Delta a##, and I want to be able to solve this in a way so that I have a ##\kappa## written ##\kappa \pm \Delta \kappa## so that I can propagate the error in ##\kappa## due to the error in ##a## throughout the rest of my calculations for the project.

If anybody has a nice way I can do this, please let me know. I appreciate help in advance!
 
Physics news on Phys.org
Vary a by Δa up and down, solve for ##\kappa## in both cases. If the resulting deviations of ##\kappa## are reasonably symmetric, use that as uncertainty. Otherwise it might need more sophisticated approaches.
 
I had considered that, each function is roughly linear when they intersect as below.
upload_2017-11-12_23-29-52.png


I think it may work
 

Attachments

  • upload_2017-11-12_23-29-52.png
    upload_2017-11-12_23-29-52.png
    13.3 KB · Views: 681
  • Like
Likes   Reactions: mfb
Do you want an analytical solution or you are fine with using numerical solutions?
In the latter you can generate some toys, let's say 10,000...
In each toy, you randomly sample [itex]\alpha[/itex] from a gaussian (for example) with mean [itex]\alpha[/itex] and standard deviation [itex]\Delta \alpha[/itex], so that you get a set [itex]\{\alpha_i\} , i=1,~2,~...,~10000[/itex] measurements...
You can get the [itex]\{k_i\}[/itex] set from your equation.
See how it's distributed and try to find the 68% central coverage (aka determine [itex]\Delta k_{\pm}[/itex] where plus/minus means the up/down uncertainty - that means the range [nominal-down, nominal] contains the 34% of your toys and the range [nominal,nominal+up] contains the other 34%)...