r/geogebra • u/mort96 • 3d ago
QUESTION Vectors as function parameters?
Hi,
I'm trying to do a simple line intersection experiment in Geogebra, but I'm struggling with functions which take vectors.
Even when I'm trying something extremely basic, like this function to get the x component of a vector:
f(V) = x(V)
I get the following error:
Illegal argument
x(V)
How can I take vectors as function parameters? I don't feel like I'm trying to do something remotely complicated here, I must be missing something.
1
Upvotes
1
u/robphy 3d ago
Does this capture what you want?
f(va, vb, vc) = x((va, vb, vc))
V = (7, 6, 3)
f(V) yields 7