Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #16851

Re: What is the command to do a power of a value

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail
From "bugbear" <bugbear@1:261/38.remove-x1c-this>
Subject Re: What is the command to do a power of a value
Message-ID <50182C7C.55819.calajapr@time.synchro.net> (permalink)
X-Comment-To xvictoryeohx
Newsgroups comp.lang.java.programmer
In-Reply-To <50182C7C.55818.calajapr@time.synchro.net>
References <50182C7C.55818.calajapr@time.synchro.net>
X-FTN-AREA COMP.LANG.JAVA.PROGRAMMER
X-FTN-MSGID 1:261/38 ddb78c63
X-FTN-REPLY 1:261/38 d579bdc7
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98]
Lines 35
Date Tue, 31 Jul 2012 20:07:00 GMT
NNTP-Posting-Host 69.21.70.65
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1343765220 69.21.70.65 (Tue, 31 Jul 2012 15:07:00 CDT)
NNTP-Posting-Date Tue, 31 Jul 2012 15:07:00 CDT
Organization tds.net
Xref csiph.com comp.lang.java.programmer:16851

Show key headers only | View raw


  To: xvictoryeohx
From: "bugbear" <bugbear@1:261/38.remove-dpk-this>

  To: xvictoryeohx
From: "bugbear" <bugbear@1:261/38.remove-rf4-this>

  To: xvictoryeohx
From: bugbear <bugbear@trim_papermule.co.uk_trim>

xvictoryeohx@gmail.com wrote:
> C=L(1+i/100)power of n
>
> i am stuck here
> for example square root is Math.sqrt(x)
> How do i do Power of a value?

I have a dim memory from Numerical Analysis that the "obvious" way to evaluate 
that is inaccurate for small "i" and large "n".

  BugBear

-+- BBBS/Li6 v4.10 Dada-1
 + Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

-+- BBBS/Li6 v4.10 Dada-1
 + Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What is the command to do a power of a value "xvictoryeohx" <xvictoryeohx@1:261/38.remove-x1c-this> - 2012-07-31 20:06 +0000
  Re: What is the command to do a power of a value "bugbear" <bugbear@1:261/38.remove-x1c-this> - 2012-07-31 20:07 +0000
  Re: What is the command to do a power of a value "glen herrmannsfeldt" <glen.herrmannsfeldt@1:261/38.remove-x1c-this> - 2012-07-31 20:07 +0000
    Re: What is the command to do a power of a value "xvictoryeohx" <xvictoryeohx@1:261/38.remove-x1c-this> - 2012-07-31 20:07 +0000
  Re: What is the command to do a power of a value "Roedy Green" <roedy.green@1:261/38.remove-x1c-this> - 2012-07-31 20:07 +0000
    Re: What is the command to do a power of a value "Andreas Leitgeb" <andreas.leitgeb@1:261/38.remove-x1c-this> - 2012-07-31 20:07 +0000
      Re: What is the command to do a power of a value "Patricia Shanahan" <patricia.shanahan@1:261/38.remove-x1c-this> - 2012-07-31 20:07 +0000
        Re: What is the command to do a power of a value "Patricia Shanahan" <patricia.shanahan@1:261/38.remove-x1c-this> - 2012-07-31 20:07 +0000
        Re: What is the command to do a power of a value "glen herrmannsfeldt" <glen.herrmannsfeldt@1:261/38.remove-x1c-this> - 2012-07-31 20:07 +0000
          Re: What is the command to do a power of a value "Patricia Shanahan" <patricia.shanahan@1:261/38.remove-x1c-this> - 2012-07-31 20:07 +0000
          Re: What is the command to do a power of a value "Andreas Leitgeb" <andreas.leitgeb@1:261/38.remove-x1c-this> - 2012-07-31 20:07 +0000

csiph-web