Group Abstract Group Abstract

Message Boards Message Boards

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

Simplify a calculation but cannot get zero directly

Posted 6 years ago

Hi, all.

I want to know if there is any way to get zero since the both side is equal. But with the simplify function, I would need to check it by myself. enter image description here

Below is my Mathematica code

Simplify[((\[Omega] - \[Omega] Subscript[\[CurlyTheta], 2])/
   Subscript[\[Gamma], 
   2] + (\[Omega] + 
    Subscript[P, t] Subscript[\[Gamma], 
     3] - \[Omega] Subscript[\[CurlyTheta], 3])/(
   Subscript[\[Gamma], 3] Subscript[\[CurlyTheta], 3]))/
  Subscript[\[CurlyTheta], 
  2] - (((\[Omega] - \[Omega] Subscript[\[Phi], 2])/
    Subscript[\[Gamma], 
    2] + (\[Omega] + 
     Subscript[p, t] Subscript[\[Gamma], 
      3] - \[Omega] Subscript[\[Phi], 3])/(
    Subscript[\[Gamma], 3] Subscript[\[Phi], 3]))/Subscript[\[Phi], 
   2])]
POSTED BY: Mingcheng Tsai
4 Replies
Posted 6 years ago

Hi Mingcheng,

The result is zero only if p == P and Subscript[?, 2] == Subscript[?, 2] and Subscript[?, 3] == Subscript[?, 3]

Simplify[((? - ? Subscript[?, 2])/
      Subscript[?, 
       2] + (? + 
        Subscript[P, t] Subscript[?, 
          3] - ? Subscript[?, 
          3])/(Subscript[?, 3] Subscript[?, 3]))/
   Subscript[?, 
    2] - (((? - ? Subscript[?, 2])/
       Subscript[?, 
        2] + (? + 
         Subscript[p, t] Subscript[?, 
           3] - ? Subscript[?, 3])/(Subscript[?, 
          3] Subscript[?, 3]))/Subscript[?, 2]), 
 Subscript[?, 2] == Subscript[?, 2] && 
  Subscript[?, 3] == Subscript[?, 3] && p == P]

(* 0 *)
POSTED BY: Rohit Namjoshi
Posted 6 years ago

Thanks, Rohit,

You are totally right and the problem solved!! And I am the first time to use this forum, do you know how to mark my question as solved status? Thank you again in advance.

POSTED BY: Mingcheng Tsai
Posted 6 years ago

Thanks, Mariusz. I am sorry about the unprofessional post to ask a question. I will re-edit it and make it more clear. Below is my Mathematica code.

Simplify[((\[Omega] - \[Omega] Subscript[\[CurlyTheta], 2])/
   Subscript[\[Gamma], 
   2] + (\[Omega] + 
    Subscript[P, t] Subscript[\[Gamma], 
     3] - \[Omega] Subscript[\[CurlyTheta], 3])/(
   Subscript[\[Gamma], 3] Subscript[\[CurlyTheta], 3]))/
  Subscript[\[CurlyTheta], 
  2] - (((\[Omega] - \[Omega] Subscript[\[Phi], 2])/
    Subscript[\[Gamma], 
    2] + (\[Omega] + 
     Subscript[p, t] Subscript[\[Gamma], 
      3] - \[Omega] Subscript[\[Phi], 3])/(
    Subscript[\[Gamma], 3] Subscript[\[Phi], 3]))/Subscript[\[Phi], 
   2])]
POSTED BY: Mingcheng Tsai

People here generally like users to post (complete) code as Mathematica code instead of just images or TeX, so they can copy-paste it. Nobody feels like retyping your code. Most people wouldn't want to Answer a Question if they couldn't test that Answer in Mathematica ?

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