06-08-2022, 05:53 PM
@JRACE welcome back home and nice to meet you. Your experience will likely be an asset when you participate here, I look forward to it.
b = b + ...
School themes from USSR and EurAsia
|
06-08-2022, 05:53 PM
@JRACE welcome back home and nice to meet you. Your experience will likely be an asset when you participate here, I look forward to it.
b = b + ...
Fibonacci Formula from Russia & EurAsia
can everyone see? image 8 KB Code: (Select All) Open "FiboFormula.txt" For Output As #1 ' optional Fibonacci Sequence Infinity Code: (Select All) DIM F(80) AS DOUBLE 'FibRus.bas Code: (Select All) 1 1 qb64 qbasic quickbasic = (1/sqr(5))*(((1+sqr(5))/2)^N-((1-sqr(5))/2)^N) excel & Python = (1/Sqrt(5))*(((1+Sqrt(5))/2)^N-((1-Sqrt(5))/2)^N) = (1/КОРЕНЬ(5))*(((1+КОРЕНЬ(5))/2)^B3-((1-КОРЕНЬ(5))/2)^B3) C C+ C++ C# C@#$%& = (1/Math.Sqrt(5))*(((1+Math.Sqrt(5))/2)^N-((1-Math.Sqrt(5))/2)^N) image 8 KB
Write name of program in 1st line to copy & paste & save filename.bas
Insert program pictures: press print-screen-shot button Open paint & Paste & Save as PNG Add picture file to program topic Russia looks world from future. Big data is peace data. I never recommend anything & always write only about myself
I just saw that you get Fibonacci and a whole lot of other cool stuff from "Number Walls."
https://www.youtube.com/watch?v=NO1_-qptr6c
b = b + ...
(05-02-2022, 12:49 PM)DANILIN Wrote: I am currently a PeaceMaker That flag proves Americans are better at Tic-Tac-Toe. Trump 2024! Pete (09-02-2022, 07:07 PM)bplus Wrote: I just saw that you get Fibonacci and a whole lot of other cool stuff from "Number Walls."thanks bplus, number walls are interesting and intriguing
bplus, it would be interesting to have a program that would make it easy to explore sequences using the number wall system, I envision a graphic program where you could enter a sequence and you could either have the program run through the process or you would select 1 of 3 cursors, cross, big cross or horse shoe and then move the cursor on the sequence and click to have the program supply the missing number, it would also be useful if the program allowed you to click&drag to select say a square of numbers and the program would report whether the selected square's determinant is 0 or not, this is just for starters
11-08-2022, 03:34 PM
I sometimes wonder why they call them cans of worms... and not barrels. ???
Pete
11-08-2022, 03:47 PM
(11-08-2022, 03:19 PM)Jack Wrote: bplus, it would be interesting to have a program that would make it easy to explore sequences using the number wall system, I envision a graphic program where you could enter a sequence and you could either have the program run through the process or you would select 1 of 3 cursors, cross, big cross or horse shoe and then move the cursor on the sequence and click to have the program supply the missing number, it would also be useful if the program allowed you to click&drag to select say a square of numbers and the program would report whether the selected square's determinant is 0 or not, this is just for starters (11-08-2022, 03:34 PM)Pete Wrote: I sometimes wonder why they call them cans of worms... and not barrels. ??? I almost suggested to get a thread but what had me slightly put off is that these things are infinite in each direction like game of life, keeps expanding... like off topic walls of worms ;-))
b = b + ...
11-08-2022, 04:39 PM
(11-08-2022, 03:47 PM)bplus Wrote:(11-08-2022, 03:19 PM)Jack Wrote: bplus, it would be interesting to have a program that would make it easy to explore sequences using the number wall system, I envision a graphic program where you could enter a sequence and you could either have the program run through the process or you would select 1 of 3 cursors, cross, big cross or horse shoe and then move the cursor on the sequence and click to have the program supply the missing number, it would also be useful if the program allowed you to click&drag to select say a square of numbers and the program would report whether the selected square's determinant is 0 or not, this is just for starters LOL @ Wall of Worms. Exactly. Sam-Clip will turn out the same way. To be really useful, it just about needs to be equivalent to a WP like Notepad. Easy to get sucked into these endeavors though. I've been working on Sam-Clip and over about 9 straight days I've experienced the worst head and face pain I've ever had. On the mend as of today, just tired and worn out. I need to make a Ctrl+Alt+Del key for the brain. Oops, opening up another can again! Pete
Universal program for learning other languages
for example C# & Python translating every line and paragraphs qb64 qbasic output to screen keyboard input array size 1-dimensional array 2-dimensional array random mathematics for loop condition while loop output to a file read from file and it can be useful to students and teachers Script: Start random Set or enter size of array n from keyboard Start arrays 1-dimensional and 2-dimensional given n Start arrays of results 1-dimensional and 2-dimensional Array 1 random from 0 to 9: filling and output If element is even: calculate square otherwise, leave value as it is and put results in another array and print both arrays in a column Bubble sorting of final array nested loops and exchanges Output sorted final array via while Fill 2-dimensional array with sums of column and row numbers If value is odd: square it, otherwise leave value and create another 2-dimensional array and display original matrix and result Create a file name as 2 random digits and ".txt" Output result matrix to file in reverse order where both rows and columns are inverted Close file for writing and open file for reading Read from file to variable w and form a matrix on screen inverse of matrix 2 Everyone can + must = must translate entire program or part of program independently and I translated into Python & C# as brothers qb64 qbasic Universal Yabasic: https://jdoodle.com/ia/CUo Universal C#: https://rextester.com/RYGR5556 Universal C++: https://rextester.com/DHHKPJ12975 Universal Python https://rextester.com/YJZQQ73725 Code: (Select All) Randomize Timer: t=timer: n = 3: ' Print "n= ": input n Results for n=5 from Python Code: (Select All) Array d in a string
Write name of program in 1st line to copy & paste & save filename.bas
Insert program pictures: press print-screen-shot button Open paint & Paste & Save as PNG Add picture file to program topic Russia looks world from future. Big data is peace data. I never recommend anything & always write only about myself |
« Next Oldest | Next Newest »
|