## 185 Reputation

3 years, 254 days

## Plot v s. semilogplot...

Maple

I have a transfer function:

xfer_mag := 1/sqrt((-1.0000 + 1.0772*10^(-14)*f^2)^2 + (1.9665*10^(-20)*f^3 - 3.6181*10^(-6)*f)^2)

if I do:  semiplotplot(20*log[10](xfer_mag),f=10..30e6) I get :

but if I do: plot(20*log[10](xfer_mag), f = 10 .. 0.30e6), and then use the menu options to the right to change the axes properties to Log, I get this:

what is going on here?  why is the magnitude not the same ?

## assumptions not taking?...

Maple 2020

I solve for a transfer function using Syrup, and want to operate on the Real part and Imagninary parts separately.  I've added "assumes" statements for every variable:

assume(Rsrc, real);
assume(C1, real);
assume(Lp, real);
assume(C2, real);
assume(f, real);
assume(RL, real);
additionally(0 < Rsrc, 0 < C1, 0 < Lp, 0 < C2, 0 < RL, 0 < f);

When I then do something like :

instead of gettting just the real part of the expression, I get :

as if one of the variables was still not assumed to be Real.  I'm not sure where all the '~' are coming from ---is that the issue?

I apologize, I can't insert content for some reason..., although I can add the worksheeet.
pi_filter_osc_anal.mw

## Using Syrup, how to call or use a circui...

Maple 2020

After I define a Ckt (a ladder network) such as :

Ckt := [v1(4), R1(50) &+ L2(0.9600), Cp(0.8200), L1(0.5000) &+ R2(0.2000), RL(1.3430) &+ LL(0.1550)]

How would I then use the value of R1 as defined above, for example, in a subsequent calculation?

Assuming the results from Solve are in (sol,rest), how can I use R1 (defined in Ckts)as a variable  --something like:

P_R1_ave := (abs(eval(v[R1], rest))/sqrt(2))^2/Ckt[R1]

t-match_impedance.mw

BTW, I can no longer "insert contents" .  I get the following error:

Maple Worksheet - Error

Failed to load the worksheet /maplenet/convert/t-match_impedance.mw .

I have no idea what may have changed --perhaps something on our server?

## HOw to get the magnitude of transfer fun...

Maple 2020

Hello,

When I try to get the magnitude of the transfer function in the uploaded file, I get this error:

Error, invalid input: `simpl/abs` expects its 1st argument, a1, to be of type algebraic, but received [0.15000e8/(-0.2137457857e-6*f^2+(2.909554620*I)*f-(0.1565896548e-13*I)*f^3+0.152600e8)]

How do I get the magnitude and phase of this transfer function so I can plot it as a function of frequency, f?  If you can show me how to plot it, that would help a lot as well.

Thank you,

Maple Worksheet - Error

Failed to load the worksheet /maplenet/convert/temp.mw .

## How do I rearrange assignment to solve f...

Maple 2019

I have an assignment for Q that after subsequent other assignments and substitutions  results in

-XC1*R1^2/((R1^2 + XC1^2)*(R1*XC1^2/(R1^2 + XC1^2) + 12960.54302))

when I type Q.

I would like to solve this for XC1, for values of Q that make  XC1 is real.

How do I do this?  Can I rearrange this assignment?

I guess I could do something like this:

eq1:= -XC1*R1^2/((R1^2 + XC1^2)*(R1*XC1^2/(R1^2 + XC1^2) + 12960.54302))

solve(eq1=Q,XC1)

but Q as a function of XC1 is a derived from other relationships.

The worksheet probably makes what I'm asking more clear.    I was able to get the result, but I'm sure there is a better, more elegant  way to do what I needed to do...

Thanks

 >
 >

Series-Parallel Conversion Equations as a function of Q

 • Q = Xs/Rs = Rp/Xp;
 • Rp := Rs*(Q^2 + 1);

Impedance Transpormation Equations

 >
 >
 >
 >
 >
 >
 (1)
 >
 >
 (2)
 >
 (3)
 >
 (4)
 >
 (5)
 >
 (6)
 >
 (7)
 >
 (8)
 >
 (9)
 >
 (10)
 >
 >
 (11)
 >
 (12)
 >
 (13)
 >