Evaluate expression using CAS view

Jacob.Steiner shared this question 2 years ago
Answered

Since I could not find the answer, I have the following questions:

Is it possible the evaluate expressions using the CAS view?

E.g.: I have the expressions x+2 and I want to evaluate at x=4. Is there a possibility to type x+2 | x=4 which yields 6?

Or x*y*z | x=a which yields a*y*z.

Thanks for the help.

Comments (2)

photo
2

There's a substitute tool in the CAS toolbar. So referring to the line with $ you can substitute x by 4.

/2a66eNoAAAAASUVORK5CYII=

photo
1

Hallo Jacob,

ich sag im Prinzip das gleiche wie ccambre


- bin aber ehr auf die Arbeit im CAS fixiert (siehe https://www.geogebra.org/u/hawe)


Variablenersetzungen via Substitute (Ersetze) und mittels Listen


Du könntest einmal den Term als Funktion festlegen

g(x):=x+2 ==> g(4)

oder


Term:=x+2 ===> Ersetze(Term,{x=4})


oder mehrfache Auswertung erzeuge Liste Sequence/Folge etwa Sequence(Substitute(term, x=k),k,1,5)

© 2023 International GeoGebra Institute