​if you were trying to store a list of single digit numbers in your short-term memory, about how many should you be able to store on average? group of answer choices ​10 ​2 ​15 ​7

Answers

Answer 1

If one tries to store a list of single-digit numbers in his or her short-term memory, then he will be able to store 7 numbers on average.

What is short-term memory?

Short-term memory is a concept in psychology that defines the capacity for holding a small amount of information in mind for a short interval. The concept of short-term memory is given by Atkinson-Shiffrin. The information of short-term memory can be transformed into long-term memory through rehearsal.

According to several studies, short-term memory has a space limit of 7 ± 2 chunks of information. The fact is written by a cognitive psychologist of Harvard University named George A. Miller and was published in 1956 in psychological reviews.

Hence, If one tries to store a list of single-digit numbers in his or her short-term memory, then he will be able to store 7 numbers on average.

To learn more about short-term memory click on the link below

https://brainly.com/question/12121626

#SPJ4


Related Questions

what does it mean to say that two variables are negatively​ associated?what does it mean to say that two variables are negatively​ associated?

Answers

When two variables are correlated negatively, the other variable's value falls as the value of the first variable rises.

Express the term negative correlation?

When two variables are correlated negatively, the other variable's value falls as the value of the first variable rises.

The correlation coefficent, which expresses correlation on a scale from +1 to -1, is used. Values less than 0 indicate a negative connection. An increase in one variable confidently foretells a drop in the other when there is a perfect negative correlation, with a coefficient of -1. An rise or decrease inside one variable consistently forecasts the same directional shift for the second variable, according to a perfect positive correlation that has a coefficient of +1. Non-zero coefficients between -1 and +1 are used to show lower degrees of connection.

Zero denotes the absence of a correlation: There is no propensity is for variables to change simultaneously.

Thus, when two variables are correlated negatively, the other variable's value falls as the value of the first variable rises.

To know more about the negative correlation, here

https://brainly.com/question/16913516

#SPJ4

I do not know
how to do fractions please help

Answers

Answer:

should be the first one because 12 is the common factor between the two of them(had to be 20 characters long so i could answer your question)

It’s A. It it’s full then it’ll be a whole number.

a local amateur ice skater estimates that the probability she will place first in the next regional competition is 0.56. what are the odds she will win this competition? a) 14 to 39 b) 11 to 14 c) 33 to 17 d) 39 to 14 e) 14 to 11 f) none of the above.

Answers

The odds she will win this competition is 14 to 11.

What is probability?

Probability refers to potential. A random event's occurrence is the subject of this area of mathematics. The range of the value is 0 to 1. Mathematics has incorporated probability to forecast the likelihood of various events. The degree to which something is likely to happen is basically what probability means. The potential outcomes for a random experiment using this fundamental theory of probability, which is also applied to the probability distribution. Knowing the total number of outcomes is necessary before we can calculate the likelihood that a specific event will occur.

Odds in favor of an event is ratio of probability of an event to its completion:

Probability =0.56 / 1-0.56

= 0.56/0.44

= 56/44

= 14/11

Hence, the odds she will win this competition is 14 to 11.

To know more about probability check the below link:

https://brainly.com/question/25870256

#SPJ4

I’ll give you points and brainlest answer if you answer with a legit answer!

Answers

answer:

(1/y)^3(1/z)^4

step-by-step explanation:

negative exponents just move the number to the denominator. so all you have to do is move the y & z to the denominator to change the exponents to positive. hope that helps!

Sort the following polygons in order of increasing area

Answers

The area of the polygons sorted in ascending order of area is:

Rectangle  = 4

Triangle = 12

Square = 13

What is a polygon?

In geometry, a polygon is a planar shape defined by a restricted number of straight line segments linked to form a closed polygonal chain.

Area of the triangle is:

[Ax(By - Cy) + Bx(Cy - Ay) + Cx(Ay - By)]/2

Where Ax and Ay are the x and y coordinates of A's vertex. The same is true for the x and y notations of the B and C vertices.

Given,

A(-4-3), B(1, -3), C(-1,2)

We have

[-4(-3-2) + (1(2-(-3)) + (-1(-2-(-3))]/2

= 24/2

= 12

As a result, the area of the triangle is 12.

We use the distance formula to calculate the area of the rectangle. The equation is as follows:

d² = (x₂ - x₁)² + (y₂-y₁)²

Where (x₁, x₂) are the first point's coordinates and (y₁, y₂) are the coordinates of the second point.

Assuming that the vertices are labeled as follows:

A(7,9), B(6,9), C(6,5), D(7,5), then

AB² = (6-7)² + (9-9)²

AB² = 1 + 0

AB = 1

BC² = (6-6)² + (5-9)²

BC² = 0² + -4²

BC = 4

CD² = (7-6)² +(5-5)²

CD² = 1² + 0²

CD = 1

DA² = (7-7)² + (9-5)²

DA² = 0² +4²

DA = 4

As is typical of a rectangle, we can deduce that AB = CD and BC = DA

Since the Area of the rectangle is AB x CD OR BC x DA

The area of the rectangle =4 x 1 = 4

We may also calculate the length of the square's sides using distance methods.

We only need the length of one side because the area of a square is provided as L2.

Hence,

AB = 3.60555

Hence the area of the square =3.60555²

= 12.9999908025

Area of the square is 13

Thus, the polygons are placed in increasing area order as follows:

Rectangle = 4

Triangle = 12

Square = 13

To know more about polygon, visit:

https://brainly.com/question/24464711

#SPJ1

Two blueberry farms are similar in shape. the ratio of the side lengths of the farms is 6 : 7, and the smaller farm has a perimeter of 360 yards. the cost to dig a trench is $0.75 per yard. what is the cost to dig a trench around the larger blueberry farm?

Answers

Two blueberry farms are similar in shape. the ratio of the side lengths of the farms is 6 : 7 then  $337.50  is the cost to dig a trench  around the  larger blueberry farm

The farms are sized with a ratio of 4:5 which means that the perimeter of the larger farm can be found by subtracting the perimeter of the smaller farm from that of the total of both farms which can be found by the following formula where it is assumed to be x.

4/(4+5) * x = 360 yards

4x = 360 * 9

x = (360 * 9) / 4

x = 810 yards

Size of larger farm = 810 - 360 = 450 yards

If it costs $0.75 to dig a trench per yard, the total cost for the larger farm is;

= 450 * 0.75

= $337.50

learn more about of farm here

https://brainly.com/question/18572338

#SPJ4

a local aquarium found that if the price of admission was $11$⁢11, the attendance was about 20002000 customers per week. when the price of admission was dropped to $7$⁢7, attendance increased to about 26002600 per week. write a linear equation for the attendance in terms of the price, p

Answers

The linear equation for the attendance in terms of the price, p is

2600= -150p + 3650

A =m*p + b

where A= attendance , m = slope , b = y-intercept and p = price

When p=11 then A=2000 , i  e , (11, 2000).

When p= 7 , then A=2600, i .e ,  (7 , 2600).

m= (b-d)/(a-c)

=> m = (2600-2000)/(7 - 11)

        = -150

Therefore , 2600= -150p + b

To get the value of b,

putting the value of p in the obtained equation,

we get,

2600= -150 * 7+ b

2600 = -1050 + b

b = 3650

Hence , our equation becomes

2600= -150p + 3650

Linear equations are equations of the first order. The linear equations are defined for lines in the coordinate system. When the equation has a homogeneous variable of degree 1 (i.e. only one variable), then it is known as a linear equation in one variable. A linear equation can have more than one variable. If the linear equation has two variables, then it is called linear equations in two variables and so on

To learn more about linear equation

https://brainly.com/question/28882406

#SPJ4

Given the following piecewise function,

f(3) =
f(8) =
f(-1) =

Answers

Answer:

f(3) = 5

f(8) = 3

f(-1) = 0

Step-by-step explanation:

Just plug in the number from the parentheses into the inequalities and whichever makes the inequality true plug into that equation so for example f(3) = ?

first plug 3 into the inequalities: 3 ≤ 0, 0 < 3 ≤ 5, 3 > 5

then find the one that's true which is: 0 < 3 ≤ 5  

then plug into the equation that corresponds to that inequality: 2(3) - 1 → 6 - 1 = 5

which inequality has –12 in its solution set?abcdx + 6 less-than negative 8x + 4 greater-than-or-equal-to negative 6x minus 3 greater-than negative 10x + 5 less-than-or-equal-to negative 4abcd

Answers

The inequality contain -12 in its solution is  x + 5 ≤ -4.

What is inequality?

The phenomenon of an unfair and/or unequal distribution of opportunities and resources among the people who make up a society is referred to as inequality. To different people and in various contexts, the word "inequality" may mean different things.

We have to find from the given inequalities which inequality has -12 in its solution.

Consider, the given inequalities

(1)  x + 6 < -8

⇒ x < - 8 - 6

⇒ x < -14

This inequality does not contain -12 in its solution.

(2) x + 4 ≥ - 6

⇒  x ≥ -6 - 4

⇒ x ≥ - 10

This inequality does not contain -12 in its solution.

(3) x - 3 > -10

⇒  x  > -10 + 3

⇒  x > -7

This inequality does not contain -12 in its solution.

(4) x + 5 ≤ -4

⇒  x ≤ - 4 - 5

⇒  x ≤ -9

This inequality contain -12 in its solution.

Hence, the inequality contain -12 in its solution is  x + 5 ≤ -4.

To know more about inequality, click on the link

https://brainly.com/question/24372553

#SPJ4

describe the relationship between the variables in the graph and equation

Answers

The equation that describes the proportional relationship between the variables on the graph is given as follows:

y = 12x.

What is the proportional relationship?

The general format of a proportional relationship is defined as follows:

y = kx.

In which k is the constant of proportionality, and hence the output variable y is obtained as the multiplication of the input x and the constant of proportionality k.

One point from the graph given at the end of the answer is given as follows:

(8, 96).

Hence the constant of the proportional relationship is given as follows:

k = 96/8 = 12.

Then the equation is of:

y = 12x.

Meaning that the output variable y is obtained by the multiplication of the input variable x and the constant of proportionality k.

Missing Information

The graph is given by the image presented at the end of the answer.

More can be learned about proportional relationships at https://brainly.com/question/10424180

#SPJ1

A group of friends wants to go to the amusement park. They have $69. 75 to spend on parking and admission. Parking is $17. 25, and tickets cost $17. 50 per person, including tax. Write and solve an equation which can be used to determine pp, the number of people who can go to the amusement park.

Answers

The equation to determine the number of persons is x/(y+z) and total 2 people are there in total.

What does a math equation mean?The definition of an equation in algebra is a mathematical statement that demonstrates the equality of two mathematical expressions.For instance, the equation 3x + 5 = 14 consists of the two expressions 3x + 5 and 14, which are separated by the 'equal' sign.

Given: Several buddies want to visit the theme park. Spending money for parking and entry totals $69.75. Tickets cost $17.50 per person, tax included, and parking is $17.25.

Let,

x = total amount for parking and admission fee

y = ticket per person

z = parking cost per person

Total number of people who can go to the amusement park is given as:

= x/(y+z)                                                                                               =69.75/(17.50+17.25)

= 2

Therefore, the equation to determine the number of persons is x/(y+z)   and total 2 people are there in total.

Learn more about equation here:

brainly.com/question/18831322

#SPJ4

Give a big-o estimate for the number additions used in this segment of an algorithm. T := 0 for i := 1 to n for j := 1 to n t := t + i + j.

Answers

The big oh notation for the given algorithm that is T := 0 for i := 1 to n for j := 1 to n t := t + i + j will be O(n).

What is big oh notation?

Big O notation is a type of mathematical notation that expresses how a function limits itself when the argument goes to zero or infinity. Big O Notation is a technique for expressing how time-consuming an algorithm is. As the input increases, it calculates how long it will take to perform an algorithm. In other words, it determines an algorithm's worst-case time complexity. The maximum runtime of an algorithm is expressed using the Big O Notation in data structures.

To know more about big oh notation,

https://brainly.com/question/27985749

#SPJ4

In the first week of​ July, a record 1,060 people went to the local swimming pool. In the second​ week,105 fewer people went to the pool than in the first week. In the third​ week, 145 more people went to the pool than in the second week. In the fourth​ week, 199 fewer people went to the pool than in the third week. What is the percent decrease in the number of people who went to the pool over these four​ weeks?

Answers

The percent decrease in the number of people who went to the pool over these four weeks is 15%.

How to calculate the percentage?

A percentage is a value or ratio that may be stated as a fraction of 100. If we need to calculate a percentage of a number, we should divide it's entirety and then multiply it by 100.

The number of people by the fourth week will be:

= 1060 - 105 + 145 - 199

= 901

The percentage decrease will be:

= (1060 - 901) / 1060 × 100

= 159/1060 × 100

= 15%

Learn more about percentages on:

brainly.com/question/13797493

#SPJ1

Complete the program so that it takes in 4 integers (a, b, c, and d) as arguments, stores them in the 2D array nums, and then prints their row, column, and total sums. The program should print the integers according to this formula:
(a) (b) (a+b)
(c) (d) (c+d)
(a+c) (b+d) ((a+b)+(c+d)+(a+c)+(b+d))
// (a+b) is the first row's sum
// (c+d) is the second row's sum
// (a+c) is the first column's sum
// (b+d) is the second column's sum.
// ((a+b)+(c+d)+(a+c)+(b+d)) is the total sum of all rows and columns

Answers

The program should print the integers according to this formula is

nums[0][0]=a;

nums[0][1]=b;

nums[1][0]=c;

nums[1][1]=d;

nums[0][2]= nums[0][0] + nums[0][1]; //a+b

nums[1][2]= nums[1][0] + nums[1][1]; //c+d

nums[2][0] = nums[0][0] + nums[1][0]; //a+c

nums[2][1] = nums[0][1] + nums[1][1]; //b+d

//sum = (a+b) + (c+d) + (a+c) + (b+d)

nums[2][2] = nums[0][2] + nums[1][2] + nums[2][0] + nums[2][1];

The nums array is 2 dimensional as shown below.

row, column column 0 column 1 column 2

row 0 a b a+b

row 1 c d c+d

row 2 a+c b+d (a+b)+(c+d)+(a+c)+(b+d)

The first index of an array always starts from 0.

Thus, nums[rows][columns] is used to access each element of the array.

The sum of first row elements is to be stored in the last index of row0, that is in nums[1][2].

Thus we equate nums[0][2] = nums[0][0] + nums[0][1]

Similarly, for 2nd row; nums[1][2] = nums[1][0] + nums[1][1]

The sum of first column is to be stored in last index of column0.

Thus, nums[2][0] = nums[0][0] + nums[1][0]

and for 2nd column,

nums[2][1] = nums[0][1] + nums[1][1].

Thus, the answer is--  

-------------------------------------------------------------------------------------------------------------------------------------

nums[0][0]=a;

nums[0][1]=b;

nums[1][0]=c;

nums[1][1]=d;

nums[0][2]= nums[0][0] + nums[0][1]; //a+b

nums[1][2]= nums[1][0] + nums[1][1]; //c+d

nums[2][0] = nums[0][0] + nums[1][0]; //a+c

nums[2][1] = nums[0][1] + nums[1][1]; //b+d

//sum = (a+b) + (c+d) + (a+c) + (b+d)

nums[2][2] = nums[0][2] + nums[1][2] + nums[2][0] + nums[2][1];

To learn more about  program visit:https://brainly.com/question/11023419

#SPJ4

Carmen made 6 identical necklaces, each having beads and a pendant. The total cost of the beads and pendants for all 6 necklaces was $31.80 . If the beads cost a total of $21.60, how much did each pendant cost?

Answers

Answer:

The answer is $1.70

Step-by-step explanation:

What I did is $31.80-21.60=$10.20. $10.20 is the amount of money for all 6 pendants, so to find how much 1 pendant is I just divided $10.20 by 6 which got me $1.70. Hope that helped you. :)

Please! I don't understand this question! Help!
Zachary purchased a computer for ​$ on a payment plan. months after he purchased the​ computer, his balance was ​$. months after he purchased the​ computer, his balance was ​$. What is an equation that models the balance y after x​ months?

Answers

It’s just asking at the starting rate (y dollars for 1 month) so an equation for it may be x:y

Write a linear function g with the values g(2) = 3 and g(6) = 5

Answers

Answer:

g(x)=1/2x+2

Step-by-step explanation:

the coordinates provided here are (2,3) and (6,5)
slope intercept form is g(x)=mx+b

m is slope and b is y intercept

We use slope formula to find slope y2-y1/x2-x1

5-3/6-2

2/4

1/2

Now we can find b by putting the values in

g(x)=1/2x+b

5=1/2(6)+b

5=3+b

-3 -3

2=b

g(x)=1/2x+2

Hopes this helps please mark brainliest

a rectangular package to be sent by a postal service can have a maximum combined length and girth (perimeter of a cross section) of 120 inches (see figure). find the dimensions of the package of maximum volume that can be sent. (assume the cross section is square.)

Answers

The dimensions of the package of maximum volume that can be sent are 20 inches by 40 inches.

Let us represent the length of the square cross-section of the postal package with x, and the width of the package with y.

So, the perimeter is given by the equation -

y + 4x = 120

y = 120-4x    -----------(1)

the volume will be

V = [tex]x^{2} y[/tex]        -----------(2)

Now, substitute (1) in (2), and we get,

V = [tex]x^{2}[/tex] (120-4x)

V = 120[tex]x^{2}[/tex] - 4[tex]x^{3}[/tex]

Differentiating with respect to x, we get,

V' = 240x - 12[tex]x^{2}[/tex]

V'=0

hence, 240x - 12[tex]x^{2}[/tex] = 0

12[tex]x^{2}[/tex] = 240x

dividing by 120x on both sides,

hence, x=20

Now, we know that,

y = 120 - 4x

y = 120-4(20)

y = 120-80

y=40

Hence, the dimensions that maximize the volume of the package are 20 inches by 40 inches.

Read more about maximum volumes:

brainly.com/question/10373132

#SPJ4

If a circular flower bed has a diameter of 18ft.
What is the area of the flower bed?

Answers

It is 254.34 square feet.

The sum of the elements in a tuple can be recursively calculated as follows: the sum of the elements in a tuple of size 0 is 0 otherwise, the sum is the value of the first element added to the sum of the rest of the elements write a function named sum that accepts a tuple as an argument and returns the sum of the elements in the tuple.

Answers

The following is a code in python.

What is Python and why it is used?

Python is a popular computer programming language used to create software and websites, automate processes, and analyze data. Python is a general-purpose language, which means it can be used to make many different types of programs and isn't tailored for any particular issues.

What are the advantages of Python?

One of Python's biggest benefits is the variety of libraries and frameworks it offers. Everything from data visualization, machine learning, data science, natural language processing, and complex data analysis uses the Python Library, from NumPy to TensorFlow.

#Specify the function in

DefinedSum(tu)

# Verify whether the tuple contains 0

if len(tu) == 0

#Then, give back 0

return 0

#Otherwise

else:

#invoke the recursive function.

return tu[0]+Sum (tu[1:])

Set a variable of the tuple type

tu=(2,5,1,8,10)

#print, then invoke the function.

 print("The total of tuple is:"), sum(tu),

Output:

The sum of tuple is: 26

Here, we define the method "sum()" and send the parameter "tu" to the function, which saves the value of the tuple type.

If the length of the tuple is 0, then the if conditional expression should verify the condition and return 0.

If not, invoke the function, return the tuple's total (which is determined recursively), and exit.

Last but not least, initialize the "tu" variable of the tuple type, print, then run the sum function.

To learn more about python, click the following link :-

https://brainly.com/question/14239610

#SPJ1

HELP FAST WILL GIVE BRAINIEST

Answers

Answer:

first this is English

providential

slow congealed

innovative, effectual

more easy to

A classroom has seven blue chairs five green chairs 18 red chairs and yellow nine chairs if a chair is selected at random which color is the least likely to be chosen

Answers

Answer:

green

Step-by-step explanation:

green


If ƒ(x) = 2x³ – 11x² + 13x − 4 and x − 4 is a factor of f(x), then find all of the
zeros of f(x) algebraically.

Answers

Answer:

The zeros of ƒ(x) are 4, 1, and -2.

mark spent a total of $12.33 on 9 oranges and a packet of strawberries. if the packet of strawberries costs $2.88 how much did each orange cost ​

Answers

Answer: $1.05 per orange

Step-by-step explanation:

12.33 - 2.88 = 9.45

9.45 ÷ 9 = 1.05

A local deli makes turkey sandwiches and salami sandwiches at a weekly ratio of 2 salami sandwiches for every 5 turkey sandwiches. If the deli makes 60 turkey sandwiches this week, how many salami sandwiches did they make?

1. 5 salami sandwiches
2. 16 salami sandwiches
3. 30 salami sandwiches
4. 24 salami sandwiches

Please answer :)

Answers

Answer:

1.5

Step-by-step explanation:

Please help asap now !!!!!

Answers

Answer: I need the Problem?

Step-by-step explanation:

Christopher says that whenever you multiply a whole number by a fraction the product is either greater or less than the whole number. Do you agree with Christopher? Why or why not. If not provide an example.

Answers

Christopher's statement "whenever you multiply a whole number by a fraction the product is either greater or less than the whole number" is correct.

What is a Fraction?

A fraction is a way to describe a part of a whole. such as the fraction ¼ can be described as 0.25.

The statement made by Christopher is correct, this is because a fraction is always either greater or lesser than 1. And multiplying a fraction to a whole number will give result either greater or less than the whole number, depending upon the type of fraction it is.

If the fraction is a proper fraction, than the result will be less than the whole number.If the fraction is a improper fraction, than the result will be greater than the whole number.

For example let's take the number 100,

Let's take a proper fraction, 2/5. Therefore, the result will be,

100 × (2/5) = 40

Let's take an improper fraction, 7/5. Therefore, the result will be,

100 × (7/5) = 140

Hence, Christopher's statement is correct.

Learn more about Fraction here:

https://brainly.com/question/1301963

#SPJ1

develop a class shapes 2d to represent all 2d geometric shapes excluding line. class should represent the name of the object (a string) the color of the objects (color) and methods that all subclasses should implement (abstract methods) including:

Answers

This is the UML diagram for the development of the program, in which Shapes 2D is the superclass and Circle, Square, Triangle, Rectangle, Rhombus, and Parallelogram are subclasses.

​​​​​​​This is the program in C++ demonstrating the above classes.

#include<iostream>

using namespace std;

class shapes

{

public:

   string name;

   string color;

   virtual void getAttributes()=0;

};

class Circle: public shapes

{

public:

   float radius;

   Circle(string n,string c, float r)

   {

       name=n;

       color=c;

       radius=r;

   }

   float getPerimeter()

   {

       return(2*(3.142)*radius);

   }

   float getArea()

   {

       return((3.142)*(radius*radius));

   }

   void getAttributes()

   {

       cout<<"Name  :"<<name<<endl;

       cout<<"Color :"<<color<<endl;

   }

};

class Square:public shapes

{

public:

   float side;

   Square(string n,string c, float s)

   {

       name=n;

       color=c;

       side=s;

   }

   float getPerimeter()

   {

       return(4*side);

   }

   float getArea()

   {

       return(side*side);

   }

   void getAttributes()

   {

       cout<<"Name  :"<<name<<endl;

       cout<<"Color :"<<color<<endl;

   }

};

class Triangle:public shapes

{

public:

   float base;

   float height;

   float side1;

   float side2;

   float side3;

   Triangle(string n,string c)

   {

       name=n;

       color=c;

   }

   float getPerimeter()

   {

       cout<<"Enter side1\n";

       cin>>side1;

       cout<<"Enter side2\n";

       cin>>side2;

       cout<<"Enter side3\n";

       cin>>side3;

       return(side1+side2+side3);

   }

   float getArea()

   {

       cout<<"Enter base\n";

       cin>>base;

       cout<<"Enter height\n";

       cin>>height;

       return((0.5)*base*height);

   }

   void getAttributes()

   {

       cout<<"Name  :"<<name<<endl;

       cout<<"Color :"<<color<<endl;

   }

};

class Rectangle:public shapes

{

public:

   float length;

   float breadth;

   Rectangle(string n,string c, float l,float b)

   {

       name=n;

       color=c;

       length=l;

       breadth=b;

   }

   float getPerimeter()

   {

       return(2*(length+breadth));

   }

   float getArea()

   {

       return(length*breadth);

   }

   void getAttributes()

   {

       cout<<"Name  :"<<name<<endl;

       cout<<"Color :"<<color<<endl;

   }

};

class Rhombus:public shapes

{

public:

   float diagonal1;

   float diagonal2;

   float side;

   Rhombus(string n,string c)

   {

       name=n;

       color=c;

   }

   float getPerimeter()

   {

       cout<<"Enter Side\n";

       cin>>side;

       return(4*side);

   }

   float getArea()

   {

       cout<<"Enter diagonal 1\n";

       cin>>diagonal1;

       cout<<"Enter diagonal 2\n";

       cin>>diagonal2;

       return((0.5)*diagonal1*diagonal2);

   }

   void getAttributes()

   {

       cout<<"Name  :"<<name<<endl;

       cout<<"Color :"<<color<<endl;

   }

};

class Parallelogram:public shapes

{

public:

   float base;

   float height;

   Parallelogram(string n,string c, float b,float h)

   {

       name=n;

       color=c;

       base=b;

       height=h;

   }

   float getPerimeter()

   {

       return(2*(base+height));

   }

   float getArea()

   {

       return(base*height);

   }

   void getAttributes()

   {

       cout<<"Name  :"<<name<<endl;

       cout<<"Color :"<<color<<endl;

   }

};

int main()

{

   int choice;

   while(1)

   {

       cout<<"\n\nEnter your choice :";

       cout<<"\n1 for Circle\n";

       cout<<"2 for Square\n";

       cout<<"3 for Triangle\n";

       cout<<"4 for Rectangle\n";

       cout<<"5 for Rhombus\n";

       cout<<"6 for Parallelogram\n";

       cin>>choice;

       system("cls");

       switch(choice)

       {

       case 1:

           {

               float r;

               cout<<"Enter radius\n";

               cin>>r;

               Circle c("Circle","Yellow",r);

               c.getAttributes();

               cout<<"Perimeter : "<<c.getPerimeter()<<endl;

               cout<<"Area : "<<c.getArea()<<endl;

           }break;

       case 2:

           {

               float side;

               cout<<"Enter side\n";

               cin>>side;

               Square s("Square","Red",side);

               s.getAttributes();

               cout<<"Perimeter : "<<s.getPerimeter()<<endl;

               cout<<"Area : "<<s.getArea()<<endl;

           }break;

       case 3:

           {

               Triangle t("Triangle","Green");

               t.getAttributes();

               cout<<"Perimeter : "<<t.getPerimeter()<<endl;

               cout<<"Area : "<<t.getArea()<<endl;

           }break;

       case 4:

           {

               float l,b;

               cout<<"Enter Length and breadth\n";

               cin>>l>>b;

               Rectangle r("Rectangle","Blue",l,b);

               r.getAttributes();

               cout<<"Perimeter : "<<r.getPerimeter()<<endl;

               cout<<"Area : "<<r.getArea()<<endl;

           }break;

       case 5:

           {

               Rhombus r("Rhombus","Purple");

               r.getAttributes();

               cout<<"Perimeter : "<<r.getPerimeter()<<endl;

               cout<<"Area : "<<r.getArea()<<endl;

           }break;

       case 6:

           {

               float b,h;

               cout<<"Enter base\n";

               cin>>b;

               cout<<"Enter height\n";

               cin>>h;

               Parallelogram p("Parallelogram","Pink",b,h);

               p.getAttributes();

               cout<<"Perimeter : "<<p.getPerimeter()<<endl;

               cout<<"Area : "<<p.getArea()<<endl;

           }break;

       }

   }

}

To learn more about objects and classes,

https://brainly.com/question/21113563

#SPJ4

state a recursive definition for 2, -2, 2, -2

Answers

Answer:

Step-by-step explanation:

Chinese people eat beans so it would be Chinese

people

What is the average rate of change of the functionf(x)=20(14)x from x = 1 to x = 2? enter your answer, as a decimal, in the box. Do not round your answer.

Answers

The average rate of change of the function f(x) from x = 1 to x = 2 is, -3.75 when the function f(x)=20(1/4)ˣ.

Given that,

We have to find what is the function f(x)=20(1/4)ˣ average rate of change from x = 1 to x = 2.

We know that,

Average rate of change(A(x)) of f(x) over a interval [a,b] is given by:

A(x)=(f(b)-f(a))/b-a

We get the function:

f(x)=20(1/4)ˣ

Now, the average rate of change from x = 1 to x= 2

At x = 1

Then;

f(1)=20(1/4)¹=5

At x = 2

Then;

f(2)=20(1/4)²=1.25

Substitute these in above formula we have;

A(x)=f(2)-f(1)/2-1=-3.75

Therefore, The average rate of change of the function f(x) from x = 1 to x = 2 is, -3.75 when the function f(x)=20(1/4)ˣ.

To learn more about average visit: https://brainly.com/question/15397049

#SPJ4

Other Questions
if the null hypothesis is rejected in hypothesis testing, no conclusions can be drawn from the test. the sample size has been too small. the alternative hypothesis is true. the data must have been accumulated incorrectly. for the network below, a sends a packet to b. when the frame is transmitted between a and r, what is the destination mac address? How do I find and interpret the residual?(Elementary statistics) A chunk of dry ice, solid co2, disappears after sitting at room temperature for a while. There is no puddle of liquid. What happened?. what is the minimum number of students required in a school to be sure that at least 17 students will be in the same class, assuming the school only has grade 1 to grade 6 and each grade has only one class? when the regular audit leading to an opinion on financial statements discloses specific circumstances that create suspicion that fraud may exist, and the auditor concludes that the results of such fraud, if any, could not be so material as to affect the opinion, (s)he should Alexander Rocco Corporation, a large real estate management company in Maui, Hawaii, has contracted your computer consulting company to perform a penetration test on its computer network. Penetration testers are hired to attack an organizations network, determine what vulnerabilities are present, and provide recommendations for securing the companys information systems. The management company owns property that houses a fivestar hotel, golf courses, tennis courts, and restaurants. Claudia Mae, the vice president, is your only contact at the company. To avoid undermining your tests, you will not be introduced to any IT staff or employees. Claudia wants to determine what you can find out about the companys network infrastructure, network topology, and vulnerabilities without any assistance from her or company personnel. Based on this information, write a report outlining the steps you should take before beginning the penetration tests. Research applicable state and federal laws, and reference them in your report. One equation in a linear system is x + y = 1. Is it possible for the system to have asolution of (0, 0)? (100, -49)? Explain your reasoning. a patient is prescribed codeine as an antitussive. which symptom will the nurse observe for as an adverse effect of this medication? B213120CG42H1628D write the balanced chemical equation for the reaction of the weak acid hcn with water. include the phase of each species. chemical equation: executives at megacorp refuse to promote nora, and then fire her, because of a preference to have only men in top leadership positions. nora files a lawsuit against megacorp claiming sex discrimination. during the lawsuit, megacorp learns that nora had been stealing company assets for five years. a possible outcome of this information may: The _____ model is an approach that conceptualizes abnormal psychological experiences as illnesses that, like physical illnesses, have biological and environmental causes, defined symptoms, and possible cures. When Ras is activated, cells will divide. A dominant-negative form of Ras clings too tightly to GDP. You introduce a dominant-negative form of Ras into cells that also have a normal version of Ras. Which of the following statements is true?(a) The cells you create will divide less frequently than normal cells in response to the extracellular signals that typically activate Ras.(b) The cells you create will run out of the GTP necessary to activate Ras.(c) The cells you create will divide more frequently compared to normal cells in response to the extracellular signals that typically activate Ras.(d) The normal Ras in the cells you create will not be able to bind GDP because the dominant-negative Ras binds to GDP too tightly. the nurse is caring for a woman with terminal breast cancer. which statement made by the client reflects the bargaining stage of grief? a plane has a cruising speed of 200 miles per hour when there is no wind. at this speed, the plane flew 500 miles with the wind in the same amount of time it flew 300 miles against the wind. find the speed of the wind. speedofthewind:miles/hour select the two words that might be applied to a person who has done something completely indefensible. skeletal muscle cells of animals contracting in under low oxygen conditions rely on fermentation to keep going. what product of fermentation enables the muscle cells to keep ""working?"" The proportion of adenine in DNA from an organism is 20%. Which of the following statements regarding the DNA from this organism is INCORRECT? The proportion of guanine in DNA is 20%. The proportion of cytosine in DNA is 30%. The proportion of thymine in DNA is 20%. The proportion of guanine and cytosine in DNA is 60% The proportion of guanine in DNA is 30%. The proportion of adenine and thymine in DNA is 40% After the closing arguments in a murder trial, Judge Smith was tasked with giving guidelines to the jury for making their decision(s). One of the key instructions to the jury is presumption of innocence, to which Judge Smith begins with, "The burden of proof is on the defense.Question: Is Judge Smith correct in his statement? Yes or No (and explain why)? Regarding presumption of innocence, describe some of the other key instructions in which Judge Smith is required to instruct to the jury.