cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Solving piecewise defined functions for x

jklöker
1-Visitor

Solving piecewise defined functions for x

Hello,

I want to solve a piecewise defined Function:

PiecewiseFunction(x):= |x if x >= 0

|3x otherwise

PiecewiseFunction(x)=3 solve --> (in the german version the word "solve" is replaced by "auflösen", so I'm not sure if solve is the right syntax there)

But this doesn't work on piecewise functions. The error message is that the value must be a scalar.

Does anyone know how to proceed in this case?

Regards

1 REPLY 1
ViktorKorobov
14-Alexandrite
(To:jklöker)

Replace the function by a linear combination of two functions.

LCheaw.GIF

Viktor

Viktor
Announcements

Top Tags