Nahin looks at how the art of number-crunching has changed since the advent of computers, and how high-speed technology helps to solve fascinating conundrums such as the three-body, Monte Carlo, leapfrog, and gambler's ruin problems. Along the way, Nahin traverses topics that include algebra, trigonometry, geometry, calculus, number theory, differential equations, Fourier series, electronics, and computers in science fiction. He gives historical background for the problems presented, offers many examples and numerous challenges, supplies MATLAB codes for all the theories discussed, and includes detailed and complete solutions.
Exploring the intimate relationship between mathematics, physics, and the tremendous power of modern computers, Number-Crunching will appeal to anyone interested in understanding how these three important fields join forces to solve today's thorniest puzzles.
In a series of brief and largely self-contained chapters, Nahin discusses a wide range of topics in which math and physics are mutually dependent and mutually illuminating, from Newtonian gravity and Newton's laws of mechanics to ballistics, air drag, and electricity. The mathematical subjects range from algebra, trigonometry, geometry, and calculus to differential equations, Fourier series, and theoretical and Monte Carlo probability. Each chapter includes problems--some three dozen in all--that challenge readers to try their hand at applying what they have learned. Just as in his other books of mathematical puzzles, Nahin discusses the historical background of each problem, gives many examples, includes MATLAB codes, and provides complete and detailed solutions at the end.
Mrs. Perkins's Electric Quilt will appeal to students interested in new math and physics applications, teachers looking for unusual examples to use in class--and anyone who enjoys popular math books.
Topics include:The pros and cons of braced initialization, noexcept specifications, perfect forwarding, and smart pointer make functionsThe relationships among std::move, std::forward, rvalue references, and universal referencesTechniques for writing clear, correct, effective lambda expressionsHow std::atomic differs from volatile, how each should be used, and how they relate to C++'s concurrency APIHow best practices in "old" C++ programming (i.e., C++98) require revision for software development in modern C++
Effective Modern C++ follows the proven guideline-based, example-driven format of Scott Meyers' earlier books, but covers entirely new material.
"After I learned the C++ basics, I then learned how to use C++ in production code from Meyer's series of Effective C++ books. Effective Modern C++ is the most important how-to book for advice on key guidelines, styles, and idioms to use modern C++ effectively and well. Don't own it yet? Buy this one. Now".
-- Herb Sutter, Chair of ISO C++ Standards Committee and C++ Software Architect at Microsoft
Popular-math writer Paul Nahin challenges readers to solve twenty-one difficult but fun problems, from determining the odds of coin-flipping games to figuring out the behavior of elevators. Problems build from relatively easy (deciding whether a dishwasher who breaks most of the dishes at a restaurant during a given week is clumsy or just the victim of randomness) to the very difficult (tackling branching processes of the kind that had to be solved by Manhattan Project mathematician Stanislaw Ulam). In his characteristic style, Nahin brings the problems to life with interesting and odd historical anecdotes. Readers learn, for example, not just how to determine the optimal stopping point in any selection process but that astronomer Johannes Kepler selected his second wife by interviewing eleven women.
The book shows readers how to write elementary computer codes using any common programming language, and provides solutions and line-by-line walk-throughs of a MATLAB code for each problem.
Digital Dice will appeal to anyone who enjoys popular math or computer science. In a new preface, Nahin wittily addresses some of the responses he received to the first edition.
Prolific hacker and author Simon Monk also teaches basic principles to help you use new technologies with Raspberry Pi as its ecosystem continues to develop. This cookbook is ideal for programmers and hobbyists familiar with the Pi through resources, including Getting Started with Raspberry Pi (O’Reilly). Python and other code examples from the book are available on GitHub.Set up your Raspberry Pi and connect to a networkWork with its Linux-based operating systemProgram Raspberry Pi with PythonGive your Pi "eyes" with computer visionControl hardware through the GPIO connectorUse Raspberry Pi to run different types of motorsWork with switches, keypads, and other digital inputsUse sensors to measure temperature, light, and distanceConnect to IoT devices in various waysCreate dynamic projects with Arduino
If idiots A and B alternately take aim at each other with a six-shot revolver containing one bullet, what is the probability idiot A will win? What are the chances it will snow on your birthday in any given year? How can researchers use coin flipping and the laws of probability to obtain honest answers to embarrassing survey questions? The solutions are presented here in detail, and many contain a profound element of surprise. And some puzzles are beautiful illustrations of basic mathematical concepts: "The Blind Spider and the Fly," for example, is a clever variation of a "random walk" problem, and "Duelling Idiots" and "The Underdog and the World Series" are straightforward introductions to binomial distributions.
Written in an informal way and containing a plethora of interesting historical material, Duelling Idiots is ideal for those who are fascinated by mathematics and the role it plays in everyday life and in our imaginations.
What makes doing the specific integrals in this book of value aren’t the specific answers we’ll obtain, but rather the methods we’ll use in obtaining those answers; methods you can use for evaluating the integrals you will encounter in the future.
This book is written in a light-hearted manner for students who have completed the first year of college or high school AP calculus and have just a bit of exposure to the concept of a differential equation. Every result is fully derived. If you are fascinated by definite integrals, then this is a book for you.
An engineer, physicist, and published science fiction writer, Nahin is uniquely qualified to explain the ins and outs of how to spin such complex theories as worm holes, singularity, and relativity into scientifically sound fiction. First published in 1997, this fast-paced book discusses the common and not-so-common time-travel devices science fiction writers have used over the years, assesses which would theoretically work and which would not, and provides scientific insight inventive authors can use to find their own way forward or backward in time. From hyperspace and faster-than-light travel to causal loops and the uncertainty principle and beyond, Nahin’s equation-free romp across time will help writers send their characters to the past or future in an entertaining, logical, and scientific way.
If you ever wanted to set up the latest and greatest grandfather paradox—or just wanted to know if the time-bending events in the latest pulp you read could ever happen—then this book is for you.