Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: calculation of exp(200)
Replies: 5   Last Post: Jul 10, 2014 12:51 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Nasser Abbasi

Posts: 5,689
Registered: 2/7/05
Re: calculation of exp(200)
Posted: Jul 7, 2014 9:57 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 7/7/2014 8:26 PM, kumar vishwajeet wrote:
> I want to find exp(N) where N can range from 0 to 200.
>Is there any method to calculate it with good accuracy?


as James said, you can use vpa

vpa(exp(sym(200)),500)


7225973768125749258177477042189305697356874428527
31928403269789123221909361473891661561.9265890625
7055746840204310142941817711067711936822648098307
7273278800877934252667473057807294372135876617806
9702350324220401483115192088442120622525378469924
9272881421981093552839024711140014485905504285329
2850053281888896583514044902234770562940736477036
9022153799888245922895391403712478563813079673045
5316370477078232246232166391756343572294659379732
9550687822348546666476886365318979823972170480437
40943587594

But you have to do all the rest of the computation
is syms land, otherwise what is the point of
getting this accuracy if you can't use it in
numerical matlab.







Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.