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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

6-Contributor

## need solution for piece wise differential equation in matcad

Hello, I'm Mathcad newbie and I am unable to solve the attached problem in mathcad.

how to plot voltage vs df/dt and voltage vs f

1 ACCEPTED SOLUTION

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

The for loop begins from j=1 not 0:

8 REPLIES 8
23-Emerald I

Attached is how to do it; but I don't like the result. . .

23-Emerald III

This may be a start. (Note, a value for Vo is needed, I just put in 2).

This is your df/dVin. Note that it is discontinuous!

Then you find f by simple integration:

So now you have the function f(Vin...), You can put in any value, or function, for Vin.

Success!
Luc

23-Emerald I
(To:LucMeekes)

That's great!

Plot f(t) vs t  ??

21-Topaz II

Hi,

I've used the fourth order Runge-Kutta method, the result is below depicted:

24-Ruby V

You could define the function that way

But it would be the same as

21-Topaz II