parametric equations of a line

thanhbuu shared this question 9 years ago
Answered

How can I input a parametric equations of a line in "GeoGebra 5.0 JOGL1 Beta" (3D version)?

Ex. a line :

x = 3t

y = -3 + 2t

z = -1 + t

Comments (6)

photo
2

Hi; welcome on the forum.

You just have to choise a closed interval like :

    Curve[3 t,-3+2 t,-1+t,t,-20,20]

http://wiki.geogebra.org/en...

Cheers.

Michel

photo
1

Hi, I'm new to using python in geogebra.


I copy pasted the code you wrote and this is what I got:


File "<pyggb>", line 1

Curve[3 t,-3+2 t,-1+t,t,-20,20]

^

SyntaxError: mismatched input 't' expecting RBRACK


I don't know what this means! Help?


Thanks,

Marie-Elisabeth

photo
1

Hi, the command is not a Python command, use the input bar.

Michel

photo
1

That certainly explains it! Thanks!

photo
1

Also this should do the trick:

    Line[(0,-3,-1), Vector[(3,2,1)]]

photo
1

Hi,


g: X = (-5, 5, 2) + t (4, -3, -2) now works (thanks to Murkle).


Cheers,

Mathieu

© 2022 International GeoGebra Institute