Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.6K Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Substituting terms in an equation?

Posted 3 years ago

Hi, I have this equation:

Sin[Theta]== ( c2 o1y - c1 c3 o1y + c2 o1z + c1 c2 o1z)/((c2 - c1 c3) l1);
Cos[Theta] == ( 2 c2 o1x - 2 c1 c3 o1x + o1z + c1^2 o1z - c2^2 o1z - c3^2 o1z)/(2 (c2 - c1 c3) l1);

Now i have to found this equation:

F1= Sin[Theta]^2+Cos[Theta]^2-1 

but when I write it gives me back the same writing instead I want to develop all the elements, how do I do?

3 Replies
Posted 3 years ago

Crossposted here.

POSTED BY: Rohit Namjoshi

Consider:

Sin[whatever]^2 + Cos[whatever]^2 - 1 // Simplify
(*   Out:  0   *)
POSTED BY: Henrik Schachner

Hi Seb

Better call ist substitute terms in an expression.

ST = (c2 o1y - c1 c3 o1y + c2 o1z + c1 c2 o1z)/((c2 - c1 c3) l1);
CT = (2 c2 o1x - 2 c1 c3 o1x + o1z + c1^2 o1z - c2^2 o1z - 
     c3^2 o1z)/(2 (c2 - c1 c3) l1);

Sin[Theta]^2 + Cos[Theta]^2 - 1 /. {Sin[Theta] -> ST, Cos[Theta] -> CT}

Robert

POSTED BY: Robert Nowak
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard