What is the meaning of argument in the following phrase?

  • Thread starter Thread starter Femme_physics
  • Start date Start date
  • Tags Tags
    Argument
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 6K views
Femme_physics
Gold Member
Messages
2,548
Reaction score
1
What is the meaning of "argument" in the following phrase?...

Can someone define "argument" in this context? (attached file)

I never heard it before so it confuses me...
 

Attachments

  • argument.JPG
    argument.JPG
    90.6 KB · Views: 815
Mathematics news on Phys.org


The term "argument" is used heavily in computer programming to describe a value that a function parameter is given when the function is called.

For example, a function might be defined in C as
Code:
double power( double x, int exponent)
{
   .
   .
   .
}
In the function definition above, the function parameters are x and exponent. The function would be called like this:
Code:
result = power(7.0, 2)
The arguments to this function are 7.0 and 2.

In the attachment, "argument" is used in the same sense.
 


Ah...that clears it. Just the first time I hear it. Thanks :)
 


Femme_physics said:
Ah...that clears it. Just the first time I hear it. Thanks :)

Argument of a function in that context is quite a commonly used term.