## 185 Reputation

3 years, 280 days

## display values in plot legend in Enginee...

Maple

How (can I?) display the value in a legend in Engineering format -- 10^3, 10^-6, etc?

```Lres := 1/((2*Pi*freq)^2*Cres);
ftest := 10e6;
p1 := plot(eval(subs(freq = ftest, Lres)), Cres = 0.10000000 .. 0.10000000, labels = [Cres, 'Lres'], legend = ftest, color = red, title = 'Inductance*Value*as*a*Function*of*Resonant*Capacitance', axis = [gridlines = [default]]);

```

I would like the legend to display 10^6 rather than 1^7.

I've tried changing the default number format for the whole worksheet to Engineering, but that doesn't seem to apply to legends.

thank you.

## solution regurns a RealRange -how to gra...

Maple

I have a system of equations that returns a RealRange :

`xLp_tmp := RealRange(85.32914119, infinity)`

it actually looks like this:

anyway, I want to "pick" the lowerbound of that range and assign it to a variable but I can't figure  out how to do it.

I've tried:

xLp_tmp[1]

lowerbound(xLp_tmp)

but neither worked.  I don't know what else to try.

Thank you in advance for the help.

## how to use results from "solve"...

Maple

I solve a system of equations, and am having difficulty 1) understanding what I"m seeing, 2) using the results.

At (21), I get the solution to the system of equations.  I then want to use substitute a value for xC1 that supports the solution, and plug it into the other variables that are solved in terms of it.  However, I can't figure out how to do this.  I keep getting errors like:

Error, invalid input: eval expects its 2nd argument, eqns, to be of type {integer, equation, set(equation)}, but received {Rsrc = .9640102828*xC1^2+0.2570694087e-2*(140625.*xC1^4-151321.*xC1^2)^(1/2), xC2 = -0.1333333333e-2*(281250.*xC1^3+750.*xC1*(140625.*xC1^4-151321.*xC1^2)^(1/2)+51018750.*xC1^2+136050.*(140625.*xC1^4-151321.*xC1^2)^(1/2)-151321.*xC1)/(375.*xC1^2+(140625.*xC1^4-151321.*xC1^2)^(1/2)), xC1 <= -363.3194071}

I assume I'm getting 2 solutions.  I'm picking the first one and trying to then solve for the other variables once I pick a value for xC1.

Thank you,

substitution_help.mw

## why won't this simplify?...

Maple 2020

Hello,

I have a complex transfer function.  I've defined everyting as "real" via:

assum := Rsrc::real, C1::real, Lp::real, C2::real, f::real, RL::real, 0 < Rsrc, 0 < C1, 0 < Lp, 0 < C2, 0 < RL, 0 < f

I'm expecting simplify to reduce the following transfer function so that the denominator is real, but I can't get it to do it:

I have every variable defined as real, so I am not sure why it won't simplify this expression.

Thank you

## trouble importing Spice netlist into Syr...

I can't figure out how to import a netlist into Syrup.
for_help.mw

I get errors (for the different attempts)-- the latest one  being, "Error, (in sprintf) insufficient parameters for algebraic format"

I had to change it to ".txt" so I could upload it here. Pleae rename to ".cir"

Thanks

 2 3 4 5 6 7 Page 4 of 7
﻿