Newsgroups: sci.electronics
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!news.UVic.CA!sirius!shankar
From: shankar@sirius.UVic.CA (Shankar.S.Pennathur)
Subject: Spice 3C1 Users-Please read
Message-ID: <1991Mar26.161536.10706@sol.UVic.CA>
Originator: shankar@sirius
Sender: news@sol.UVic.CA
Nntp-Posting-Host: sirius.uvic.ca
Organization: University of Victoria, Victoria, BC, Canada
Distribution: na
Date: Tue, 26 Mar 91 16:15:36 GMT

I am having trouble using the functions abs(), sqrt() and a^b ( b<1 )
from within a SPICE input file, to specify non-linear dependent sources..
Spice does not seem to accept these function calls, contrary to what
the manual says..Would some of the netters who are using Spice3C1 please
try out the following routine and email me about the results...

----------------------------------------------------------------------------
*  testing abs()
V1 1 0 PULSE(0.5 1 0 10u 10u 50u 100u)
B2 2 1 V=sqrt(V(1))
* For that matter even abs() does not work in the above line!
R1 2 0 1K
.TRAN 1u 300u 
.END
----------------------------------------------------------------------------

Thanks.

                                                       - Shankar
                                                  (shankar@sirius.uvic.ca)
-- 
Shankar S Pennathur,                   Email:shankar@sirius.uvic.ca
Dept. of ECE.,	                         Phone: 604-721-8691 (O)
UVic, BC,Canada V8W 3P6                  -----------------------
