mswlogohelp.blogspot.com
MSWLOGO Code Posting Site: January 2009
http://mswlogohelp.blogspot.com/2009_01_01_archive.html
MSWLOGO Code Posting Site. Sunday, January 25, 2009. Solve second degree equations. In their simplest form, second degree equations look like this: a*x 2 b*x c. To seconddegree :a :b :c. Make "x1 100000000000 make "done 1. Make "x2 :x1-.01 until [:a*:x2*:x2 :b*:x2 :c 0] [make "x2 :x2-.01 IF :x2. While [:x1 :x2] [show (list "the "answers "are :x1 "and :x2) Stop] show (list "no "solution). Saturday, January 24, 2009. Simplified First-degree equation solver. To firstdegree :a :b. Make "x 100000000000 .
mswlogohelp.blogspot.com
MSWLOGO Code Posting Site: Simplified First-degree equation solver
http://mswlogohelp.blogspot.com/2009/01/simplified-first-degree-equation-solver.html
MSWLOGO Code Posting Site. Saturday, January 24, 2009. Simplified First-degree equation solver. To firstdegree :a :b. Make "x 100000000000 . Until [:x=-10000000000] [while [:a*:x :b 0] [make "x :x-100000000] while [:a*:x :b. 0] [make "x :x-1000000] while [:a*:x :b. 0] [make "x :x-10000] while [:a*:x :b. 0] [make "x :x-100] while [:a*:x :b. 0] [make "x :x-1] while [:a*:x :b. Subscribe to: Post Comments (Atom). Http:/ weplaywithwords.blogspot.com/. Solve second degree equations. Pool table (1 ball).
mswlogohelp.blogspot.com
MSWLOGO Code Posting Site: Solve 1st degree equations
http://mswlogohelp.blogspot.com/2009/02/solve-1st-degree-equations.html
MSWLOGO Code Posting Site. Friday, February 6, 2009. Solve 1st degree equations. Although this does the same thing as the solver before, it does it the direct way. Put your equation in the form ax b=0 and insert a and b into the variables, and it spits out X:. To solve.first :a :b. Show (word "x "= "(-:b/:a) setx (-:b/:a). Subscribe to: Post Comments (Atom). Http:/ weplaywithwords.blogspot.com/. Once you're tired of staring at a bunch of codes, feel free to go to 'A Play On Words'. Subscribe in a reader.
mswlogohelp.blogspot.com
MSWLOGO Code Posting Site: February 2009
http://mswlogohelp.blogspot.com/2009_02_01_archive.html
MSWLOGO Code Posting Site. Friday, February 6, 2009. Solve 2nd degree equations. To solve.second :a :b :c. While [(:b*:b-4*:a*:c) 0] [if [sqrt(:b*:b-4*:a*:c)= int (:b*:b-4*:a*:c)] [make "q sqrt(:b*:b-4*:a*:c) show (word "x "= "(-:b :q)/(2*:a) " and " (-:b-:q)/(2*:a) stop]. Show (word " ) show (list "the "answers "are) show (word (-:b) " "sqrt "(:b*:b-4*:a*:c) "/ "(2*:a) show (list "and) show (word " (-:b) "- "sqrt "(:b*:b-4*:a*:c) "/ "(2*:a). Solve 1st degree equations. To solve.first :a :b. We use Goog...
mswlogohelp.blogspot.com
MSWLOGO Code Posting Site: graphing a first degree equation
http://mswlogohelp.blogspot.com/2009/01/graphing-first-degree-equation.html
MSWLOGO Code Posting Site. Monday, January 12, 2009. Graphing a first degree equation. This is for drawing graphs of the most simplified form of any two-variable equation, y=ax b. Where :a is what you multiply by X, :b is what you add to that, and :x is where the turtle is on the x-axis:. To graph :a :b. While [:a*:x :b 450] [make "x :x .01] penup make "x :x 01 setx :x sety :a*xcor :b pendown. 450] [stop] make "x :x 01 setxy :x :a*:x :b] . Subscribe to: Post Comments (Atom). Solve second degree equations.
mswlogohelp.blogspot.com
MSWLOGO Code Posting Site: Pool table (1 ball)
http://mswlogohelp.blogspot.com/2009/01/pool-table-1-ball.html
MSWLOGO Code Posting Site. Thursday, January 1, 2009. Pool table (1 ball). This is code for a ball bouncing without gravity, but with walls all around it. Currently, I have not figured out an efficient way to get the ball to bounce off any wall. It has to be just straight lines that are preprogrammed; no cool zig zag bounces. Also, this equation only accounts for one ball. I plan on adding more balls later, but only have one right now. To pooltable :V :A :CS. 180 [rt 180-(arctan :y :z)*2] IF Heading.
mswlogohelp.blogspot.com
MSWLOGO Code Posting Site: solve second degree equations
http://mswlogohelp.blogspot.com/2009/01/solve-second-degree-equations.html
MSWLOGO Code Posting Site. Sunday, January 25, 2009. Solve second degree equations. In their simplest form, second degree equations look like this: a*x 2 b*x c. To seconddegree :a :b :c. Make "x1 100000000000 make "done 1. Make "x2 :x1-.01 until [:a*:x2*:x2 :b*:x2 :c 0] [make "x2 :x2-.01 IF :x2. While [:x1 :x2] [show (list "the "answers "are :x1 "and :x2) Stop] show (list "no "solution). Subscribe to: Post Comments (Atom). Http:/ weplaywithwords.blogspot.com/. Solve second degree equations.
mswlogohelp.blogspot.com
MSWLOGO Code Posting Site: solve 2nd degree equations
http://mswlogohelp.blogspot.com/2009/02/solve-2nd-degree-equations.html
MSWLOGO Code Posting Site. Friday, February 6, 2009. Solve 2nd degree equations. To solve.second :a :b :c. While [(:b*:b-4*:a*:c) 0] [if [sqrt(:b*:b-4*:a*:c)= int (:b*:b-4*:a*:c)] [make "q sqrt(:b*:b-4*:a*:c) show (word "x "= "(-:b :q)/(2*:a) " and " (-:b-:q)/(2*:a) stop]. Show (word " ) show (list "the "answers "are) show (word (-:b) " "sqrt "(:b*:b-4*:a*:c) "/ "(2*:a) show (list "and) show (word " (-:b) "- "sqrt "(:b*:b-4*:a*:c) "/ "(2*:a). Here is the code:. You should be able to recognize it. Ifelse...