Undefined variable It says undefined variable when I try to graph anything. Why is this? what did I mess up, and does this have anything to do with clearing the variables?
- If you need clarification, ask it in the comment box above.
- Better answers use proper spelling and grammar.
- Provide details, support with references or personal experience.
Tell us some more! Your answer needs to include more details to help people.You can't post answers that contain an email address.Please enter a valid email address.The email address entered is already associated to an account.Login to postPlease use English characters only.
Tip: The max point reward for answering a question is 15.
You might have used an inappropriate variable name.
For functional graphs y=F(x), the independent variable must be X
For parametric graphs, the independent variable in the x_t and y_t functions must be t.
For polar graphs the independent variable must be Theta, and for sequence graphs, it must be the special wiggly n.
Once you select the type of graph, the independent variable is entered by pressing the key marked X,T, Theta, n.
Do you have a function somewhere (not necessarily y1) that is attempting to graph. You can check this by going into the Var-Link menu (2nd MINUS) and searching for a function variable. If that doesn't work check the function you're trying to graph and see if it has a variable in it that is supposed to be a multiplication (xy instead of x*y) or if somehow the variable you meant to use got deleted
From the alpha keyboard type in NewProb and press ENTER. This will clear the contents of all the one-letter variables a-z. Open the Y= editor and type in an expression for the function to draw. You do not have to enter a multiplication sign between a numerical factor preceding the variable x and x. If a factor is a letter you must explicitly use the multiplication sign.
Undefined variable error message displays when you evaluate a user-defined function or run a user-defined program that references a local variable that is not initialized (assigned a value). You have to type LineVert 7 and then graph function x=7. See captured image
I''m glad you got this to work. For anyone else with this problem, in the y = page you can go to f5 and reset the settings, or you can highlight the plot 1 line and press [clear] this will not clear any other settings you may have inputted.
Hello, The default variable for the integral is x. If you have a product between two litteral symbols the * must be inserted. Arguments of functions must be enclosed between parentheses. To avoid errors clear the variables before the integration: [2nd][F6:Clean Up] [2:NewProb][ENTER]ENTER]
That means one (or more) of the variables you have in your function is not defined. Check to make sure you didn't misspell any variable name. Also, check to make sure you didn't run two variable names together. "ab" is the variable ab, not a times b.
Did you still need help with this? My suspicion is a missing multiplication sign. Sometimes you need to be very explicit in what you want the calculator to do. Have you tried sqroot(sin(2*theta)) explicitly putting the multiplication symbol in there? I think 2theta is interpreted as it's own variable name...
×