update lessons charting
This commit is contained in:
		
							
								
								
									
										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/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										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/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  | 
		Reference in New Issue
	
	Block a user