problem to define a complex quantity
- To: mathgroup at smc.vnet.net
- Subject: [mg116831] problem to define a complex quantity
- From: tarun dutta <tarunduttaz at gmail.com>
- Date: Wed, 2 Mar 2011 04:31:57 -0500 (EST)
i want to use complex variable such as c[i_]=a[i]+I*b[i] ;where 'a' and 'b' are both real then I get conj[c[i]] =a[i]-I*b[i] by stating conj[x_]:=complexexpand[conjugate[x]]; but now i am writing c[i_][t_]=a[i][t]+I*b[i][t] but i am not getting conj[c[i][t]]=a[i][t]-I*b[i][t] by stating conj[x_]:=ComplexExpand[Conjugate[x]] moreover am using mathematica version-7 is there any way of writing this thing? give some valuable insight. regards, tarun