Results 1 to 3 of 3

Thread: Teach your baby math

  1. #1
    Join Date
    Jul 2017
    Posts
    37
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Teach your baby math

    https://github.com/phma/mirasol
    This is my first-started Qt5 program. It shows numbers from 0 to 1000 in any of several shapes (which are available depends on the number, e.g. 91 is composite, centered hexagonal, and triangular). It's inspired by Doman's flash cards, but goes beyond number sense to teach kinds of numbers, such as square numbers. Here's a screenshot showing 144 as a Fibonacci number:
    mirasol-144-fibonacci.png
    The program still has debugging code in it, and I'm not sure what features I should add before releasing version 0.1.0. What do you think?

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,063
    Thanks
    233
    Thanked 649 Times in 639 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: Teach your baby math

    Aside from code issues, I am truly puzzled as to how the screenshot you posted represents 144 as a Fibonacci number. I didn't count them all, but I assume there are 144 dots in the image, but they appear to more or less randomly arranged in a right triangle. What is the relationship of that figure to a Fibonacci number?

    As for code, you should release only programs built in "Release" mode with no debugging message boxes or other outputs that would do nothing except confuse users.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    Jul 2017
    Posts
    37
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: Teach your baby math

    Drop a perpendicular from the right angle to the hypotenuse. The upper part has 55 dots, the right part 89. Each of the two parts can be similarly split, giving 21+34 and 34+55. If you hit the up or down arrow while it's showing a number in Fibonacci shape, it'll show the next Fibonacci number up or down, except:
    *from 0, the down arrow does nothing;
    *from 1, the down arrow changes it to 0 and the up arrow to 2, even though 1 is twice in a row in the sequence;
    *from 987, the up arrow does nothing (the largest number it shows is 1000).

Similar Threads

  1. Replies: 5
    Last Post: 7th August 2011, 16:24
  2. plz teach inheritance
    By vinayaka in forum Newbie
    Replies: 10
    Last Post: 28th May 2011, 17:19
  3. WizBang - Learn and Teach Procedural Programming Languages
    By chadkeck in forum Qt-based Software
    Replies: 1
    Last Post: 9th October 2009, 17:38
  4. math symbols
    By genick bar-meir in forum Qt Programming
    Replies: 3
    Last Post: 17th August 2007, 07:29
  5. Math help please.
    By munna in forum General Discussion
    Replies: 6
    Last Post: 8th October 2006, 10:00

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.