Narasipur Suryanarayana wrote:
My question is can I have a solve block in a programming block.
As already said - no. But you can turn the solve block into a function like I showed and call that function from within a program.
I have solved the ODE but I am trying an interative process to find the value of the constant with a program similar to the one I sent but has more for loops.
More loops? I havent seen a single loop in th program you sent. All your program would do is to solve the ODE and evaluate one of the function for argument 10.