Properties
Category
English
Similar Topics
Statistics
Comments
3
Participants
2
Subscribers
0
Votes
1
Views
1141
Share
Answered
Dear developers
It would be really nice if something like this would work in CAS-view:
g(x):=If[-4<=x<=5,x-1,If[5<x<=7,2x-7]]
Solve[g(x)=-4]
Also it would be nice if piecewise functions were typeset like in the algebra-view.
Regards,
Mikkel
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2023 International GeoGebra Institute
We won't be able to get that working for Solve, but it (almost) works for NSolve, eg
NSolve[(If[3 < x < 4,x,x+1])=3.5]
NSolve[If[-4<=x<=5,x-1,If[5<x<=7,2x-7,10000000000]]=-4]
NSolve[If[-4<=x<=5,x-1,If[5<x<=7,2x-7]]=-4]
works in 5.0.30.0
Wow, thanks!
Comments have been locked on this page!