CS 1371 Lecture Notes - Lecture 12: Quadratic Equation

53 views4 pages

Document Summary

Note: you should be familiar with the material from the plotting guide. Rather than define an equation in terms of x and y (where y depends on x), we can define some function v that depends on some parameter u. This is to prevent confusion between the variable names and the axis on which the graph is plotted. Consider the quadratic equation with parameter u: v = u. ^2; In this example, we have two variables (2d). The variable u is independent and is called the parameter. Prior to evaluating the equation for v, we must set up a range of values for u: u = -10:0. 1:10; v = u. ^2; We now have two vectors, u and v that can be considered coordinate pairs (not necessarily x and y) that define points. We can plot these on the x-y plane using a standard plot() command: Now consider u and v as coordinate pairs for the x-z plane.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents