Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline aishen  
#1 Posted : 04 September 2014 10:22:02(UTC)
aishen


Rank: Member

Groups: Registered
Joined: 21/08/2014(UTC)
Posts: 18
France

Was thanked: 1 time(s) in 1 post(s)
Re:1;mu:0.1,numer;
epsilon:0.001,numer;
z:sqrt((mu/epsilon)),numer;
%omega:float(sqrt(1/(mu*epsilon)));
R:z$freq:[]$H:[]$
for f:2 step 1 thru 100
do (w:2*%pi*f,Zs:R+%i*w*mu-%i/(w*epsilon),
Vout:R/Zs,freq:append(freq,[f]),
H:append(H,[abs(Vout)]))$
frSad1/(%pi*2*sqrt(mu*epsilon))),numer;
wxplot2d([discrete,float(freq),float(H)],
[logx],[xlabel,"Fréquence (MHz)"],
[ylabel,"Impédance"], [style,[lines,1,11]],
[gnuplot_preamble,
"unset key; set title 'Fréquence de résonance MHz'"])$


Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 04 September 2014 15:39:20(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
The attached file shows two versions, one merely literal translation and one more "paper and pencil" like version.
Both versions exploit the still experimental Maxima Draw2D region.

Edited by user 04 September 2014 15:41:50(UTC)  | Reason: Not specified

File Attachment(s):
Resonance.sm (32kb) downloaded 31 time(s).
Section Graphics Maxima Draw region.sm (113kb) downloaded 35 time(s).
mkraska attached the following image(s):
resonance.PNG
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline aishen  
#3 Posted : 05 September 2014 13:34:49(UTC)
aishen


Rank: Member

Groups: Registered
Joined: 21/08/2014(UTC)
Posts: 18
France

Was thanked: 1 time(s) in 1 post(s)
Excellent on window with maxima plugin.
As I work on linux I am trying to convert them
I can't make resonance plot (f|Vout|)
include example

Edited by user 05 September 2014 18:43:18(UTC)  | Reason: Not specified

File Attachment(s):
rlcsmath.sm (10kb) downloaded 31 time(s).
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.