Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8910
| From | danl@wolfram.com |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Engineering requests |
| Date | 2012-03-07 10:36 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jj7dmo$2c0$1@smc.vnet.net> (permalink) |
| References | <jiqflj$3o$1@smc.vnet.net> <201203031152.GAA14440@smc.vnet.net> <jj1qr4$t8h$1@smc.vnet.net> |
On Monday, March 5, 2012 1:43:32 AM UTC-6, McHale, Paul wrote:
> Daniel,
>
> Thanks for the ideas. The minimalUnits[] is interesting. It would be very interesting to assign variables values with units. Likely, another data type would be required to support this.
> R1= 5 Ohm;
>
>
> I tried to use interval. Maybe I'm not doing it right...
>
> R1int={100000-100000*(0.1),100000+100000(0.1)}
> R2int={30000-30000*(0.1),30000+30000(0.1)}
>
> (* Using interval (wrong answers) *)
> R1=Interval[R1int];
> R2=Interval[R2int];
> Vout=5/(R1+R2) R2 // Max
> Vout=5/(R1+R2) R2 // Min
>
> Out[1]= 1.41026
> Out[2]= 0.944056
>
> (* using table (correct answers) *)
> R1=R1int;
> R2=R2int;
> Table[5/(Ra+Rb) Rb,{Ra,R1},{Rb,R2}]// Max
> Table[5/(Ra+Rb) Rb,{Ra,R1},{Rb,R2}]// Min
>
> Out[3]= 1.34146
> Out[4]= 0.985401
You are using Interval correctly. What you are seeing is called the "dependency problem". it goes with the territory of interval arithmetic. As a result, interval methods can only guarantee outer bounds on results, but not tight bounds in general.
A couple of alternatives are
(1) Use optimization techniques, which tend to be reliable in giving tight bounds, but can be slow. And of course they can also fail to give correct bounds in difficult situations.
(2) Use a statistical approximate error bounding method such as that found here.
http://demonstrations.wolfram.com/SolvingALinearSystemWithUncertainCoefficients/
It is not going to give outer bounds on the error, but under certain assumptions it will provide "good" approximate bounds on the expected error.
Daniel Lichtblau
Wolfram Research
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Engineering requests "McHale, Paul" <Paul.McHale@excelitas.com> - 2012-03-02 12:49 +0000
Re: Engineering requests Armand Tamzarian <mike.honeychurch@gmail.com> - 2012-03-03 11:55 +0000
Re: Engineering requests danl@wolfram.com - 2012-03-03 11:53 +0000
Re: Engineering requests "McHale, Paul" <Paul.McHale@excelitas.com> - 2012-03-05 07:43 +0000
Re: Engineering requests danl@wolfram.com - 2012-03-07 10:36 +0000
Re: Engineering requests roby <roby.nowak@gmail.com> - 2012-03-08 09:43 +0000
Re: Engineering requests David Bailey <dave@removedbailey.co.uk> - 2012-03-09 11:12 +0000
Re: Engineering requests "McHale, Paul" <Paul.McHale@excelitas.com> - 2012-03-12 09:08 +0000
Re: Engineering requests Yves Klett <yves.klett@googlemail.com> - 2012-03-14 05:38 +0000
csiph-web