Questions tagged [mathematical-expressions]

In mathematics, an expression is a finite combination of symbols that is well-formed according to rules that depend on the context. Symbols can designate numbers (constants), variables, operations, functions, and other mathematical symbols, as well as punctuation, symbols of grouping, and other syntactic symbols.

Strings of symbols that violate the rules of syntax are not well-formed and are not valid mathematical expressions. For example:

would not be considered a mathematical expression but only a meaningless jumble.

In algebra an expression may be used to designate a value, which might depend on values assigned to variables occurring in the expression; the determination of this value depends on the semantics attached to the symbols of the expression.

These semantic rules may declare that certain expressions do not designate any value; such expressions are said to have an undefined value, but they are well-formed expressions nonetheless.

In general the meaning of expressions is not limited to designating values; for instance, an expression might designate a condition, or an equation that is to be solved, or it can be viewed as an object in its own right that can be manipulated according to certain rules. Certain expressions that designate a value simultaneously express a condition that is assumed to hold, for instance those involving the operator to designate an internal direct sum.

Being an expression is a syntactic concept; although different mathematical fields have different notions of valid expressions, the values associated to variables does not play a role. See formal language for general considerations on how expressions are constructed, and formal semantics for questions concerning attaching meaning (values) to expressions.

261 questions
-3
votes
1 answer

How to implement max condition using only mathematical functions/expression?

It can be regarding any programming language. For example in PHP: if($x > 2) { $x=2; } Is there any way to not use a condition, but use some mathematical expression to reach the same result?
Sergey Kravchenko
  • 957
  • 1
  • 8
  • 21
-3
votes
1 answer

Solving dynamic mathematical formula with nested parentheses in ruby

I am having saving dynamic mathematical formula as string. I have two predefined functions like avg(A,B) and best_of(1,A,B).The formula can consist of any mathematical operator, with nested parenthesis. How do I execute the formula in ruby. The…
-3
votes
1 answer

Parentheses in C, how?

I want to write this equation in C but I don't know how to use the right parentheses. Eq=sqrt(e^(-((T-thr))/T) ) + (1-a)/4
osha
  • 13
  • 1
  • 5
-4
votes
0 answers

Finding math formulas

I have to solve a problem with math, need help to find formula. Have to calculate to send amount to payment gateway. Let say for example I sell product with price 68000, the payment gateway have to charge the product with fee + tax (where the fee…
blinkbink
  • 89
  • 5
-4
votes
3 answers

Condition (a*a + b*b = c*c) satisfies in a list using python

I need to know whether the elements in the list satisfies the condition a*a + b*b = c*c, where a, b and c are any elements in the following list: original_list =[8,5,73,3,34,4,23,73] Mathematically, 3*3 + 4*4 = 5*5, but not sure how to traverse…
Deba G
  • 9
  • 1
-4
votes
1 answer

Free software for mathematical modeling. Is R a good one?

I am looking for a free software for mathematical modeling. Here is a list of things I might be willing to achieve with this software: Integrating functions, solving differential equations, graph theory, analyzing infinite series, local stability…
Remi.b
  • 17,389
  • 28
  • 87
  • 168
1 2 3
17
18