Re: How can I tell if F is a string or if it is a number?



On Apr 5, 11:00 am, c...@xxxxxxxx (Richard Harter) wrote:

Thanks for the help.

The = sign in many languages, e.g. C and Fortran, means
assignment. In physics and mathematics generally it means
identity.

I think in physics the = sign is context sensitive and has many
meanings. I think this is part of my problem.

http://www.densytics.com/wiki/index.php?title=Equality_sign


Secondly, F=ma is not a statement in the sense of a
statement in a programming language; rather it is a formula,

Ok. I understand this. I was hoping to use concepts of computer
language and math to decipher physicists' F=ma

i.e., a governing relationship between the three quantities, F,
m, and a.

I think here the assumption is that F is a quantity like m and a. But
I am questioning this assumption. How do I test mathematically that F
is not just a label or a placeholder or a pointer to ma?

Let's say I want to write a program to compute F, it should be
something like this:

(def force (m a) (* m a))

I assume in this case force is merely the name of the function (* m
a). There is not something distinct from (* m a) called force. Is this
correct?

Fifthly, more subtly, variables stand for something specific; the
association is intrinsic (albeit by definition) rather than
happenstance (as is so often the case in computer programs).

So in this case, does F stand for anything other than ma?

Thanks again.

.



Relevant Pages

  • Re: thought: "traditional" vs "programmer" math?...
    ... in particular, I am left thinking that, although both make use of math, ... beginner in physics and not yet even a beginner at what people who ... actually do mathematics would call mathematics. ... object-oriented programming paradigm. ...
    (sci.math)
  • Re: In the Matter of Herb Schildt: a Detailed Analysis of "C: The Complete Nonsense"
    ... world of mathematics the integers are a subset of the real numbers. ... When I used machine language, ... got assembler (later on in my first computer science class) I debugged ... types in programming languages differ from numbers as they exist ...
    (comp.lang.c)
  • The Great Debate
    ... > but ASM proved to be very cumbersome and unproductive, ... He did *not* say assembly language projects ... as structured programming grew in popularity). ... the *physics* was harder than the math. ...
    (alt.lang.asm)
  • Re: thought: "traditional" vs "programmer" math?...
    ... in particular, I am left thinking that, although both make use of math, the ... beginner in physics and not yet even a beginner at what people who ... actually do mathematics would call mathematics. ... object-oriented programming paradigm. ...
    (sci.math)
  • Re: Overloading parentheses and type expectations
    ... the school mathematics. ... + does not mean the group operation of Z. Computers ... We could only be happy that guys "studying" programming languages have not ... but a suitably defined language allowing programmers ...
    (comp.lang.ada)