cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

6-Contributor

## Getting started with Laplace in MathCAD

I am trying to get started with Laplace transform in MathCAD 15 and I would like help to find what I did wrong in the document I uploaded.

It’s a simple second order RC circuit. V1 is a constant value. I tried to find V2(t). C2V0 and C1V0 are initial conditions of capacitors.

The result I got with invlaplace makes no sense.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
21-Topaz II
(To:-MFra-)

I have to make a small correction:

You can do even so:

14 REPLIES 14
23-Emerald III
(To:Anselme)

Does this help:

(Note that the last expression runs further to the right. See attached Mathcad sheet.)

Success!

Luc

6-Contributor
(To:LucMeekes)

Thanks Luc,

But your sheet doesn't run in my MathCAD 15. see attached jpg

23-Emerald III
(To:Anselme)

Funny, it would mean that your Mathcad cannot even solve the first set of equations (no Laplace involved there). That's unbelievable.

I generally have Automatic Calculation switched off. Did you press F9 after opening the sheet...?

Success!
Luc

6-Contributor
(To:LucMeekes)

Hi Luc,

I works, it was in manual calculation.

At this point, you will not be surprised if I tell you that I am a little confused with your matrix solution.

Would you be kind enough to make a solution without matrix?

23-Emerald III
(To:Anselme)

You HAVE to solve both V2 and V3 at the same time. That's what the Kirchoff (column) vector (it's not a matrix) is for. I see no other way to solve them both at the same time. {Oh, I could use a solve block... I find them ugly.}

It results in a (row) vector. That, in mathcad terms, is a matrix (one row, n columns). From that I pick the solutions for V2 and V3 and apply the inverse Laplace.

You Mathcad (probably 15) results in different(ly looking) expressions. That is due to the fact that the underlying symbolic machine is different. mathcad 11 uses a maple machine. Mathcad starting version 14 uses MuPad. In general Maple is more powerful, on occasion Mupad gives 'nicer' results (it will show a root, where Maple uses exponent 1/2).

Success!
Luc

P.S. I see now that I've probably made an error. Didn't apply Kirchoff's law properly. I'll try again later.

23-Emerald III
(To:LucMeekes)

Here's my correction:

With the output of an electronic circuit simulator, to check correctness:

Note that the voltages at nodes V2 and V3 at 100 s match with those calculated by Mathcad.

Success!
Luc

21-Topaz II
(To:Anselme)

Hi Anselme,

Allow me to point out you that the circuit you have drawn as  the Laplace transform of the given network, however, contains an error. In fact the Laplace transform of a constant voltage L(V1) = V1/s, instead you wrote V1 which is the Laplace transform of a Dirac pulse of area V1. So if the voltage source is an independent and constant voltage generator,  you have to correct the drawing and all the calculations.

Greetings

6-Contributor
(To:-MFra-)

Hi Luc,

If I use V1/s, MathCAD dont solve the invlaplace at all.

see attached

24-Ruby II
(To:Anselme)

Here is a result from Mathcad 15 M045.

21-Topaz II
(To:Anselme)

Hi Anselme,

my solution without R1:

6-Contributor
(To:-MFra-)

Can you attach the worksheet?

21-Topaz II
(To:Anselme)

Hi Anselme,

my solution is the followinig:

19-Tanzanite
(To:-MFra-)

Millman's theorem

21-Topaz II
(To:-MFra-)

I have to make a small correction:

You can do even so:

Announcements