Click here to Skip to main content
16,014,867 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Paul Conrad10-Dec-06 15:42
professionalPaul Conrad10-Dec-06 15:42 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 16:24
#12310-Dec-06 16:24 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Paul Conrad10-Dec-06 16:30
professionalPaul Conrad10-Dec-06 16:30 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 16:35
#12310-Dec-06 16:35 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Paul Conrad10-Dec-06 16:37
professionalPaul Conrad10-Dec-06 16:37 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Sebastian Schneider21-Dec-06 23:48
Sebastian Schneider21-Dec-06 23:48 
GeneralRe: convert Metric to English and English to Metric using pseudocode [modified] Pin
Stephen Hewitt10-Dec-06 14:27
Stephen Hewitt10-Dec-06 14:27 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 15:24
#12310-Dec-06 15:24 
Stephen Hewitt wrote:
Or more succinctly:
f = 9/5*c+32
Where "c" is degrees centigrade and "f" is degrees in fahrenheit.


And what language is that last line?

Stephen Hewitt wrote:
Not only is it clearer but also more useful. Using the basic rules of algebre I can derive the f->c conversion as follows:
f = 9/5*c+32
f-32 = 9/5*c
(f-32)*5 = 9*c
(f-32)*5/9 = c

So
c = (f-32)*5/9


Let me make this perfectly clear, at least between you and I, once and for all.

We're not saying that algebra is useless, or that algebraic notation is less appropriate than Plain English for certain specific tasks. We're saying that algebraic notation is more easily thought of as a sub-language of English rather than the reverse. We're saying that an intelligent machine should understand both; specifically, it should understand the sub-language in the context of the larger, natural language - exactly as you have used both "languages" in the quotations above. The letters "c" and "f" can be appropriate abbreviations, in certain contexts, but only if their meanings are clearly defined at a higher, more descriptive level.

The reason we are emphasizing (at this time) the natural language aspect is that computers already know how to parse, manipulate, and otherwise process algebraic notation - but they don't know how to deal with natural languages with the same level of expertise. And because most programmers are unaware of the amazing power and flexibility that natural languages possess. C'mon - off the top of your head, would you think that an efficient native-code-generating compiler could be conveniently written in English?
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Paul Conrad10-Dec-06 15:44
professionalPaul Conrad10-Dec-06 15:44 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 16:26
#12310-Dec-06 16:26 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Paul Conrad10-Dec-06 16:34
professionalPaul Conrad10-Dec-06 16:34 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt10-Dec-06 15:44
Stephen Hewitt10-Dec-06 15:44 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Dave Kreskowiak15-Dec-06 8:01
mveDave Kreskowiak15-Dec-06 8:01 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 16:22
#12310-Dec-06 16:22 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt10-Dec-06 16:31
Stephen Hewitt10-Dec-06 16:31 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 16:41
#12310-Dec-06 16:41 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt10-Dec-06 16:49
Stephen Hewitt10-Dec-06 16:49 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12310-Dec-06 16:58
#12310-Dec-06 16:58 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt10-Dec-06 18:58
Stephen Hewitt10-Dec-06 18:58 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
El Corazon11-Dec-06 4:38
El Corazon11-Dec-06 4:38 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12311-Dec-06 4:55
#12311-Dec-06 4:55 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
El Corazon11-Dec-06 5:25
El Corazon11-Dec-06 5:25 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt11-Dec-06 12:20
Stephen Hewitt11-Dec-06 12:20 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
#12311-Dec-06 12:35
#12311-Dec-06 12:35 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
Stephen Hewitt11-Dec-06 12:38
Stephen Hewitt11-Dec-06 12:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.