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
3241004551 [841]
3 years ago
8

You are considering purchasing a compact washing machine, and you have the following information: The Energy Guide claims an est

imated yearly electricity use of 350 kW-hrs, based on 8 loads of laundry being washed per week. The Energy Guide claims an estimated yearly operating cost of $38. This estimate is based on $0.1065 per kW-hr, and eight loads of laundry being washed per week. Local electricity costs $0.086 per kW-hr. You wash four loads of laundry per week. Based on this information, first calculate the energy that would be used by this compact washing machine in a year. Then calculate the yearly energy cost. a. $3.27 b. $19.00 c. $15.34 d. $178.40

Engineering
1 answer:
RSB [31]3 years ago
8 0

Answer: $15.34

Explanation: see image below

You might be interested in
Some soil has a discharge rate of 0.1 L/s, an area of 11 m2, and a hydraulic head that is given empirically by the function H =
Artist 52 [7]

Answer:

3.03 * 10 ⁻⁴ m/s

Explanation:

see attached picture for explanation.

3 0
3 years ago
Cimmaan08 for you! Thank you again :)
fomenos

Answer:

Your welcome!!! I hope that helped!!!

Explanation:

5 0
3 years ago
Read 2 more answers
(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
Biologists use a sequence of letters A, C, T, and G to model a genome. A gene isa substring of a genome that starts after a trip
kogti [31]

Answer:

You did not mention the programming language for implementation so i am writing a JAVA code.

import java.util.Scanner; // to get input from user

public class Genome{

public static void main(String[] args) { //start of main() function body

Scanner input = new Scanner(System.in); //creates Scanner object

System.out.print("Enter a genome string: ");

//prompts user to enter a genome string

String genome = input.nextLine();

//reads the input genome string and stores it into genome variable

boolean gene_found = false;

//variable gene_found of boolean type that has two value true or false

int startGene = 0; // stores starting of the gene string

for (int i = 0; i < genome.length() - 2; i++) {

//loop moves through genome string until the third last gene character

String triplet = genome.substring(i, i + 3);

//stores the triplet of genome substring

if (triplet.equals("ATG")) {

//if value in triplet is equal to ATG

startGene = i + 3;

//3 is added to i-th position of the genome string

}

else if (((triplet.equals("TAG")) || (triplet.equals("TAA")) || (triplet.equals("TGA"))) &&(startGene != 0))

//checks if the genome ends with one the given triplets TAG TAA and TGA

{ String gene = genome.substring(startGene, i);

gene stores substring of genome string from startGene to the position i

if (gene.length() % 3 == 0)

//if the the mod of gene length is 0 then the gene is found

{gene_found = true;

System.out.println(gene); //returns the found gene

startGene = 0;} } }

if (!gene_found) //if gene is not found returns the message below

System.out.println("no gene is found"); }  }

Explanation:

This program first asks user to enter a genome string.

The loop starts from the first character of the entered string and this loop continues to execute until the value of i is 2 less than the genome input string length.

triplet variable stores first 3 characters of the genome string in first iteration and then moves through the string taking 3 characters each. This is done by dividing genome string to substring of 3 characters.

If condition checks if the 3 characters of genome string matches ATG using equals() function. If it is true this means start of genome is reached and these triplets are stored in startGene.

Else condition checks the end of the genome as the genome ends before one of TAG, TAA or TGA triplets. So this is checked here.

gene variable holds the triplet value stored in startGene and the value stored in index position i which means it holds the start of the genome till the end of the genome sequence. The end which is pointed by i variable is 2 less than the genome length and it is stored in gene variable.

After the loop ends the substring stored in gene variable is checked for a valid genome sequence by mod operator. If the length of the value stored in gene variable mod 0 is equal to 0 this means genome sequence is found and this string sequence stored in gene is displayed else the no gene is found message is displayed on output screen.

7 0
3 years ago
Consider a C.T. system in s-plane below. Draw DF1 (Direct Form 1) realization. (by hand) Perform system realization using MATLAB
spin [16.1K]

Answer:

See the attached file for the answer.

Explanation:

See the attached file for the explanation

5 0
3 years ago
Other questions:
  • The accumulated value in an up-counter instruction is currently 7. What will be the accumulator value after the following series
    14·1 answer
  • The lower yield point for an iron that has an average grain diameter of 1 × 10–2 mm is 230 MPa. At a grain diameter of 6 × 10–3
    9·1 answer
  • A piston–cylinder assembly contains 5 kg of air, initially at 2.0 bar, 30 C. The air undergoes a process to a state where the pr
    6·1 answer
  • Mahamad Siddiqui sent false emails and letters of recommendation on behalf of individuals without their permission to nominate h
    12·1 answer
  • Describe an E2 mechanism
    6·1 answer
  • What is the name for a program based on the way your brain works?
    13·2 answers
  • ITS A TESTS PLSSS I NEED THIS RN
    6·1 answer
  • Sort the following alphabets using MergeSort and give required steps. [2 Marks]
    9·1 answer
  • (D)<br> 13. Describe the differences between an impact socket and a conventional socket.
    6·1 answer
  • Design brief of circuit diagram
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!