Learning math with BBC Basic

Here you can link to screenshots and demos etc. of programs made using BBC BASIC
Ivan
Posts: 33
Joined: Tue 07 May 2019, 16:47

Learning math with BBC Basic

Post by Ivan »

Three month ago I was trying to figure out the angles regarding my robot mover. After several attempts and learned it was not as simple as I assumed.

After a while I realized I had to deal with the functions SIN and COS. I had in the past seen those functions used in drawing circles, but had not understood the math at all.

Then I ran into the never seen unit circle, at least for me. I was astonished how fantastic how the angles and PI are working.

After "million" attempts I was able to graph in 3D. Now I can move to or draw to any given x,y,z.

I can rotate figures on three axes, zoom and adjust angles on the axes and draw circles(polygons).

Earlier I tried Python and the syntax is learnable but strange to me and graphics(Tkinter) even more strangely.

C++ by Bjarne Stoustrup a fellow Dane is very sophisticated and learnable with a steep learning curve. I like the way the C code looks and normally not compact.

Comal also a Danish programing language and I can with little effort switch between BBC Basic. The super advance for me is Comal syntax checks your line of code each time you press enter. I avoid a lots run time errors.

In BBC Basic I have all I need in one package and Richard nearby!


hexagon_three_phase_ac.jpg
hexagon_three_phase_ac.jpg (91.44 KiB) Viewed 95 times
BBC Model B - 1984-1989. 6502 assembler, Unicomal 1988-1994, Some C and C++, Pascal 1990-1994. Bought a copy of BBC-BASIC 2007, but started to program at a daily basis 2019. Project for the last three month: 3D-drawing program (currently 950 lines).