Hacking Math Class with Python


Book Description

A new kind of math book! Explore math topics from arithmetic to calculus by creating your own graphing and solving tools using Python. Create 2D and 3D graphics, harmonograph and spirograph designs, and fractals in this interactive and visual exploration of mathematics. "A great resource to play with Math and Python via the turtle module, solving equations numerically and 3D graphics via Pi3D." - Amit Saha, author of Doing Math With Python Imagine learning math and Python programming at the same time! You'll learn to use loops, variables, functions, conditionals and lists and apply them to all your math problems. No previous computer experience is required.




Python for Scientific Computing and Artificial Intelligence


Book Description

Python for Scientific Computing and Artificial Intelligence is split into 3 parts: in Section 1, the reader is introduced to the Python programming language and shown how Python can aid in the understanding of advanced High School Mathematics. In Section 2, the reader is shown how Python can be used to solve real-world problems from a broad range of scientific disciplines. Finally, in Section 3, the reader is introduced to neural networks and shown how TensorFlow (written in Python) can be used to solve a large array of problems in Artificial Intelligence (AI). This book was developed from a series of national and international workshops that the author has been delivering for over twenty years. The book is beginner friendly and has a strong practical emphasis on programming and computational modelling. Features: No prior experience of programming is required. Online GitHub repository available with codes for readers to practice. Covers applications and examples from biology, chemistry, computer science, data science, electrical and mechanical engineering, economics, mathematics, physics, statistics and binary oscillator computing. Full solutions to exercises are available as Jupyter notebooks on the Web. Support Material GitHub Repository of Python Files and Notebooks: https://github.com/proflynch/CRC-Press/ Solutions to All Exercises: Section 1: An Introduction to Python: https://drstephenlynch.github.io/webpages/Solutions_Section_1.html Section 2: Python for Scientific Computing: https://drstephenlynch.github.io/webpages/Solutions_Section_2.html Section 3: Artificial Intelligence: https://drstephenlynch.github.io/webpages/Solutions_Section_3.html




Dynamical Systems with Applications using Python


Book Description

This textbook provides a broad introduction to continuous and discrete dynamical systems. With its hands-on approach, the text leads the reader from basic theory to recently published research material in nonlinear ordinary differential equations, nonlinear optics, multifractals, neural networks, and binary oscillator computing. Dynamical Systems with Applications Using Python takes advantage of Python’s extensive visualization, simulation, and algorithmic tools to study those topics in nonlinear dynamical systems through numerical algorithms and generated diagrams. After a tutorial introduction to Python, the first part of the book deals with continuous systems using differential equations, including both ordinary and delay differential equations. The second part of the book deals with discrete dynamical systems and progresses to the study of both continuous and discrete systems in contexts like chaos control and synchronization, neural networks, and binary oscillator computing. These later sections are useful reference material for undergraduate student projects. The book is rounded off with example coursework to challenge students’ programming abilities and Python-based exam questions. This book will appeal to advanced undergraduate and graduate students, applied mathematicians, engineers, and researchers in a range of disciplines, such as biology, chemistry, computing, economics, and physics. Since it provides a survey of dynamical systems, a familiarity with linear algebra, real and complex analysis, calculus, and ordinary differential equations is necessary, and knowledge of a programming language like C or Java is beneficial but not essential.




Math Adventures with Python


Book Description

Learn math by getting creative with code! Use the Python programming language to transform learning high school-level math topics like algebra, geometry, trigonometry, and calculus! Math Adventures with Python will show you how to harness the power of programming to keep math relevant and fun. With the aid of the Python programming language, you'll learn how to visualize solutions to a range of math problems as you use code to explore key mathematical concepts like algebra, trigonometry, matrices, and cellular automata. Once you've learned the programming basics like loops and variables, you'll write your own programs to solve equations quickly, make cool things like an interactive rainbow grid, and automate tedious tasks like factoring numbers and finding square roots. You'll learn how to write functions to draw and manipulate shapes, create oscillating sine waves, and solve equations graphically. You'll also learn how to: - Draw and transform 2D and 3D graphics with matrices - Make colorful designs like the Mandelbrot and Julia sets with complex numbers - Use recursion to create fractals like the Koch snowflake and the Sierpinski triangle - Generate virtual sheep that graze on grass and multiply autonomously - Crack secret codes using genetic algorithms As you work through the book's numerous examples and increasingly challenging exercises, you'll code your own solutions, create beautiful visualizations, and see just how much more fun math can be!




Hacking- The art Of Exploitation


Book Description

This text introduces the spirit and theory of hacking as well as the science behind it all; it also provides some core techniques and tricks of hacking so you can think like a hacker, write your own hacks or thwart potential system attacks.




The Statistics and Calculus with Python Workshop


Book Description

With examples and activities that help you achieve real results, applying calculus and statistical methods relevant to advanced data science has never been so easy Key FeaturesDiscover how most programmers use the main Python libraries when performing statistics with PythonUse descriptive statistics and visualizations to answer business and scientific questionsSolve complicated calculus problems, such as arc length and solids of revolution using derivatives and integralsBook Description Are you looking to start developing artificial intelligence applications? Do you need a refresher on key mathematical concepts? Full of engaging practical exercises, The Statistics and Calculus with Python Workshop will show you how to apply your understanding of advanced mathematics in the context of Python. The book begins by giving you a high-level overview of the libraries you'll use while performing statistics with Python. As you progress, you'll perform various mathematical tasks using the Python programming language, such as solving algebraic functions with Python starting with basic functions, and then working through transformations and solving equations. Later chapters in the book will cover statistics and calculus concepts and how to use them to solve problems and gain useful insights. Finally, you'll study differential equations with an emphasis on numerical methods and learn about algorithms that directly calculate values of functions. By the end of this book, you'll have learned how to apply essential statistics and calculus concepts to develop robust Python applications that solve business challenges. What you will learnGet to grips with the fundamental mathematical functions in PythonPerform calculations on tabular datasets using pandasUnderstand the differences between polynomials, rational functions, exponential functions, and trigonometric functionsUse algebra techniques for solving systems of equationsSolve real-world problems with probabilitySolve optimization problems with derivatives and integralsWho this book is for If you are a Python programmer who wants to develop intelligent solutions that solve challenging business problems, then this book is for you. To better grasp the concepts explained in this book, you must have a thorough understanding of advanced mathematical concepts, such as Markov chains, Euler's formula, and Runge-Kutta methods as the book only explains how these techniques and concepts can be implemented in Python.




Hacking Discrete Math With Python 3


Book Description

Elementary discrete math for undergraduate computer science or computer engineering students. Covers basic topics including mathematical logic, direct proof, proof by contradiction, proof by contraposition, counter-example, induction, structural induction, elementary number theory, division, sets, sequences, functions, cardinality, counting, recurrence, recursion, and graph theory. Examples are given in Python 3.




Hacking Secret Ciphers with Python


Book Description

* * * This is the old edition! The new edition is under the title "Cracking Codes with Python" by Al Sweigart * * *Hacking Secret Ciphers with Python not only teaches you how to write in secret ciphers with paper and pencil. This book teaches you how to write your own cipher programs and also the hacking programs that can break the encrypted messages from these ciphers. Unfortunately, the programs in this book won't get the reader in trouble with the law (or rather, fortunately) but it is a guide on the basics of both cryptography and the Python programming language. Instead of presenting a dull laundry list of concepts, this book provides the source code to several fun programming projects for adults and young adults.




Object-Oriented Python


Book Description

Power up your Python with object-oriented programming and learn how to write powerful, efficient, and re-usable code. Object-Oriented Python is an intuitive and thorough guide to mastering object-oriented programming from the ground up. You’ll cover the basics of building classes and creating objects, and put theory into practice using the pygame package with clear examples that help visualize the object-oriented style. You’ll explore the key concepts of object-oriented programming — encapsulation, polymorphism, and inheritance — and learn not just how to code with objects, but the absolute best practices for doing so. Finally, you’ll bring it all together by building a complex video game, complete with full animations and sounds. The book covers two fully functional Python code packages that will speed up development of graphical user interface (GUI) programs in Python.




Python Crash Course, 2nd Edition


Book Description

The best-selling Python book in the world, with over 1 million copies sold! A fast-paced, no-nonsense, updated guide to programming in Python. If you've been thinking about learning how to code or picking up Python, this internationally bestselling guide to the most popular programming language is your quickest, easiest way to get started and go! Even if you have no experience whatsoever, Python Crash Course, 2nd Edition, will have you writing programs, solving problems, building computer games, and creating data visualizations in no time. You’ll begin with basic concepts like variables, lists, classes, and loops—with the help of fun skill-strengthening exercises for every topic—then move on to making interactive programs and best practices for testing your code. Later chapters put your new knowledge into play with three cool projects: a 2D Space Invaders-style arcade game, a set of responsive data visualizations you’ll build with Python's handy libraries (Pygame, Matplotlib, Plotly, Django), and a customized web app you can deploy online. Why wait any longer? Start your engine and code!