Question about Computers & Internet

Nice try! Find an upper-class student to give you one-on-one tutoring with your homework assignment.

Posted on Dec 03, 2009

Hi,

a 6ya expert can help you resolve that issue over the phone in a minute or two.

best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.

the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).

click here to download the app (for users in the US for now) and get all the help you need.

goodluck!

Posted on Jan 02, 2017

The **octal** numeral system, or **oct** for short, is the base-8 number system, and uses the digits 0 to 7. Octal numerals can be made from binary numerals by grouping consecutive binary digits into groups of three (starting from the right). For example, the binary representation for decimal 74 is 1001010, which can be grouped into (00)1 001 010 - so the octal representation is 112.

In the decimal system each decimal place is a power of ten. For example:

In the octal system each place is a power of eight. For example:

By performing the calculation above in the familiar decimal system we see why 112 in octal is equal to 64+8+2 = 74 in decimal.

Hope this helps

In the decimal system each decimal place is a power of ten. For example:

In the octal system each place is a power of eight. For example:

By performing the calculation above in the familiar decimal system we see why 112 in octal is equal to 64+8+2 = 74 in decimal.

Hope this helps

Jul 15, 2014 | Necchi Sewing Machines

Dinary? Never heard that one before. What is a dinary number? Anyway your calculator cannot perform the operations. The Casios can work in Binary (base 2), Octal (base 8), Decimal (base 10) and Hexadecimal (base 16). Some Sharps can do calculations in base 5 (pental).

Feb 19, 2013 | Office Equipment & Supplies

If you want to convert from another base to decimal, press MODE 4 to enter the BASE-N mode, select the initial base (binary, octal, or hexadecimal), enter the number, then switch to decimal to see the value in decimal.

If you want to exit the BASE-N mode, press MODE 1 to switch to the computational model or MODE 2 for complex mode.

If you want to exit the BASE-N mode, press MODE 1 to switch to the computational model or MODE 2 for complex mode.

Oct 04, 2011 | Casio FX-115ES Scientific Calculator

I am not sure about what you want.

For the first case, set Input/Output IO mode to LineIO (SHIFT MODE 2:LineIO)

For the second case set Computational mode to COMP etc, but NOT to BASE-N

- Decimal results or fraction/radicals?
- Decimal numeration as opposed to binary/octal/hexadecimal?

For the first case, set Input/Output IO mode to LineIO (SHIFT MODE 2:LineIO)

For the second case set Computational mode to COMP etc, but NOT to BASE-N

May 23, 2011 | Casio fx-300ES Calculator

If you're already in decimal mode, press SHIFT BIN to switch to binary mode.

To convert a number from decimal to binary, press MODE 4 to switch to BASE-N mode. You'll find yourself in decimal mode. Enter the number to convert, press =, then press SHIFT [BIN] (the log key) and see the number in binary. To convert another number, press SHIFT [DEC] to return to decimal, enter the number, press =, then press SHIFT [BIN]. An analogous process works for hexadecimal and octal as well.

To return to "normal" use, press MODE 1 for COMP mode or MODE 2 for complex mode.

To convert a number from decimal to binary, press MODE 4 to switch to BASE-N mode. You'll find yourself in decimal mode. Enter the number to convert, press =, then press SHIFT [BIN] (the log key) and see the number in binary. To convert another number, press SHIFT [DEC] to return to decimal, enter the number, press =, then press SHIFT [BIN]. An analogous process works for hexadecimal and octal as well.

To return to "normal" use, press MODE 1 for COMP mode or MODE 2 for complex mode.

Mar 12, 2011 | Casio FX-115ES Scientific Calculator

Press MODE 4 to enter the BASE-N mode. Type in the decimal number, then press BIN to convert to binary. Press DEC to switch back to decimal for the next conversion.

You're limited to numbers in the range [-32768...32767] in binary. You can extend the range if you convert to octal or hexadecimal and then mentally convert each digit to three or four bits.

You're limited to numbers in the range [-32768...32767] in binary. You can extend the range if you convert to octal or hexadecimal and then mentally convert each digit to three or four bits.

Dec 01, 2010 | Casio FX-115ES Scientific Calculator

Hello desireejane,

One method is to do the following

public static long octalToDecimal(String octal) throws NumberFormatException {

// Initialize result to 0

long res = 0;

// Do not continue on an empty string

if (octal.isEmpty()) {

throw new NumberFormatException("Empty string is not an octal number");

}

// Consider each digit in the string

for (int i = 0; i < octal.length(); i++) {

// Get the nth char from the right (first = 0)

char n = octal.charAt(octal.length() - (i+1));

int f = (int) n - 48;

// Check if it's a valid bit

if (f < 0 || f > 7) {

// And if not, die horribly

throw new NumberFormatException("Not an octal number");

} else {

// Only add the value if it's a 1

res += f*Math.round(Math.pow(2.0, (3*i)));

}

}

return res;

}

One method is to do the following

- Convert the octal, hexadecimal or binary to decimal.
- Add or Subtract the decimal normally
- Convert the result back to octal, hexadecimal or binary.

**Convert the octal to decimal:**

public static long octalToDecimal(String octal) throws NumberFormatException {

// Initialize result to 0

long res = 0;

// Do not continue on an empty string

if (octal.isEmpty()) {

throw new NumberFormatException("Empty string is not an octal number");

}

// Consider each digit in the string

for (int i = 0; i < octal.length(); i++) {

// Get the nth char from the right (first = 0)

char n = octal.charAt(octal.length() - (i+1));

int f = (int) n - 48;

// Check if it's a valid bit

if (f < 0 || f > 7) {

// And if not, die horribly

throw new NumberFormatException("Not an octal number");

} else {

// Only add the value if it's a 1

res += f*Math.round(Math.pow(2.0, (3*i)));

}

}

return res;

}

Mar 24, 2009 | Sun Java Programming Language (cdj-275)

Hello,

You are victim of a confusion between terms. Base-n calculations are calculations using various numeration systems (bases) : binary (2), octal(8) hexadecimal (16) and decimal (10). What you want is how to calculate powers, logarithms, exponentials and these have also the notion of base; Log in base 10 is the common log, whereas natural logarithms, are logarithms in base e.

Back to your exemple: 5 times 5 and raise the whole to power 3?

In that case [(] 5 [x] 5 [)] [^] 3 or [X to the 3] if you have such key or

25 [^] 3, because 5x5 = 25

5 times (5 raised to power 3)

5[x] [( ] 5 [^] 3 [)] or 5 [^] 4 because of the rules about products of powers with the same base.

Hope it helps.

You are victim of a confusion between terms. Base-n calculations are calculations using various numeration systems (bases) : binary (2), octal(8) hexadecimal (16) and decimal (10). What you want is how to calculate powers, logarithms, exponentials and these have also the notion of base; Log in base 10 is the common log, whereas natural logarithms, are logarithms in base e.

Back to your exemple: 5 times 5 and raise the whole to power 3?

In that case [(] 5 [x] 5 [)] [^] 3 or [X to the 3] if you have such key or

25 [^] 3, because 5x5 = 25

5 times (5 raised to power 3)

5[x] [( ] 5 [^] 3 [)] or 5 [^] 4 because of the rules about products of powers with the same base.

Hope it helps.

Feb 17, 2009 | Casio FX-115MS Plus Calculator

To convert numbers you can use the printf() function

printf("%d", x'FF') hex to decimal

printf("%o", x'FF') hex to octal

If you want to save the value in another variables use sprintf

e.g

a = x'FF';

b = sprintf("%d",a)

printf("%d", x'FF') hex to decimal

printf("%o", x'FF') hex to octal

If you want to save the value in another variables use sprintf

e.g

a = x'FF';

b = sprintf("%d",a)

Jan 15, 2009 | Computers & Internet

all your solution is at

http://www.c.happycodings.com/Beginners_Lab_Assignments/code18.html

http://www.c.happycodings.com/Beginners_Lab_Assignments/code18.html

Dec 07, 2008 | Computers & Internet

May 25, 2017 | Best Computers & Internet

77 people viewed this question

Usually answered in minutes!

×