Numerics
Of the many data types that are used in programming – numbers, strings, symbols, lists – numbers are perhaps the most familiar. You can work with all kinds of numbers in Mathematica, but what distinguishes it from traditional programming languages and other computational systems is that with it you...
Saved in:
| Published in: | Programming with Mathematica pp. 251 - 308 |
|---|---|
| Main Author: | |
| Format: | Book Chapter |
| Language: | English |
| Published: |
United Kingdom
Cambridge University Press
10.01.2013
|
| Subjects: | |
| ISBN: | 9781107009462, 1107009464 |
| Online Access: | Get full text |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| Abstract | Of the many data types that are used in programming – numbers, strings, symbols, lists – numbers are perhaps the most familiar. You can work with all kinds of numbers in Mathematica, but what distinguishes it from traditional programming languages and other computational systems is that with it you can operate on numbers of any size and to any degree of precision. In this chapter we will explore some of the issues related to working with numerical quantities and show how you can incorporate these ideas into programs that involve numerical computations to gain greater control over the precision and accuracy of your results as well as to improve the efficiency of your numerical computations and programs.Numbers in MathematicaOne of the first things you will notice as you start using Mathematica is the manner in which it treats numbers compared with other systems such as calculators, traditional programming languages, and other technical computing software. In most traditional programming languages, you must declare the type of number your functions can take as an argument. Although Mathematica automatically handles such details for you an understanding of the different number types and how they invoke different algorithms is helpful for taking full advantage of Mathematica's numerical capabilities and for writing efficient programs.Mathematica operates differently depending upon the type of input you give it. For example, the following two inputs each compute sin(π / 3) but something quite different results. |
|---|---|
| AbstractList | Of the many data types that are used in programming – numbers, strings, symbols, lists – numbers are perhaps the most familiar. You can work with all kinds of numbers in Mathematica, but what distinguishes it from traditional programming languages and other computational systems is that with it you can operate on numbers of any size and to any degree of precision. In this chapter we will explore some of the issues related to working with numerical quantities and show how you can incorporate these ideas into programs that involve numerical computations to gain greater control over the precision and accuracy of your results as well as to improve the efficiency of your numerical computations and programs.Numbers in MathematicaOne of the first things you will notice as you start using Mathematica is the manner in which it treats numbers compared with other systems such as calculators, traditional programming languages, and other technical computing software. In most traditional programming languages, you must declare the type of number your functions can take as an argument. Although Mathematica automatically handles such details for you an understanding of the different number types and how they invoke different algorithms is helpful for taking full advantage of Mathematica's numerical capabilities and for writing efficient programs.Mathematica operates differently depending upon the type of input you give it. For example, the following two inputs each compute sin(π / 3) but something quite different results. |
| Author | Wellin, Paul |
| Author_xml | – sequence: 1 givenname: Paul surname: Wellin fullname: Wellin, Paul |
| BookMark | eNqNkMlOwzAQho1Y1IW8Aa-QMuMltsUpRBSQKnqBsxU7NhSylDiVeHwCRUjAhbmMNDPfN9I_I0dt13pCzhAWCCjPi8u1lgoEopZUc7oA0Adk9j3IDkkyHiCCHDc8oydkqhiTmUaVTUgS4zOMpSQogVMyuds1vt-4eEqOQ1lHn3z1OXlYXt0XN-lqfX1b5KvUoeCYBqlkqUUWmIIAaPn4xglvqasCeOWDYypIXgl06KwIFa1AWSpCxihnIrA5YXvvtu9edz4Oxtuue3G-Hfqydk_ldvB9NAhaKy4N04ZKHKl8T7mysf2mevTGdf0nGc2PPMxbU5vfIeXAPxwXfxy2-y_9DiPNZtM |
| ContentType | Book Chapter |
| Copyright | Paul Wellin 2013 |
| Copyright_xml | – notice: Paul Wellin 2013 |
| DBID | FFUUA |
| DEWEY | 005.133 |
| DOI | 10.1017/CBO9780511972942.009 |
| DatabaseName | ProQuest Ebook Central - Book Chapters - Demo use only |
| DatabaseTitleList | |
| DeliveryMethod | fulltext_linktorsrc |
| Discipline | Computer Science |
| EISBN | 0511972946 9780511972942 1139612018 9781139612012 |
| EndPage | 308 |
| ExternalDocumentID | EBC1099847_39_271 9780511972942_xml_CBO9780511972942A041 |
| GroupedDBID | -G2 089 20A 38. A4J AAAAZ AABBV AAHFW AAJKE AALIM ABARN ABESS ABMFC ABMRC ABWAU ABZUC ACLGV ACNOG ADCGF ADQZK ADVEM AEDFS AERYV AEWAL AEWQY AHAWV AJFER AJPFC AJXXZ ALMA_UNASSIGNED_HOLDINGS AMJDZ AMYDA ANGWU ASYWF AZZ BBABE BFIBU BJUTA BPBUR COBLI COXPH CYGLA CZZ EBSCA FH2 GEOUK ICERG JJU MYL OLDIN OTBUH OZASK OZBHS PP- PQQKQ S2A SACVX SN- WZG WZT ZXKUE ABQPQ AHWGJ FFUUA |
| ID | FETCH-LOGICAL-c1541-f787a956f380f01b4070c5eb2cdf0e8efc38f74d51c1cb5fd2d08b25f632435f3 |
| ISBN | 9781107009462 1107009464 |
| IngestDate | Thu May 29 01:33:28 EDT 2025 Fri Feb 21 02:35:21 EST 2025 Wed Mar 12 03:55:03 EDT 2025 |
| IsPeerReviewed | false |
| IsScholarly | false |
| LCCallNum | QA76.73.M29 W454 2013 |
| Language | English |
| LinkModel | OpenURL |
| MergedId | FETCHMERGED-LOGICAL-c1541-f787a956f380f01b4070c5eb2cdf0e8efc38f74d51c1cb5fd2d08b25f632435f3 |
| OCLC | 833769186 |
| PQID | EBC1099847_39_271 |
| PageCount | 58 |
| ParticipantIDs | proquest_ebookcentralchapters_1099847_39_271 cambridge_corebooks_9780511972942_xml_CBO9780511972942A041 cambridge_cbo_9780511972942_xml_CBO9780511972942A041 |
| PublicationCentury | 2000 |
| PublicationDate | 20130110 2013 |
| PublicationDateYYYYMMDD | 2013-01-10 2013-01-01 |
| PublicationDate_xml | – month: 01 year: 2013 text: 20130110 day: 10 |
| PublicationDecade | 2010 |
| PublicationPlace | United Kingdom |
| PublicationPlace_xml | – name: United Kingdom |
| PublicationSubtitle | An Introduction |
| PublicationTitle | Programming with Mathematica |
| PublicationYear | 2013 |
| Publisher | Cambridge University Press |
| Publisher_xml | – name: Cambridge University Press |
| SSID | ssj0000870851 |
| Score | 1.4086511 |
| Snippet | Of the many data types that are used in programming – numbers, strings, symbols, lists – numbers are perhaps the most familiar. You can work with all kinds of... |
| SourceID | proquest cambridge |
| SourceType | Publisher |
| StartPage | 251 |
| SubjectTerms | Computer programming / software development Computer science Programming & scripting languages: general |
| Title | Numerics |
| URI | http://dx.doi.org/10.1017/CBO9780511972942.009 https://doi.org/10.1017/CBO9780511972942.009?locatt=mode:legacy http://ebookcentral.proquest.com/lib/SITE_ID/reader.action?docID=1099847&ppg=271 |
| hasFullText | 1 |
| inHoldings | 1 |
| isFullTextHit | |
| isPrint | |
| link | http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwtV3dS8MwEA86RcQHv3F-sQcfLaZNs7S-6ZgK4ubDBnsrTdKA4DpZp-zP95Km3br5MAVfSgm9crkLl8vl7ncIXQUhk1Qx4SRSCMdnAXW4K4kTs5C50m96mMWm2QTrdILBIHy1KB2ZaSfA0jSYTsOPf1U1jIGydensL9Rd_hQG4B2UDk9QOzwXPOJq7DVHwsjTrYZliPWlhGWd2V-NwZlW0wKLIlxzf1MJBei2DDodrXIi1Mc5nS1oTZy1ShbTNd_giAFSWLadOeBS675r-hyYfmShr-FMw9leUWbwVb6JpsP3aJHwDms8gXXGwPpsPLa7_ecy9oXBSICnZxo3WXZ9C79Vsl-UObrs5ieW5qEwlrZR4xv09tCOrhdp6EIOYH0frSXpAdotumU0rPE8RFuFdI9Q_6Hdaz05tg-FI8DBdB0FRi2Gc6QiAVbY5XAGxoIm3BNS4SRIlCCBYr6krnAFp0p6Egfco0pD4ROqyDGqpaM0OUENpSjhsimbMCE_jsG9IjGnXAosNRKjX0d-Oa1I8FG0mpzr6HaObDQ2F-3ZysTXhfgiQ2jTgkUut0wnKYTgxEQkjDzmnv6NxTO0PVuy56g2GX8mF2hTfE3esvGlXSHfi0U6XQ |
| linkProvider | ProQuest Ebooks |
| openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.title=Programming+with+Mathematica&rft.au=Wellin%2C+Paul&rft.atitle=Numerics&rft.date=2013-01-10&rft.isbn=9781107009462&rft.spage=251&rft.epage=308&rft_id=info:doi/10.1017%2FCBO9780511972942.009&rft.externalDocID=9780511972942_xml_CBO9780511972942A041 |
| thumbnail_m | http://cvtisr.summon.serialssolutions.com/2.0.0/image/custom?url=https%3A%2F%2Fassets.cambridge.org%2F97811070%2F09462%2Fcover%2F9781107009462.jpg |
| thumbnail_s | http://cvtisr.summon.serialssolutions.com/2.0.0/image/custom?url=https%3A%2F%2Febookcentral.proquest.com%2Fcovers%2F1099847-l.jpg |

