Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2233 > unrolled thread

Re: mathematica help please

Started byBob Hanlon <hanlonr@cox.net>
First post2011-05-09 10:21 +0000
Last post2011-05-09 10:21 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: mathematica help please Bob Hanlon <hanlonr@cox.net> - 2011-05-09 10:21 +0000

#2233 — Re: mathematica help please

FromBob Hanlon <hanlonr@cox.net>
Date2011-05-09 10:21 +0000
SubjectRe: mathematica help please
Message-ID<iq8f72$5vv$1@smc.vnet.net>
The code executes without error.

Presumably you assigned the value of 400 to one of your function names earlier in the session.

Start off by clearing your function names -- or start a new session.

Also I am guessing that you put all of this in a single input cell. Had you put the statements, or subsequent to the error separated the statements, into separate cells then it would be immediately obvious which statement was generating the error.


Bob Hanlon



---- "Arda Akal=C4=B1n" <arda1404@gmail.com> wrote:

==========================
z = 0.08303 + I 0.4709
y = I 4.782
IR = 400
VR = 154000/Sqrt[3]
VS[l_] := ((l + (z*y)/2)*VR) + z*IR
IS[l_] := ((l + (z*y)/4)*y*VR) + ((l + (z*y)/2)*IR)
Plot[Sqrt[3]*Abs[VS[l]], {l, 0, 1100}]
Plot[Abs[IS[l]], {l, 0, 1100}]
S[l_] := 3*VS[l]*Conjugate[IS[l]]
Plot[Abs[S[l]], {l, 0, 1100}]


i write this code but it gives this error SetDelayed::write: Tag Integer in 400[l_] is Protected. >>

help me pleasee

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web