8 years, 79 days

## Maybe there is a way to guide the solver...

Maybe there is a way to guide the solver towards the solution. For example, time "t" is always positive t>0 and so on.

Also, is there another way to drive the solution towards the Steady State ?

If I give initial conditions i(0)=0, v(0)=0 and so on, it solves it but it takes 3000 cycles to reach steady state. I want the solution directly in Steady State.

## @Carl Love Thank you! That solved i...

@Carl Love Thank you! That solved it !

One more thing: which one is better to make the periodic function? The way you explained in the old post I am quoting or the way I did it ?

```Periodic := proc (f::appliable, ab::(range(realcons))) local a, b, F, P, S; a, b := op(evalf(ab)); subs([F = eval(f), P = b-a, S = (1/2)*a+(1/2)*b], proc (x) options operator, arrow; `if`(x::realcons, F(frem(x-S, P)+S), ('procname')(args)) end proc) end proc;
F__periodic := Periodic(proc (t) options operator, arrow; piecewise(0 <= t and t <= d/fs, Vin, d/fs < t and t < 1/fs, 0) end proc, 0 .. 1/fs);
```

## @tomleslie  thank you !! That solv...

thank you !! That solved it. Best regards !

## @vv  You make it look so easy. Tha...

You make it look so easy. Thank you very much !

## @vv  Thank you very much !!  ...

Thank you very much !!

Sorry for keep asking, but now I have a different problem. I do not know how to acess the "x" values

If I do:

S:=seq(.... what you shown)

S[2,2] for example, it gives me "x = (1.387268082, 1.440652559)"

But how do I acess each element from x=... ,which is equation type?

Basically, the final result that I want is to plot the "min(x) vs theta" and "max(x) vs theta" where the plot is made with values from the list. That is why I need to acess each "x" from the list, extract the maximum and minimum into 2 different lists, and then plot it against "theta"

Would you mind to help me ?

Best regards !

## @vv  that solve the post question....

that solve the post question.

However, how could I extend this to work if i use Vout/Vline, here Vline is another list of values, instead of Vout/120 in the Left Hand Side of the equation ?

Thanks

## @Kitonum  Sorry, here it is. Coil...

Sorry, here it is.

CoilCalculus.mw

## Solved...

Thank you very much ! The question is solved. It was exactly what I wanted to know.

## Awsome directions...

@Preben Alsholm Thank you for giving me those awsome directions. That was what I was looking for.

## Perfect fitting...

@Rouben Rostamian  Thank you. That is what I have been looking for.

## Very Clearfull...

@Preben Alsholm Alsholm I don't know how to thank you, I don't have words... THANKS FOR YOUR TIME !

## THANKS BOTH !...

Ok so the comand to use is solve(equation you want to solve, variable of the equation).

But if I put pi instead of PI Maple gives me the general solution or what ? Why one term is positive meanwhile the other one is negative? What is the difference ?... I don't understand.

 Page 1 of 1
﻿