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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

6-Contributor

## Function of a function

Hello,

Please see the attached file. Help needed to do a function of a function and plot the graph.

Help will be appreciated.

Thanks,

Anousheh

14 REPLIES 14
23-Emerald III
(To:Anousheh)

Something along these lines?

Success!
Luc

6-Contributor
(To:LucMeekes)

Hi Luc,

Thanks very much.

For some reason, the worksheet is not working.

and x=m+(1-m)x1 (you put it as x)

and the graph should be against x1.

and G(x1) is the correct one not G(x).

Could you please double check. I used the "substitute" symbolic operator and nothing happens. No error messages.

Thanks,

Anousheh

23-Emerald III
(To:Anousheh)

Press F9 after opening the sheet. It doesn't calculate automatically.

In addition, for speeding up, you may want to set TOL:=0.001 at the top of the sheet.

And you can have the range of x as x:=0.001,0.002...1

The x or x1 doesn't matter. They're just parameters.

Success!
Luc

24-Ruby V
(To:LucMeekes)

The x or x1 doesn't matter. They're just parameters.

I guess you missed the fact that x depends on x1 and m

23-Emerald III
(To:Werner_E)

No, I didn't,

that's why I substituted x with m+(1-m)*x.

The end result is the same, since x and x1 are not used simultaneously in any of the functions.

24-Ruby V
(To:LucMeekes)

Yes, sorry, you a absolutely right.

I had't looked close enough to the pic

23-Emerald III
(To:Werner_E)

The picture is so small...You're excused.

Luc

24-Ruby II
(To:Anousheh)

6-Contributor

Thank you so much. Would you please upload the file? I get G(x1) graph and F(x1,0.5) not showing up with no error message.

And one question: how the value of m (0.5) is incorporated into G(x1)?

Thanks again,

Anousheh

24-Ruby II
(To:Anousheh)

Here it is.

6-Contributor

Thanks again.

Would you please see the previous file again? Need G(x1) against x1 with different m= 0.5, 0.7 & 0.9.

Remember, x1=(x-m)/(1-m)

Thank you,

Anousheh

24-Ruby V
(To:Anousheh)

Here are my 2 cents:

MC15 worksheet attached.

BTW, I guess Lucs worksheet will work OK, if you turn on auto-calculation. Luc has it usually turned off and so you have to manually recalculate (Ctrl-F9) after every change.

24-Ruby V
(To:Anousheh)

Here is another way to deal with those nested functions:

6-Contributor
(To:Werner_E)

Hi Werner,

Thanks a lot.

Anousheh

Announcements
Top Tags