Help Nizama with their Pascal Assignments!

  • Thread starter Thread starter nizama
  • Start date Start date
  • Tags Tags
    Pascal
Click For Summary
SUMMARY

Nizama seeks assistance with two Pascal assignments: calculating the integral of e^x from a to b and writing an algorithm for determining a zero function. The integral can be computed using the formula e^a - e^b, simplifying the task to a single line of code. The concept of a zero function requires further clarification for effective assistance.

PREREQUISITES
  • Understanding of integral calculus, specifically the integral of e^x
  • Familiarity with Pascal programming language syntax
  • Basic knowledge of algorithms and function definitions
  • Experience with numerical methods for approximating integrals
NEXT STEPS
  • Research how to implement numerical integration methods in Pascal
  • Learn about function definitions and variable declarations in Pascal
  • Explore the concept of zero functions in mathematics and programming
  • Study examples of Pascal programs that calculate definite integrals
USEFUL FOR

Students learning Pascal programming, educators teaching integral calculus, and anyone needing to understand algorithm development in programming contexts.

nizama
Messages
10
Reaction score
0
I've hot two assignments to do in pascal and i have no idea how to make it :(
i don't even have anything similar and i don't 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
 
Computer science news on Phys.org
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.
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
743
  • · Replies 25 ·
Replies
25
Views
3K