bisection method

This is a discussion on bisection method within the C Programming forums, part of the General Programming Boards category; Hey guys I have to write a program that calculates the angle of a projectile motion using speed, initial height, ...

  1. #1
    Registered User
    Join Date
    Aug 2012
    Posts
    1

    bisection method

    Hey guys I have to write a program that calculates the angle of a projectile motion using speed, initial height, and distance.

    The angle must be within the range of-

    arctan(speed^2/gravitational_acceleration*distance)<or equal to angle<or equal to 90 degrees.

    The hint was to use the bisection method however I am very confused to as how that would work. Please just give me a starter on this, any help would be appreciated.

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Welcome to the C forum, babibabi!

    Google and do a quick read on "calculate the angle of a projectile using speed", and "bisection method".

    That might get you to a starting point. We don't "get you started", as a rule. We help you with your C program after *you* get it started, and post it, stating your problem specifically.

    Once you get the general understanding of it worked out, the C code for it doesn't appear difficult. Whenever you need to calculate a "range" of something, you should expect a large loop around the inner calculations.

    Just a tip: it's a real rookie mistake on the forum, to wait for someone to post an answer your query. Forge on with your work, in parallel to any help you might receive from the forum.

    Also, forum cross posters, are noticed quickly, and generally ignored as time-wasters, by us. I wouldn't cross post, for that reason. You're on the right forum for C help.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help in my bisection method..
    By anttonnee in forum C Programming
    Replies: 12
    Last Post: 05-10-2012, 06:08 PM
  2. Help!Bisection method in C++
    By cxwcxw2001 in forum C++ Programming
    Replies: 7
    Last Post: 12-31-2011, 01:25 PM
  3. bisection method
    By swty_todd in forum C Programming
    Replies: 4
    Last Post: 02-07-2009, 11:33 PM
  4. bisection method
    By bar5037 in forum C++ Programming
    Replies: 13
    Last Post: 10-30-2007, 04:26 PM
  5. problem with the bisection method
    By dionys in forum C Programming
    Replies: 1
    Last Post: 04-01-2004, 03:19 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21