Define a method pyramidVolume with double parameters baseLength, baseWidth, and pyramidHeight, that returns as a double the volume of a pyramid with a rectangular base. Relevant geometry equations: Volume

Answers

Answer 1
Question:

Define a method pyramidVolume with double parameters baseLength, baseWidth, and pyramidHeight, that returns as a double the volume of a pyramid with a rectangular base. Relevant geometry equations:

Volume = base area x height x 1/3

Base area = base length x base width.

(Watch out for integer division)

import java.util.Scanner;

public class CalcPyramidVolume {

   /* Your solution goes here */

   public static void main (String [] args) {

     System.out.println("Volume for 1.0, 1.0, 1.0 is: " + pyramidVolume(1.0, 1.0,   1.0));

     return;

    }

}

Answer:

import java.util.Scanner;

public class CalcPyramidVolume {

   /* Your solution goes here */

   public static void main (String [] args) {

       System.out.println("Volume for 1.0, 1.0, 1.0 is: " + pyramidVolume(1.0, 1.0, 1.0));

       return;

   }

   

   //Begin method definition

   public static double pyramidVolume(double baseLength, double baseWidth, double pyramidHeight){

       

       //First, calculate the base area of the pyramid

       //store the result in a double variable

       double baseArea = baseLength * baseWidth;

       

       //Then, calculate the volume of the pyramid

       //using the base area and the base width

       double volume = 1 / 3.0 * baseArea * pyramidHeight;

       

       //return the volume

      return volume;

   }

}

Output:

Volume for 1.0, 1.0, 1.0 is: 0.3333333333333333

Explanation:

The code above contains comments explaining the important lines of the code. The output of the code has also been provided above.

The parts of the code that are worth noting are:

(i) The return type of the method pyramidVolume should be a double since calculations are done using double values. i.e the method header should be written as

public static double pyramidVolume(){

}

(ii) The method requires three(3) parameters of type double: baseLength, baseWidth and pyramidHeight. These should be included in the method. Therefore, the complete header definition should be:

public static double pyramidVolume(double baseLength, double baseWidth, double pyramidHeight){

}

(iii) The formula for calculating the volume of the pyramid should be:

volume = 1 / 3.0 * baseArea * baseWidth;

Rather than;

volume = 1 / 3 * baseArea * baseWidth;

This is because integer division yields integer result. If 1 / 3 is evaluated, the result will be 0 since the decimal part will be truncated thereby making the result of the volume = 1 / 3 * baseArea * baseWidth will be 0.

Therefore, the work around for that should be to write 1 / 3.0 or 1.0 / 3.0 or 1.0 / 3.

(iv) After the calculation, the result of volume should be returned by the method. This will enable a proper call by the main method for execution.


Related Questions

Topic: Graphs.1.) Bob loves foreign languages and wants to plan his courseschedule for the following years. He is interested in the followingnine language courses: LA15, LA16, LA22, LA31, LA32, LA126, LA127,LA141, and LA 169. The course prerequisites are.i.) LA15: (None)ii.) LA16: LA 15iii.) LA22: (None)iv.) LA31:LA 15v.) LA32:LA16, LA31vi.) LA126: LA22, LA32vii.) LA127: LA 16viii.) LA141:LA22, LA 16ix.) LA 169: LA32.Find the sequence of courses that allows Bob to satisfy allthe prerequisites.

Answers

Answer:

  LA15; LA22

LA16; LA31; LA32

  LA169; LA126;

  LA127; LA141

Explanation:

Given

[tex]Courses: LA15,\ LA16,\ LA22,\ LA31,\ LA32,\ LA126,\ LA127,\ LA141,\ LA 169.[/tex]

Required

Course sequence to satisfy the prerequisite

From the course prerequisite, we have:

[tex]1.\ LA15 \to None[/tex]    and    [tex]3.\ LA22 \to None[/tex]

This means that LA15 and LA22 are the base courses, and they have no prerequisite. So, we have:

[tex][LA15; LA22][/tex]

LA16 and LA31 have LA15 as their direct course prerequisite. So, the sequence becomes

[tex][LA15 \to [LA16, LA31]; LA22][/tex]

To complete the sequence, we read each course and place them other their prerequisite.

See attachment for complete tree

From the tree, we have the sequence to be:

LA15; LA22

LA16; LA31; LA32

LA169; LA126;

LA127; LA141

A network engineer is troubleshooting a newly deployed wireless network that is using the latest 802.11 standards. When users access high bandwidth services such as streaming video, the wireless network performance is poor. To improve performance the network engineer decides to configure a 5 Ghz frequency band SSID and train users to use that SSID for streaming media services. Why might this solution improve the wireless network performance for that type of service

Answers

Answer:

it will make the wireless network faster and it is a performance network i am pretty sure.

Explanation:

Advancements in technology often make computer
hardware and software more convenient to use as
well as able to fit a variety of budgets. As
technology advances, it usually gets
smaller and less expensive.
larger and more expensive.

Answers

Answer: smaller and less expensive.

Explanation:

As technology advances, the architects of the devices that we use are getting more efficient in the production of said devices such that they are using better materials and techniques in production.

This has led to a situation where devices are increasingly getting smaller in size and cheaper to afford as well. For instance, compare the computers of today to those of the 90's. We have laptops now which are really slim and cost a fraction of what the bulky computers of those days cost.

what are the process of boots up a computer?​

Answers

Answer:

The process of boot-up a computer are: Power On, POST, Load BIOS, Operating system load, and transfer of control to the OS.

Answer:

» Switch on the power from the power source.

» The power supply sends electric signals to the motherboard.

» The BIOS performs the POST ( Power On Self Test)

» The CMOS chip loads configurations in the RAM

» The kernel of the operating system loads files in the hard disk.

» The operating system loads the welcome screen, where the computer varifies the user to see if he or she is a legitimate user through a password.

» Load the desktop.

What lets you do many things, like write book reports and stories?

Application Programs

Antivirus Software

Email

Duct Tape

Answers

A -
Application programs
application progarms lets you do many things

Alani downloads a game called Kandy Krush from the app store. The app prompts her to enter her Social Security number (SSN) before playing. Alani asks her friend for advice. Which advice should her friend give

Answers

Answer:

"The game shouldn't need your SSN to be playable; don't enter it."

Explanation:

The game shouldn't need your SSN to be playable; don't enter it."

What is SSN?

A numerical identification code known as a Social Security number (SSN) is given to residents and citizens of the United States in order to track income and calculate benefits.

As a component of The New Deal, the SSN was established in 1936 to offer benefits for retirement and disability. The SSN was first created to track earnings and offer benefits. Today, it is also utilized for other things including tracking credit reports and identifying people for tax purposes.

In the US, people are required to provide their SSN in order to open bank accounts, apply for government benefits, get credit, make large purchases, and more.

Therefore, The game shouldn't need your SSN to be playable; don't enter it."

To learn more about SSN, refer to the link:

https://brainly.com/question/2040269?

#SPJ5

Write a function that accepts a positive random number as a parameter and returns the sum of the random number's digits. Write a program that generates random numbers until the sum of the random number's digits divides the random number without remainder. assembly language

Answers

Answer:

Explanation:

The following Python program has a function called addDigits which takes a number as a parameter and returns the sum of the digits. Then the program creates a loop that keeps creating random numbers between 222 and 1000 and divides it by the value returned from the function addDigits. If the remainder is 0 is prints out a statement and breaks the loop, ending the program. The picture below shows the output of the program.

import random

def addDigits(num):

   sum = 0

   for x in str(num):

       sum += int(x)

   return sum

sum = addDigits(random.randint(222, 1000))

while True:

   myRandomNum = random.randint(2, 99)

   if (sum % myRandomNum) == 0:

       print("No remainder between: " + str(sum) + " and " + str(myRandomNum))

       break

state the function of a URL in a website​

Answers

Answer:

It's purpose is to access a webpage.

Explanation:

A URL contains detailed information on the webpage such as, the domain name, protocol, and path. This information directs the browser to the desired page.

Where do I look for a deep learning mentor who can assist me in my career?​

Answers

The answer:

You have to pay for it man!

Explanation:

You can find a lot of services from Fiverr and Upwork etc. But that would need to pay a lot for it.

Suppose you joined a company that had a WAN composed of SONET, T carrier, and frame relay services, each selected to match a specific network need for a certain set of circuits. Would you say this was a well-designed network

Answers

Answer:

Colts, gan 8 This depends on depends on How suitable the varbus technolog. A axe fol the Applicationd Supporlds Today, increasingly Network...

For a processor with primary caches only, an instruction cache miss rate of 1%, a data cache miss rate of 5%, a instruction mix of 30% data accesses, and a cache miss penalty of 80 cycles, what will be the contribution to total CPI from the cache misses

Answers

Answer:

2

Explanation:

Instruction cache miss rate = 1% = 0.01

Data cache miss rate = 5% = 0.05

data access Instruction mix = 30% = 0.3

Cache miss penalty = 80 cycles

Determine the contribution to total CPI from the cache misses

Assume cache access time = 1 clock cycle

CpI ( average ) =  1 + (0.01 * 0.7 + 0.05 * 0.3) * 80 = 2.76

∴ contribution to total CPI from cache miss = 2.76 - 0.76 = 2


Digital collaboration tools can ensure that clients are able to record their
requests or issues. This would be particularly important to people working in
which field?
A. Science and engineering
B. Customer service
C. Human resources
D. Internet and media

Answers

Answer:

Option B, Customer service

Explanation:

People working in customer service industry  continuously record their conversation with the customer for future references. These recordings are used to tally order placed, issue raised or help seeked so that maximum customer satisfaction can be ensured.

Hence, option B is correct

Consider the following statements, taken from three different Jack programs. In each one of these programs, the identifier foo represents a different thing: let x = 5 + foo - a // program 1. Here foo represents a simple variable. let y = foo[12] - 3 // program 2. Here foo represents an array. let z = 2 * foo.val() // program 3. Here foo represents an object. Suppose that we are parsing any one of these statements (we don’t know which), and that the current token is foo. What kind of parser do we need to determine if we have a simple variable, an array reference or a method call?

Answers

Answer:

instanceOf

Explanation:

The parser that would be best suited for this scenario would be the instanceOf keyword, which is part of the javaParser class. This keyword allows you to check if a variable is a simple variable, an array reference or a method call through an IF statement. If it is equal to the compared type it will return a boolean value of True, otherwise it will return False. This keyword is used in Java and Javascript to check the type of the variables in scenarios such as this one.

write a program to input a character (ch)convert the character into its opposite case. print the entered character in the new character the program should reject if the elector entered is not an alphabet A to z or a to z your program should continue as long as the user wants.
[tex]write \: in \: java [/tex]

Answers

Answer:

import java.util.Scanner;  

import java.lang.*;

class Main {

 public static void main(String[] args) {

   boolean exit = false;

   Scanner reader = new Scanner(System.in);

   while(!exit) {

     char c = '?';

     while( !Character.isLetter(c)) {

       System.out.print("Enter a letter or * to exit: ");

       c = reader.next().charAt(0);

       if (c == '*') {

         exit = true;

         break;

       }

       if (!Character.isLetter(c)) {

         System.out.printf("Error: %c is not a letter!\n", c);

       }

     }

     if (Character.isLowerCase(c)) {

       System.out.printf("%c in uppercase is %c\n", c, Character.toUpperCase(c));

     } else if (Character.isUpperCase(c)) {

       System.out.printf("%c in lowercase is %c\n", c, Character.toLowerCase(c));

     }

   }

   reader.close();

 }

}

Explanation:

I decided to use the asterisk (*) as exit character.

What are the characteristic features of TFTP?

Answers

Answer:

TFTP Server is used for simple file transfer

Explanation:

Example

boot-loading remote devices

SummaryIn this lab, you complete a partially written C++ program that includes a function named multiplyNumbers() that multiplies two int values to find their product.Three ints should be passed to the multiplyNumbers() function, the two numbers to be multiplied (num1 and num2) should be passed by value, and another int (product) to hold the product of the two numbers should be passed by reference, enabling the multiplyNumbers() function to change its value.The source code file provided for this lab includes the necessary variable declarations and input and output statements. Comments are included in the file to help you write the remainder of the program.Instructions:Open the source code file named MultiplyTwo.cpp using the code editor.Write the multiplyNumbers() function, the function declaration, and the function call as indicated by the comments.Execute the program by clicking "Run Code."Rewrite the multiplyNumbers() function to pass the two numbers (num1 and num2) by value and to pass product by address.Execute the program. It should generate the same output.// MultiplyTwo.cpp - This program calculates the product of two numbers.// It demonstrates pass by reference and then pass by address.// Input: None// Output: The product of two numbers#include using namespace std;// Write function declaration hereint main(){int num1 = 10;int num2 = 20;int product = 0;// Print value of product before function callcout << "Value of product is: " << product << endl;// Call multiplyNumbers using pass by reference for product// Print value of calculated productcout << num1 << " * " << num2 << " is " << product << endl;return 0;} // End of main function// Write multiplyNumbers function here; use pass by reference for result of multiplication. Then use pass by address.

Answers

Answer:

Declare the method prototype using:

void multiplyNumbers(int x, int y,int &product);

Call the function using:

multiplyNumbers(num1, num2,product);

Lastly, the method is as follows:

void multiplyNumbers (int x, int y,int &product) {

  product = x * y;

  return; }

Explanation:

Declare the method prototype using

void multiplyNumbers(int x, int y,int &product);

Call the function using

multiplyNumbers(num1, num2,product);

The method is as follows; the & written in front of product implies that product is passed by reference

void multiplyNumbers (int x, int y,int &product) {

This calculate the product

  product = x * y;

This returns nothing

  return; }

See attachment for complete program

The term ________ refers to the use of a single unifying device that handles media, Internet, entertainment, and phone needs. Group of answer choices

Answers

The term [tex]\sf\purple{digital \:convergence}[/tex] refers to the use of a single unifying device that handles media, internet, entertainment, and phone needs.

[tex]\large\mathfrak{{\pmb{\underline{\red{Happy\:learning }}{\orange{.}}}}}[/tex]

What is blockchain in detail?

Answers

Question

What is blockchain?

Answer

Blockchain is a system of recording information in a way that makes it difficult or impossible to change, hack, or cheat the system. It is essentially a digital ledger of transactions that is duplicated and distributed across the entire network of computer systems.

❄❄❄❄❄❄❄

hope this helps you !!

enjoy your day

◕ ◡ ◕

Peter wants to make sure his code is going to work. He has Sally act as the computer mentally checking each step and its results for the entire set of computer instructor. Sally is performing a ________.
A) Inspections
B) Walk-throughs
C) Desk check
D) Unit test

Answers

The answer is B walk throughs

The fact that Sally act as the computer by mentally checking each step means she's performing B. walk throughs.

What is a computer?

A computer simply means an electronic machine that's important to make one's work easier and faster.

In this case, the fact that Sally act as the computer mentally checking each step means she's performing the walk throughs.

Learn more about computer on:

https://brainly.com/question/24540334

Give a name of the part responsible for memorising a cell phone number​

Answers

cerebrum

Explanation:

it controls all voluntary actions and also controls all the higher thought processes such as memory, judgement and reasoning

In the header element, insert a navigation list containing an unordered list with the items: Home, Race Info, and FAQ. Link the items to the dr _index.html, dr_info.html, and dr_ faq.html files respectively.
Home
Race info
FAQ

Answers

Answer:

Explanation:

The following is a barebones HTML document that contains the Unordered List inside the header tag as requested. The list items are also wrapped around links so that they link to the requested pages and take you there when they are clicked. These html files need to be in the same folder as this code in order for it to take you to those pages. The code can be seen below.

<!DOCTYPE html>

<html>

<head>

<ul>

   <li><a href="dr _index.html">Home</a></li>

   <li><a href="dr_info.html">Race Info</a></li>

   <li><a href="dr_ faq.html">FAQ</a></li>

</ul>

</head>

<body>

</body>

</html>

Azzam is reviewing a paper he just wrote about kinetic friction for his physics class. On the third page, he realizes that every time he wrote "coefficient of friction," he should have written "coefficient of kinetic friction." He uses the Find and Replace tool and clicks on "Replace All" to fix the issue, but then when prints out the paper, he sees "coefficient of friction" in the first paragraph. What is most likely the reason why the phrase was not fixed? Azzam used Find and Replace instead of the Spell Checker. O Azzam clicked "Replace All" instead of "Replace." O Azzam used the tool while he was on the third page. Azzam did not set up the proper printing options.​

Answers

Answer: Azzam used the tool while he was on the third page

Explanation:

The most likely the reason why the phrase was not fixed is because Azzam used the tool while he was on the third page.

This can be infered from the information given when we're told that he uses the Find and Replace tool and clicks on "Replace All" to fix the issue with regards to the error that he made and thus was done from the third page. Therefore, the tool might not have worked for the first page.

The volumes of data collected by contemporary organizations are so huge that they are beyond the ability of typical DBMS to capture, store, and analyze. These big data may be unstructured or semi-structured and are not suitable for relational DBMS products. What are the new technologies developed to handle the big data

Answers

Answer:

Some of the new technologies developed to handle the big data are as follows:

1. In-memory Databases

2. Blockchain

3. NoSQL Databases

4. Edge Computing

5. Streaming Analytics.

6. Artificial Intelligence

Explanation:

Some of the new technologies developed to handle the big data are explained as follows:

1. In-memory Databases: This allows for rapid and easy access to data and analytics, which can be used to inform a variety of business choices. In-memory computing provides the information required to improve marketing, finances, and operations efficiency.

2. Blockchain: Blockchain is the distributed database technology that underpins the Bitcoin digital currency, and it's a darling among forward-thinking analysts and venture capitalists. The distinctive feature of a blockchain database is that data can't be erased or changed after it's been written. Furthermore, it is extremely secure, making it a perfect solution for sensitive industries such as retail, insurance, health care, banking, and among others.

3. NoSQL Databases: NoSQL databases are used to store unstructured data and offer quick performance. This implies it can handle a wide range of data formats in high volumes while remaining flexible. MongoDB, Redis, and Cassandra are examples of NoSQL databases.

4. Edge Computing: Edge computing systems evaluate data very near to where it was originated — at the network's edge — rather than sending it to a centralized server for analysis. An edge-computing system has the advantage of minimizing the quantity of data that must be transferred over the network, therefore lowering network traffic and expenses.

5. Streaming Analytics: By analyzing data as it is created, Streaming Analytics allows for faster and faster access to insights. Streaming Analytics can also take data from a variety of sources, evaluate it, and offer insights almost instantly.

6. Artificial Intelligence: Artificial intelligence has the ability to transform data analytics by learning (from previous analytic activities) and improving the speed and accuracy of outputs over time. Artificial intelligence has the ability to make accurate future predictions based on current events with vast amounts of data to draw from, as well as analytic results from previous inquiries.

Discuss the impact of Python and other open source programming languages on electronic health records and the health care industry. What are the advantages of using open-source programming

Answers

Answer:

Explanation:

Python itself has had an enormous impact on all types of industries including the health care industry. This is mainly due to its ability to easily implement data analysis techniques and artificial intelligence. These combined allow developers to implement artificial intelligence that analyzes large sets of data to pinpoint interesting patterns, which can save lives and detect at-risk individuals using health care records. This is all made possible because it is an open-source language. This means that anyone can use it without having to pay for it. This basically allows anyone to build amazing new features and software without having to worry about gathering the money to pay for licensing fees.

name the box where the name of the first cell of the selected range appears?
i need help i would be happy if u helped​

Answers

Answer:

Name box

Explanation:

From the picture, the name box is at the top left corner with B1 written inside, here B1 is written because it is the active cell at the time which also happens to be the first cell of the selected range. The name box can be used to easily create a named ranges rather Than having to draw the mouse over a group of cells. It also helps to know which cell is the current active cell as the cell address in the name box is the active cell at any point in time.

A generic information systems planning methodology that identifies and defines IS development projects based upon solving operational business problems or taking advantage of some business opportunities defines:______.a. democratic planning.b. bottom-up planning.c. top-down planning.d. foundation planning.

Answers

Answer:

Option b (bottom-up planning ) is the correct approach.

Explanation:

This kind of planning gives clients additional emphasis to their program since a greater amount of individuals are participating, that every single person has its unique knowledge, which is termed as Bottom-up planning.it is always a positive thing promoting morality since it promotes the engagement of employees towards company strategy.

All other three alternatives aren't connected to the given query. So the above would be the correct solution.

how do computers help us with our homework​

Answers

A computer can be helpful in completing homework because it gives you access to lots of sources of information like graphing websites, calculators, educational games & programs that can help you. It also allows for an easier process to submit work, organize papers, & presentations.

xD I don't know if you said this as a joke, or if you're serious, but here:

A computer can be a helpful tool to complete your homework by giving you access to countless sources of information, it can also provide you with educational games which can enhance a child's learning ability by presenting learning as something fun and interactive as opposed to boring loads of repeated work which barely stimulate learning at all. But keep in mind that a computer can also take the opposite effect on a child's brain, and can gradually turn into addiction.

I hope this helps! :D

(FYI, I spent an unreasonable amount of time typing this all in, so I hope it makes any difference at all :P)

According to the Gabriela Colman talk, one of the main hackers in Anonymous was a(n) ____________________ agent.

Answers

Answer: FBI agent

Explanation:

According to Gabriela Colman talk, 4chan was the imageboard that Anonymous was organized on. According to Gabriela Colman, Anonymous had many faces.

According to the Gabriela Colman talk, one of the main hackers in Anonymous was also a FBI agent.

which is the best monitor and why?​

Answers

Answer:

dksjnejknfkjssjhflkjZfijthajwhj

Explanation:

fjnskjenkjnewkjnfkjs

There are several types of software development methods, but almost all of them are based on the ________ model.

Answers

Answer:

Waterfall

Explanation:

The waterfall model development strategy may be classed as a flexible design architecture exhibiting a linear operational sequence with each phase being largely dependent on the preceeding phase. Each phase of the waterfall has clearly defined task ; usually starting with the requirement phase where use cases and required docs are gathered, then the design, which caters for the software architecture, the the implementation (which is the main software build) followed by verification and maintainance.

We can see that the waterfall method is sequential and not extremely complex as it follows an entirely linear process.

Other Questions
2. Why was slavery so important to the South?Pls answer quick A company purchased $3,300 worth of merchandise. Transportation costs were an additional $290. The company returned $230 worth of merchandise and then paid the invoice within the 3% cash discount period. The total cost of this merchandise is: Buying many shares at a start-up company most likely means expecting much safer returns being quite risky being greedy being retired or close to retirement Maria put 18 crayons in 3 different baskets. She put the number of crayons in each basket.How many crayons did Maria put in each basket? b) 6a and 6b are having a competition to see who can make the most money for Red Crescent. 6a make $2 for every $3 that 6b make. If 6a makes $30 AED profit how much will 6b make? One of the themes of "The Rocking-Horse Winner" is: A. the dangers of greed B. the challenges of parenting C. the difficulties of lonliness D. the beauty of financial freedomplz help me HELPPPPPPPPPP FASTTTTTTT HELP PLEASE I NEED HELP RIGHT NOW! PLEASE NO LINKS I will give Brainliest to correct answer! Two searchlights on the shore of a lake are located 3020 yd apart. A ship in distress is spotted from each searchlight. The beam from the first searchlight makes an angle of 38 degrees with the baseline. The beam from the second light makes an angle of 57 degrees with the baseline. Find the ship's distance from each searchlight. A program developed for a Web store represents customer account balances using a format that approximates real numbers. While testing the program, a software developer discovers that some values appear to be mathematically imprecise. Which of the following is the most likely cause of the imprecision? A. The account balances are represented using a fixed number of bits, resulting in overflow errors. B. The account balances are represented using a fixed number of bits, resulting in round-off errors.C. The account balances are represented using an unlimited number of bits, resulting in overflow errors. D. The account balances are represented using an unlimited number of bits, resulting in round-off errors. Which option best completes this diagram?A.The right to an educationB.The right to attack slaveholdersC.The right to work on plantationsD.The right to avoid taxes 1 FLAGA nurse is caring for a client who is scheduled for an intravenous urography. Which of the following interventions is the nurse's priority? Please Hurry]. Read the conversation and determine if the following statement is true or false. Look at the picture. ( Only Answer If Your 100% Correct..Will Mark Brainliest. [Second Question] El plan es ir primero al norte y despues al sur de Espana. Sejauh manakah perubahanpentadbiran yang dibawaoleh kuasa Barat memberikesan di negeri Perak? How do you think the climate influenced the types of homes and building materials used by the ancient Greeks? Suppose you've just inherited $10,000 from a relative. You're trying to decide whether to put the $10,000 in a non-interest-bearing account so that you can use it whenever you want (that is, hold it as money) or to use it to buy a U.S. Treasury bond.The opportunity cost of holding the inheritance as money depends on the interest rate on the bond.For each of the interest rates in the following table, compute the opportunity cost of holding the $10,000 as money.Interest Rate on Government Bond (Percent) Opportunity Cost (Dollars per year)8 _____ (10,000.00 / 800.00 / 0.08 / 8.00 / 125,000.00)10 _____ (10,000.00 / 10.00 / 100,000.00 / 1,000.00 / 0.10)What does the previous analysis suggest about for money?a. The quantity of money demanded decreases as the interest rate rises.b. The quantity of money demanded increases as the interest rate rises.c. The supply of money is independent of interest rate. Please correct the error(s) in the passage below.The first dish served was a fish carpaccio, litely marinated in soy sauce and rice wine vinegar.The fish itself was tender and flavorfull.Change "litely" to "lightly" and "flavorfull" to "flavorful."Change "litely" to "lightly."Combine the two sentences into a single statement.The passage is correct as written. Lara charges $12 per hour for babysitting. If f represents Lara's total fee after babysitting for h hours, which answer choice shows two correct equations that could be used to model the problem?A: f=112handh=12f B: h=112fandf=12h C: f=h+12andh=f12 D: h=f+12andf=h12 3. At a manufacturing plant, it is known that 8% of the computer chips produced are defective. A random sample of 20 chips is taken.What is the probability that 3 of those chips are defective?. Plants get their food by which of the following ways? A. Making it from sunlightB.Eating other plants C. Absorbing it from the soil D.Taking nutrients from the air