maxima translation smath

maxima translation smath - maxima graphic of rlc resonnance - Messages

#1 Posted: 9/4/2014 3:22:02 AM
ai shen

ai shen

1 likes in 18 posts.

Group: User

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)]))$
fr1/(%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'"])$


#2 Posted: 9/4/2014 8:39:20 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

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.
Section Graphics Maxima Draw region.sm (112 KiB) downloaded 52 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Posted: 9/5/2014 6:34:49 AM
ai shen

ai shen

1 likes in 18 posts.

Group: User

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
rlcsmath.sm (9 KiB) downloaded 48 time(s).
  • New Posts New Posts
  • No New Posts No New Posts