x = linspace(-90,.1,90); %Theta 1
y = linspace(-90,.1,90); %Theta 2
cx = -2.598.*cos(x)-1.5.*sin(x)-.525.*cos(y)-.3977.*sin(y);cy = -2.598.*sin(x).*sin(y)+1.5.*cos(x).*sin(y)-.2227.*sin(y)+.525;cz = -2.598.*sin(x).*cos(y)+1.5.*cos(x).*cos(y)-.3977+.2227.*cos(y);v = sqrt(cx.^2+cy.^2+cz.^2); %Equation for finding impact velocity
where v is a function of x and y
I need to find the maximum value of the function v, and the values of x and y that correspond to the max.
Thanks, Connor
Best Answer