Homework Answers

Math 51397 50414
Physics 44335 44333
Chemistry 40988 40988
Economics 30646 30644
Programming & Computer Science 26878 26876
English 10084 10084
Biology 8111 8109
Management 6239 6239
Engineering 6056 6056
History 3490 3489
Psychology 2129 2129
Sociology 1858 1858
Geography 1574 1574
Marketing 1443 1443
Philosophy 1001 1001
Political Science 892 891
Law 876 876
French 438 438
Other 199 199

Questions: 238 634

Answers by our Experts: 237 641

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

"use strict";


process.stdin.resume();

process.stdin.setEncoding("utf-8");


let inputString = "";

let currentLine = 0;


process.stdin.on("data", (inputStdin) => {

 inputString += inputStdin;

});


process.stdin.on("end", (_) => {

 inputString = inputString

  .trim()

  .split("\n")

  .map((str) => str.trim());

 main();

});


function readLine() {

 return inputString[currentLine++];

}


function main() {

 let person = JSON.parse(readLine().replace(/'/g, '"'));


 /* Please do not modify anything above this line */


 /* Write your code here and log the output */

}




length is not difined


Odd-Even-inator

by CodeChum Admin

My friends are geeking out with this new device I invented. It checks if a number is even or odd! 🤯 


Do you want to try it out?


Instructions:

  1. In the code editor, you are provided with a function that checks whether a number is even or odd.
  2. Your task is to ask the user for the number of integer, n, they want to input and then the actual n number values. For each of the number, check whether it is even or odd using the function provided for you.
  3. Make sure to print the correct, required message.

Input


1. Integer n

2. N integer values


6. Negative Decimal Tally

by CodeChum Admin

We've been giving positive numbers too much attention lately, it's time to let negative numbers take the spotlight this time!


Instructions:

  1. Input four float numbers; they could be positive or negative.
  2. Only add all inputted negative numbers, and print its sum, up to 2 decimal place.
  3. Hint: The previous/latest topic is about if-else-elseif statements, but do we need one here?

Input


1. First decimal number

2. Second decimal number

3. Third decimal number

4. Fourth decimal number

Output

The first four lines will contain message prompts to input the four decimal numbers.

The last line contains the sum of all the inputted negative numbers, with 2 decimal places.

Enter·the·first·number:·-30.22
Enter·the·second·number:·10.5
Enter·the·third·number:·-2.2
Enter·the·fourth·number:·-1.8
Sum·of·all·negatives·=·-34.22

5. Largest Digit

by CodeChum Admin

This one is a bit tricky. You're going to have to isolate each digit of the integer to determine which one is the largest, so good luck!


Instructions:

  1. Input a 3-digit integer.
  2. Print the largest digit in the integer.
  3. Tip #1: Use % 10 to get the rightmost digit. For example, if you do 412 % 10, then the result would be the rightmost digit, which is 2.
  4. Tip #2: On the other hand, use / 10 to remove the rightmost digit. For example, if you do 412 / 10, then the result would be 41.
  5. Tip #3: You'd have to repeat Tip #1 and Tip #2 three times for this problem because the input is a 3-digit integer.

Input


1. A three-digit integer

Output

The first line will contain a message prompt to input the 3-digit integer.

The last line contains the largest digit of the inputted integer.

Enter·a·3-digit·integer:·173
Largest·=·7

5. Largest Digit

by CodeChum Admin

This one is a bit tricky. You're going to have to isolate each digit of the integer to determine which one is the largest, so good luck!


Instructions:

  1. Input a 3-digit integer.
  2. Print the largest digit in the integer.
  3. Tip #1: Use % 10 to get the rightmost digit. For example, if you do 412 % 10, then the result would be the rightmost digit, which is 2.
  4. Tip #2: On the other hand, use / 10 to remove the rightmost digit. For example, if you do 412 / 10, then the result would be 41.
  5. Tip #3: You'd have to repeat Tip #1 and Tip #2 three times for this problem because the input is a 3-digit integer.

Input


1. A three-digit integer

Output

The first line will contain a message prompt to input the 3-digit integer.

The last line contains the largest digit of the inputted integer.

Enter·a·3-digit·integer:·173
Largest·=·7

A square cost of resistance 4ohm ,50 turns and side length 5cm is places with it's plane making on amgle of 40° with a uniform field 2T.In 4.5 s the coil rotates until it's plane becomes parallel to the.magnetic field.Find the current induced in the coil.


A magnetic field of 3.2T is perpendicular to a square coil of 12 turns.The length of each side of the coil is 9cm.Find the magnetic flux through the coil if the magnetic field makes an angle of 30° with the normal to the plane of the coil.

The demand and supply functions of a product are given by the following

equations: Qd =1500 - 2P and Qs = -1300 + 2P

The government announces a program to support a price increase of $30 per kg of

this grain, which imposes a price floor of $730.

A. What are the equilibrium price and quantity before price support policy?

B. What quantity of grain is purchased by the consumers, supplied by the

producers and purchased by the government at the support price?

C. What is the change in consumer surplus, producer surplus and total surplus?

What is the cost of government to implement this price support policy?

D. Later on, the government changes the price support policy and provides

subsidy of $20 per kg sold. What is the price paid by buyers, price received by

sellers, change in consumer surplus, change in producer surplus and

government cost?



1. Find the pH of the following solutions. Make sure you express your answer in the correct

number of significant digits. (12 marks)


a) 0.0010 M HClO4 …..__________ b) 2.35 x 10-3 M KOH …___________


c) 4.678 x 10-5 M HNO3..____­_____ d) 12.0 M HCl ...............…__________


e) 0.20 M Ba(OH)2 .....___________ f) 4.30 M H3O+ ...........…...__________


2. Find the [H3O+] in 0.00256 M HBr. (1 mark)


Answer ________________

3. Find the [H3O+] in 0.80 M LiOH. (2 marks)




Answer ________________

4. Find the [H3O+] in a solution with a pH = 3.216 (1 mark)



Answer ________________

5. Find the [H3O+] in 0.45 M BaO (2 marks)



Answer ________________

6. Find the [OH-] in 0.150 M HClO4 (2 marks)





20



Answer ________________



5. Float Galore

by CodeChum Admin

We've been dealing with integers too much, it's time for float to shine!


Instructions:

  1. Input five float numbers.
  2. Print out the float numbers in one line, separated by spaces, and make sure you only print up to 1 decimal place.
  3. Add the first four float numbers and check if their sum is greater than the fifth float number. Print out "Yes" if they are.

Input


1. First float number

2. Second float number

3. Third float number

4. Fourth float number

5. Fifth float number

Output

The first five lines will contain message prompts to input the five float numbers.

The next line contains the inputted float numbers.

The last line contains "Yes" if the condition is true.

Enter·the·first·number:·1.1
Enter·the·second·number:·1.2
Enter·the·third·number:·1.3
Enter·the·fourth·number:·1.4
Enter·the·fifth·number:·1.1
1.1·1.2·1.3·1.4·1.1
Yes
LATEST TUTORIALS
APPROVED BY CLIENTS