Given:
The statement is "the difference of 18 and 12".
To find:
The expression for the given statement.
Solution:
We have,
Given statement = The difference of 18 and 12.
We use subtraction, to find the different between two numbers and subtraction is represented by negative sign. So, we need to subtract second number form the first number.
The difference of 18 and 12 = 18 - 12
Therefore, the required expression for the given statement is 18-12.
Answer:
166,000
Step-by-step explanation:
1x166,000=166,000
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;
}
Q2) x^2-16x+64=144
3Q) x^2-2x+1=81
Answer:
Q2 :) hope this helps!
Step-by-step explanation:
Answer:
5.00
Step-by-step explanation:
20%=0.20
To find 20% of 25, you will multiply 0.20 and 25
0.20x25=5.00
The amount is a $5 tip.
I hope I'm right and I hope this helps:)
O A. n1/r = a
✓ B. = a
c. a1/nur
O D. a' = n.
Answer:
B. a = rⁿ
C. a¹/ⁿ = r
Step-by-step explanation:
ⁿ√a = r
The above expression can be simplified as follow:
1. ⁿ√a = r
Recall:
ⁿ√a = a¹/ⁿ
Therefore,
a¹/ⁿ = r
2. ⁿ√a = r
Take the n square of both side
(ⁿ√a)ⁿ = rⁿ
(a¹/ⁿ)ⁿ = rⁿ
a = rⁿ
39 problems?
The number of problems solved per hour is proportional to the number of team members solving the problems.
Reasons:
The time it takes 2 members to solve 13 problems = 1 hour
The rate at which each team member solve problems = The same rate
Required:
The number of team membersto solve 39 problems in 1 hour
Solution:
The time it takes 2 members to solve 13 problems = 1 hour
Let x represent the number of team members needed to solve 39 problems in 1 hour.
Using a proportional relationship approach, given that the duration is the same, we have;
Which gives;
2 × 3 = x × 1
6 = x
x = 6
Learn more about proportions here:
Answer:
6 team members
Step-by-step explanation: