Thread: Assignment assistance

  1. #1
    Registered User
    Join Date
    Mar 2013
    Location
    Maine
    Posts
    2

    Question Assignment assistance

    I am not a programmer I have always found it to be a difficult and tidious task. I am taking a programming class as a requirement for my degree. It is the first week of the class and I am already lost. What I need help with is putting my assignment in layman terms so I can understand how to answer the question. Here is the task I need help with:


    1. Write an algorithm describing the steps you would use to analyze this polynomial:
    3x^3 − 5x^2 + 6
    Do not code this problem in C. Instead, deliver the algorithm to solve the problem. After writing the algorithm, remember to show your work testing the algorithm using the value of 2 for x given above and show the calculations that occur at each step of the algorithm, as well as the final answer


    What does he mean by write an algorithem to analyze the polynomial? Does he want me to describe what it would take to solve the equation? How do I test it with out programing it? How do I deliver the algorithm? Thanks for any assistance.

    J

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by jswatson0917
    What does he mean by write an algorithem to analyze the polynomial? Does he want me to describe what it would take to solve the equation?
    Probably, once you equate it to 0. You should clarify this with your teacher.

    Quote Originally Posted by jswatson0917
    How do I deliver the algorithm?
    You could write the algorithm in prose, pseudocode, or even a flow chart.

    Quote Originally Posted by jswatson0917
    How do I test it with out programing it?
    How would you test it by writing a program?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Mar 2013
    Location
    Maine
    Posts
    2
    Thanks for your assistance. I appreciate your input and it has helped me Thank you

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 04-26-2009, 08:54 AM
  2. Need Assistance?
    By shewj in forum C Programming
    Replies: 8
    Last Post: 04-09-2008, 07:57 AM
  3. need ur assistance
    By baby_me in forum C Programming
    Replies: 3
    Last Post: 06-21-2006, 01:47 PM
  4. Need Some Assistance
    By vodlum in forum C++ Programming
    Replies: 6
    Last Post: 09-16-2005, 02:57 PM
  5. need assistance
    By Unregistered in forum C Programming
    Replies: 20
    Last Post: 07-05-2002, 05:11 AM