matlab homework
IE 351: Homework 2
Instructor: Joshua Sexauer Name:_______________________
Results: _______ Out of 10
Date: 9/28/2015
All problems are worth 2 points. You will be turning in this paper as well as submitting a PDF that contains all of your code. It should
be named lastname_lab_1 (PDF)
Problem 1 (1 point)– Use loops to plot a line with a given slope and intercept
Problem 2 (1 point)– Use loops to plot a circle with a given radius and center point
Problem 3 (1 point)– Use loops to plot a triangle given 3 points
Problem 4 (7 points)
�������� ���� ����� � �� � � ⋅ �
�������� �� ����� � � ⋅ �
PROBLEM
Isabella is traveling 13.2mph and is accelerating 0.62 ���
� ; the speed limit is 70 mph. Once she reaches the speed limit
she remains at 70 mph until she reaches her friend Jackie’s house. Ignore Gravity
Use Matlab, this should include everything we have covered so far.
• How long does it take Isabella to reach her friend Jackie? • I want you to plot the vehicle’s XY trajectory.
Jackie Isabella
� � � 12 ���
� 0.65 ���
�
5.2 Miles 5.1 Miles 9.95 Miles 3 Miles
33.2 � 35.8�
111 �
Circle