Delphiforfun site - if you like solving mathematical problems, alway updated!

  • Автор темы emailx45
  • 221
  • Обновлено
  • 26, Mar 2018
  • #1
DelphiForFun Site
If you like solving mathematical problems, alway updated!
with source codes

Welcome to a tutorial site guaranteed to teach you something about programming, algorithms, math, puzzles, and problem solving. The basic premise here is that "by example" is an effective way to learn programming. There's a growing amount of sample code here to download and run.

The examples range from simple (less than 50 lines of user code) to a few that have several thousand lines.

Some were written because I wasn't smart enough, or too lazy, to solve them by hand.

Some probably can only be solved by computer.

And there are one or two that I believe are unsolvable, even with a computer.

The programs all have several things in common...

They solve interesting puzzles or problems that I've discovered over the years. Examples (these may not all be posted yet):

  • Estimate the value of pi by shooting cannonballs into a pond or dropping needles on a sheet of paper.
  • Duplicate the hidden mathematics of sunflowers .
  • Solve those arithmetic word problems (BONG + BONG + BONG = GONGS).
  • Solve chessboard problems like The Knights Tour and Eight Queens.
  • A logic problem solver - at least help solve those logic story problems that are published monthly in logic magazines.
  • Lots of number problems involving integers, powers, primes, factors, etc. (Find the largest and smallest non-prime numbers whose prime factors sum to 100).
  • A maze generator.
  • Palindromic number problems - palindromes read the same from the left or right. (What's the smallest Palindromic number that's a perfect square and has an even number of digits?)
  • Simple animated physics programs - bouncing ball, cannon firing.
  • And much more....


Thanks to Gary Darby
http://delphiforfun.org/about_me.htm

Index of Puzzles & Projects

10 Easy Pieces
23 Beginner's Programs
A Card Deck
A Card Trick
A Random Matching Problem
Bouncing Ball
Car Talk - Reversed Age Puzzler
Cats and Mice Puzzle
Centuries on Sunday
Challenging Math Teasers
Check Digits
Chicken Crossing the Road
Clock Angles
Conway's Life
Drag Colors Puzzle
Easter Dates
Excellent Incorrect DNA Theory
Expression = 100
Fibonacci Sunflowers
How many Golf Courses?
MacGregor's Cabbage patch
Magic Squares 1
Making Change
Marathoner's Number
Memo Clicks
MindReader
MinMax
Molecules
Monte Carlo Pi Estimate
Most Divisors
No 3 X's In a Row
Number Words
Palindromic Sums
Pandigital Fractions
Pentahedrons
Pi Calc #1
Random Number Generators
Rectangle Counts
Recurring Quotient
Remainder of 1
Reversed Number
Robo Tracker
Roman Numerals
Rotate a Square
Rotating Grid
Shuffle Demo
Simple Delphi Calculator
Six of a Kind
Squares and Cubes
T-Shirt #3
T-Shirt #4
T-Shirt #5
T-Shirt #6
Triangular Pyramids.htm
X2X4 Factoring Puzzle

"Biltmore" Mathematics
15 Puzzle #1
3D Lab
A Binary Clock
A Card Deck (#2)
A Chessboard Fallacy
A Measuring Cups Problem
A Weighty Problem (#1)
Abundant Numbers
Acrostic Variation
Added Corners Puzzle
Aliquot Sums
Alphabet Grid
Alphabet Grid
Alphametics
Arithmattack!
Big Combos & Permutations
Big Factorials
Big Floating Point
Big Integers
Blend Drawing Demo
Branch and Bound Algorithm
Bulk Find & Replace
Calculator Keys Puzzle
Car and Goats Game
Car Talk Shootout Puzzler
CarTalk "Ones" Puzzlers
Catalan Numbers
Chases & Escapes
Chi Squared Random # Testing
Chinese Remainders
Circle Covering Points
Coin Flip Run Lengths
Comboset Test - Combinations & Permutations
Compass Drawing
Concentration
Conway's Life
Count Phrases
Cupid's Arrow
Custom Stringlist Sort
Delphi 7 -Newer Version Differences
Delphi Version Testing
Dice - Chance of 5 Twos
Digit tree Puzzle
Digits and Numbers
Digits Sum To 3
Dijkstra's Shortest Path Algorithm
Doodler Drawing #1
Doodler Drawing #2
Drag Strip Tree Demo
Drawing Door Frames
DTMF Decoder
Dudeney's Dissection
Durer's Magic Square
Euler's Sum Powers Conjecture
Expressions 2002
Expressions for Bethe
Expressions from Integers
Fast File Search
Find 3 Primes
FlatLand Piano Movers
Four Fours (and more)
Four In A Row #1
Genaille's Rods
Graph Searching
Graph Searching
Graph Traverse
Grid Word Highlighting
Gunport Domino Puzzles
Hangman #1
Heap's Permute
Hexagonal Boards
Interesting 2013
Intersecting Circles
Josephus Problem
Jumping Frogs
Keno
Keypress Display Demo
Klingon Paths
Knight's Tour
Know, Don't Know Problem
Lat-Long Distance Estimates
License Key Generator
Linear Equations, Solving - Gaussian
Linear Least Squares
Log Sawing Patterns
LP_Solve Linear Programming Demo
Magic Matrix
Martin Gardner and the "Counterfeit Coin" Problem
Match Merge
Matchstick Puzzle
Metronome
Moon Phase Dates
Most All 3
Move Grid Rows
Music Box Puzzle
Nim, Gametrees, and Minimax
Obfuscate Text (Emails & Passwords)
Olympic Rings
OnIdle Exit Demo
PageControl Color Demo
Pandigital Numbers
Peg Solitaire Game
Permutations #2 (w/Combinations)
Permutes #1
Pierrot's Puzzle
Prime factors #1
Prime Pair Sums
Prime Sums
Primes from Digits
PrintGrid - StringGrid Printing
Pythagorean Triples
Pythagorean Triples
Random Triangles
Ray Intersecting Rectangle
Retrieving Drive and Folder information
River Crossing Puzzle
Robot Rooms (Exact rectangle covering)
Roll-Call Solitaire Statistics
SafeCracker
Scrambled Letter Blocks
Screen Resolutions
Scrolling LEDs
Selection with Replacement
Self Describing Numbers
Seven Coins Puzzle
Simon Memory Game
Simple Cart
Simple Drag Drop
Six of a Kind
Sliding Coins Puzzle
Slimps, Slumps, and Slurpies
Solar Analemma Fundamentals
Solar Position
Solitaire for Squares
Speed Tests for Lists
Spring Mass
Stopping loops
StringGrid Quicksort
StringGrid Sort
StringGrids and Bitmaps
StringList to Resource
System Time Zone Information
T-Shirt #2
T-Shirt #7
Tangram 1
The 9321 Problem
Token Flip Puzzle
Towers of Hanoi
Towers of Hanoi #2
Translations
Traveling Men Problem
Tromino Tiling Puzzle
Volume Control Demo
Wind Triangle
Windchill
Word Grid
Word Grid - 3 Letter Words
Word Search By Column
Word Square Search
Word Squares
Wordladder

"Perfect Square" Dance
"Special" 5x5 Magic Squares
"T" Card Sum
15 Puzzle #2
A "Magic" Sequence
A Catapult Story
Accordion Solitaire
Age Problem Solver
Airport Simulator
Akerue - Word Finder Game
Archimedes Estimate of Pi
Archimedes Pi
Astronomy Demo
Binary Card Trick
Brute Force
Brute Force
Bug time trials (Vehicle Simulation)
Cannon Balls
Catapult Simulator
Checkers
Chess Logic Puzzle
Chess PGN Player
Circular Reasoning
Coal to Diamonds Puzzle
Countdown Plus!
Crossword Generator
Cut List
Cutting Stock
Date Calculator
Digit Position Problem Solver
Discrete Event Simulator
Domino Puzzle
Domino Search
DPI Scaling
Eight Queens Plus
Elevator Simulator 1
Equation Search
Fences and Traveling Salesmen
Fit the Pieces
Four In A Row #2
Four Special Dice
Game of Go
How many ones?
How Many Squares?
How Many Triangles?
How Many Triangles?
Instant Insanity
Intersecting Circle Centers
JPG Clock
KenKen Puzzles
Keyboard Codes Display
Kirkman Tabu Search
Kirkman's Schoolgirl Problem
Knuth "Toy" Problem
Logic Problem Solver
Logic Problem Solver
Magic Cubes
Martin Gardner's HIP Game
Mastermind Game
MAZE Generator
Mensa Tiles
Mercator Projection Demo
Mind Your ABCDs
Missionaries and Cannibals
Monge's Circle Theorem
Multi-pile NIM
Multivariate Newton-Raphson
Numbrix
Oscilloscope
Paletto Puzzle
Pan Magic Squares
Pendulums, Simple and otherwsie
Phrase Finder Word Search
Point From 4 Sensors
Problem Description
Rally (Marble Puzzle)
Reaction Times
Reverse Coins Puzzle
Roller Coaster Simulation
RSA Public Key Demo
Scientific Grapher
Scrabble Search
Scrambled Pie Puzzle
Self Describing Sentences
Simple Sokoban
Solar Position
Solving Logic Problems
Sound Generator
Square Wheels & Catenaries
Square Word Grids
Sudoku Helper
Syllables
T-Shirt #2 XXL
Tangram 2
Text Spinner
Text To Speech
The Castle Escape
The Coach's Dilemma
The Counterfeit Coin
The TicTacToe Machine
TileFit Tiling Program
Token Flip - Final Chapter
Towers of Hanoi #3
Traffic Jam
Translations
Traveling Salesman Problem
Tricky Hangman
Water Jugs Problem
Where's my Shadow?
Word Search
Word Search
WordStuff #1
WordS

http://delphiforfun.org/default.html

emailx45


Рег
05 May, 2008

Тем
607

Постов
1273

Баллов
7343
  • 27, Mar 2018
  • #2
Здорово, что упомянули этого замечательного человека Гарри Дерби!

Занимаясь разработкой математических алгоритмов вычисления спец функций, искал библиотеку для работы с длинной арифметикой, и как раз наткнулся на его сайт.

Очень приятно было видеть, что этот зарубежный специалист разработал удобную в работе ООП библиотеку под Delphi для работы с "динными" вещественными и целыми числами.

Кстати вот ссылка на эту работу тут - http://delphiforfun.org/Programs/Library/bigfloat.htm
 

yahont


Рег
31 Jul, 2007

Тем
3

Постов
7

Баллов
37
Тем
49554
Комментарии
57426
Опыт
552966

Интересно