Your Perfect Assignment is Just a Click Away
We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

A spaceship in three-dimensional space is equipped with a set of thrusters, described by a configuration matrix T, whose column vectors t’ give the orientation

A spaceship in three-dimensional space is equipped with a set of thrusters, described by a configuration matrix T, whose column vectors t’ give the orientation

Problem 4. (3 points) A spaceship in three-dimensional space is equipped with a set of thrusters, described by a configuration matrix T, whose column vectors t’ give the orientation (as vector direction) and power (as vector magnitude) of each thruster. Thus,
T =
describes a configuration with three thrusters. If the ship is positioned at (0,0,0), the first thruster is pointing towards coordinates (1,2,3) and has power |f,| = /Ï4.
The thrusters are operated with a command vector c = (c,,c2,c3)T, where c, describes the activation of thruster i. For example, c = (1, —2,0)T activates thruster 1 with power 1, thruster 2 with twice that power but in the “reverse thrust” mode, and leaves thruster 3 unactivated.
(All vectors in this problem are column vectors, and we will be omitting the transpose symbol from now on.)
The product TZ gives a displacement vector d, describing the change in the ship’s coordinates after a single firing of all thrusters. In our example, 3 = (-3,-4,— 7). If the ship was positioned at (0,0,0), it will now be at (—3,—4,—7). Issuing a subsequent command c = (1,1,1) will give d = (4,5,9) and bring the ship to (1,1,2).
Use Python, NumPy, and SciPy to write the following functions. When you need to provide specific outputs, use the T defined above. At the same time, your functions need to be generic and work with any T.
a. Write function distance(T.c) that returns the distance traveled by the ship after a single firing of all thrusters.
Determine the distances resulting from commands (1,1,1), (—1,—1,—1), (1,2,3), (3,2,1).
b. Write function reachable(T,p) that returns True if the ship starting at (0,0,0) can reach point p in any number of moves, or False otherwise.
Determine whether the following points are reachable: (0,2,2), (1,1,—1), (—5,1,-4), (1,3,1).
c. Commands that result in the displacement vector d = (0,0,0) stress the ship’s structure and are considered dangerous. Write function safe(T,?) that returns True if the command
is safe, or False otherwise.
Note that computing d = TZ directly means activating the thrusters with a potentially dangerous command and is not acceptable, so we need to find another way.

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Homework Free only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Homework Free are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Homework Free is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Homework Free, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

Homework Free Org

Your one stop solution for all your online studies solutions. Hire some of the world's highly rated writers to handle your writing assignments. And guess what, you don't have to break the bank.

© 2020 Homework Free Org