cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

C and F Hexadecimal

SOLVED
-MFra-
Topaz I

C and F Hexadecimal

In the use of hexadecimal numbering, Mathcad gives an error when I use the hexadecimal number C, which is normally a unit of measurement and also for c which is the speed of light, the same for F. What should I do to avoid falling into error ?

hexadecimal.jpg

1 ACCEPTED SOLUTION

Accepted Solutions

Re: C and F Hexadecimal

Spoiler
 

Try prefixing the expression with 0 (zero), eg 0Ch

 

Stuart

View solution in original post

3 REPLIES 3

Re: C and F Hexadecimal

Spoiler
 

Try prefixing the expression with 0 (zero), eg 0Ch

 

Stuart

View solution in original post

Re: C and F Hexadecimal

It has nothing to do with C being a unit. Numbers (even hex numbers) must begin with a decimal digit.

So x:=0Ch should do the job.

If you type x:=0Ch you will get an implicit multiplication symbol between 0 and C which you have to delete. Alternatively you may add the 0 only after typing Ch.

 

Werner_E_0-1592843155552.png

EDIT: I see, that Stuart has beaten me by four minutes 🙂

BTW, here is the appropriate text of the help system:

Werner_E_0-1592843634850.png

 

 

Tags (1)

Re: C and F Hexadecimal

I haven't dealt with the topic for years and this is the result!

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."