1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kvv77 [185]
2 years ago
14

Please answer i dont understand and dont know the answer​

Engineering
1 answer:
dsp732 years ago
3 0
I need pointskjjjjjjhhhhhhhhhhhhhhhbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
You might be interested in
CS3733: Homework/Practice 05 Suppose we would like to write a program called monitor which allows two other programs to communic
valina [46]

Answer:

#include<stdio.h>

#include<stdlib.h>

#include<unistd.h>

#include<sys/types.h>

#include<string.h>

#include<pthread.h>

//#include<sys/wait.h>

int main(int argc, char** argv)

{

int fd1[2];

int fd2[2];

int fd3[2];

int fd4[2];

char message[] = "abcd";

char input_str[100];

pid_t p,q;

if (pipe(fd1)==-1)

{

 fprintf(stderr, "Pipe Failed" );

 return 1;

}

if (pipe(fd2)==-1)

{

 fprintf(stderr, "Pipe Failed" );

 return 1;

}

if (pipe(fd3)==-1)

{

 fprintf(stderr, "Pipe Failed" );

 return 1;

}

if (pipe(fd4)==-1)

{

 fprintf(stderr, "Pipe Failed" );

 return 1;

}

p = fork();

if (p < 0)

{

 fprintf(stderr, "fork Failed" );

return 1;

}

// child process-1

else if (p == 0)

{

 close(fd1[0]);// Close reading end of first pipe

 char concat_str[100];

 printf("\n\tEnter meaaage:"):

 scanf("%s",concat_str);

 write(fd1[1], concat_str, strlen(concat_str)+1);

 // Concatenate a fixed string with it

 int k = strlen(concat_str);

 int i;

 for (i=0; i<strlen(fixed_str); i++)

 {

  concat_str[k++] = fixed_str[i];

 }

 concat_str[k] = '\0';//string ends with '\0'

 // Close both writting ends

 close(fd1[1]);

 wait(NULL);

//.......................................................................

 close(fd2[1]);

 read(fd2[0], concat_str, 100);

 if(strcmp(concat_str,"invalid")==0)

 {

 printf("\n\tmessage not send");

 }

 else

 {

  printf("\n\tmessage send to prog_2(child_2).");

 }

 close(fd2[0]);//close reading end of pipe 2

 exit(0);

}

else

{

 close(fd1[1]);//Close writting end of first pipe

 char concat_str[100];

 read(fd1[0], concal_str, strlen(concat_str)+1);

 close(fd1[0]);

 close(fd2[0]);//Close writing end of second pipe

 if(/*check if msg is valid or not*/)

 {

  //if not then

  write(fd2[1], "invalid",sizeof(concat_str));

  return 0;

 }

 else

 {

  //if yes then

  write(fd2[1], "valid",sizeof(concat_str));

  close(fd2[1]);

  q=fork();//create chile process 2

  if(q>0)

  {

   close(fd3[0]);/*close read head offd3[] */

   write(fd3[1],concat_str,sizeof(concat_str);//write message by monitor(main process) using fd3[1]

   close(fd3[1]);

   wait(NULL);//wait till child_process_2 send ACK

   //...........................................................

   close(fd4[1]);

   read(fd4[0],concat_str,100);

   close(fd4[0]);

   if(sctcmp(concat_str,"ack")==0)

   {

    printf("Messageof child process_1 is received by child process_2");

   }

   else

   {

    printf("Messageof child process_1 is not received by child process_2");

   }

  }

  else

  {

   if(p<0)

   {

    printf("Chiile_Procrss_2 not cheated");

   }

   else

   {

     

    close(fd3[1]);//Close writing end of first pipe

    char concat_str[100];

    read(fd3[0], concal_str, strlen(concat_str)+1);

    close(fd3[0]);

    close(fd4[0]);//Close writing end of second pipe

    write(fd4[1], "ack",sizeof(concat_str));

     

   }

  }

 }

 close(fd2[1]);

}

}

8 0
3 years ago
You are evaluating the lifetime of a turbine blade. The blade is 4 cm long and there is a gap of 0.16 cm between the tip of the
Tcecarenko [31]

Answer:

Explanation:

Given conditions

1)The stress on the blade is 100 MPa

2)The yield strength of the blade is 175 MPa

3)The Young’s modulus for the blade is 50 GPa

4)The strain contributed by the primary creep regime (not including the initial elastic strain) was 0.25 % or 0.0025 strain, and this strain was realized in the first 4 hours.

5)The temperature of the blade is 800°C.

6)The formula for the creep rate in the steady-state regime is dε /dt = 1 x 10-5 σ4 exp (-2 eV/kT)

where: dε /dt is in cm/cm-hr σ is in MPa T is in Kelvink = 8.62 x 10-5 eV/K

Young Modulus, E = Stress, \sigma /Strain, ∈

initial Strain, \epsilon_i = \frac{\sigma}{E}

\epsilon_i = \frac{100\times 10^{6} Pa}{50\times 10^{9} Pa}

\epsilon_i = 0.002

creep rate in the steady state

\frac{\delta \epsilon}{\delta t} = (1 \times {10}^{-5})\sigma^4 exp^(\frac{-2eV}{kT} )

\frac{\epsilon_{initial} - \epsilon _{primary}}{t_{initial}-t_{final}} = 1 \times 10^{-5}(100)^{4}exp(\frac{-2eV}{8.62\times10^{-5}(\frac{eV}{K} )(800+273)K} )

but Tinitial = 0

\epsilon_{initial} - \epsilon _{primary}} = 0.002 - 0.003 = -0.001

\frac{-0.001}{-t_{final}} = 1 \times 10^{-5}(100)^{4}\times 10^{(\frac{-2eV}{8.62\times10^{-5}(\frac{eV}{K} )1073K} )}

solving the above equation,

we get

Tfinal = 2459.82 hr

3 0
3 years ago
Whats the best used for cable -stayed bridge
nalin [4]

Answer:

a cable -stayed bridge has, one or more towers,from which cable support the bridge deck.

7 0
3 years ago
Harmonic excitation of motion is represent as
Gennadij [26K]

Harmonic excitation refers to a sinusoidal external force of a certain frequency applied to a system. ... Resonance occurs when the external excitation has the same frequency as the natural frequency of the system. It leads to large displacements and can cause a system to exceed its elastic range and fail structurally.

6 0
3 years ago
Identify three material considerations an engineer would need to consider when working on a design process.
Anika [276]

Answer:

Three material considerations are;

1. Identify and appraise the attainment of the goal of the with the design specification

2. Ascertain the required load the product being designed will experience and the suitability of the design specification to that load

3. Review the producibility of the design to ensure that it can be produced with the available technology

Explanation:

1. The appraisal of the design includes the consideration of the factors of the design and the building of reliability and efficiency into the design from the beginning

2. Ascertain if the product will require toughness, elasticity, and if will be subject to sudden or repeated loading conditions

3. Ensure that the design can be readily produced with the accessible manufacturing equipment during the conceptualization stage of the design.

4 0
3 years ago
Other questions:
  • Write a grammar for a language whose sentences start with an even and non-zero number of x’s, end with an odd number of z’s, and
    11·1 answer
  • Many companies are combining their online business activities with an existing physical presence. In about 100 words, explain wh
    11·1 answer
  • The nameplate on a 70 kVA transformer shows a primary voltage of 480 volts and a secondary voltage of 115 volts. We wish to dete
    10·1 answer
  • Vehicles arrive at a single toll booth beginning at 8:00 A.M. They arrive and depart according to a uniform deterministic distri
    9·1 answer
  • A cylinder contains 480 cm3 of loose dry sand which weighs 820 g. Under a static load of 200 kPa the volume is reduced 1%, and t
    15·1 answer
  • What is the difference between CNC and NC​
    15·1 answer
  • If block A of the pulley system is moving downward at 6 ft&gt;s while block C is moving down at 18 ft&gt;s, determine the relati
    10·1 answer
  • Help me asap I rely need help u will be my fav​
    8·2 answers
  • Is a diesel truck less expensive to drive than a gas truck?
    13·1 answer
  • What current must flow if 0.24 coulombs is to be transferred in 15ms?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!