Help Nizama with their Pascal Assignments!

  • Thread starter Thread starter nizama
  • Start date Start date
  • Tags Tags
    Pascal
AI Thread Summary
The discussion revolves around a user seeking urgent assistance with two Pascal programming assignments. The first task involves calculating the integral of e^x from a to b, with the user expressing confusion about the process and requesting a step-by-step explanation. A respondent points out that the integral of e^x is simply e^x, suggesting that the user can compute the area using a straightforward program that calculates e^a - e^b. The second task requires writing an algorithm to determine a "zero function," but the respondent asks for clarification on what is meant by "zero function," indicating a need for more details to provide assistance. Overall, the conversation highlights the user's urgency for help and the need for clearer definitions in programming concepts.
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.
 
This week, I saw a documentary done by the French called Les sacrifiés de l'IA, which was presented by a Canadian show Enquête. If you understand French I recommend it. Very eye-opening. I found a similar documentary in English called The Human Cost of AI: Data workers in the Global South. There is also an interview with Milagros Miceli (appearing in both documentaries) on Youtube: I also found a powerpoint presentation by the economist Uma Rani (appearing in the French documentary), AI...
Back
Top