Error Propagation in Transcendental Equation

  • I
  • Thread starter jst6981
  • Start date
  • #1
jst6981
2
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!
 

Answers and Replies

  • #2
36,301
13,375
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.
 
  • #3
jst6981
2
1
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
    14.5 KB · Views: 446
  • #4
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,581
8,838
If you write that k is a function of a and differentiate your equation wrt a, you can eliminate the trig and get a differential equation for k. Manipulate that to get k' as a function of k and a.
 
  • #5
ChrisVer
Gold Member
3,381
464
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%)...
 

Suggested for: Error Propagation in Transcendental Equation

  • Last Post
Replies
1
Views
510
  • Last Post
Replies
5
Views
615
  • Last Post
Replies
17
Views
649
  • Last Post
Replies
8
Views
902
  • Last Post
Replies
1
Views
443
Replies
1
Views
637
  • Last Post
Replies
13
Views
734
Replies
19
Views
4K
  • Last Post
Replies
8
Views
1K
Replies
9
Views
1K
Top