[Scilab-users] Nested function definition

Izabela Wójcik-Grząba iwoj at il.pw.edu.pl
Tue Apr 9 18:32:03 CEST 2019


Hello,

I would like some help with defining a nested function like below:

URQ=urq(q,eta(q),zeta(q,eta(q)))

The definitions are:

eta=mg./(2*q)
zeta=asinh(mg.*h./(2*q.*l.*sinh(eta)))+eta
URQ=mg.*L0./(q.*l)-sinh(2*eta-zeta)-sinh(zeta)

Values of mg, h, l, L0 are given.

I would be very grateful for help as I tried different options but none 
of them is correct.

Kind regards,
Iza



More information about the users mailing list