(8x²+4) + (-x² -3x)




























































solve this

Answers

Answer 1
7x^2-3x+4




i think this is the answer

Related Questions

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

Please help asap now !!!!!

Answers

Answer: I need the Problem?

Step-by-step explanation:

longobardi corporation bases its predetermined overhead rate on the estimated labor- hours for the upcoming year. at the beginning of the most recently completed year, the corporation estimated the labor-hours for the upcoming year at 46,000 labor- hours. the estimated variable manufacturing overhead was $6.25 per labor-hour and the estimated total fixed manufacturing overhead was $1,026,260. the actual labor- hours for the year turned out to be 41,200 labor-hours. the predetermined overhead rate for the recently completed year was closest to:______.

Answers

The predetermined overhead rate for the recently completed year was closest to $28.56 par labor - hour.

What is Labor - hour?

4 to 8 hours or more are typical for active labor. Your cervix will expand on average at a rate of 1 cm per hour. What you can do: Seek encouragement and support from your labor partner and your medical team. To ease your discomfort, try deep breathing and relaxation exercises.

Given:

Longobardi corporation bases its predetermined overhead rate on the estimated labor- hours for the upcoming year.

At the beginning of the most recently completed year, the corporation estimated the labor-hours for the upcoming year at 46,000 labor- hours.

The estimated variable manufacturing overhead was $6.25 per labor-hour and the estimated total fixed manufacturing overhead was $1,026,260.

The actual labor- hours for the year turned out to be 41,200 labor-hours.

Estimated total manufacturing overhead

= $1,026,260 + ($6.25 per labor- hour X 46,000 labor - hours)

= $1,313,760

Predetermined overhead rate

= $1,313,760 / 46,000 labor-hours

= $28.56 per labor-hour

Hence, the predetermined overhead rate for the recently completed year was closest to $28.56 par labor - hour.

To know more about labor - hour, click on the link

https://brainly.com/question/24924489

#SPJ4

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

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

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

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.

HELP FAST WILL GIVE BRAINIEST

Answers

Answer:

first this is English

providential

slow congealed

innovative, effectual

more easy to

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

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

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:

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

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

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

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

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

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

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

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. :)

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

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.

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

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


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.

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!

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

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

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

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

Other Questions
what minimum amount of force (famin) must i apply through the rope to keep the box from sliding down the hill? Where was the touchscreen inventor born a block of mass 0.428 kg0.428 kg is hung from a vertical spring and allowed to reach equilibrium at rest. as a result, the spring is stretched by 0.626 m.0.626 m. find the spring constant. n/mn/m the block is then pulled down an additional 0.365 m0.365 m and released from rest. assuming no damping, what is its period of oscillation? ss how high above the point of release does the block reach as it oscillates? Garfield Personal Training Services is owned by Ga Garfield Gina provides personal training and coaching to individuals or small groups using the localitnessfacity and pool. Ganarents the group training room at the local fitness facility or the pool for scheduled classes. For one-on-one training, she meets clients at the facility where she is a memoria is currently learning Zumba and plans to offer a Zumba class in the group training room on Wednesday mornings starting next month. The development of Zumba is considered a activity for the group level facility level service level O customer-level in January the depth of a lake was 943 feet in August the depth of the lake was 754.4 what is the percentage decrease of the depth of the lake from January to August A psychological condition that can lead to poor sleep is __________. A. Apathyb. Impaired memoryc. Anxietyd. Lack of restraint. Prokaryotes stain as gram-positive or gram-negative because of differences in the cell ___. A lab tech has 8.0 L of a 12.0 M HCl solution available. What volume of this solution does she need to prepare 3.0 L of a 1.5 M HCl solution for CHM 101 lab? HELP I WILL GIVE BRAINLIEST!!! 5. in an area with a heterogeneous distribution of suitable habitats, the dispersion pattern of a population is probably the balance in accounts receivable at the beginning of 2024 was $680. during 2024, $1,900 of credit sales were recorded. if the ending balance in accounts receivable was $250 and $100 in accounts receivable were written off during the year, the amount of cash collected from customers during 2024 was: Crocodiles are members of the reptile class. Adult crocodiles can vary in size from just over 3 feet to more than 15 feet in length. They have smooth skin on their bellies and rough scales on their backs. Their sharp teeth and strong muscles make them nasty predators.Read the paragraph from Mandy's report about crocodiles.Mandy wants to replace the word nasty with a word that is more formal.Which of these words is an appropriate replacement for nasty?ResponsesA sickeningB disgustingC dangerousD horrible Hannah is taking out a 8.1% loan to purchase an $15,000 car. The length of the loan is 8 years. How much will she pay in interest? 4) while catholicism is the majority in latin america, it no longer controls the whole religious market. what is the reason (what changed)? Amy, Brenda and Carleen own a cat, a dog and a fish, but not necessarily in that order. Amy hats cats, and Brenda cannot own a pet with hair because of her allergies. What does Carleen own? the number of shares remaining in the hands of shareholders after some stock has been reacquired is referred to as the shares a.in arrears. b.outstanding. c.issued. d.authorized. researchers have found that the income of obese women is about 17 percent lower than that of women who are of the recommended weight. this result implies that: what is the economic theory behind reducing the size of the stadium? group of answer choices the percentage decrease in the number of seats will be larger than the percentage increase in price so that total revenue and profits will increase. none of the answers are correct. the demand for seats is elastic so that a decrease in quantity will allow stanford to increase price and increase total revenues and profits making the stadium smaller will make demand for seats inelastic allowing standford to increase revenue from ticket sales. stanford is predicting the percentage decrease in quantity of seats will be lower than the percentage increase in price so revenue and profits will increase. which action should the registered nurse (rn) implement to complete an assessment for a client while using an interpreter? suppose a sample of bone fossil contains 5.2% of the carbon-14 found in an equal amount of carbon in present-day bone. estimate the age of the fossil, assuming an exponential decay model. the half-life of carbon-14 is approximately 5700 years.