jrive

195 Reputation

6 Badges

3 years, 346 days

MaplePrimes Activity


These are questions asked by jrive

I have Maple solve a system of equations.  I then want to assign the result to the different variables for use later in the worksheet.  How do I do this?
 

 

{C1 = .6666666670*Ceq, C2 = 2.000000002*Ceq, L1 = 0.1377592863e-15/Ceq, R1 = 0.8802817643e-8/Ceq}

(24)

c1 := sol3[1]

C1 = .6666666670*Ceq

(25)

l1 := sol3[2]

C2 = 2.000000002*Ceq

(26)

r1 := sol3[3]

L1 = 0.1377592863e-15/Ceq

(27)

Solutions, C2=10pf

Ceqsol := 20*e-12

20*e-12

(28)

C1sol := subs(Ceq = Ceqsol, c1)

C1 = 13.33333334*e-8.000000004

(29)
 

 

 


First, all I want to do is assign the solution value for C1 to C1.  Not being able to do this, I try to assign C1 to "different" variable c1, but the assignment is C1~=.66667* Ceq, instead of just the value of C1.  Later, I then try to substitute the value of Ceq, to get the solution for c1, and instead of just getting the value, I get  that C1= 13.33x10^-8 is assigned to C1sol, again instead of just the value, 13.33x10^-8.  How do I just assign the values to these variables instead of the expressions?

 

Thank you.

Download new_filter_solution.mw

How do I get Maple to simplify:

 

Io := I Cp Vin L1/(M sqrt(Cp L1))

 

to :  I sqrt(L1 CP) Vin/ M  ?

 

Furthermore, if  w = 1/sqrt(L1 *CP),  how do I get Maple to display the solution or the simplification as:

I*Vin/(w M) ?

I've t ried multiple substitutions and simplifications to no avail.

 

Thank you.

Jorge

 

I*Cp*RL*Vin*L1/(M*(Cp*L1)^(1/2))

(4)

simplify(I*Cp*RL*Vin*L1/(M*(L1*Cp)^(1/2)), 'symbolic')

I*Cp^(1/2)*RL*Vin*L1^(1/2)/M

(5)

 

NULL

Io := Vores/RL

I*Cp*Vin*L1/(M*(Cp*L1)^(1/2))

(6)

simplify(I*Cp*Vin*L1/(M*(L1*Cp)^(1/2)))

I*Cp*Vin*L1/(M*(Cp*L1)^(1/2))

(7)

simplify(I*Cp*Vin*L1/(M*(L1*Cp)^(1/2)), 'assume = real')

I*Cp*Vin*L1/(M*(Cp*L1)^(1/2))

(8)

combine(Vores/RL, power)

I*Cp*Vin*L1/(M*(Cp*L1)^(1/2))

(9)

factor(I*Cp*Vin*L1/(M*(L1*Cp)^(1/2)))

I*Cp*Vin*L1/(M*(Cp*L1)^(1/2))

(10)

combine(I*Cp*Vin*L1/(M*(L1*Cp)^(1/2)), radical)

I*Cp*Vin*L1/(M*(Cp*L1)^(1/2))

(11)

I*Cp*Vin*L1/(M*(L1*Cp)^(1/2))

cancel(I*Cp*Vin*L1/(M*(Cp*L1)^(1/2)))

(12)

simplify(cancel(I*Cp*Vin*L1/(M*(L1*Cp)^(1/2))), 'assume = real')

I*Cp*Vin*L1/(M*(Cp*L1)^(1/2))

(13)

simplify(I*Cp*Vin*L1/(M*(L1*Cp)^(1/2)), 'radical')

I*Cp*Vin*L1/(M*(Cp*L1)^(1/2))

(14)

simplify(I*Cp*Vin*L1/(M*(L1*Cp)^(1/2)), 'symbolic')

I*Cp^(1/2)*Vin*L1^(1/2)/M

(15)

``


 

Download Resonant_xformer.mw

 

Hello, I'm new to Maple, transitioning over from Mathematica.  I have a system of equations I'm trying to solve, but am trying to substitute values for some of the variables.  I don't think I'm doing it right, because I don't see the value in place of the variable when it echos the expression. Here are my equations, and how I'm trying to solve them:

wres := sqrt(C1+C2)/sqrt)C1*C2*L1)

vores := -C1/C2*vin

z3 = (C1^2 *R1- j*sqrt(C1*C2*L1*(C1+C2)))/C2^2

sys :={wres=13.56e6*2*pi, C1=C2, z3=40,abs(vores/vin)>=1}

solve(sys, {C1, C2, L1, R1})

 

(I apologize; I coulnd't figure out how to enter the Maple code here, directly).

 

When I try this, solve returns nothing.  I then try forcing R1 to be 2000, for ex.  I tried modifying sys to be

 

sys:={wres=13.56e6*2*pi, C1=C2, R1=2000,  z3=40,abs(vores/vin)>=1}, but this does't work.

then I tried, R1:=2000, exepcting to see R1 substituted with 2000 in the echo from sys, but it stills shows R1....

 

How do I do this?  

Also, how do I go about investigating why solve is having trouble solving a system of equations?

 

Thanks

5 6 7 Page 7 of 7