home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!ochealth
- From: ochealth@unixg.ubc.ca (ochealth)
- Newsgroups: comp.sys.hp48
- Subject: Re: Complex Numerical Integration
- Date: 5 Nov 1992 20:12:25 GMT
- Organization: University of British Columbia, Vancouver, B.C., Canada
- Lines: 23
- Message-ID: <1dbv79INN9m7@iskut.ucs.ubc.ca>
- References: <01GQGF6AX0AQB624BK@TNTECH.BITNET> <1cs4jrINN5ek@master.cs.rose-hul <2af87789.2026.3comp.sys.hp48.1@hpcvbbs.cv.hp.com>
- NNTP-Posting-Host: unixg.ubc.ca
-
- In article <2af87789.2026.3comp.sys.hp48.1@hpcvbbs.cv.hp.com> akcs.husty@hpcvbbs.cv.hp.com (Ali Persian Momeni) writes:
- >I JUST integrated e^ix from 0 to 2 and got the numerical COMPLEX answere,
- >(.909297426826,1.416146836555). Who says the numerical integrations
- >routines in the hp48 are only for integrals with real values?
- >
- >ali. momeni@vu-vlsi.ee.vill.edu
-
-
-
- No you did not!
-
- Enter 'Int(0,2,e^(i*x),x)' ->NUM and it will say Error: Non-Real Result
- ^^^integral symbol
-
- Insert EVAL in between INt... and ->NUM and you will get the anser you state.
- This is because exp(x) is a known integral. Try integrating sin(x)/x or
- exp(x^2) over a complex path, and you won't get any anwser.
-
- --
- ______________________________________________________________________________
- jpm: ochealth@unixg.ubc.ca
- Happily using OS/2 2.0 because MS Windows isNT ___
- Insert VapourFeature ^^^
-