Reflection 1-solutions - sung (es24394) Reflection 1 chiu...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: sung (es24394) Reflection 1 chiu (57460) 1 This print-out should have 9 questions. Multiple-choice questions may continue on the next column or page find all choices before answering. 001 (part 1 of 7) 10.0 points Lets say we want to turn the above diagram into a VPython scene. You should type in the correct lines of code for each question as you go so that you end up with a working program. Remember to begin every VPython program with the following two lines: from future import division from visual import First, we will need to define our vectors A and B. Which two lines of Vpython code accomplish this? 1. A . vector= < 3 , , > B . vector= < 5 , 2 , > 2. A . vector= (3 , , 0) B . vector= (5 , 2 , 0) 3. A= (3 , , 0) B= (5 , 2 , 0) 4. A . vector= vector(3 , , 0) B . vector= vector(5 , 2 , 0) 5. A= < 3 , , > B= < 5 , 2 , > 6. A= vector(3 , , 0) B= vector(5 , 2 , 0) correct Explanation: 002 (part 2 of 7) 10.0 points Which line of code correctly calculates the vector C?...
View Full Document

This note was uploaded on 03/27/2011 for the course PHYSICS 303L-MI taught by Professor Chiu during the Spring '11 term at University of Texas at Austin.

Page1 / 3

Reflection 1-solutions - sung (es24394) Reflection 1 chiu...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online