Please help pascal

  • Thread starter nizama
  • Start date
10
0
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

Nizama
 

dduardo

Staff Emeritus
1,894
3
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.
 

Related Threads for: Please help pascal

  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
9
Views
2K
  • Last Post
Replies
3
Views
15K
  • Last Post
Replies
5
Views
5K
Top