answersLogoWhite

0


Best Answer

How can 1/4 be greater than 1/2?

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Sometimes 1 4 can br greater than 1 2 How is this possible?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic

How do I create a web page that lets a user enter as many values as they wish until the entry of a 0. Then find the sum and the average of all the numbers and show sum and average on screen. In code?

You could do this using Javascript.1) create a textfield2) create a submit button3) define two Javascript variables: a running tally, and a click-counter4) give the button an onclick event that calls a function that works like this:read the value from the text fieldconvert it to a numeric valueif that value is 0 {if the counter != 0 {display the tally and the average (which equals tally over counter)}else{either display an error message, or 0 as both the tally and average - to your taste.}reset both the tally and the counter to 0}else{add the value to the tallyincrement the counter by 1}And here's a working example of how to do it:span.buttonClass{background-color: #C8C8C8;padding: 4px;border-width: 2px;border-style: outset;font-weight: bold;}The Summinator!var tally = 0, counter = 0;function addValue(){var textfield = document.getElementById("addVal");var avgfield = document.getElementById("avgfield");var sumfield = document.getElementById("sumfield");var num = parseFloat(textfield.value);var sum, avg;textfield.value = '';if(isNaN(num)){ // make sure they entered a numberalert("Please enter a numeric value.");}else{if(num != 0){tally += num;counter ++;sumfield.textContent = "";avgfield.textContent = "";}else{if(counter == 0){sum = avg = 0;}else{sum = tally;avg = tally / counter;}sumfield.innerHTML = "The sum is " + sum;avgfield.innerHTML = "The average is " + avg;tally = counter = 0;}}}Add ValueYou can even make it a little nicer by having it output the sum and average each time a number is entered, rather than waiting for the zero input (which would still reset things). That actually simplifies the code too, and would look like this:...if(isNaN(num)){ // make sure they entered a numberalert("Please enter a numeric value.");}else{if(num != 0){tally += num;counter ++;sum = tally;avg = tally / counter;}else{sum = avg = tally = counter = 0;}sumfield.innerHTML = "The sum is " + sum;avgfield.innerHTML = "The average is " + avg;}...


How many meters equals 1 hectare?

10,000 square metres = 1 hectare<br><br><br>


Why was the number zero invented and by whom was it invented?

the number zero is first used by Indians only not by any one else<br /><br /><br /><br /> The number zero was actually invented by the <i><b>Ancient Egyptians


What does BR FT mean on a metar?

Br means Mist... in spanish i guess Br comes from Bruma, a kind of Mist. Fg is Fog, Fu is Smoke (from "fumarola" in spanish as well)


Does dibromomethane have a plane of symmetry?

yes, across the Br-C-Br/H-C-H planes.

Related questions

Which has more polar bond Br-Cl or Br-I?

Br-Cl has a more polar bond because chlorine is more electronegative than iodine, resulting in a greater difference in electronegativity between the two elements. This difference in electronegativity leads to a more polar bond in Br-Cl compared to Br-I.


Are cis-trans isomers possible in 1.2-dibromoethene?

Yes, it's possible. Cis: Br/H=Br/H or Trans: Br/H=H/Br


Is five sixth a half?

Five sixths is greater than one half. The difference between the two fractions is one third. so no 5/6 is notFive sixths is greater than one half. The difference between the two fractions is one third.<br> <br> No - three sixths would be a half<br><br>Imagine a large cake cut into 6 equal pieces. To have half of the cake you would need to take 3 of the pieces, not 5.<br> a half it is more.


Why bond energy of H-F is greater than H-Br?

The bond energy of H-F is greater than H-Br because fluorine is more electronegative than bromine, resulting in a stronger bond between hydrogen and fluorine due to increased attraction. This stronger bond requires more energy to break, leading to a higher bond energy in H-F compared to H-Br.


Which has a more polar bond P-Cl or P-Br?

The P-Cl bond is more polar than the P-Br bond. This is because chlorine (Cl) is more electronegative than bromine (Br), so it attracts the shared electrons in the bond more strongly, leading to a greater difference in electronegativity and thus a more polar bond in P-Cl compared to P-Br.


Can you end a sentence with the word I?

I can, but would I? Yes.<br><br>For example, in comparisons, you would say, "He is taller than I." "He is taller than me" is grammatically incorrect.<br><br>It would help, however, if you gave an example. You wouldn't say, "He gave it to I." <br><br><br>


Is the acidic strength of HO Cl more than HO Br?

Yes, the acidic strength of HOCl is greater than HOBr. This is because chlorine is more electronegative than bromine, leading to a stronger bond between hydrogen and oxygen in HOCl, making it easier to donate a proton.


Would the Br ion be bigger than the Se ion?

Yes, the Br ion would be larger than the Se ion because Br has more electrons and occupies a higher energy level, leading to greater atomic size. Additionally, Se from the same period will have a smaller atomic size compared to Br.


Which is more polar bond Br-Cl or S-Cl?

The S-Cl bond is more polar than the Br-Cl bond. This is because sulfur (S) is more electronegative than bromine (Br), leading to a greater electronegativity difference between sulfur and chlorine (Cl) compared to bromine and chlorine. This larger electronegativity difference results in a more polar bond.


Which is more polar bond Br-Cl or Br-I?

The bond between Br-I is more polar than the bond between Br-Cl. This is because iodine is less electronegative than chlorine, resulting in a larger difference in electronegativity between the two atoms in the bond. Therefore, the Br-I bond will exhibit stronger polarity.


Is Cl a stronger base than Br?

No, Cl is not a stronger base than Br. In the periodic table, as you move down a group, basicity usually increases. Therefore, Br, being lower in the group than Cl, is a stronger base.


Which ion in the compound K and Br is larger?

The Br ion is larger than the K ion. This is because the Br ion has more electron shells than the K ion, leading to a larger atomic radius.