Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2233
| From | Bob Hanlon <hanlonr@cox.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: mathematica help please |
| Date | 2011-05-09 10:21 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <iq8f72$5vv$1@smc.vnet.net> (permalink) |
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
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: mathematica help please Bob Hanlon <hanlonr@cox.net> - 2011-05-09 10:21 +0000
csiph-web