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
kiruha [24]
3 years ago
8

Explain and show work:

Engineering
1 answer:
belka [17]3 years ago
3 0

Answer:

  5

Explanation:

The sum of the digits of the number is ...

  (4+1+3)+(4+6+5)+(7+8+9) = 8+15+24 = 47

The sum of those digits is 4+7=11, and those digits sum to 1+1 = 2.

That is, the value of the number mod 9 (or 3) is 2.

The ones digit is odd, so the value of the number mod 2 is 1.

This combination of modulo values tells you the mod 6 result is 5.

_____

<em>Additional comment</em>

We can look at the (mod2, mod3) values of the numbers 0 to 5:

  0 ⇒ (0, 0)

  1 ⇒ (1, 1)

  2 ⇒ (0, 2)

  3 ⇒ (1, 0)

  4 ⇒ (0, 1)

  5 ⇒ (1, 2) . . . . the mod {2, 3} results we have for the number of interest.

This process of adding up the digits repeatedly is referred to as "casting out 9s." The result of it is the modulo 9 value of the number (with 0 mapped to 9). Checking the mod 9 result of arithmetic operations is one quick way to spot certain kinds of errors. It can also be used as part of a divisibility test for 3 or 9.

You might be interested in
Thermosets burn upon heating. a)-True b)- false?
hram777 [196]

Answer:

true

Explanation:

True, there are several types of polymers, thermoplastics, thermosets and elastomers.

Thermosets are characterized by having a reticulated structure, so they have low elasticity and cannot be stretched when heated.

Because of the above, thermosetting polymers burn when heated.

5 0
3 years ago
The thermal efficiency of two reversible power cycles operating between the same thermal reservoirs will a)- depend on the mecha
mestny [16]
C ,, i’m pretty sure .
4 0
4 years ago
Am I alive I really need to know?
Nesterboy [21]
Hell no,cause i’m not
5 0
3 years ago
Why doesn’t the servant kill the child oedipus as he was ordered to do
Anni [7]
The Servant does not kill the child Oedipus as he was ordered to do because "He pitied the child" based on the Oedipus Rex story. The servant was ordered to kill the child because of the prophecy that predicted King Laius' death. The king already had attempted to hurt Oedipus by piercing Oedipus's ankle. However, the servant did not finish the job and he rather saved the baby Oedipus.
6 0
3 years ago
(40 points) Program the following sorting algorithms: InsertionSort, MergeSort, and QuickSort. There are 9 test les uploaded for
babunello [35]

Answer:

Explanation:

MERGE SORT

#include<stdlib.h>

#include<stdio.h>

#include<string.h>

void merge(int arr[], int l, int m, int r)

{

int i, j, k;

int n1 = m - l + 1;

int n2 = r - m;

 

int L[n1], R[n2];

for (i = 0; i < n1; i++)

L[i] = arr[l + i];

for (j = 0; j < n2; j++)

R[j] = arr[m + 1+ j];

i = 0;

j = 0;

k = l;

while (i < n1 && j < n2)

{

if (L[i] <= R[j])

{

arr[k] = L[i];

i++;

}

else

{

arr[k] = R[j];

j++;

}

k++;

}

while (i < n1)

{

arr[k] = L[i];

i++;

k++;

}

while (j < n2)

{

arr[k] = R[j];

j++;

k++;

}

}

void mergeSort(int arr[], int l, int r)

{

if (l < r)

{

int m = l+(r-l)/2;

mergeSort(arr, l, m);

mergeSort(arr, m+1, r);

merge(arr, l, m, r);

}

}

void printArray(int A[], int size)

{

int i;

for (i=0; i < size; i++)

printf("%d ", A[i]);

printf("\n");

}

int main()

{

int arr[1000] = {0};

int arr_size =0;

int data;

char file1[20];

strcpy(file1,"data.txt");

FILE *fp;

fp = fopen(file1,"r+");

if (fp == NULL) // if file not opened return error

{

perror("Unable to open file");

return -1;

}

else

{

fscanf (fp, "%d", &data);    

arr[arr_size]=data;

arr_size++;

while (!feof (fp))

{  

fscanf (fp, "%d", &data);  

arr[arr_size]=data;

arr_size++;    

}

}

printf("Given array is \n");

printArray(arr, arr_size);

mergeSort(arr, 0, arr_size - 1);

printf("\nSorted array Using MERGE SORT is \n");

printArray(arr, arr_size);

return 0;

}

3 0
3 years ago
Other questions:
  • In , the industries with the most complaints to the Better Business Bureau were banks, cable and satellite television companies,
    13·1 answer
  • What is the maximum number of 12-2 with ground nonmetallic-sheathed cables permitted in an 18-cubic-inch device box if two singl
    11·2 answers
  • A biotechnology company produced 225 doses of somatropin, including 11 which were defective. Quality control test 15 samples at
    10·1 answer
  • 3 examples of technology transfer pls
    12·2 answers
  • 2 Consider airflow over a plate surface maintained at a temperature of 220°C. The temperature profile of the airflow is given as
    13·1 answer
  • thier only motto and goal is to work for society and not make any profits A.small business entreprenuership B.scalable start up
    6·2 answers
  • Help me is it a b c or d?
    14·1 answer
  • What is government role in the modern American version of capitalism
    11·1 answer
  • Cast iron has about how much carbon content?
    12·1 answer
  • PLS :(((( HELP HELPPPP
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!