Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: MIA, Ask an Expert:using powers
From: "Alain Tougas" <alain@xxxxxxx>
Date: Wed, 10 Oct 2007 16:21:24 -0400

Hello,

Try
t2, make "grav power (distance "t3) 2
I guess you are aware that :grav will be a quite large number...
or better yet
ask "t2 [make "grav power (distance "t3) 2]
that way, you will not change the "current turtle".
t2, makes t2 the current turtle
ask "t2 doesn't
Alain

-----Original Message-----
From: mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[mailto:mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Burke,
Bridget - CKJH
Sent: October 10, 2007 4:00 PM
To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: RE: MIA, Ask an Expert:using powers


We are trying to make a gravity program.
We are running into problems with power.

To fall
Make "grav (t2, power distance "t3 2)
End

We would like the value for "grav to be the distance between two turtles
squared.

How can we do this?





  • Previous by thread: RE: MIA, Ask an Expert:using powers
  • Next by thread: RE: MIA, Ask an Expert:using powers

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008