100 likes | 217 Views
Announcements. Submit Lab3 tonight!!! print everything for tomorrow's class. Tutor update. The rules of tutoring. Swipe in/Swipe out… Expect to answer questions no need to ask questions, just work there! Week 3 already! now is the time to visit office hours if lost….
E N D
Announcements • Submit Lab3 tonight!!! print everything for tomorrow's class. • Tutor update. The rules of tutoring. • Swipe in/Swipe out… • Expect to answer questions • no need to ask questions, just work there! • Week 3 already! now is the time to visit office hours if lost…
VectorsPhysics Application Review
Resultant Velocity Trip ATL-CDG (Atlanta-Paris) Trip CDG-ATL (reverse) 9h23min • 7h27min • Assume: • same path (i.e. distance travelled) • same thrust on the aircraft • same aircraft Why? ___________________________
Resultant Velocity 110o 350o 913 km/h Given velocity and heading (degrees) Given wind velocity and heading (degrees) 102km/h What is the resultant velocity of the plane with respect to the ground?
Step7a • Use the script file to set up the outline (i.e. algorithm)
Step 7b. • Simply fill in each "paragraph" below each line of the outline
Resultant Velocity • Resultant Velocity = Option1: "the sqrt of the sum of the squares"
Resultant Velocity • Resultant Velocity = Option2: "the sqrt of "component 1 squared + component 2 square""
Referencing within a vector • MATLAB knows vector math. (Add/Subtract…) • If the program requires to reference a single element of the vector, use an index. • similarly: use a house number to reference a specific house on a street vec
Key Points • MATLAB vectors can be used to represent physics concepts. MATLAB simplifies the math, since it knows vector operations. • Referencing a single element within a vector can be done using an index (i.e. house number).