Use Mathematica
Given the two vectors u = <6, -2, 1> and v = <1, 8, -4> a) Find u * v, and find u*v

b) Find angle between vectors u and v.

c) Graph both u and v on the same system.

d) Now, graph vectors u, v and on the same set of axes and give u * v a different color than vectors u and v.

e) Rotate graph from part d and show two different views of the cross product.

f) Find the normal vector to vector u.

Answers

Answer 1

a) To find the dot product of the vectors u and v, we can use the Dot function in Mathematica. The dot product is calculated as follows:

u.v = Dot[u, v]

b) To find the angle between vectors u and v, we can use the ArcCos function in Mathematica. The angle is calculated as follows:

angle = ArcCos[(u.v)/(Norm[u]*Norm[v])]

c) We can graph both vectors u and v on the same system using the ListVectorPlot3D function in Mathematica. This will display the vectors in a 3D coordinate system.

ListVectorPlot3D[{u, v}]

d) To graph vectors u, v, and u * v on the same set of axes with different colors, we can use the Graphics3D function in Mathematica. We can assign a different color to u * v using the Directive function.

Graphics3D[{Arrow[{{0, 0, 0}, u}], Arrow[{{0, 0, 0}, v}],

 Directive[Red], Arrow[{{0, 0, 0}, u*v}]}]

e) To rotate the graph from part d and show two different views of the cross product, we can use the ViewPoint option in the Graphics3D function. By specifying different viewpoints, we can obtain different perspectives of the graph.

Graphics3D[{Arrow[{{0, 0, 0}, u}], Arrow[{{0, 0, 0}, v}],

 Directive[Red], Arrow[{{0, 0, 0}, u*v}]},

ViewPoint -> {1, -1, 1}]

Graphics3D[{Arrow[{{0, 0, 0}, u}], Arrow[{{0, 0, 0}, v}],

 Directive[Red], Arrow[{{0, 0, 0}, u*v}]},

ViewPoint -> {1, 1, 1}]

f) To find the normal vector to vector u, we can use the Cross function in Mathematica. The normal vector is calculated as follows:

normal = Cross[u]

The function Cross[u] computes the cross product of u with the standard basis vectors. The resulting vector represents the direction perpendicular to the plane spanned by u.

For more such answers on dot product

https://brainly.com/question/30404163

#SPJ8


Related Questions

Other Questions
separating your product/service/good/idea from a group of competitors by associating it with a particular set of consumer needs is known as... Tree Retailer operates in DownTown Kingston. The store was opened on 1st June 2020. The following information relates to the transactions for the first month of doing business.June1 Started business with $50,000 cash and a motor vehicle valuing $80,000.2 Received a cheque representing a loan from City Bank for $125,000.3 Bought equipment by cheque $25,000.3 Paid a cheque for $75,000 to cover the costs of goods bought for resale.5 Received cash of $57,500 for goods bought from us.5 Purchased an office desk on credit from S&L Office Supplies $82,500.6 Sold merchandise on credit to Pearly Dress Shop $62,500.8 Bought goods on credit from Maxwell Designers $46,000.9 Sold goods on credit to Maxines Dress Shop for $37,500.11 Paid cash of $7,500 for office stationery.12 Returned defective goods to Maxwell Designers which cost $3,000.14 Bought goods on credit from Star Creations $16,250.14 Sold goods to Dreams Department Store receiving a cheque for $62,500.16 Pearlys Dress Shop settled their account with cash receiving a discount of 5%.17 Deposited cash of $36,000 in the business bank account.18 Maxines Dress shop returned merchandise bought on June 9; valuing $2,700.19 Paid Maxwell Designers $40,000 in full settlement of the balance outstanding by cheque; having received a discount of $3,000.20 Paid S&L Office Supplies $42,500 from personal funds.22 The owner of Big Tree Retail Store took merchandise for his personal use valuing $12,000.25 Interest income of $7,500 was received in cash.25 Paid wages by cash $52,000.27 Paid rent $22,000 by cheque.27 Paid water rates $15,000 by cash.27 Paid electricity $30,000 by cheque.Required3. General LedgerBalance off all accounts in the ledgers and extract a trial balance. 1. write a coding program to below question in c or java language only Take a string as an Input and print in the below-mentioned format - - TR - TRA - TRAC - TRACX - TRACXN - - AB - - Example - - Input: str1 = 'TRACXN" - Output: - Input: str1 = "ABC" - Output: - Difficulty level - Easy - Ideal time required - 5 to 10 mins Given 2 Arrays arr1[] & arr2[], for each element in arr1[] find the same element in arr2[] and print the index value, if not found print "NA". Assume arr1[] & arr2[] doesn't have duplicate values. Input: Arr1 = ['A', 'B', 'C', 'D'] Arr2 = ['P', 'Q', 'A', 'D'] - Output: A-2 B - NA C - NA D - 3 - Example - Difficulty level - Easy - Ideal time required - 5 to 10 mins Given an array of N integers, find the maximum length subarray that contains similar elements - Input: arr[] = {1, 2, 3, 4, 5, 5, 5, 5, 5, 2, 2, 1, 1} - Output: 5 Explanation: The subarray {5, 5, 5, 5, 5} has maximum length 5 with identical elements. - Input: arr[] = {1, 2, 3, 4} - Output: 1 Explanation: All identical element subarray are {1}, {2}, {3}, and {4} which is of length 1 - Example - - Difficulty level - Easy - Ideal time required - 5 to 10 min The advantage of the differential amplifier is in its: Select one: O a. None of the Answers O b. Higher gain Oc Low input resistance O d. High output resistance HA2042Question 2 (10 marks) How realistic are the assumptions of the economic order quantity model? Discuss each assumption individually. simplify the given function using boolean algebra. f =yz + xy + x'z' + xz'need answer asap A lifetime dose equivalent of 100 mSv is associated with a slightly higher risk of developing cancer. One major cancer concern is the inhalation of radon gas which itself is radioactive and more importantly whose decay series include radioactive isotopes of polonium and lead which are solid and cannot be exhaled and therefore stay in the lungs. According to the EPA, Bernalillo is a "Zone 1" county where the activity of radon gas is above four pico-Curie per liter. (Sorry for the weird unit, thats just the way they measure it.) The radon-222 isotope that is inhaled is part of the decay series of Uranium-238 (which is how it is being constantly replenished). There are many subsequent decays in the sequence, the most important of which are four alpha decays each with energy around 6MeV. Also, given their half lives, for every radon atom inhaled, all four of those decays occur within a year. Given all of this information, make a scientific argument as to whether residents of Bernalillo county should be worried about developing cancer due to Radon gas. For full points, you must clearly articulate what assumptions you are making and show how you used them in numerical calculations.Radon Decay InformationActivity 4 pCi/LEnergy per Decay6MeVRBE 20Please explain how your calculations relate to the answer of if they should be concerned or not? There are other answers to this question on Chegg but their explanations do not include how their calculations tie into their conclusion. 1. You are the Pit Boss of a leading Casino. Your casino is having aproblem with fake US dollars in circulation t your casino. Whatwill you do? Three resistors R1, R2 and R3 are connected in series. According to the following relations, if RT = 315 kQ then the resistance of R2 is R = 3R1, R3 = 1/6 Ra) 90 b) 210 c) 70 KQd) 45 e) 135 KQf) None of the above how do you score points in a traditional badminton game Make a program using C languagemake program that can input data and save it to structurally. for the module:with the format file like ;first input: citySecond input: statesthird input: A 6-hp; 60-Hz; 120 volts; 8 poles; three-phase induction motor was tested and the following data were obtained:No - Load Test: Vnl = 120 volts; Pnl = 380 watts ; Inl = 12 amperesLoad Test: Vl = 120 volts; I load = 30 amperes; Pl = 4950 watts; rotor speed = 810 rpmThe DC stator resistance = 0.25 ohm ; Assume it to be wye connected and the effective AC value equal to 1.25 the DC value.Calculate: a) The horsepower output developed by the motor based on the load test; b) The efficiency and c) the power factor A throttle is used to reduce the pressure of steady-flowing water in a processing plant. The water enters the throttle at a pressure of 5 MPa as a saturated vapor and leaves the throttle at a pressure of 3 MPa. What is the temperature and mass-specific internal energy of the water as it leaves the throttle? An object is dropped from a tower, 181ft above the ground. The object's height above ground t sec into the fall is s =18116t^2 a. What is the object's velocity, speed, and acceleration at lime t? b. About how long does it take the object to hit the ground? c. What is the object's velocity at the moment of impact? The object's velocity at time t is _______ Solve the Logarithmic Equation:ln(x+1)=3a)19.09b)22.31c)12.56d)15.06 In a competitive market, an individual firm chooses: (1) the price of the commodity, which determines their quantity produced. (2) their quantity produced, which determines how much the commodity is sold for. (3) their quantity produced, but the market determines how much the commodity is sold for. (4) neither their quantity produced nor the price it sells for Compton Scattering: find the shift in wavelength of photons scattered by free (or loosely-bound) stationary electrons at q = 60.00. Does frequency increase or decrease? How much energy is absorbed by a 30 kg block of mercury at 50 C if it is warmed up to 400 C ? Edit View Insert format Tools Table 12pt v Paragraph v B frsub= V objV sub = V objV ft = rho frho ot y= LF h= rhogr2cos A 1 v 1 =A 2 v 2 P+ 21 rhov 2 +rhogy= consta tE =(P+ 21 rhov 2 +rhogy)Q = vAFL R= r 48nl Q= RP 2 P 1 N n = 2pvr N g = rhovL x rms = 2Dt T X =T c +273.15 Ch. 1 rho= Vm P= AF \begin{tabular}{l|l} A 1F 1 = A 2F 2 & PV=N \\ P=rhogh & n= N AN \end{tabular} Question 12 (1 point) One microfarad is equivalent to how many picotarads? A) 100,000 B) \( 1,000,000 \) C) 1,000 D) 10 Question 13 (1 point) The St prefix pico is equal to \( 10^{12} \). True False Q Which of the following is primarily responsible for the brain's increase in size during middle childhood?Increase in the number of neuronsIncrease in the number of dendritesMore room in the growing skullDecrease in myelination that allows room for more growth