Hello,

I am trying to develop a program and I am stuck on a few portions.

1. I need the program to calculate the gradient of a user entered function.

2. I need to multiply matricies which I think I know how to do but the matricies need to have variable dimensions depending on the number of variables in the user entered function.

3. I need to make the program transpose the matrix.

I have written one program ever and this seems somewhat complex to me, not the math the programming. any starting point for me would be really helpful.

thanks in advance.