Answer:
#include <stdio.h> #define Gray 32.17 /* gravitational constant */ #include <math.h> /*cos definition*/ #define PI 3.14159265
int main(void) double Theta; /*input-angle(radians)of elevation*/ double Distance; /*input-distance (ft) to target */ double Velocity; /*input-projectile velocity (ft/sec)*/ double Time; /* output-time(sec) of flight*/ double Height; /*output-height at impact*/
printf("Enter Distance> "); scanf("%f", &Distance);
printf("Enter Radians> "); scanf("%f", &Theta);
printf("Enter Velocity> "); scanf("%f", &Velocity
Time = Distance / (Velocity * cos(Theta*PI/180.0) ) ;
Height = (Velocity *sin(Theta*PI/180.0)*Time) - Grav*(Time* Time) );
printf("The time of flight is %.3f seconds.\n", Time); printf("The height at impact is %.3f feets.\n", Height);
system("pause");
return (0);
I'm assuming you are referring to Excel. There are a few ways to add A1 and B1.
First you could use '=SUM(A1+B1)'
You could also use '=SUM(A1:B1)' which adds the values of all the cells between A1 and B1, but since they are next to each other, this would work.
You could also use '=SUM(A1,B1)' where you list all the cells you want to add with commas in between.
Answer:
Explanation:
Disk space is a limited resource on the spooling partition and once it is filled the will cause a deadlock. Every single block that comes into the spooling partition claims a resource, and the one behind that wants resources as well, and so on. Since the spooling space is limited and half of the jobs arrive and fill up space then no more blocks can be stored, causing a deadlock. This can be prevented allowing one job to finish and releasing the space for the next job.
Answer: streams can send data in only one direction either input or output.
Explanation:
An application must have two network streams in order to send and receive data.
for example if we want to send data from A to B we must have one stream similarly in order to receive data from B to A we must have another network stream.