1. Complete the following program so that it computes the maximum and minimum of the elements in the array. Write the program so that it works even if the dimensions of the rows and columns are changed. (Use length rather than hard-coded numbers.)
Think carefully about how max and min should be initialized. Debug your program by editing the array. Change it in unexpected ways, such as all negative values, or the largest element as the last, or first, or all elements the same.
import java.io.* ;
class ArrayMaxMin
{
public static void main ( String[] args )
{
int[][] data = { {3, 2, 5},
{1, 4, 4, 8, 13},
{9, 1, 0, 2},
{0, 2, 6, 3, -1, -8} };
// declare and initialize the max and the min
???
//
for ( int row=0; row < data.length; row++)
{
for ( int col=0; col < ???; col++)
{
???
}
}
// write out the results
System.out.println( "max = " + max + "; min = " + min );
}
}
2. Modify the program so that it computes and prints the largest element in each row.
Requirements: Looping, bounds checking, initializer lists.

Answers

Answer 1

Answer:

See Explanation

Explanation:

The line by line explanation of the modified program is as follows:

(1)

min is declared and initialized to the highest possible integer and max is declared and initialized to the least possible integer

int min,max;

min = Integer.MAX_VALUE; max = Integer.MIN_VALUE;

This iterates through each row. Because each row has a different number of elements, the row length of each is calculated using data[row].length

for ( int [tex]col=0; col[/tex]< [tex]data[row].length[/tex]; col++){

The following if statements get the minimum and the maximum elements of the array

   if(data[row][col] < min){         [tex]min = data[row][col];[/tex]    }

   if(data[row][col] > max){         [tex]max = data[row][col];[/tex]     }

(2):

The loop remains the same, however, the print statement is adjusted upward to make comparison between each row and the highest of each row is printed after the comparison

for ( int [tex]row=0; row[/tex] < [tex]data.length;[/tex] row++){

for ( int [tex]col=0; col[/tex]< [tex]data[row].length;[/tex] col++){

   if(data[row][col] > max){         [tex]max = data[row][col];[/tex]     }

}

System.out.println( "max = " + max);

max = Integer.MIN_VALUE; }

See attachment for complete program that answers (1) and (2)


Related Questions

Your tasks include identifying competitors, determining your company's market penetration and consulting market research sources. These tasks are examples of:
This task contains the radio buttons and checkboxes for options. The shortcut keys to perform this task are A to H and alt+1 to alt+9.
A

search engine optimization (SEO).
B

off-site Web analytics.
C

on-site Web analytics.
D

pay-per-click.

Answers

Answer:

B. off-site Web analytics.

Explanation:

Marketing can be defined as the process of developing promotional techniques and sales strategies by a firm, so as to enhance the availability of goods and services to meet the needs of the end users or consumers through advertising and market research. The pre-service strategies includes identifying the following target market, design, branding, market research, etc.

Market research can be defined as a strategic technique which typically involves the process of identifying, acquiring and analyzing informations about a business. It involves the use of product test, surveys, questionnaire, focus groups, interviews, etc.

Web analytics refers to a strategic process which typically involves the collection of data, as well as the study of user behavior in an attempt to enhance or boost market share and sales. It is divided into two main categories;

I. on-site Web analytics.

II. off-site Web analytics.

In this scenario, your tasks include identifying competitors, determining your company's market penetration and consulting market research sources. These tasks are examples of off-site Web analytics.

The Binder Prime Company wants to recognize the employee who sold the most of its products during a specified period. Write a query to display the employee number, employee first name, employee last name, email address, and total units sold for the employee who sold the most Binder Prime brand products between November 1, 2017, and December 5, 2017. If there is a tie for most units sold, sort the output by employee last name

Answers

The answer will be one month

Greedy Algorithm Design
A couple wants to buy n major items. They will buy one item per month. They will buy all of their items at the CrazySuperStore. Due to the current economy, it is known that at some point in the future there will be a single price hike on all items at the same time, but due to the uncertainty of economic processes, it is not known when that price hike will occur. For each of the n items the couple wants to buy, both the current price, ai and the future price, bi (bi > ai), are known. (Note that the individual price hikes on items may vary. For example, one item may go from $100 to $105 while another might go from $300 to $400. They only assumption you may make about the prices is that the second price is strictly higher than the first and that you have access to all before/after prices.) Devise a greedy strategy so that the couple is guaranteed to minimize the amount of money they spend on the items. Assume that no matter what, the couple will buy all items. Clearly describe your strategy and intuitively (or formally) prove why it's optimal.

Answers

Answer:

The algorithm is as follows:

1. Start

2. Get the number of items (n)

3. Get the current price of the n items (a1, a2..... an)

4. Get the possible hiked price of the n items (b1, b2..... bn)

5. Calculate the difference between the current and hiked prices for each item i.e. [tex]d_i = b_i - a_i[/tex]

6. Sort the differences in descending order (i.e. from the greatest to the least)

7. Buy items in this order of difference

8. Stop

Explanation:

The algorithm is self-explanatory; however, what it does is that:

It takes a list of the current price of items (say list a)

E.g: [tex]a = [100, 150, 160][/tex]

Then take a list of the hiked price of the items (say list b)

E.g: [tex]b = [110, 180, 165][/tex]

Next, it calculates the difference (d) between corresponding prices [tex]d_i = b_i - a_i[/tex]

[tex]d = [(110 - 100),(180-150),(165-160)][/tex]

[tex]d = [10,30,5][/tex]

Sort the difference from greatest to lowest (as the difference is sorted, lists a and b are also sorted)

[tex]d = [30,10,5][/tex]

[tex]a = [150, 100, 160][/tex]

[tex]b = [180, 110, 165][/tex]

If there is no hike up to item k, the couple would have saved (i = 1 to d[k-1])

Assume k = 3

The couple would have saved for 2 item

[tex]Savings = d[1] + d[2][/tex]

[tex]Savings = 30 +10[/tex]

[tex]Savings = 40[/tex]

The saved amount will then be added to the kth item in list a i.e. a[k](in this case k = 3) in order to buy b[k]

Using the assumed value of k

[tex]a[k] = a[3][/tex]

[tex]a[3] = 160[/tex]

[tex]b[3] = 165[/tex]

Add the saved amount (40) to a[3]

[tex]New\ Amount = 40 + 160[/tex]

[tex]New\ Amount = 200[/tex]

This new amount can then be used to buy b[3] i.e. 165, then they save the change for subsequent items

Point out the wrong statement:
A. In theory, any application can run either completely or partially in the cloud.
B. The location of an application or service plays a fundamental role in how the application must be written.
C. An application or process that runs on a desktop or server is executed coherently, as a unit, under the control of an integrated program.
D. None of the mentioned.

Answers

Answer:

D. None of the mentioned.

Explanation:

A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer how to perform a specific task and to solve a particular problem.

This ultimately implies that, a software can be defined as a computer program or application that comprises of sets of code for performing specific tasks on the system.

All of the following statements about a software application or program are true and correct;

A. In theory, any application can run either completely or partially in the cloud.

B. The location of an application or service plays a fundamental role in how the application must be written.

C. An application or process that runs on a desktop or server is executed coherently, as a unit, under the control of an integrated program.

A network administrator enters the service password-encryption command into the configuration mode of a router. What does this command accomplish?

Answers

Answer:

A network administrator enters the service password-encryption command into the configuration mode of a router. What does this command accomplish? This command prevents someone from viewing the running configuration passwords. You just studied 28 terms!

PLEASE HELP ME WITH THIS PYTHON CODE::::: THANKS!!!



Lists are an example of a data abstraction.


A data abstraction can often contain different types of elements. It also provides a separation between the abstract properties of a data type (integer, boolean, string) and the concrete details of its representation. Basically, it doesn’t matter that the type are different!


Create an empty list. Append the integer 3, a string of "hello" and a boolean of False into the list. Print out each index individually. Now, remove the number 3 and False from the list.


Finally, print out the list again.

Answers

Answer:

Explanation:

The following Python code does exactly as requested. Once the list is created and the elements are added to it, it uses a for loop to print out each element individually. Then once the loop is over it removes the 3 and False elements from the list and creates another for loop to print the remaining element(s) individually again.

my_list = []

my_list.append(3)

my_list.append("hello")

my_list.append(False)

for x in my_list:

   print(x)

my_list.remove(3)

my_list.remove(False)

for x in my_list:

   print(x)

Design a software system for a bookstore that keeps an inventory of two types of books: Traditional books and books on CD. Books on CD may also contain music. The bookstore purchases books from publishers and sets a price for each book. Customers can purchase books from the bookstore, using either cash or a credit. The bookstore keeps track of which books it has in its inventory, and the books purchased by each customer

a. What are the objects in your object- oriented Solution?
b. What are the interactions between objects in your solution?
c. Which objects "have" other objects?
d. Which Objects "Use" other objects?
e. Which objects are other objects?

Answers

Answer:

Explanation:

a. In this scenario, the best solution would have an Object of Traditional Books, CD, Music, Bookstore and Customer.

b. All five objects would be able to be called by the main program loop and the Customer Object would call upon and use either the Books or CD object, While the Bookstore object would call upon all of the other objects.

c. Both the Bookstore object and Customer object will "have" other objects as the Bookstore needs to hold information on every Book or CD in the Inventory. While the Customer object would call upon the Book and CD object that they are purchasing.

d. The Music Object will extend the CD object and use information on the CD object as its parent class.

e. Since the Music Object extends the CD object it is also considered a CD since it is in CD format like the Books on CD and therefore is both objects.

Add the following method to the Point class: public double distance(Point other) Returns the distance between the current Point object and the given other Point object. The distance between two points is equal to the square root of the sum of the squares of the differences of their x- and y-coordinates. In other words, the distance between two points (x1, y1) and (x2, y2) can be expressed as the square root of (x2 - x1)2 (y2 - y1)2. Two points with the same (x, y) coordinates should return a distance of 0.0.
public class Point {
int x;
int y;
// your code goes here
}

Answers

Answer:

public class Point

{

  public int x;

  public int y;

  Point(int x,int y)

  {

      this.x=x;

      this.y=y;

  }

  public static void main(String[] args)

  {

      Point p1=new Point(-2,3);

      Point p2=new Point(3,-4);

      System.out.println("distance:"+distance(p1,p2));

 }

  private static double distance(Point p1,Point p2)

  {

      return Math.sqrt(Math.pow(p2.x-p1.x, 2)+Math.pow(p2.y-p1.y, 2));

  }

}

Explanation:

The java program defines the Point class and the public method 'distance' to return the total distance between the two quadrants passed to it as arguments (they are both instances of the Point class).

can you help me with this question please ​

Answers

d. half period because it is the converting of bidirectional current flow to unidirectional currency flow.

1) Raj wants to create a presentation of 20 slides on MS PowerPoint. He wants that all the slides should have uniform background and theme. Suggest him which option in MS PowerPoint makes it possible.​

Answers

Raj wants to create a presentation of 20 slides on MS PowerPoint. He wants that all the slides should have uniform background and theme. Suggest him which option in MS PowerPoint makes it possible. Ans:- Slide Master option.

What will be the output of using the element in the given HTML code?



1011 2


A.
10112
B.
10112
C.
21011
D.
21011

Answers

Answer:

i think c.

Explanation:

Answer:

Answer is B: 1011 with the two under

Explanation:

I got it right on plato

Antivirus is a program that detects error.True or False.​

Answers

Answer:  false

Explanation:

Because it isn't true.

What is result of executing the following code?
public class Question11 {
private static int x = 1;
public static void main(String[] args) {
int x = 5;
System.out.printf("local x in main is %d%n", x);
useLocalVariable();
useField();
useLocalVariable();
useField();
System.out.printf("%nlocal x in main is %d%n", x);
}
public static void useLocalVariable() {
int x = 25;
System.out.printf(
"%nlocal x on entering method useLocalVariable is %d%n", x);
++x;
System.out.printf(
"local x before exiting method useLocalVariable is %d%n", x);
}
public static void useField() {
System.out.printf(
"%nfield x on entering method useField is %d%n", x);
x *= 10; // modifies class Scope’s field x
System.out.printf(
"field x before exiting method useField is %d%n", x);
}
}

Answers

Answer:

Explanation:

With the main method int the question calling the useLocalVariable and useField variable various times and then also printing out the variable using the printf method. The output of executing this code would be the following...

local x in main is 5

local x on entering method useLocalVariable is 25

local x before exiting method useLocalVariable is 26

field x on entering method useField is 1

field x before exiting method useField is 10

local x on entering method useLocalVariable is 25

local x before exiting method useLocalVariable is 26

field x on entering method useField is 10

field x before exiting method useField is 100

local x in main is 5

In QBasic, create a number guessing challenge. Your program should generate a random number from 1-
100 (inclusive). Let the user guess a number. The program should let the user guess until they get the
correct number. After each input, the program should tell the user whether they guessed the correct
number, or if they guessed too high or too low. While the user is entering guesses, the program should
keep a count of the number of guesses that it takes to get the correct number. After the user guesses
the correct number, the program should congratulate the user and tell them how many guesses it took
them to get the correct number. By the way, if the user chooses carefully, they should be able to guess
the number within 7 tries. But, your program should still let the user keep guessing until they guess the
correct number

Answers

Answer:

yes

Explanation:

2.5 lesson practice edhesive

Answers

Answer:

Huh,.......? what.....?

Answer:

1. They are contained in the math module.

2. 0, 1, ... 7

3. 0.0 <= r < 5

Explanation:

we are writing a program that takes a word and checks how many letters​

Answers

Answer:

def word_count(word):

return len(word)

a = word_count('scream')

print(a

Explanation:

Using python3:

def word_count(word):

#defines a function named word_count which takes in a single argument which is the word to be counted

return len(word)

#The only thing the function does is to count the number letters in the word.

For instance :

return len(word)

Calling the function and attaching it to the variable named a

Counts the number of letters in scream and assigns the result to a

a = word_count('scream')

print(a)

a gives an output of 6 ; which is the number of letters in scream.

The rhythmic note that three beats is called a____half note.

Answers

Answer:

it is called a dotted half note

Answer:
Dotted half note

Help asap no links to other sites please​

Answers

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaaa

AAAAA

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

aa

a

a

a

a

aa

a

a

a

a

a

a

aa

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

aa

a

a

a

a

a

a

aa

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

aa

aa

a

a

a

a

aa

a

a

a

aa

a

aa

a

a

a

a

a

a

a

a

a

a

a

aa

a

a

a

a

a

a

a

a

a

a

a

a

a

aa

aa

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

aa

a

a

a

a

a

a

a

a

a

a

a

a

a

aa

a

a

a

a

a

aa

a

aa

a

a

aa

aa

a

a

aa

a

a

aa

a

a

a

a

a

a

aa

aa

aa

aa

a

aaaaaaaaaaaaaa

a

a

a

a

a

aa

a

aa

a

a

a

a

a

a

a

aa

a

a

a

a

A license plate has 7 characters. Each character can be a capital letter or a digit except for 0. How many license plates are there in which no character appears more than once and the first character is a digit?

a. 9 P(35, 6)
b. 9 P(34,6)
c. 9.(35)^6
d. 9.(35)^6

Answers

Answer:

b. 9 P(34,6)

Explanation:

Since the 1st character of the number plate is the digit, therefore, there are nine possible ways to select them from digits 1 to 9.

And in the license plate there are 7 characters, the first character is counted before and the remaining 6 characters that can either be a digit or a letter has to be considered.

Now there are in total 34 symbols remaining form a total of 26 letters and 8 digits. They can be placed as 34x33x32x31x30x29 ways = P(34, 6) ways.

Therefore in total for all the characters there are 9 x P(34, 6) different ways.

A palindrome is a string that is the same when read left to right as when read right to left. Write a program that determines if an arbitrary string is a palindrome. Assume that the string can have blanks, punctuation, capital letters and lower case.

Answers

Answer:

In Python:

strng = input("String: ")

revstrng = strng[::-1]

if strng == revstrng:

   print("True")

else:

   print("False")

Explanation:

This prompts user for string input

strng = input("String: ")

This reverses the string input by the user

revstrng = strng[::-1]

This checks if strings and the reverse string are equal

if strng == revstrng:

Prints True, if yes

   print("True")

Prints False, if otherwise

else:

   print("False")

How does an online discussion group differ from one that is held face-to-face?

There is no need for group roles when holding online meetings.
Online discussion groups do not allow members to develop critical-thinking skills.
Group members are more likely to bond together as a group online than they would when meeting face-to-face.
Facilitating an online conversation may require even more work, so that participants continue engaging with one another online.

Answers

Answer: they always will have a different thinkage from others

Explanation:Some people need actual in person learning for better grades it also keeps them from getting distracted easily, they have different brains in everyone in the world everyone thinks, acts and talks in different ways some people dont need in person school because they would rather be online wich are both ok so yes they do bond together online but better in person.

Online discussion group differ from one that is held face-to-face as Group members are more likely to bond together as a group online than they would when meeting face-to-face. Thus, option C is correct.

What is software organization?

A system that defines how specific activities, in this case, the software development process, are directed to achieve corporate goals is referred to as an organizational structure. These activities could include putting rules, roles, and responsibilities in place.

There are four basic modes of collaboration, as illustrated by the exhibit "The Four Ways to Collaborate": a closed and authoritarian network (an elite circle), an open and hierarchical connectivity (an innovation mall), an open and flat network (an innovation community), and a shuttered and flat network (a consortium).

Groupware is software that allows a group of people to work together on the same system or application, regardless of where they are. Email, newsgroups, and many more are examples of groupware applications.

Thus, option C is correct.

For more details regarding collaborative applications, visit:

brainly.com/question/8453253

#SPJ3

A routed interface placed in passive mode continues to send advertisements
for its dynamic routing protocol out the interface.
-True
-False

Answers

The answer is True.

qr code is more developed than barcode​

Answers

While a barcode only holds information in the horizontal direction, a QR code does hold information in both horizontal and vertical directions. Due to this, a QR code holds hundreds of times more information than a barcode.

With that being said they have different purposes, and there about the same developed as each other, unless you count how much information they can store.


Describe the major elements and issues with system prototyping​

Answers

Answer:

Pic attached...

Hope it helps!!!

Match the OOP concept to its definition.
encapsulation
data abstraction
inheritance
derived class
defines a class in terms of another class
arrowRight
inherits the properties of a base class
arrowRight
provides only essential information to the world
arrowRight
binds data and functions together
arrowRight

Answers

Answer:

defines a class in terms of another class = inheritance

inherits the properties of a base class = derived class

provides only essential information to the world = data abstraction

binds data and functions together = encapsulation

Explanation:

HOW DO I CONNECT TO MY mysql server on my computer locally using php and also how to run it on the browser

Answers

Answer:

<?php

$mysqli = new mysqli("127.0.0.1:3307", "myUser", "myPass", "databasename");

$query = "SELECT * FROM users ORDER BY name";

if($result = $mysqli->query($query))

{

   echo '<ul>';

while ($obj = $result->fetch_object())

   {

       echo '<li>'.$obj->name.'</li>';

   }

   $result->free();

   echo '</ul>';

}

else

{

   die("nothing found");

}

$mysqli->Close();

?>

Explanation:

This should get you started.

What is used to prevent all vlans from going across a trunk?

Answers

If you want to play Valorant with me my name is
Ticklemyguitar and my riot id is 2735

Swapping Order of Vowels Write a program to swap the order of the vowels in a given word. For example, if the word is programming, the output is prigrammong. Here, the initial order of vowels is o, a, i which changes to i, a, o. Assume that the letters of the words are in lowercase.

Answers

Answer:

Program is as follow:

Explanation:

#include<iostream.h>

#include < conio.h>

bool isVowel(char b)

{

return

( b=='a' || b=='A' || b=='e' || b=='E' || b=='i' || b=='I' || b=='o' || b=='O' || b== 'u' || b=='U');

For swaoing the vowels

string reverseVowel ( String str)

{

int j = 0;

string v ;

for ( int i= 0 ; str [i]]!='0'; i++)

if( isv(str[i]))

v[j++] = str[i[;

for ( int i = 0; str[i]! = '0' ; i++

if ( isv (str[i]))

str{i} = v [--j]

return str;

}

int main ()

{ string str = " Programming";

cout<<swapv(str);

return 0 ;

}

What is it called when you remove some information from a file or remove a file from the disk ? A) save b) delete c) edit d) remove

Answers

Answer:

delete is the answer okkkkkkkkkkkkkkkk

g Consider the turning point problem again, but this time you are given a sequence of at least three integers, which consists of a decreasing subsequence followed by an increasing subsequence. Using the divide and conquer technique, develop a recursive algorithm that finds the index of the turning point in the sequence (that is, the point where it transitions from a decreasing subsequence to an increasing subsequence). For example, in the sequence [43 30 16 10 7 8 13 22], the integer 7 is the turning point and its index is equal to 4 (assuming the starting index is 0). So, the algorithm should return 4

Answers

Answer:

Explanation:

The following code is written in Python, it creates a recursive function that takes in a list as a parameter, then compares the first two items in the list if the first is greater, it increases the index by one and calls the function again. This is done until the turning point is found, it then prints out the position of the turning point int the list.

def find_turning_point(list, x=0):

   if list[x] > list[x + 1]:

       x += 1

       return find_turning_point(list, x)

   else:

       return "The turning point position is: " + str(x)

Other Questions
A group of researchers wanted to explore if the type of studying strategies that students use is related to exam scores for high school students in India. The researchers collected data from 1000 high school students enrolled in introductory biology courses from each of the major cities across India. In the study, all students were exposed to the same material about brain cells once in class. Then, students were randomly assigned to: (1) re-read their notes three times across 3 days or to (2) organize their notes onto visuals of the brain cells in 3 sessions across 3 days. After 2 months, all students were given the same test about brain cells.What kind of study design does this study on college students best represent? a. Descriptive b. Correlational c. Experimental Why young people find the transition between school and university challenging? and hb this any answer please Why was the Soviet Union interested in Cuba during the Cold war? (Hint: think about the country's geographic location, its history and the struggle between communism and capitalism) Which of the following key pieces of information is used in both articles?A. Spiny lobsters from the Caribbean and South America are endangered. B. Fish populations are changing or decreasing, leaving some species at risk.C. An increase in smaller fish means a decrease in the food supply for predatory fish.D. The health benefits of eating fish and shellfish is creating a high demand for them. What two numbers multiply to 30 and add to -17 The mean of 10 numbers is 14 three of the numbers have a mean of 4. The remaining 7 numbers are 15, 18, 21, 5, M, 34 and 14 find: (I) The sum of the remaining 7 numbers,(ii) the value of m.please answer ASAP.. please A toy box is 5 feet long, 24 inches wide and 30 inches high. What is the volume of the toy box in cubic feet? How do emotions play a role in decision making? How can the consequences of your actions affect others? Your response should be one full paragraph. check the pic that i attatched does this sound argumentative?Men and women are expected to dress and groom themselves in stereotypical ways. Society has a set of ideas on how many men and women should present themselves and behave. It is almost like people are assigned a certain personality. Both genders feel that they face more pressure. Women feel like they have higher expectations from society than men do. Are women expected to be perfect? Well, according to Molly H women are judged on the way they look rather than their ability to do something. In Magazines meant for women, there are 10.5 more articles on how to be thin and lose weight than there are in men. This might make women feel that their body shape is not good enough. This can cause eating disorders or in other words body dissatisfaction. This needs to stop it is harming people all around the world, especially women. This isn't the only problem though women of all ages feel that they have to focus on others' emotional and mental needs and put them there for later. Older teens report feeling pressure to manage other people's problems on top of their own. Which describes the slope of the line that passes through the points (2, 5) and (-4,5)? How can you solve this equation? 15 = y - 5A. Subtract 5 from each side.B. Subtract 15 from each side.C. Add 5 to each side.D. Add 15 to each side. The amount of a radioactive substance remaining as it decays over time is A = A0(0.5)t/h ,where a represents the final amountAo represents the original amount, t represents the number of years, and h represents the half-life of the sibstance.The half-life of the radioactive isotope carbon-14 is 5,730 years. Approximately how many years will it take a 50-gram mass ofcarbon-14 to decay to 5 grams? plsss answer 20 pointsThe tip of a 8 cm minute hand of a clock sweeps out circular arcs.What is the length of the arc made by the tip of the minute hand between 3:12 and 3:32?Use 3.14 for pi. Round your answer to the nearest hundredth.Enter your answer in the box. Write a paragraph about Please create a narrative using the following prompt.You are on your way home when zombies begin to take over your town. You've never believed in zombies, but now you see them with your own eyes. Write a science fiction story telling what the zombies do, what happens to everyone you know, and what you do about it. Make sure you create and describe characters, conflict, and the setting.Plzzz help Ill mark you brainliest plzzz help (: Im so lost What motive, or reason, for imperialism does the image show? Multiply 0.54(8) please and thanks.