1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kolbaska11 [484]
3 years ago
10

How do you solve both of these problems? Please helpp

Mathematics
1 answer:
Lana71 [14]3 years ago
3 0
The answer to the first one is 15.6 and the second one is 1.76

You might be interested in
Using the Breadth-First Search Algorithm, determine the minimum number of edges that it would require to reach
jekas [21]

Answer:

The algorithm is given below.

#include <iostream>

#include <vector>

#include <utility>

#include <algorithm>

using namespace std;

const int MAX = 1e4 + 5;

int id[MAX], nodes, edges;

pair <long long, pair<int, int> > p[MAX];

void initialize()

{

   for(int i = 0;i < MAX;++i)

       id[i] = i;

}

int root(int x)

{

   while(id[x] != x)

   {

       id[x] = id[id[x]];

       x = id[x];

   }

   return x;

}

void union1(int x, int y)

{

   int p = root(x);

   int q = root(y);

   id[p] = id[q];

}

long long kruskal(pair<long long, pair<int, int> > p[])

{

   int x, y;

   long long cost, minimumCost = 0;

   for(int i = 0;i < edges;++i)

   {

       // Selecting edges one by one in increasing order from the beginning

       x = p[i].second.first;

       y = p[i].second.second;

       cost = p[i].first;

       // Check if the selected edge is creating a cycle or not

       if(root(x) != root(y))

       {

           minimumCost += cost;

           union1(x, y);

       }    

   }

   return minimumCost;

}

int main()

{

   int x, y;

   long long weight, cost, minimumCost;

   initialize();

   cin >> nodes >> edges;

   for(int i = 0;i < edges;++i)

   {

       cin >> x >> y >> weight;

       p[i] = make_pair(weight, make_pair(x, y));

   }

   // Sort the edges in the ascending order

   sort(p, p + edges);

   minimumCost = kruskal(p);

   cout << minimumCost << endl;

   return 0;

}

8 0
3 years ago
Abby counts 12 large boxes and 18 small boxes of pencils in the supply cabinet. Each large box contains 144 pencils . Each small
BigorU [14]

Answer:

2,160 pencils

Step-by-step explanation:

Large boxes = 12

Small boxes = 18

Each large box contains 144 pencils . Each small box contains 24 pencils

Total pencil in large boxes = Total large boxes × number of pencils per box

= 12 × 144

= 1,728 pencils

Total pencil in small boxes = Total small boxes × number of pencils per box

= 18 × 24

= 432 pencils

Estimate the total number of of pencils

Total number of pencils = total pencils in large boxes + total pencil in small boxes

= 1,728 pencils + 432 pencils

= 2,160 pencils

It is better to have an underestimate than an overestimate so that you won't disappoint your buyers when they request for a quantity of supply. If it is underestimated; you can meet demand, if it is overestimated; you can't meet demand

3 0
3 years ago
-11p - -110 - -19p - 3 = 16​
amid [387]
The answer is P= 80/19
hope this helps
6 0
3 years ago
What is 3 4/15 divided by ( 8 times 6 3/10
Karolina [17]
The answer is 49/216
5 0
3 years ago
Plz help me with this question​
Hunter-Best [27]

Answer:

i have no idea girl or boy

Step-by-step explanation:

3 0
3 years ago
Other questions:
  • A movie theatre offers popcorn in two different containers for the same price. One container is a rectangular prism with a base
    8·1 answer
  • Find the distance between (-2, 8) and (11, 2). Round to the nearest hundredth.
    9·1 answer
  • helen has 30 tickets.Gina has 20 more tickets thank helen.what percent of tickets must Gina give helen so that both of them can
    14·1 answer
  • How do you write 0.056 as a rational number
    15·1 answer
  • HELP QUICK! PLEASE, 10+5 POINTS AND BRAINLIST!
    10·1 answer
  • for an art project you make a square print with a side length of 8 inches. You make a frame using strip of wood 1 1/4 inch wide.
    7·1 answer
  • The width of a rectangle is 12 units. Can the perimeter x of the rectangle can be 60 units when its length y is 18 units?
    14·2 answers
  • A box contains 4 bags of sugar. the total mass of all 4 bags is 6 kilograms. what is the mass of each bag in grams?
    9·1 answer
  • A farmer planted corn in two different fields. He planted 500 seeds of regular corn in Field A and 500 seeds of experimental cor
    12·2 answers
  • Solve the inequality.<br><br> (look at the picture)
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!