It is an algebraic expression and simply means 40+n whereas n is an unknown variable
The sum of the angles of a regular n-sided polygon is equal to (n - 2) x 180 degrees.Therefore, the sum of the angles of a regular 40-sided polygon (tetradecagon) is equal to (40 - 2) x 180 = 6840 degrees. Therefore, 6840 refers to the sum of the degrees, not the number of diagonals.The number of diagonals of an n-sided polygon is given by n(n-3)/2. So a 40-sided polygon has 40*37/2=740 diagonals.
Three consecutive integers whose sum is 117 are 38, 39, and 40. N + (N+1) + (N+2) = 117 3N + 3 = 117 3N = 114 N = 38
The sum of n and 5 is n+ 5
void main () { int no1, sum, n; clrscr() sum = 0; n = 1; printf("\n enter the number to which sum is to be generated"); scanf("%d",&no1); while(n<=no1) { sum=sum+n; n=n+1 } printf("\n the sum of %d = %d, no1, sum"); getch (); }
int sum(n) { if (n==0) return 0; else return n+sum(n-1); }
The sum of the interior angles of a convex polygon with n sides is given by (n-2)x180o. So for a 40 sided polygon n=40; thus (40-2)x180o = 38x180o = 6840o.
The sum of the angles of a regular n-sided polygon is equal to (n - 2) x 180 degrees.Therefore, the sum of the angles of a regular 40-sided polygon (tetradecagon) is equal to (40 - 2) x 180 = 6840 degrees. Therefore, 6840 refers to the sum of the degrees, not the number of diagonals.The number of diagonals of an n-sided polygon is given by n(n-3)/2. So a 40-sided polygon has 40*37/2=740 diagonals.
The sum of the interior angles of any regular polygon of n sides is equal to 180(n - 2) degrees. 6840 degrees
The sum of the interior angles of an n-gon is (n-2)*180 degrees. So, for a 40-gon, the sum of the interior angles would be 38*180 = 6840 degrees. If the 40-gon was not regular that is as far as you could go. But if it was a regular n-gon, then all its interior angles are equal, and each would be of 6840/40 = 171 degrees.
Three consecutive integers whose sum is 117 are 38, 39, and 40. N + (N+1) + (N+2) = 117 3N + 3 = 117 3N = 114 N = 38
The sum of n and 5 is n+ 5
If the polygon has n sides, the sum of the interior angles is (n - 2)*180 degrees. So (n - 2)*180 = 6840 (n - 2) = 6840/180 = 38 So n = 38 + 2 = 40 sides.
In C: #include <stdio.h> int main(void) { int i, sum=0; for (i=10; i<=40; i+=2) { sum += i; } printf("%d\n", sum); return 0; }
#include<stdio.h> #include<conio.h> main() { int n,sum=0; printf("enter n value"); scanf("%d",n); while(n!=0) { n=n/10; sum=sum+n; n=n%10; } printf("sum is=%d",sum }
void main () { int no1, sum, n; clrscr() sum = 0; n = 1; printf("\n enter the number to which sum is to be generated"); scanf("%d",&no1); while(n<=no1) { sum=sum+n; n=n+1 } printf("\n the sum of %d = %d, no1, sum"); getch (); }
int sum (int n){if (n
main() { int i, n, sum=0; cout<<"Enter the limit"; cin>>n; for(i=0;i<=n;i++) sum=sum+i; cout<<"sum of "<<n<<" natural numbers ="<<sum; getch(); }