Homework Answers

Math 50414 50414
Physics 44332 44332
Chemistry 40988 40988
Economics 30643 30643

Questions: 207 418

Answers by our Experts: 207 418

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

You are given an array of N non-negative integers: A1A2, ..., AN. An alternating subsequence is a subsequence in which the indices of any two consecutive elements differ by exactly two in the original array. That is, if Ai1Ai2, ..., Aik is some subsequence, then for it to be an alternating subsequence, (i2 - i1 = 2), (i3 - i2 = 2), and so on should all hold true. Among all alternating subsequences, find the one which has maximum sum of elements, and output that sum.


Modify the following program to check for reasonable inputs (or reject un-reasonable ones). For example, a negative GPA or test score, or a GPA of 10 or a test score of more than 100.


using System;


namespace Admit

{

  class Program

  {

    public static void Main(string[] args)

    {

      float avg;

      int score;

      Console.WriteLine("Grade point average: ");

      avg = float.Parse(Console.ReadLine(), System.Globalization.CultureInfo.InvariantCulture); //decimal mark is "."

      Console.WriteLine("Admission test score: ");

      score = int.Parse(Console.ReadLine());

      if ((avg >= 3) && (score >= 60) || (avg < 3) && (score >= 80))

        Console.Write("Accept");

      else

        Console.Write("Reject");

      Console.ReadKey(true);

    }

  }

}



4. The charging battery of a parallel-plate capacitor was disconnected and a dielectric slab is inserted. What happens to the potential difference upon insertion?





a. increase by a factor of K




b. decreases by a factor of K




c. remains the same




d. cannot be determined






5. Which of the following statements is correct about the electric field of a capacitor?





a. Electric field without dielectric is stronger than the field inside the dielectric




b. Electric field without dielectric is weaker than the field inside the dielectric




c. Both a and b




d. neither a nor b









1. What is the impact of inserting dielectrics between conductor plates of a capacitor? The capacitance______.




a. decreases



b. remains the same



c. increases



d. cannot be determined





2. Which of the following arrangement of dielectric materials shows a decreasing change in the capacitance when inserted?




a. air, paper, porcelain, water



b. porcelain, air, paper, water



c. paper, porcelain, air, water



d. water, porcelain, paper, air





3. What happens to the charge of a capacitor when a dielectric material is inserted between metal plates connected to a 12-V battery?




a. increase by a factor of K



b. decreases by a factor of K



c. remains the same



d. cannot be determined






A milk carton can hold 3.78 liters of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one liter of milk is 0.38, and the profit of each carton of milk is 0.27.


Write a program that does the following:

a. Prompts the user to enter the total amount of milk produced in the morning

b. Outputs the number of milk cartons needed to hold milk (Round your answer to the nearest integer.)

c. Outputs the cost of producing milk

d. Outputs the profit for producing milk


if the internal energy of reaction is 480J and the system absorbs 839J of heat from its surrounds,

a. Find the amount of work

b. Is the work done by system or work is done on the system? Explain


What is the meaning of nano-material

You are given an array of N non-negative integers: A1A2, ..., AN. An alternating subsequence is a subsequence in which the indices of any two consecutive elements differ by exactly two in the original array. That is, if Ai1Ai2, ..., Aik is some subsequence, then for it to be an alternating subsequence, (i2 - i1 = 2), (i3 - i2 = 2), and so on should all hold true. Among all alternating subsequences, find the one which has maximum sum of elements, and output that sum.


A force F=100N points 300 with respects to the x-axis. The force acts on an object of mass 5kg.

a. what is the magnitude and direction of the acceleration of that object ? [3+2 marks]

b. what are the magnitudes of the x-components of the force and the acceleration (Fx and ax)?


An egg distribution company uses different sizes of packings for eggs, that is, 30 eggs packing, 24 eggs packing, 18 eggs packing, 12 eggs packing and 6 eggs packing. Write a program which prompts user to enter total number of eggs (input validation is always must) to be packed and then calculate how many packings of each size will be possible. Also tell if there will be any eggs left to be packed.


LATEST TUTORIALS
APPROVED BY CLIENTS