Jump to content
Sign in to follow this  

Graph Pattern

Recommended Posts


Only a little snippet. I remember reading this somewhere on another forum, BASIC I think. They said if you plot the results from the output, it will display an interesting pattern...

Dim $X = 0

For $i = 1 to 100
    ConsoleWrite($X & @CRLF)
    $X = $X ^ 2 - 1.6


Share this post

Link to post
Share on other sites

It really doesn't. At all. Just an increasing line. Now, tan(x*100)/2 is an interesting pattern.

Since I can't show you my graphing calculator...try it here: http://javaboutique.internet.com/graphcalc/

Posted Image

Edited by Firestorm

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.