ENGR 122 Engineering Mathematics with Calculus Assignment

Assignment Help Engineering Mathematics
Reference no: EM132383358

ENGR 122 Engineering Mathematics with Calculus Assignment - Victoria University of Wellington, New Zealand

Lab - Spin Doctor Respun

Aim - This lab exercise is a follow-up to the Spin Doctor lab in ENGR 121. We will review a bit and then work through some harder problems. Our goals are:

1) Understanding rotation, translation, reflection, and the matrices that implement these operations.

2) Working with matrices

3) Developing familiarity and skill with trig identities.

Review and getting Python ready - The appendix at the end of the lab script has some notes about matrices in Python. Read through it for review. Include your Python work in your answers for the remainder of the lab. It is probably easiest to work in a text editor and paste into Python so you can reuse chunks of code.

You will need to import math and matrix functions:

Use from numpy import math, from numpy import matrix, from numpy.linalg import inv.

The Rotation Matrix - This is your basic rotation matrix. It rotates a point counterclockwise in the XY plane by angle:

1328_figure.png

Let's take this matrix out for a spin. We will start with the point (0,-1) and rotate it 270 degrees, and find out where it ends up.

Hints: Try this. Use a text editor. You can copy and paste this and then modify it for other parts of the lab. Remember to use ctrl-shift-v to paste in Python. Here is what you would do to create a matrix that rotates by pi. You can adapt that to your needs.

R = (math.cos(math.pi), -math.sin(math.pi), math.sin(math.pi), math.cos(math.pi))

R=matrix(R).reshape(2,2)

P=(0,-1)

P=matrix(P).reshape(2,1)

print(R*P)

Hint: Don't forget to use radians rather than degrees throughout the lab.

CORE 1 - Verify two basic properties of rotations for at least one example in each case.

(1) A rotation by θ+2nπ is the same as rotation by θ.

(2) Rotation by θ and then by -θ gets you back where you started.

CORE 2 - Now let's work on a non-square rectangle. Your rectangle is (1,1) (4,1) (1,3) (4,3). Rotate it so that it is in the third quadrant. Hint: rotate each point.

COMPLETION 1 - Now we will work with our rotation matrix algebraically. You can work on a sheet of paper and upload a photo of your work. Use the definition of the rotation matrix, matrix multiplication, and trig identities show that a rotation by an angle θ1 and then θ2 is the same as a rotation by θ12.

COMPLETION 2 - Find the inverse of R(ϑ) and compare the result to R(-ϑ). How is this related to our results in Completion 1? Note this was a superchallenge in the 121 lab.

The Reflection Matrix - To reflect a point across a line through the origin and another point (x,y) we use

408_figure1.png

COMPLETION 3 - Show that for reflecting across the x axis this reduces to

184_figure2.png

COMPLETION 4 - Reflect the point (1,2) across a line at pi/6 radians above the x axis. Make a quick sketch of the point before and after reflection. Is the operation behaving as expected?

Combining Operations - The stretch matrix below with stretch an object along the x axis by factor s.

14_figure3.png

CHALLENGE 1 - Stretch your rectangle along the y direction by a factor of 2, rotate it clockwise by 45 degrees, and shift it to the right by 3. Include your python code and make rough sketches of the rectangle before and after the transformations. Hint: translation can be accomplished by adding a vector or by using a 3x3 matrix with homogeneous coordinates (CGRA students). Did you get what you expected?

CHALLENGE 2 - When you rotated your rectangle (CORE 2) it rotated around the origin. Now make it rotate around its own centre.

Attachment:- Engineering Mathematics with Calculus Assignment File.rar

Reference no: EM132383358

Questions Cloud

Explain PCI compliance to the database administrator : Explain PCI compliance to the database administrator at a large retailer. Consider the consequences for non-compliance.
Chevron use of seismic imaging technology : Do some Internet research on Chevron's use of seismic imaging technology. Do some Internet research on identify management and single sign on systems.
Differentiate between primary and secondary growth : Differentiate between primary and secondary growth. Identify and describe the roles of apical vs lateral meristems in plant growth
Describe the function of integral proteins : Describe the function of integral proteins and cholesterol in the cell membrane
ENGR 122 Engineering Mathematics with Calculus Assignment : ENGR 122 Engineering Mathematics with Calculus Assignment Help and Solution - Victoria University of Wellington, New Zealand - Spin Doctor Respun Lab
Describe how the analytics of R are suited for Big Data : Compare the statistical feature of R to its programming features. Describe how the analytics of R are suited for Big Data.
Do bit of research on penetration testing techniques : Do a bit of research on penetration testing techniques. Five network penetration testing techniques. One notable social engineering test.
Establish an appropriate finite element model : Establish an appropriate finite element model for this cylinder fully taking advantage of the symmetry boundary conditions - Practical Considerations on FEA
Define what next generation firewall : Define what a Next Generation Firewall (NGFW) is and the advantages of having this type of firewall as opposed to a Packet Filter Firewall?

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Prime number theorem

Dirichlet series

  Proof of bolzano-weierstrass to prove the intermediate value

Every convergent sequence contains either an increasing, or a decreasing subsequence.

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Distributed random variables

Daily Airlines fies from Amsterdam to London every day. The price of a ticket for this extremely popular flight route is $75. The aircraft has a passenger capacity of 150.

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Managing ashland multicomm services

This question is asking you to compare the likelihood of your getting 4 or more subscribers in a sample of 50 when the probability of a subscription has risen from 0.02 to 0.06.]  Talk about the comparison of probabilities in your explanation.

  Skew-symmetric matrices

Skew-symmetric matrices

  Type of taxes and rates in spokane wa

Describe the different type of taxes and their rates in Spokane WA.

  Stratified random sample

Suppose that in the four player game, the person who rolls the smallest number pays $5.00 to the person who rolls the largest number. Calculate each player's expected gain after one round.

  Find the probability density function

Find the probability density function.

  Develop a new linear programming for an aggregate production

Linear programming applied to Aggregate Production Planning of Flat Screen Monitor

  Discrete-time model for an economy

Discrete-time model for an economy

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd