Solving the Quirky Little Bug of [B] Notation

  • Thread starter Gokul43201
  • Start date
In summary, the conversation discusses the difficulty of displaying "[B]" with an uppercase B inside brackets, which is commonly used in chemistry notation. The group suggests using the [code] tag as a workaround.
  • #1
Gokul43201
Staff Emeritus
Science Advisor
Gold Member
7,220
24
It seems that it is impossible to display " " with an uppercase B inside the brackets (which is how I wrote it, while composing this post - as you can see by hitting 'Quote' or trying it yourself). I think the compiler assumes this is to be used for bold-font text or somesuch, and messes with it.

One often needs to use this notation in chemistry - concentrations are represented by square brackets, and identifiers for general species are uppercase letters A, B, C, etc.

[ B ] seems to work, though it's nonstandard. Anyway, if anytime Greg or Warren feel like they've got nothing to work on... :biggrin:
 
Physics news on Phys.org
  • #2
\[B\] testing..

- Warren
 
  • #3
That's a good one, Gokul. It is indeed the software trying to convert all "bbCode" (the basic markup language used for boldfacing, etc.) into lowercase.

The only way around it that I can think of at the moment is to surround your equations with the [ code ] tag. :frown:

- Warren
 

Related to Solving the Quirky Little Bug of [B] Notation

1. What is [B] notation?

[B] notation is a mathematical notation used to represent numbers in binary form. In this notation, each digit can only be either 0 or 1, and the value of each digit is determined by its position in the number.

2. Why is [B] notation important?

[B] notation is important because it is the basis for computer programming and data storage. Computers use binary code, which is represented using [B] notation, to perform calculations and store information.

3. What is the quirky little bug in [B] notation?

The quirky little bug in [B] notation refers to a common mistake made when converting from decimal numbers to binary numbers. It occurs when the decimal number has a fractional part and the conversion is not done accurately, resulting in a slightly different binary number than expected.

4. How can the quirky little bug be solved?

The quirky little bug can be solved by using a more precise conversion method, such as the double dabble algorithm, which takes into account the fractional part of the decimal number and produces a more accurate binary representation.

5. Are there any real-life applications of [B] notation?

Yes, [B] notation is used in a variety of real-life applications, such as computer programming, data storage, and telecommunications. It is also used in digital electronics, such as in calculators and digital clocks.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
306
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
3K
  • Sticky
  • Engineering and Comp Sci Homework Help
Replies
1
Views
19K
  • Sticky
  • Biology and Chemistry Homework Help
Replies
1
Views
15K
  • Sticky
  • Calculus and Beyond Homework Help
Replies
1
Views
22K
  • Sticky
  • Precalculus Mathematics Homework Help
Replies
1
Views
18K
  • Sticky
  • Advanced Physics Homework Help
Replies
1
Views
25K
  • Sticky
  • Introductory Physics Homework Help
Replies
2
Views
64K
Back
Top