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
myrzilka [38]
3 years ago
5

Help me please i will mark brainliest

Mathematics
1 answer:
Novosadov [1.4K]3 years ago
4 0

Answer:

The answer is 1/5

Step-by-step explanation:

The answer is 1/5

You might be interested in
(-2х^4y^5z^3/3x y^-2)^2
Monica [59]
Answer: - 2x^5y^6 z^3 / 3
6 0
3 years ago
15% + 6% * 5 =<br> Please answer the equation correctly
aleksley [76]

Answer:

0.45

Step-by-step explanation:

All you do is simplify

PLZ MARK BRAINLIEST

5 0
3 years ago
Read 2 more answers
The cost of 2 tv and 3 DVD player is $1421. The cost of 1 dvd is half of the tv. What's the cost of the tv
olga_2 [115]
The cost of one tv is double than cost of one DVD;

The cost of 2 tv is 4 times more cost one DVD ;

The cost of 2 tv and 3 DVD player is 7 times more cost one DVD ;Then, 1 DVD cost 1421 ÷7 = 201 $ ;
1 tv cost = 2 * 201 = 402 $ ;
7 0
2 years ago
Using the Pythagorean Theorem PLEEEEEEEEEEEEEAAAAAASE!
charle [14.2K]

Answer:

50 miles.

Step-by-step explanation:

You can visualize this as a triangle. the west route is one leg and the south route is the other. The distance from the starting point is the hypotenuse. 48^2+14^2=c^2, c=50.

5 0
3 years ago
Read 2 more answers
Help
Ann [662]

Step-by-step explanation:

ES6 has a new Set data structure for storing sets of unique objects. However it is based on object references as opposed to value comparisons. As far as I can tell this makes it impossible to have a set of pairs of numbers without stringifying.

For example, typing in Chrome's console (needs Chrome 38+):

> var s = new Set(); < undefined > s.add([2, 3]); < Set {[2, 3]} > s.has([2, 3]) < false <--- was hoping for 'true'

This appears to be by design: since I passed a different array of [2, 3] to has(), it returns false, because although the contents is the same it only looks at object references, and I allocated a new and different array to pass to has(). I would need to store a reference to the original array I passed to add() to check with has(), but this is not always possible. For example if the number pairs represent co-ordinates, I might need to check if the set has [obj.x, obj.y], but this will always return false since it allocates a new array.

The workaround is to stringify the arrays and key on strings like "2, 3" instead. However in something performance-sensitive like a game engine, it is unfortunate if every set access needs to make a string allocation and convert and concatenate number strings.

Does ES6 provide any feature to solve this problem without stringifying, or is there any feature on the horizon with ES7 that could help as well?

javascriptperformancedata-structuressetecmascript-6

Share

2

Follow

asked Sep 21 '14 at 13:06



AshleysBrain

20.4k1515 gold badges8181 silver badges119119 bronze badges

Add a comment

3 Answers

ActiveOldestVotes

3

As you've noted [2, 3] === [2, 3] is false, meaning you can't use Set like this; however, is Set really the best option for you?

You may find that using a two-level data structure like this will be better for you

var o = {}; function add(o, x, y) { if (!o[x]) o[x] = {}; o[x][y] = true; } function has(o, x, y) { return !!(o[x] && o[x][y]); } function del(o, x, y) { if (!o[x]) return; delete o[x][y]; // maybe delete `o[x]` if keys.length === 0

7 0
2 years ago
Other questions:
  • Can I Get Help On This Question?
    13·1 answer
  • What percent of 18 is 36
    11·2 answers
  • 15 POINTS AND WILL MARK BRAINLIEST Help?? Pleasee
    13·1 answer
  • If 2x+3y=27 and 3x-2y=8 and x-y=1. What is x+y
    7·1 answer
  • Please make sure i got the answers right.
    9·1 answer
  • Wayne started making oatmeal cookies at 1:50 PM. It took him 55 minutes to make the dough and 1 hour and 30 minutes to bake all
    7·2 answers
  • Identify the y-coordinate for the solution to the system of equations. Solve the system using substitution.
    6·1 answer
  • Can I get some help with my work?
    10·2 answers
  • Is it correct way? answer in the picture​
    12·2 answers
  • Schnider national trucking started a help wanted advertisement that an experienced driver could earn $930 per week how much is t
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!