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
Sergio [31]
3 years ago
7

PLease someone help with this, I've looked everywhere and can't get a solid answer to anything!

Mathematics
2 answers:
Tresset [83]3 years ago
7 0

Answer:whats the question  

Explanation:(pls dont report me as soon as u tell me the question i will edit my answer and answer correctly)

Oksi-84 [34.3K]3 years ago
4 0

Answer:

It is because the is

Step-by-step explanation:  

You might be interested in
Is x=1 a solution to the equation 8x-2 =16-6x? How do u know
lesantik [10]

Answer:

8x-2=16-6x

No because 16-6x is 10

and 8-2 is 6

5 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
For f(x)=2x+1 and g(x)=x^2-7, find (f+g)(x)
labwork [276]

For this case we have the following functions:

f (x) = 2x + 1\\g (x) = x ^ 2-7

We must find the following sum of functions:

(f + g) (x)

By definition we have to:

(f + g) (x) = f (x) + g (x)\\(f + g) (x) = 2x + 1 + x ^ 2-7\\(f + g) (x) = x ^ 2 + 2x-6

So, we have to:

(f + g) (x) = x ^ 2 + 2x-6

Answer:

(f + g) (x) = x ^ 2 + 2x-6

3 0
3 years ago
Find the equation, in slope-intercept form, of the line through the pair of points
ZanzabumX [31]

Answer:

y=-\frac{3}{2}x+\frac{7}{2}

Step-by-step explanation:

We do not have enough information for slope intercept form. But we can use the point-slope formula to find the information. The formula is y -y_{1} =m(x -x_{1}) where we substitute a point (x,y) for (x_{1},y_{1}).  

We do not have m for the slope. But we do have (1,-2) and (-3, 4). We input the points for x_{1} =1\\y_{1}=-2 and x=-3\\y=4.  

(4-(-2))=m (-3-1)

We now simplify the parenthesis and solve for m.

(4+2)=m (-3+-1)\\6=m(-4)=

We divide by -4 on both sides and find m=-\frac{6}{4} =-\frac{3}{2}. We substitute m into the point slope form with one coordinate pair.

y-(-2)=-\frac{3}{2}(x-1)\\y+2=-\frac{3}{2}(x-1)\\y+2=-\frac{3}{2}x+\frac{3}{2}\\y+2-2=-\frac{3}{2}x+\frac{3}{2}-2\\y=-\frac{3}{2}x+\frac{3}{2}+\frac{4}{2} \\y=-\frac{3}{2}x+\frac{7}{2}

After simplifying the parenthesis, we subtracted 2 from both sides. We converted 2 into a fraction with 2 as the denominator.

This is slope intercept formy=-\frac{3}{2}x+\frac{7}{2}. The line has slope -3/2 and y-intercept (0,7/2) or b=7/2.

5 0
3 years ago
You are wallpapering a wall 10 feet wide and 12 feet high with a square window with 3 foot sides. How many square feet of wallpa
kolbaska11 [484]
Hey there!


First you need to see how much you need to buy, and when you do 10 x 12 = 120.


So you need at least 120 feet to cover the wall.
 Now you have to factor in the wall, when you do 3 x 3 (B x H) = 9.
Now do, 120 - 9 = 111.

So you need 111 square feet to cover the wall.

Hope this helps!
6 0
3 years ago
Other questions:
  • Plz do both of them for me and even show the work plzzzzzz
    5·1 answer
  • A sample of ore is found to be 
    7·2 answers
  • The length and width of a rectangle are measured as 27 cm and 50 cm, respectively, with an error in measurement of at most 0.1 c
    5·1 answer
  • Michael is the youngest person in the office. Judy is the oldest person in the office. The age difference between Michael and Ju
    12·2 answers
  • Find the exact solution(s) of the equation. 1/3 . x^2
    6·1 answer
  • The next day, another group spent a total of $61. Each person in this group paid for general admission, and one person bought a
    12·1 answer
  • Do you need to use fewer centmeters than meters to measure a cabinet
    10·2 answers
  • Joy invests $13,000 into an account at an annual rate of 0.6% simple interest for 24 months. what is the principal?
    15·2 answers
  • A new shopping mall records 150 total shoppers on their first day of business. Each day after that, the number of shoppers is 15
    11·1 answer
  • Show all work to identify the asymptotes and state the end behavior of the function f(x)=3x/x-9
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!