Mathematical operation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • madahmad1
    New Member
    • Jun 2008
    • 1

    Mathematical operation

    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

    Can anyone help me? How can i answer this?
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    Hi madahmad1! Welcome to bytes.com!

    What have you done so far? You know, we don't solve your homework for you here, but we can help you to find a solution, if you do the work.

    How much experience do you have in C? Are you allowed to use the built in libraries in this project or should you define all of the mathematical functions yourself?
    And most importantly: Have you thought about how you would do these jobs without a computer?

    By the way, both the C operator and the normal way of writing the multiplication symbol on a computer is '*' instead of '.'!

    Greetings,
    Nepomuk

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      The reason why we have to see your efforts first are explained in the posting guidelines.

      Comment

      Working...