Question: USE MATLAB ! USE MATLAB! QUESTION 1: A unit vector is a vector that has a certain direction, but a magnitude of 1. The equation

USE MATLAB !

USE MATLAB ! USE MATLAB! QUESTION 1: A unit vector is a

USE MATLAB!

QUESTION 1: A unit vector is a vector that has a certain direction, but a magnitude of 1. The equation for a unit vector in three-dimensional space is: X y y?+ ??? Vx + y2 +2+ '\x + y2 Write a script that prompts the user for x, y, and a values in this case you can use x = 2.55, y = 3.03, z = 1.87), and then calculate the unit vector. MATLAB should display the following when you run the script. In your script, you should include a comment section that describes the script. (Submit only the m-file for this question) Enter the x-coordinate: 2.55 Enter the y-coordinate: 3.03 Enter the z-coordinate: 1.87 You should use one of the output statements discussed in the lecture to output the unit vector, each value should only have 2 decimal places

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!