Question: MAT-2430 Assignment 3: Vector Fields Introduction In this assignment, you will learn how to use the quiver function to create a vector field. As you

 MAT-2430 Assignment 3: Vector Fields Introduction In this assignment, you will

MAT-2430 Assignment 3: Vector Fields Introduction In this assignment, you will learn how to use the quiver function to create a vector field. As you learned from your studies, a vector field is a vector valued function where each component is a function of the independent coordinates. Vector fields are everywhere in physics: electric fields, magnetic fields, gravitational fields, the velocities of fluids, etc. Furthermore, vector fields appear in differential equations, a class many of you will take. Objectives . Create an m-file that generates the code to create a vector field. . Introduction to using quiver. Instructions Create an m-file with the title "last name_first_name_assignment_3.m". You'll need a set of x's and y's to evaluate your function. Create a set of evenly spaced x's and y's centered at the origin with a spacing of around 0.01. Don't let them get too big, too many points and your computer will slow down. Create two new matrices x and y using meshgrid(). This will let you create a grid of x's and y's with which you can plug into a function of x and y. . The vector field has the form F = f(x, y)i + g(x, y)j. o Create two functions f (x, y) and g(x, y). Each has to contain both x and y. Don't consult your textbook and pick out a

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 Physics Questions!