Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Please help pascal

  1. May 10, 2004 #1
    I've hot two assignments to do in pascal and i have no idea how to make it :(
    i dont even have anything similar and i dont have time to search the web for answers now

    I really need help and i need it as fast as it can be so please if anyone can help me with this i would really reallllyyy appreciate it
    here it goes...

    1) calculate by definition integral from a to b of (e^x)
    ( now i know that this integral in fact is area under curve and then you should have something like sum of these little squares that have side deltaX long...i need it step by step made...)

    2) Write the algorithm for determining zero function
    (also i need it step by step...first to define variable and then to define function etc...)

    Please please please help me with this...

    Thanx a lot

  2. jcsd
  3. May 10, 2004 #2


    User Avatar
    Staff Emeritus

    Pascal? What school do you go to? Please tell me I haven't fallen into a worm hole and have been transported back to the 80's.

    1) Why do you need to do the area of the little squares for e^x. Do you know the integral of e^x is e^x. All you have to do is write a program to calculate e^a - e^b. Thats a one line program.

    2) I don't know what you mean by zero function. You would have to explain that to me.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook