-
Posts
594 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by khaled
-
-
And if it might be possible to assign "001000001" to a different ASCII letter.
"0010 0001" is known as data (as represented in Binary), data which is stored over a medium (memory),
A data representation is a function, that maps a domain of data to a range of outcomes,
A data-type preserve a fixed amount of memory, with a built-in data-representation.
Data is what is stored in memory, can be represented differently through different data representations.
Data-Representations [C++]: Binary Code, Hexadecimal Code, Octal Code, Decimal Code, Ascii Code, Unicode, ..etc
Data-Types [C++]: Boolean (bool), Integer (short, int, long), Real (float, double), Character (char), String (char*), ..etc
------------------
About your question: Yes you can, in computer science it's called Transliteration, where you represent
same information using same representation, but with different scheme .. the method is simple, you need
to define two things: the map table and the transliterate function .. the map table, is a table of size K x 2,
symbols are paired with their mappings, the transliterate function takes data, and transliterate it, note that
transliteration is not symmetric.
0 -
If you love to learn by going from Tutorials to Examples .. I recommend this website: Java2S
0 -
I'm not really good in physics, but when you said that "photons are timeless"
.. feels like "From the moment a photon was born, it traveled observing everything else halt"
0 -
do you think it's possible to use Quantum Entanglement to create Perfect Clocks, where time is exactly the same among all clocks ?
0 -
It seem that Statistical Mechanics of Stock Markets are modeled using Mathematical Physics Models,
I know mathematics and physics, but what is mathematical physics ?
0 -
Imagine quantum entangled clocks, they will be the perfect clocks in nature!
0 -
It is a consequence of conservation laws and mixed states.
That reminds me of this mind game: Gopherwood:Entanglement
0 -
If you are going to pursue this sort of thing seriously you need to really learn the theory of stochastic proceses and the associated calculus.
I had a class on Probability & Statistics, and another on Simulation & Modeling.
When you understand both the Ito integral and the Stratonovic integral you will be almost prepared.So I need to learn these integrals, and what else should I learn in order to be able to build a model ?
Until then you might as well skip the middleman and just send your money to Goldman Sachs. Or go to Vegas and have some fun while you lose your money.Actually, I'm writing a software for my father, my father wants simple functionality which will be considered in the first version. The software is simple
it keeps stocks price data, but I want to add more analysis functionalities to the software.
0 -
I was reading about "Quantum Entanglement" .. and one explanation was saying that if we have two dices that are quantum entangled,
if we roll one for N times and it result in N ordered outcomes, if we roll the other N times, we will get the exact same outcomes ...
Not only I'm shocked by that example, but also confused .. my question is simple: what is quantum entanglement exactly ?
0 -
Greetings,
I'm working on a project where Stocks data are managed in order to be analyzed for an investor,
1. what statistical distribution\s should I use for this type of data ?
2. should I only consider the final price of the stock during the day, or include more detailed variables ?
0 -
I think you people confuse programming languages with data representation
0 -
If you have a Mac, you can do this:
- Insert the music CD
- Open iTunes
- If iTunes ask you to "import the CD" click "Yes"
- Else you can find "import" in the top menus
The "import the CD" process will load tracks from the music CD, to your iTunes Library
Note also, that you can highlight anything in your iTunes and copy them
If you want to copy them manually, then you have to ask experts at the Mac Forums
0 -
I think your code is messy, besides that you should use
tags
You should take care of what should be done the first time this code runs,
and what things that should run on every update, which progress your animation
0 -
I've once read "Observe .. Think .. Propose a theory .. prove your theory"
.. and "there exist facts that we know they're true, but we can't prove them"
One theory says "anything that can happen, will happen" which was proved under the scope of nature ..
but if we interpret it mathematically, we get that "there exist no event with 0 % probability" which
I really don't know how to start thinking how to disprove .. I remember taking the class on Probability,
Statistics, and Modeling .. where normalized probability space is where we have an assumption that
initially "everything happened once".
0 -
You haven't said anything right.
If you math experts tell me that things I'm told by my math professor are wrong, and you are making jokes,
rather than clearing up things and saying "what is wrong" .. how can I know what is right then ?!
0 -
This what I get when simplifying your statement:
= { [ (p^q) V (p^r) ] V (q^r) } ^ ~[(p^q) ^ r]
= { (p^q) V (p^r) V (q^r) } ^ { ~p V ~q V ~r }
= { (p^q) V (p^r) V (q^r) } ^ ~{ p ^ q ^ r }
So, it's just as DrRocket mentioned,
Check: Wolfram|Alpha:Solution
0 -
Okay, I'm just going to be tearing my hair out now.
Did I say something wrong, maybe I should've used the word "depends" rather than "based" .. I've just modified my post
Still I can't understand why would a mathematician tear off his hair, on what I've said.
0 -
I agree with the tree .. All branches of science depends on mathematics, and mathematics depends on Logic
.. in the past century, the study of Logic, Proof, & Formal Systems emerged, and so at one time men as Kurt Godel and David Hilbert,
gathered unto the idea that mathematics shouldn't be scattered all over, that mathematics should be a unified formal system where
there exist no contradictions (P ^ not P) .. thus to add anything new to mathematics, you need to prove it, and so Proof is
an important aspect now.
Mathematics and Logic are important to me, because I'm a computer scientist (mathematical logic scientist)
0 -
This gives another good idea .. to create a huge book, say a reference for all physics-related formulas .. and then,
not only that users can search those formulas by title, but also can search by formula-snippet ...
Example: a book { X^2 + X + 2, log(x)+log(1/x), 2^X }
Search input [ #^# ] .. results: { X^2 + X + 2, 2^X }
input [ log ] .. results: { log(x)+log(1/x) }
0 -
I'd think about modulus 60 in modular arithmetic, or to make seconds & minutes in Base 60 ...
0 -
It's has some intelligence .. it even can lie,
Me .. Cleverbot:
------------------------------
That was a lie, it's Jan 28.
That was not a lie. You are responding to me, therefore you are reacting to a stimuli.
I can lie, can't I ?
I know, I've seen you do it.
You even lied too.
It's among my many talents.
------------------------------
0 -
Karnaugh Map is a special type of Truth Table, in order to resolve some boolean statements ...
0 -
0x[0-9|A|B|C|D|E|F]+ : Hexadecimal
0[0-7]+ : Octal
int Piano = (0xCDEFAB); // hexadecimal (0x..) int Zero = (00); // octal (0..) int JamesBond = (.007); // decimal (.xxx)
0 -
If you are working on Live Camera (Computer Vision) project .. there is an open source library "OpenCV" by Intel
Reference: Wikipedia:OpenCV
Download: Source Forge:OpenCV
Install: Wiki:OpenCV Install Guide
.. good luck
0
change the definition of one and zero
in Computer Science
Posted · Edited by khaled
It seem you don't need Transliteration .. you need a Data Representation Scheme, which is simple
here is an example:
using char in C++, which preserves a single byte, we can caste it to int to deal with it as a decimal,
for a data representation scheme for a byte, we need a 1-dim table of size [math]2^8 = 256[/math] cells
----------------------------------------
Note: Unlike transliteration schema, data representation schema doesn't have to be a unique mappings .. so for example
two or more values can be mapped to the same representation.