Poetry Madness
 
 

Recently Viewed clear list


Interviews | March 17, 2014

Shawn Donley: IMG Peter Stark: The Powells.com Interview



Peter StarkIt's hard to believe that 200 years ago, the Pacific Northwest was one of the most remote and isolated regions in the world. In 1810, four years... Continue »
  1. $19.59 Sale Hardcover add to wish list

spacer
Qualifying orders ship free.
$67.25
New Trade Paper
Ships in 1 to 3 days
Add to Wishlist
available for shipping or prepaid pickup only
Available for In-store Pickup
in 7 to 12 days
Qty Store Section
1 Remote Warehouse Computer Languages- Java

Java Number Cruncher: The Java Programmer's Guide to Numerical Computing

by

Java Number Cruncher: The Java Programmer's Guide to Numerical Computing Cover

 

Synopses & Reviews

Publisher Comments:

  • Non-theoretical explanations of practical numerical algorithms
  • Algorithms in action with animated, interactive graphical Java programs and applets
  • Computational errors and how to remove them from your code

Understand "computer math" and get the numbers you expect, reliably.

In Java Number Cruncher, author Ronald Mak explains how to spot-and how to avoid-the subtle programming miscues that can cause vexing calculation errors in your applications. An authority on mapping pure math to computer math, he explains how to use the often-overlooked computational features of Java, and does so in a clear, non-theoretical style.

Without getting lost in mathematical detail, you'll learn practical numerical algorithms for safely summing numbers, finding roots of equations, interpolation and approximation, numerical integration, solving differential equations, matrix operations, and solving sets of simultaneous equations. You'll also enjoy intriguing topics such as searching for patterns in prime numbers, generating random numbers, computing thousands of digits of pi, and creating intricately beautiful fractal images.

Java Number Cruncher includes:

  • Practical information all Java programmers should know
  • Popular computational algorithms in Java-without excessive mathematical theory
  • Interactive graphical programs that bring the algorithms to life on the computer screen
  • Rounding errors, the pitfalls of integer arithmetic, Java's implementation of the IEEE 754 floating-point standard, and more

This book is useful to all Java programmers, especially for those who want to learn about numerical computation, and for developers of scientific, financial, and data analysis applications.

Synopsis:

Java Number Cruncher: The Java Programmer's Guide to Numerical Computing, by topic expert Ronald Mak, provides practical information for Java programmers who write mathematical programs. Without excessive mathematical theory, he animates the algorithms on the computer screen with interactive graphical programs and applets.

Synopsis:

Mak introduces Java programmers to numerical computing. This book contains clear, non-theoretical explanations of practical numerical algorithms, including safely summing numbers, finding roots of equations, interpolation and approximation, numerical integration and differentiation, and matrix operations, including solving sets of simultaneous equations.

About the Author

RONALD MAK is a senior scientist at the Research Institute for Advanced Computer Science, located at the NASA Ames Research Center in California. He is currently designing Java-based enterprise software for the next Mars rover mission. He has degrees in the mathematical sciences and in computer science from Stanford University. His two previous books were on compiler writing.

Table of Contents

Preface.

How to Download the Source Code.

I. WHY GOOD COMPUTATIONS GO BAD.

1. Floating-Point Numbers Are Not Real!

Roundoff Errors. Error Explosion. Real Numbers versus Floating-Point Numbers. Precision and Accuracy. Disobeying the Laws of Algebra. And What about Those Integers?
2. How Wholesome Are the Integers?

The Integer Types and Operations. Signed Magnitude versus Two's-Complement. Whole Numbers versus Integer Numbers. Wrapper Classes. Integer Division and Remainder. Integer Exponentiation.
3. The Floating-Point Standard.

The Floating-Point Formats. Denormalized Numbers. Decomposing Floating-Point Numbers. The Floating-Point Operations. 60, 6`, and NaN. No Exceptions! Another Look at Roundoff Errors. Strict or Nonstrict Floating-Point Arithmetic. The Machine Epsilon e. Error Analysis.

II. ITERATIVE COMPUTATIONS.

4. Summing Lists of Numbers.

A Summing Mystery-the Magnitude Problem. The Kahan Summation Algorithm. Summing Numbers in a Random Order. Summing Addends with Different Signs. Insightful Computing. Summation Summary.
5. Finding Roots.

Analytical versus Computer Solutions. The Functions. The Bisection Algorithm. The Regula Falsi Algorithm. The Improved Regula Falsi Algorithm. The Secant Algorithm. Newton's Algorithm. Fixed-Point Iteration. Double Trouble with Multiple Roots. Comparing the Root-Finder Algorithms.
6. Interpolation and Approximation.

The Power Form versus the Newton Form. Polynomial Interpolation Functions. Divided Differences. Constructing the Interpolation Function. Least-Squares Linear Regression. Constructing the Regression Line.
7. Numerical Integration.

Back to Basics. The Trapezoidal Algorithm. Simpson's Algorithm.
8. Solving Differential Equations Numerically.

Back to Basics. A Differential Equation Class. Euler's Algorithm. A Predictor-Corrector Algorithm. The Fourth-Order Runge-Kutta Algorithm.

III. A MATRIX PACKAGE.

9. Basic Matrix Operations.

Matrix. Square Matrix. Identity Matrix. Row Vector. Column Vector. Graphic Transformation Matrices. A Tumbling Cube in 3-D Space.
10. Solving Systems of Linear Equations.

The Gaussian Elimination Algorithm. Problems with Gaussian Elimination. Partial Pivoting. Scaling. LU Decomposition. Iterative Improvement. A Class for Solving Systems of Linear Equations. A Program to Test LU Decomposition. Polynomial Regression.
11. Matrix Inversion, Determinants, and Condition Numbers.

The Determinant. The Inverse. The Norm and the Condition Number. The Invertible Matrix Class. Hilbert Matrices. Comparing Solution Algorithms.

IV. THE JOYS OF COMPUTATION.

12. Big Numbers.

Big Integers. A Very Large Prime Number. Big Integers and Cryptography. Big Decimal Numbers. Big Decimal Functions.
13. Computing p.

Estimates of p and Ramanujan's Formulas. Arctangent Formulas That Generate p. Generating Billions of Digits.
14. Generating Random Numbers.

Pseudorandom Numbers. Uniformly Distributed Random Numbers. Normally Distributed Random Numbers. Exponentially Distributed Random Numbers. Monte Carlo, Buffon's Needle, and p.
15. Prime Numbers.

The Sieve of Eratosthenes and Factoring. Congruences and Modulo Arithmetic. The Lucas Test. The Miller-Rabin Test. A Combined Primality Tester. Generating Prime Numbers. Prime Number Patterns.
16. Fractals.

Fixed-Point Iteration and Orbits. Bifurcation and the Real Function f(x) 5 x2 1 c. Julia Sets and the Complex Function f(z) 5 z2 1 c. Newton's Algorithm in the Complex Plane. The Mandelbrot Set.
Index.

Product Details

ISBN:
9780130460417
Author:
Mak, Ron
Author:
Mak, Ronald
Publisher:
Prentice Hall
Location:
Upper Saddle River, N.J.
Subject:
Programming Languages - General
Subject:
Programming - General
Subject:
Numerical analysis
Subject:
Java (Computer program language)
Subject:
Programming Languages - Java
Subject:
Java
Subject:
Numerical analysis -- Data processing.
Subject:
Computer Languages-Java
Copyright:
Edition Description:
Trade paper
Series:
Prentice Hall Professional Oracle Series
Series Volume:
RG 322
Publication Date:
October 2002
Binding:
TRADE PAPER
Grade Level:
Professional and scholarly
Language:
English
Illustrations:
Yes
Pages:
480
Dimensions:
9 x 7 x 1.2 in 807 gr

Related Subjects

Computers and Internet » Computer Languages » Java
Computers and Internet » Computers Reference » General
Computers and Internet » Personal Computers » General
Computers and Internet » Software Engineering » Programming and Languages

Java Number Cruncher: The Java Programmer's Guide to Numerical Computing New Trade Paper
0 stars - 0 reviews
$67.25 In Stock
Product details 480 pages Prentice Hall PTR - English 9780130460417 Reviews:
"Synopsis" by , Java Number Cruncher: The Java Programmer's Guide to Numerical Computing, by topic expert Ronald Mak, provides practical information for Java programmers who write mathematical programs. Without excessive mathematical theory, he animates the algorithms on the computer screen with interactive graphical programs and applets.
"Synopsis" by , Mak introduces Java programmers to numerical computing. This book contains clear, non-theoretical explanations of practical numerical algorithms, including safely summing numbers, finding roots of equations, interpolation and approximation, numerical integration and differentiation, and matrix operations, including solving sets of simultaneous equations.

spacer
spacer
  • back to top
Follow us on...




Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.