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
Likurg_2 [28]
3 years ago
13

Please answer number one as well as show your work thank you!

Mathematics
1 answer:
sveta [45]3 years ago
8 0

√2 is irrational

a rational number Q can be expressed in the form \frac{a}{b} where a and b are integers.

- 18 = \frac{- 18}{1} ⇒ rational

\frac{2}{3} ⇒ rational

3.14 = \frac{314}{100} ⇒ rational

√2 = 1.414213562...... ⇒ irrational


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
Find the principal.
enyata [817]

Answer:

nwbcwkcasc

Step-by-step explanation:

sdbchbsjcb

8 0
3 years ago
Read 2 more answers
Mean absolute deviation of 90,84,90 93,63???
aksik [14]

Answer:

8.4

Step-by-step explanation:

Instructions

This calculator computes the mean absolute deviation from a data set:

You do not need to specify whether the data is for an entire population or from a sample. Just type or paste all observed values in the box above. Values must be numeric and may be separated by commas, spaces or new-line. Press the "Submit Data" button to perform the computation. To clear the calculator, press "Reset".

What is the mean absolute deviation

The mean deviation is a measure of dispersion, A measure of by how much the values in the data set are likely to differ from their mean. The absolute value is used to avoid deviations with opposite signs cancelling each other out.

Mean absolute deviation formula

This calculator uses the following formula for calculating the mean absolute deviation:

$ MAD =\frac{1}{n} \sum_{i=1}^n |x_i-\bar{x}|$

where n is the number of observed values, x-bar is the mean of the observed values and xi are the individual values.

8 0
3 years ago
Help me please, please please
rjkz [21]

Answer:

I can't see the question

Step-by-step explanation:

Heelp me see by typing it up

5 0
3 years ago
If its 1.50$ for 6 how much does each one cost
Lesechka [4]
25 cents each would be the anwser
5 0
3 years ago
Other questions:
  • Find the dimensions of a rectangle with area 1,000 m2 whose perimeter is as small as possible. (if both values are the same numb
    10·1 answer
  • Which of following is a key element in the proof of the law of cosines
    14·1 answer
  • (1,9),m=4 in intercept from
    13·1 answer
  • The price of an item has been reduced by 45% the original price was $95​
    15·2 answers
  • Melody's dad brought home a crate of apples he picked from their orchards. The crate contained 10 Granny Smiths, 14 Red Deliciou
    10·1 answer
  • Which of the following reflective symmetries apply to the rectangle below?
    10·2 answers
  • Use the algebra tiles to help you solve the equation x2-3=7.
    9·2 answers
  • DESPERATE WILL GIVE BRAINLIST AND THANKS
    7·2 answers
  • Find the roots 5x^2+16=7x^2/3
    13·1 answer
  • Four integers are consecutive terms of an arithmetic sequence. The sum of these four numbers is 24 and the product is 945.Find t
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!