Composite Functions with a function with two ranges

1 Ansicht (letzte 30 Tage)
Sadman Samin Khan
Sadman Samin Khan am 9 Sep. 2020
Beantwortet: James Tursa am 10 Sep. 2020
Please help me with this problem!! Thank you in advance!!
  2 Kommentare
James Tursa
James Tursa am 9 Sep. 2020
This does not appear to be a MATLAB question. You simply need to plug the results of one function into the other function and simplify to get the requested expressions.
Sadman Samin Khan
Sadman Samin Khan am 10 Sep. 2020
But g(x) has two different functions with two different ranges. What to do about that??

Melden Sie sich an, um zu kommentieren.

Antworten (1)

James Tursa
James Tursa am 10 Sep. 2020
For example, take the first one:
(g o f)(x)
This is just g(f(x)) which is g(x^2)
Assuming we are talking only about real inputs, x^2 is always non-negative. And when the input to g( ) is non-negative, the result is 3 times the input. So when you plug in x^2 to g( ) you simply need to multiply it by 3 to get the output. So the output is 3 times x^2.
Do the same analyses for the other parts of the assignment. You will need to consider each part of g( ) separately.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by