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
dezoksy [38]
3 years ago
15

50 + 50 - 25 x 0 +2 + 2

Mathematics
2 answers:
yuradex [85]3 years ago
6 0

Answer:

104

Step-by-step explanation:

Any expression multiplied by 0 equals 0

when adding or subtracting 0, the quantity doesn't change

frosja888 [35]3 years ago
4 0

Answer:

I think it is 4 or 104. There are 2 ways to look at it.

Way #1:

50 + 50 = 100

100 - 25 = 75

75 x 0 = 0

2 + 2 = 4

0 + 4 = 4

Way #2:

50 + 50 = 100

25 x 0 = 0

100 - 0= 100

2 + 2 = 4

100 + 4 = 104

You might be interested in
Using linked lists or a resizing array; develop a weighted quick-union implementation that removes the restriction on needing th
balu736 [363]

Answer:

Step-by-step explanation:

package net.qiguang.algorithms.C1_Fundamentals.S5_CaseStudyUnionFind;

import java.util.Random;

/**

* 1.5.20 Dynamic growth.

* Using linked lists or a resizing array, develop a weighted quick-union implementation that

* removes the restriction on needing the number of objects ahead of time. Add a method newSite()

* to the API, which returns an int identifier

*/

public class Exercise_1_5_20 {

public static class WeightedQuickUnionUF {

private int[] parent; // parent[i] = parent of i

private int[] size; // size[i] = number of sites in subtree rooted at i

private int count; // number of components

int N; // number of items

public WeightedQuickUnionUF() {

N = 0;

count = 0;

parent = new int[4];

size = new int[4];

}

private void resize(int n) {

int[] parentCopy = new int[n];

int[] sizeCopy = new int[n];

for (int i = 0; i < count; i++) {

parentCopy[i] = parent[i];

sizeCopy[i] = size[i];

}

parent = parentCopy;

size = sizeCopy;

}

public int newSite() {

N++;

if (N == parent.length) resize(N * 2);

parent[N - 1] = N - 1;

size[N - 1] = 1;

return N - 1;

}

public int count() {

return count;

}

public int find(int p) {

// Now with path compression

validate(p);

int root = p;

while (root != parent[root]) {

root = parent[root];

}

while (p != root) {

int next = parent[p];

parent[p] = root;

p = next;

}

return p;

}

// validate that p is a valid index

private void validate(int p) {

if (p < 0 || p >= N) {

throw new IndexOutOfBoundsException("index " + p + " is not between 0 and " + (N - 1));

}

}

public boolean connected(int p, int q) {

return find(p) == find(q);

}

public void union(int p, int q) {

int rootP = find(p);

int rootQ = find(q);

if (rootP == rootQ) {

return;

}

// make smaller root point to larger one

if (size[rootP] < size[rootQ]) {

parent[rootP] = rootQ;

size[rootQ] += size[rootP];

} else {

parent[rootQ] = rootP;

size[rootP] += size[rootQ];

}

count--;

}

}

public static void main(String[] args) {

WeightedQuickUnionUF uf = new WeightedQuickUnionUF();

Random r = new Random();

for (int i = 0; i < 20; i++) {

System.out.printf("\n%2d", uf.newSite());

int p = r.nextInt(i+1);

int q = r.nextInt(i+1);

if (uf.connected(p, q)) continue;

uf.union(p, q);

System.out.printf("%5d-%d", p, q);

uf.union(r.nextInt(i+1), r.nextInt(i+1));

}

}

}

8 0
3 years ago
What is the next term in the sequence?<br> 2, -4, 8, -16, ...
worty [1.4K]

Answer:

32

Step-by-step explanation:

it multiplies by -2 every time

5 0
3 years ago
What is 12% of 79 ??
Rus_ich [418]
12% Of 79 Would be 9.48. Hope this helped :)
8 0
3 years ago
Read 2 more answers
If parallelogram ABCD was reflected over the y-axis, reflected over the x-axis,and rotated 180°, where would point A' lie?
ValentinkaMS [17]

Point A is (-4,1) .Point A is reflected along y axis  so y will remain same and x coordinate will have opposite sign .The reflected point A' ---(4,1) .The point is now reflected along x axis so its x ordinate will remain same and y will be at an equal distance from x axis The new reflected point is A" (4,-1) .The point is now rotated 180 degrees the x and y coordinate changes sign so the rotated final point is  A"'( -4,1).

6 0
3 years ago
Read 2 more answers
Sonny packed a number of boxes, x, with 22 cans in each box. The total number of cans packed was 660. Which equation and solutio
arlik [135]

Answer:

660 ÷ 22 = 30

Step-by-step explanation:

To find how many boxes Sonny packed, you need to divide 660 by 22 to get 30

6 0
3 years ago
Read 2 more answers
Other questions:
  • What is the sum of the first 7 terms of the series<br><br><br> -8+16-32+64-...?
    10·1 answer
  • I WILL MARK BRAINLIEST
    9·1 answer
  • A black line is longer than the gray line. The gray line is longer than the white line which is correct
    9·1 answer
  • The following represent matrices and the dimension of each is also stated below. A is a matrix of size 4X2 B is a matrix of size
    14·1 answer
  • Chandra bought twice as many plants as Marvin. Kira bought 1/3 as many plants as Chandra. Marvin bought 6 plants. Write an expre
    13·2 answers
  • What is the value of y in this exponential growth function when x equals 3?
    6·1 answer
  • Pleaseee help meee asappp!
    14·1 answer
  • A recipe calls for 2 2 over 4 cups of raisins but julie only has a 1 over 4 c up measuring how many 1 over 4 cups does julie nee
    10·1 answer
  • Which of the following BEST describes how to use the addition property of equality to isolate the variable
    15·1 answer
  • What is the surface area of a tank that has a length of 30 feet, a width of 15 feet?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!