3. Calculus is the study of 'Rates of Change'.
When you are studying the rates of change in
mathematics, you are in the branch of
mathematics called Calculus.
4. calculus is used in programming as to find
out the factorial of given data. Factorial is
the possibilities to arranging the things.
5. Is it possible to write calculus function in
programming?
It would be very useful, I am sure it is
possible because there are maths programs
out there today like-:
Int integer (statement int variable,int
limit1,int limit2).
Something like and have the power rule of
integration apply as
U*^n=[u(x)^(n-1)/n-1]
6. Higher-order programming is a style of
computer programming that uses functions as
values. It is usually instantiated with, or
borrowed from, models of computation such
as lambda calculus which make heavy use of
higher-order functions.
7. In computer science, functional
programming is a programming paradigm
that treats computation as the evaluation of
mathematical functions and avoids state and
mutable data.
8. Calculus in programming is also used to find
out the mean or average values. Mean or
average value is used to find out the
unknown exact value. If we does not know
the exact values we use mean or average
values. In programming if we does not know
the average of some data we use average
formula in program and get average of its.
9. #include<stdio.h>
#include<conio.h>
int main ()
{
inta,b,c,d,e,m;
printf("enter the value of a b c d en");
scanf("%d%d%d%d%d",&a,&b,&c,&d,&e);
/*formula of mean is*/
m=(a+b+c+d+e)/5;
printf("result of simple mean is %d",m);
getch();
return 0;
10. We also find out the derivatives of the data.
Calculus has difficult excess to find out the
derivative using power rule but in computer
program it is easy. Engineers ,architectures
has a wide use of the derivatives.
11. #include<stdio.h>
#include<math.h>
Using name apace std;
Inta,x,n,y,derivative;
Intmain()
{
Print f(“enter the value we calculate the derivative of that value
using power rule”);
Printf(“ny=a*x^n”);
Printf(“anxnnn”);
Scanf(“%d%d%d”,&a,&x,&n);
Y=pow(x,(n-1));
Derivative=a*n*y;
Printf(“dy/dx=”derivative”);
return 0;
}
12. Over all calculus has great use in
programming and it cannot be denied