Merge branch 'master' of https://github.com/Microsoft/pxt-microbit
This commit is contained in:
commit
45742aa2ac
@ -9,6 +9,8 @@ Acceleration
|
||||
## Quick Links
|
||||
* [Chart Acceleration: Activity](/lessons/charting/acceleration)
|
||||
* [Chart Acceleration: Challenge](/lessons/charting/acceleration-challenge)
|
||||
* [Chart Acceleration: Quiz](/lessons/charting/quiz)
|
||||
* [Chart Acceleration: Answers](/lessons/charting/quiz-answers)
|
||||
|
||||
## Prior learning/place of lesson in scheme of work
|
||||
|
||||
|
@ -92,9 +92,3 @@ Have fun reviewing your simulation and analyze the acceleration by chart the Exc
|
||||
* Review and analyze the actual micro:bit device acceleration data on Excel
|
||||
* Display acceleration with y or z using plot bar graph by changing acceleration from "x" to "y" or "z"
|
||||
|
||||
|
||||
### ~avatar avatar
|
||||
|
||||
Excellent, you're ready to continue with the [challenges](/lessons/charting/acceleration)
|
||||
|
||||
### ~
|
||||
|
@ -39,7 +39,7 @@ Vigorously move the micro:bit in the micro:bit simulatator by moving the micro:b
|
||||
|
||||
### ~
|
||||
|
||||
Review and write down your observations from the Excel data. Then chart or graph the data collected by using a tool in Excel.
|
||||
We want to chart the data collected by using a tool in Excel.
|
||||
|
||||
The final part of this experiment is opening and reviewing the data in the Excel CSV file. Simply click on the line beneath the simulator. A CSV file will be generated to display the data points collected by moving the micro:bit in the X direction. Then click or tap on the data Excel file that was downloaded to your local Downloads Folder.
|
||||
|
||||
@ -55,7 +55,6 @@ Use the Recommended Charts command on the Insert tab to quickly create a chart t
|
||||
|
||||
* Select the data that you want to include in your chart.
|
||||
|
||||
|
||||
* Click Insert > Recommended Charts.
|
||||
|
||||
![](/static/mb/chart1.png)
|
||||
|
33
docs/lessons/charting/quiz-answers.md
Normal file
33
docs/lessons/charting/quiz-answers.md
Normal file
@ -0,0 +1,33 @@
|
||||
# charting quiz answers
|
||||
|
||||
Measure the acceleration on the micro:bit in the "x" direction.
|
||||
|
||||
|
||||
## Name
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [glowing pendulum activity](/lessons/charting/acceleration)
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
## 1. Why are you creating a 'forever' loop?
|
||||
|
||||
<br/>
|
||||
|
||||
We are creating a forever loop to constantly display the appropriate brightness on the LED display.
|
||||
|
||||
## 2. Write the line of code to measure the acceleration with respect to the "x" axis and display this value in a bar graph.
|
||||
|
||||
<br/>
|
||||
|
||||
```blocks
|
||||
led.plotBarGraph(input.acceleration(Dimension.X), 0)
|
||||
```
|
||||
|
||||
## 3. After vigarously moving the micro:bit from side to side along the "x" axis for a sufficient amount of time,insert the Excel graph for displaying a line chart used to display trends over time.
|
||||
|
||||
<br/>
|
||||
|
||||
![](/static/mb/line_chart.png)
|
||||
|
23
docs/lessons/charting/quiz..md
Normal file
23
docs/lessons/charting/quiz..md
Normal file
@ -0,0 +1,23 @@
|
||||
# charting quiz
|
||||
|
||||
Measure the acceleration on the micro:bit in the "x" direction.
|
||||
|
||||
## Name
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [glowing pendulum tutorial](/lessons/glowing-pendulum/activity)
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
## 1. Why are you creating a 'forever' loop?
|
||||
|
||||
<br/>
|
||||
|
||||
## 2. Write the line of code to measure the acceleration with respect to the "y" axis and store this value in a local variable called 'acceleration'.
|
||||
|
||||
<br/>
|
||||
|
||||
## 3. After vigarously moving the micro:bit from side to side along the "x" axis for a sufficient amount of time,insert the Excel graph for displaying a line chart used to display trends over time.
|
||||
|
||||
|
BIN
docs/static/mb/blocks/crocodile-clips-1.jpg
vendored
Normal file
BIN
docs/static/mb/blocks/crocodile-clips-1.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 302 KiB |
BIN
docs/static/mb/crocodile-clips-2.jpg
vendored
Normal file
BIN
docs/static/mb/crocodile-clips-2.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 277 KiB |
BIN
docs/static/mb/line_chart.JPG
vendored
Normal file
BIN
docs/static/mb/line_chart.JPG
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Loading…
Reference in New Issue
Block a user