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
Naddik [55]
3 years ago
5

Solve for x4x+5x-2x=42​

Mathematics
1 answer:
prisoha [69]3 years ago
3 0

Answer:

if 4x+5x-2x=42 then the value of x=6

You might be interested in
Given a mean of 24.5 and a standard deviation of 1.7 what is the z score of the value 24 rounded to the nearest tenth?
Softa [21]
The correct answer is B) -0.3

Z-scores are found using the formula

z = (X-μ)/σ

For this problem, we have

z = (24-24.5)/1.7 = -0.5/1.7 = -0.3
3 0
3 years ago
In the term 4p, the variable p is raised to the power of 0 or 1 ?
Svetlanka [38]

Answer:

1

Step-by-step explanation:

anything raised to the power of 0 would equal 1 and p doesn't equal 1 here.

3 0
3 years ago
Read 2 more answers
A life insurance company sells a $100,000 one year term life insurance policy to a 30-year old male for $475. The probability th
laila [671]

Answer:

The expected value for the insurance company is $392.20.

Step-by-step explanation:

The expected value of a random variable, <em>X</em> is:

E(X)=x\cdot P(X)

It is provided that a life insurance company sells a $100,000 one year term life insurance policy to a 30-year old male for $475.

The probability that the male survives the year is, P(S) = 0.999172.

Then the probability that the male does not survives the year is:

P (S') = 1 - P (S)

        = 1 - 0.999172

P (S') = 0.000828

The amount the company owes the male if he survives is, S = $475.

The amount the company owes the male if he does not survives is,

S' = $475 - $100,000 = -$99525.

Compute the expected value for the insurance company as follows:

E(\text{Insurance Company})=S\cdot P(S)+S'\cdot P(S')

                                     =(475\times 0.999172)+(-99525\times 0.000828)\\=474.6067-82.4067\\=392.20

Thus, the expected value for the insurance company is $392.20.

4 0
3 years ago
a. For a file whose size (in terms of number of bytes) is less than or equal to 12, then duplicate the contents of the file so t
pickupchik [31]

Answer:

#include <stdio.h>

int main()

{

int check;

char* dirname = "Subdir1";

check = mkdir(dirname,0766);

// check if directory is created or not

if (!check)

{

printf("Subdir1 Directory created\n");

 

char *dirname1="/Subdir1/D1";

if(mkdir("/Subdir1/D1", 0777)==-1)

{

printf("D1 Directory created\n");

int A1 = open ("/Subdir1/D1/A1.txt", 0666);

write(A1, "abcdefghij\n", strlen("abcdefghij\n"));

close(A1);

 

int A2 = open ("/Subdir1/D1/A2.txt", 0666);

write(A2, "you are beautiful\n", strlen("you are beautiful\n"));

close(A2);

 

int A3 = open ("/Subdir1/D1/A3.txt", 0666);

write(A3, "this is terrible!\n", strlen("this is terrible!\n"));

close(A3);

}

else

{

printf("Unable to create directory D1\n");

exit(1);

}

if(mkdir("/Subdir1/D2", 0777)==-1)

{

printf("D2 Directory created\n");

int B1 = open ("/Subdir1/D2/B1.ccc", 0664);

write(B1, "abcdefghij\n", strlen("abcdefghij\n"));

close(B1);

 

int B2 = open ("/Subdir1/D2/B2.ccc", 0664);

write(B2, "you are beautiful\n", strlen("you are beautiful\n"));

close(B2);

 

int B3 = open ("/Subdir1/D2/B3.ccc", 0664);

write(B3, "this is terrible!\n", strlen("this is terrible!\n"));

close(B3);

}

else

{

printf("Unable to create directory D2\n");

exit(1);

}

 

if(mkdir("/Subdir1/D3", 0777)==-1)

{

printf("D3 Directory created\n");

int C1 = open ("/Subdir1/D3/C1.txt", 0644);

write(C1, "abcdefghij\n", strlen("abcdefghij\n"));

close(C1);

 

int C2 = open ("/Subdir1/D3/C2.ddd", 0644);

write(C2, "you are beautiful\n", strlen("you are beautiful\n"));

close(C2);

 

int C3 = open ("/Subdir1/D3/C3.txt", 0644);

write(C3, "this is terrible!\n", strlen("this is terrible!\n"));

close(C3);

}

else

{

printf("Unable to create directory D2\n");

exit(1);

}

 

}

 

 

else {

printf("Unable to create directory Subdir1\n");

exit(1);

}

return 0;

}

Program 2:

#include <stdio.h>

 

long int findSize(char file_name[])

{

// opening the file in read mode

FILE* fp = fopen(file_name, "r");

 

// checking if the file exist or not

if (fp == NULL) {

printf("File Not Found!\n");

return -1;

}

 

fseek(fp, 0L, SEEK_END);

 

// calculating the size of the file

long int res = ftell(fp);

 

// closing the file

fclose(fp);

 

return res;

}

 

// Driver code

int main()

{

FILE *fptr1;

char c;

char file_name[] = {"D1.txt"};

long int res = findSize(file_name);

if (res != -1)

{

printf("Size of the file is %ld bytes \n", res);

if(res<=12)

{

fptr1 = fopen("D1.txt", "r");

c = fgetc(fptr1);

while (c != EOF)

{

fputc(c, fptr1);

c = fgetc(fptr1);

printf(c);

}

}

}

return 0;

}

4 0
3 years ago
7. You roll a standard dice twice and flip a coin. What is the probability you 5 points
Veronika [31]

Answer:

can you just mark me brainlest

Step-by-step explanation:

5 0
2 years ago
Read 2 more answers
Other questions:
  • Which one's the easiest? I need help uwu.
    9·1 answer
  • Is the relation a function? Why?
    13·2 answers
  • What is cardinality of A={1,4,9}​
    5·1 answer
  • Which expressions are equivalent to 7x – 14? Check all that apply. 14 – 7x x – 2 –(14 – 7x) 7(x – 2) 3x – 14 + 4x 2x – 10 + 5x +
    6·2 answers
  • What is the estimated perimeter of an ellipse if the major axis has a length of 15 ft and the minor axis has a length of 7.5 ft?
    11·1 answer
  • Solve: X+1&lt;5 forgotten how to do it
    8·2 answers
  • If the cubic function P(x) includes the points (−1, 0), (−2, 0), (3, 0), and (0, −12) which of the following represents this fun
    12·1 answer
  • The volume of a cylinder is 81 cm3 if the radius is 3 cm what is the height of the cylinder
    9·1 answer
  • What is the equation of the circle?<br> Also no links please
    7·1 answer
  • Please help!! Very urgent..thank you!!
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!