function inside function



Hello,
I have a problem. I want to define a function. And I want one of
its input to be a function. This input will be a function but like a
variable.For example,let like that,
myfunc( func(a),b,c)
b=5;
c=func(b);

now if i give sin(a) as input then func(b) will be sin(b) or if i
give cos(b) as input then func(a) will be cos(b).
(note:the functions will not be sin or cos.they will be more
complicated which will be defined by me)
Is such a thing possible?If it is possible, how will i do it?
Thanks a lot. Best regards.

.



Relevant Pages


Loading