Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6659
| From | Peter Pein <petsie@dordos.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Bad Precision output for SphericaBesselY and BesselY |
| Date | 2011-11-23 12:14 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jaio3h$epb$1@smc.vnet.net> (permalink) |
| References | <jafud8$rrr$1@smc.vnet.net> |
Am 22.11.2011 11:43, schrieb Antonio Alvaro Ranha Neves:
> Dear users,
>
> Recently I'm working with precision calculations of spherical functions. Example, let,
>
> n = 150
> x = SetPrecision[120.3, 100]
> BesselY[n + 1/2, x] // Precision
> BesselJ[n+ 1/2, x] // Precision
>
>
> Yields 67.2708 and 96.9297 respectively. The two questions are:
> 1) Why does BesselY results in a worse than BesselJ?
> 2) How to redefine, BesselY to automatically output a result with a desired pecision?
>
> Note: Simply using N[expr,90], does not yield a result of expr with 90 precision but maintains the same 67.2708.
>
> Thanks,
> Antonio
>
>
Hi Antonio,
to get an idea which input precision is needed to get an output
precision of 90:
In[1]:=
FindRoot[Precision[BesselY[301/2,SetPrecision[120.3,p]]]==90,{p,90},Evaluated->False]
Out[1]= {p->122.729}
the same for Accuracy gives {p -> 127.776}
hth,
Peter
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bad Precision output for SphericaBesselY and BesselY Antonio Alvaro Ranha Neves <aneves@gmail.com> - 2011-11-22 10:43 +0000
Re: Bad Precision output for SphericaBesselY and BesselY "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-11-23 12:03 +0000
Re: Bad Precision output for SphericaBesselY and BesselY Peter Pein <petsie@dordos.net> - 2011-11-23 12:14 +0000
Re: Bad Precision output for SphericaBesselY and BesselY Antonio Alvaro Ranha Neves <aneves@gmail.com> - 2011-11-24 12:12 +0000
Re: Bad Precision output for SphericaBesselY and BesselY Peter Falloon <pfalloon@gmail.com> - 2011-11-25 10:04 +0000
Re: Bad Precision output for SphericaBesselY and BesselY "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-11-25 10:11 +0000
csiph-web