Status: Started
Font Size
14
Parentheses autocomplete
Wrap lines
Editor
Theme
Code with blocks by default
Auto-Format
Console Font Size
12
Console Theme
Show Screenshot Button
Show File Tab Bar
Code Running Environment
Use the newest vesion of the JavaScript library.
7 Different Masses and Speeds
default.js
1
2
/*
This code will draw two circles on opposite sides of the screen moving
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output
Docs
Exercise
More
History
Video
Download
About
This student is viewing this assignment in English. View this page in English?
Now set both alterations at once!
- objectOne should have a mass of 50 and initial speed of 1
- objectTwo has a mass of 30 and an initial speed of -2.
Calculate the final speed of both objectOne and objectTwo with these new values. Once you’ve found both speeds, run the collision to see if your answers match those given in the simulation!
Reset Code
Upload an image
Upload from your computer
Or paste a link here
Slides and Notes
About
JavaScript Graphics