# Define functions in CAS

hawe shared this question 9 months ago

Hallo zusammen,

I want to def some spline functions via CAS. I got a variable count of functions x(t),y(t),

e.g. y(t) as

(x(t) analog form)

and want to bulid a Curve with x(t), y(t) programaticaly

sorry mire2. aber irgendwie ging ungewollt die Post ab ;-)...

Stand der Dinge

https://www.geogebra.org/m/z8jpdcpr

1

Hmm, magst Du das vielleicht ein wenig näher erläutern, hawe?

1

If(0 ≤ t ≤ 1, -2t³ + 3t² + t + 2, 1 ≤ t ≤ 2, (t - 1)³ - 3(t - 1)² + t + 1, 2 ≤ t ≤ 3, (t - 2)³ - 2 (t - 2) - 1)

1

@ mathmagic: Jep, this is what I have.

But I search a way to create a variable count of functions....

i will probably have to make a script after all?

2

hey Noel f(t):=If(0 ≤ t ≤ 1, -2t³ + 3t² + t + 2, 1 ≤ t ≤ 2, (t - 1)³ - 3(t - 1)² + t + 1, 2 ≤ t ≤ 3, (t - 2)³ - 2 (t - 2) - 1)

variable count of functions....?? like sequence(x^n,n,1,6)

what do you mean exactly

1

This is a Spline Interpolation with 4 Points and 3 polynoms, when i add aPoint i got 4 spline polynoms.

i want to def f(t) with an additional polynom without input by hand