Yes, my mistake, I meant π/2.
While it would be great to increase theta in routine intervals till a sign change occurs. The bisection restriction necessitates cutting almost in half on the first jump. And the project was originally described as "code your own bisection method but I should be...
I could if I had good boundaries. But all I'm given is the target will land in the first quadrant. Necessitating boundaries of θ = 0 and θ = 2π. What could occur is landing just under the target, adjusting to a higher theta, and having a "high" overshoot and raising theta again. I'm probably...
The problem requires using the given ODE solver to create the projectile's path. It also requires use of the bisection method to determine the next guess point (I think this was done to make the project easier, not having to figure out a root solver). Anyways, because the bisection method has no...
That method still runs into the same problem. With a high shot I can still land underneath the target in the same way that a low shot can. Here's a pic: (starting velocities aren't constant, blue path should be higher, but you get the idea)
For a given starting velocity there should usually be...
Yes, there is drag. I didn't post the 4 ODEs used to solve for the projectile's path, but can if that would help.
Integrating to the x coordinate would work (with exceptions for when the projectile hits the ground). But isn't as efficient because of the exceptions (I think). Integrating a high...
Homework Statement
The objective is to code a working solver, but my question is specifically with the physics aspect. I am to find the θ value necessary to launch a projectile and hit a target. My problem is distinguishing between an overshoot and an undershoot. For example:
Both of these...