Root-finding algorithms | Pythagorean theorem | Approximation algorithms

Alpha max plus beta min algorithm

The alpha max plus beta min algorithm is a high-speed approximation of the square root of the sum of two squares. The square root of the sum of two squares, also known as Pythagorean addition, is a useful function, because it finds the hypotenuse of a right triangle given the two side lengths, the norm of a 2-D vector, or the magnitude of a complex number z = a + bi given the real and imaginary parts. The algorithm avoids performing the square and square-root operations, instead using simple operations such as comparison, multiplication, and addition. Some choices of the α and β parameters of the algorithm allow the multiplication operation to be reduced to a simple shift of binary digits that is particularly well suited to implementation in high-speed digital circuitry. The approximation is expressed as where is the maximum absolute value of a and b, and is the minimum absolute value of a and b. For the closest approximation, the optimum values for and are and , giving a maximum error of 3.96%. (Wikipedia).

Alpha max plus beta min algorithm
Video thumbnail

Excel Beta Distribution (BETA.DIST)

How to use the BETA.DIST function in Excel for beta distribution cumulative probabilities. Three ways to format the function/

From playlist Excel for Statistics

Video thumbnail

Beta Function - Integral Representation Derivation

Today, we derive the integral representation for the Beta function. We will be using this result in a future video to prove the Euler reflection formula!

From playlist Integrals

Video thumbnail

Half derivative ln(x)

In this video, I calculate the half-derivative of ln(x) using the definition of the fractional derivative given in a previous video. Warning: The answer is NOT constant times 1/sqrt(x)

From playlist Fractional Derivatives

Video thumbnail

Lecture 7 | Machine Learning (Stanford)

Help us caption and translate this video on Amara.org: http://www.amara.org/en/v/zJX/ Lecture by Professor Andrew Ng for Machine Learning (CS 229) in the Stanford Computer Science department. Professor Ng lectures on optimal margin classifiers, KKT conditions, and SUM duals. This cours

From playlist Lecture Collection | Machine Learning

Video thumbnail

Maria Esteban - Spectral results & open problems for Dirac-Coulomb operators w/ charge distributions

Recorded 12 April 2022. Maria J. Esteban of CNRS and Université Paris-Dauphine, Mathematics, presents "Spectral results and open problems for Dirac-Coulomb operators with general charge distributions" at IPAM's Model Reduction in Quantum Mechanics Workshop. Abstract: In this talk I will pr

From playlist 2022 Model Reduction in Quantum Mechanics Workshop

Video thumbnail

Develop an AI to play Connect Four - Python Tutorial

Learn how to create an expert level artificial intelligence to play Connect Four using Python. We start out with a very simple implementation of just dropping a piece randomly and then progress to choosing a column based on score and then finally implementing the minimax algorithm with alp

From playlist Machine Learning

Video thumbnail

Game Playing 1 - Minimax, Alpha-beta Pruning | Stanford CS221: AI (Autumn 2019)

For more information about Stanford’s Artificial Intelligence professional and graduate programs, visit: https://stanford.io/3Cke8v4 Topics: Minimax, expectimax, Evaluation functions, Alpha-beta pruning Percy Liang, Associate Professor & Dorsa Sadigh, Assistant Professor - Stanford Univer

From playlist Stanford CS221: Artificial Intelligence: Principles and Techniques | Autumn 2021

Video thumbnail

Reinforcement Learning 10: Classic Games Case Study

David Silver, Research Scientist, discusses classic games as part of the Advanced Deep Learning & Reinforcement Learning Lectures.

From playlist DeepMind x UCL | Reinforcement Learning Course 2018

Video thumbnail

Nexus trimester - Cynthia Dwork (Microsoft Research)

Differentially Private False Discovery Control Cynthia Dwork (Microsoft Research) March 30, 2016

From playlist Nexus Trimester - 2016 - Secrecy and Privacy Theme

Video thumbnail

Coding Challenge 154: Tic Tac Toe AI with Minimax Algorithm

In this challenge I take the Tic Tac Toe game from coding challenge #149 and add an AI opponent for a human player by implenenting the Minimax algorithm. Code: https://thecodingtrain.com/challenges/154-tic-tac-toe-minimax 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/ske

From playlist Coding Challenges

Video thumbnail

018 Angular Momentum

In this series of physics lectures, Professor J.J. Binney explains how probabilities are obtained from quantum amplitudes, why they give rise to quantum interference, the concept of a complete set of amplitudes and how this defines a "quantum state". Notes and problem sets here http://www

From playlist James Binney - 2nd Year Quantum Mechanics

Video thumbnail

David McAllester - Dependent Type Theory from the Perspective of Mathematics, Physics, and (...)

Dependent type theory imposes a type system on Zemelo-Fraenkel set theory (ZFC). From a mathematics and physics perspective dependent type theory naturally generalizes the Bourbaki notion of structure and provides a universal notion of isomorphism and symmetry. This comes with a universal

From playlist Mikefest: A conference in honor of Michael Douglas' 60th birthday

Video thumbnail

A-Level Further Maths D1-05 Roots of Polynomials: Cubic Examples 1

Navigate all of my videos at https://sites.google.com/site/tlmaths314/ Like my Facebook Page: https://www.facebook.com/TLMaths-1943955188961592/ to keep updated Follow me on Instagram here: https://www.instagram.com/tlmaths/ Many, MANY thanks to Dean @deanencoded for designing my openin

From playlist A-Level Further Maths D1: Roots of Polynomials

Related pages

Hypotenuse | Norm (mathematics) | Complex number | Pythagorean addition | Square root | Imaginary number | Real number | Magnitude (mathematics)