Thread: Mathematical Operation

  1. #1
    Registered User
    Join Date
    Jul 2008

    Mathematical Operation

    I have an assignment that I need to be done.

    prepare a report which contains the C source code, the documentation and the flow charts, along with drawings explaining the mathematical background related to the calculation of-

    F(x)= 5.x^2 + e ^(1/2.x) / 1/3.x^2+25.x+1.6

    in the range x ?{A,B}

    With a step of B-a/y, e.g. y= 1000.

    The range, i i.e. a,b along with the step discretisation should be user defined. The results of the calculation should be stored in a file in the current directory which is also user defined.

    in a second independent program, calculate the area (integral from a to b)

    f (x).dx for the discrete value of an f(x) passed to the program through a user defined file located in the current directory. The output of the previous program

    in a third independent program calculate f`(x)= dy/dx for all values provided in the output file of the first prgram with the assumption that dy/dx= ?y/?x, ?x?0
    Last edited by Salem; 08-11-2008 at 10:14 AM. Reason: Remove code tags - there's a first; and removed bribery

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Um no, read the rules.

    You could do it yourself and;

    A. Feel good about it
    B. Learn
    C. Have fun
    D. Pass the exam

    If you have a specific question, I'm sure you'd get help.

  3. #3
    Registered User
    Join Date
    Jul 2008
    Anyone wanna do them?

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Even if they did, I would not allow them to post their answers in this thread.

    *Thread closed*
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to change this simple opeation into power operation..
    By transgalactic2 in forum C Programming
    Replies: 9
    Last Post: 12-20-2008, 03:17 PM
  2. Replies: 5
    Last Post: 12-04-2008, 08:15 PM
  3. Mathematical Operation
    By madahmad1 in forum C Programming
    Replies: 29
    Last Post: 07-30-2008, 09:58 AM
  4. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  5. Serial Communications in C
    By ExDigit in forum Windows Programming
    Replies: 7
    Last Post: 01-09-2002, 10:52 AM