# Challenge of the Month - July 2016

• ### General discussion

• These challenges are intended for people who are learning to program for the first time or for those returning to programming who want to start using Small Basic.  Some will be easy, some will be hard - but they will all make you think, and more importantly be GREAT FUN!

Please post your solutions / partial solutions / questions / feedback etc. into this thread that will remain 'sticky' for the month.  The only rule is that your solution must use standard Small Basic methods (no extensions).

It would be good if people could post their problems with these challenges so that a discussion can start so that everyone can learn from each other.

We may extend these challenges over into a second month if solutions and questions are still coming in.

Graphics Challenge

Create some text that rotates in a circle

Physics Challenge

Make a chain by joining small balls that moves realistically when you drag an end with the mouse

Maths Challenge

Create a subroutine to draw 3, 4, 5... sided regular sided polygon shapes with equal area or equal total perimeter

Game Challenge

Create an axon type game.  See http://axon.wellcomeapps.com

Community Suggestions

• Code Sample (By Nonki) - LINK
• Snake game (By AbsoluteBeginner) - LINK
• JUPITERs moons (ByYLed) - LINK
• Names database (By martmen) - LINK
• Auto Loan Calculator (By YLed) - LINK

Do you have an idea for a future challenge? Please post it here!

Saturday, July 2, 2016 9:35 AM

### All replies

• This is my second step for July Challenge : Auto loan Calculator

this version compute bi-monthly payment , when you enter (y) in the box.

the results has been verified with this website:  http://www.financeformulas.net/Loan_Payment_Formula.html

so exemple: Borrow to buy a car : 15999\$ at 0,99% interest rate per year for 5 years , in bi-monthly payment, so 130 payment it gives this:

bi-monthly payment: 126,16\$

program no: RLL741

Monday, July 4, 2016 11:04 PM
• fancy calc: ZNG033
Tuesday, July 5, 2016 6:53 AM
• @ tryhest

nice Calculator, very useful, beautiful design !

The next step would be to try to make a basic financial calculator, that would compute loan payment , simple interest deposit, compound interest :)

Tuesday, July 5, 2016 12:34 PM
• @ tryhest

here is what i want to do, i took your program ZNG033 and add keys Pv , n , i , P

to compute a car loan payment . What do you think ? whats is missing, what can i add to the program ?

program no: PQV320

try it, here is the procedure to compute a car payment with this calculator:

start:
enter 12590.36
press Pv
enter 60
press n
enter 9.2
press i
press P
press GT
IT GIVES: monthly payment for \$12590,36 for 60 months at 9.2% interest rate
P= 262.57\$

• Edited by Tuesday, July 5, 2016 3:09 PM
Tuesday, July 5, 2016 3:08 PM
• Graphics Challenge  Create some text that rotates in a circle ( Fermat's spiral)  LTH412-0

Thursday, July 7, 2016 5:53 AM
• Wonderful spiral letters !
Thursday, July 7, 2016 1:20 PM
• This is my solution for the graphics challenge: XPF900.

Nonki Takahashi

Friday, July 29, 2016 2:30 AM
• @Nonki,

beautiful !! here is an update on your program : XPF900-0

elliptical text instead of a circle, and multi random colors on a black background

Friday, July 29, 2016 6:17 PM
• Good modification and colors.

Nonki Takahashi

Sunday, July 31, 2016 5:29 AM