Skip to main content
Tweeted twitter.com/#!/StackMma/status/489241383921020928
Changed title
Link
eldo
  • 83.1k
  • 6
  • 72
  • 202

Simplify using defined variablessystem functions

added 71 characters in body
Source Link
Sigur
  • 703
  • 5
  • 18

Consider the code defining two constants:

a=Cos[t]
b=Sin[t]

Suppose that we have another value in terms of Cos[t] and Sin[t], for example,

c=2*Cos[t]+Sin[t]^2

How to show the result of c in terms of a and b, that is, instead of the line above I'd like maymy computations being showed as

c=2*a+b^2

In other words, how to ask Mathematica to recognize Cos[t] as a?

Consider the code defining two constants:

a=Cos[t]
b=Sin[t]

Suppose that we have another value in terms of Cos[t] and Sin[t], for example,

c=2*Cos[t]+Sin[t]^2

How to show the result of c in terms of a and b, that is, instead of the line above I'd like may computations being showed as

c=2*a+b^2

Consider the code defining two constants:

a=Cos[t]
b=Sin[t]

Suppose that we have another value in terms of Cos[t] and Sin[t], for example,

c=2*Cos[t]+Sin[t]^2

How to show the result of c in terms of a and b, that is, instead of the line above I'd like my computations being showed as

c=2*a+b^2

In other words, how to ask Mathematica to recognize Cos[t] as a?

Source Link
Sigur
  • 703
  • 5
  • 18

Simplify using defined variables

Consider the code defining two constants:

a=Cos[t]
b=Sin[t]

Suppose that we have another value in terms of Cos[t] and Sin[t], for example,

c=2*Cos[t]+Sin[t]^2

How to show the result of c in terms of a and b, that is, instead of the line above I'd like may computations being showed as

c=2*a+b^2