Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I'm working on a hypersonic vehicle project and in this project it is required that I know the inclination angle at any point on the curve of the vehicle. I found the inclination angles of the curve but for one aspect of this project I need to delete the angles that are greater than the maximum inclination angle (90 degrees). As seen on the pic, [link=http://www.mediafire.com/i/?thaq7m7gpp4zbfz][/link]
, I need to keep the angles that are from the green line to the red line and from the green line to the blue line. I've tried using a find indice command to find the indices that correspond to angles that -90<theta<0 but I then realized that this would delete the angles that are negative between the blue and red lines. The signs of the angles are as follows:
right side of blue line: negative
left side of blue line to right above green line: positive
green line to left of red line: negative
right of red line: positive
So as you can see, finding a condition that works is making this hard for me. I've included an excel file with the angles so that you may see how the signs change.
Close up of top:
Close up of bottom: