Eg "3x squared" the coefficient of x is 3
Relate to the size of one species- population to the other species.
a cofficient is a numder placed in front of a chemical formula in an equation.d luck good luck!
find the fourier cofficients of the following function: (a) f(t)=t
if your weigh is W kg. and your height is hm your shaped coefficiend is calculated as W/H. If it is up to 25, you are well shaped, if it is more than 25 but up to 30, you are overweighed and if it is more than 30 you are lot.Create a C PROGRAMto enter data about N people, then to calculate their cofficients and to count how many of them are fat.
The coefficient of friction between a perfectly smooth body and a very rough body would be close to zero because a smooth body has no surface irregularities to create friction with the rough body. Friction occurs due to the interaction of surface irregularities, so if one surface is perfectly smooth, there would be minimal friction.
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { double a, b, c, dis,root1,root2,temp; Console.WriteLine("Enter the value of Cofficients "); Console.WriteLine("Enter the value of Cofficient a "); a = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Enter the value of Cofficient b"); b = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Enter the value of Cofficient c"); c = Convert.ToInt32(Console.ReadLine()); dis = b * b - 4 * a * c; Console.WriteLine("Dis is {0} ", dis); if (dis > 0) { temp = Math.Sqrt(dis); root1 = (-b + temp) / 2 * a; root2 = (-b - temp) / 2 * a; Console.WriteLine("First Root is {0} ",root1); Console.WriteLine("Second Root is {0} ",root2); } if (dis == 0) { root1 = -b / 2 * a; Console.WriteLine(" Root is {0} ", root1); } if (dis < 0) { temp = dis; root1 = -b ; root2 = 2 * a; Console.WriteLine("First Root is ({0} + ({1}i))/{2} ", root1,temp,root2); Console.WriteLine("Second Root is ({0} - ({1}i))/{2} ", root1, temp, root2); } Console.ReadLine(); } } }
#include<stdio.h> #include<conio.h> #include<math.h> #include<process.h> void main() { float x0=0,x1=0,a=0,b=0,c=0,f0=0,e=0,df0,slope=.0001; int i=0,n=0; clrscr(); printf("\n Enter the interval"); printf("\n Enter the value of x0= "); scanf("%f",&x0); printf("\n Enter the error allowed in the root of equation "); scanf("%f",&e); printf("\n Enter the cofficients of the equation"); printf("\n Enter the value of a = "); scanf("%f",&a); printf("\n Enter the value of b= "); scanf("%f",&b); printf("\n Enter the value of c= "); scanf("%f",&c); printf("\n Enter the number of iterations= "); scanf("%d",&n); for(i=0;i<n;i++) { f0=a*x0*x0+b*x0+c; df0=2*a*x0+b; if((fabs(df0))<=slope) { printf("\n Slope too small so will become divergent from solution"); getch(); exit(0); } else { x1=x0-(f0/df0); if(fabs((x1-x0)/x1)<e) { printf("\n Root of the equation is %f",x1); printf("\n No of iterations for calculating the root of the equation is %d",i); getch(); exit(0); } else { x0=x1; } } } printf("\n Solution does not converge in %d iterations",n); getch(); }