| Author |
Comment/Response |
yehuda ben-shimol
|
10/31/06 07:31am
Hi,
Here you need to use pattern matching and ReplaceAll
Assuming that qi is a symbol and you have an expression (I just made it up, but you will easily figure out what to do with your expression)
Sin[qi]^2+4/Cos[qi]-1/.{Sin[qi]->qi,Cos[qi] -> 1}
good luck with Mathematica
yehuda
URL: , |
|