Message Boards Message Boards

0
|
4871 Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

[?] Solve this differential equation with DSolve?

Posted 7 years ago

Consider the following code:

DSolve[{0 == c''[t] + 100/0.001 c'[t] + c[t]/(0.001*0.0005), c[0] == 0, 
           c'[0] == 0}, c[t], t] // Simplify 

and it returns c[t]->0

This is the differential equation of an RLC series circuit whit a continuous voltage source.

Regards.

POSTED BY: Julian Oviedo
3 Replies

The answer you got is correct for your initial conditions -- you specified 0 for c[0] and no velocity (c'[0]) so the system cannot move.

Try changing the initial condition and you get a different response:

DSolve[{0==c''[t]+100/0.001 c'[t]+c[t]/(0.001*0.0005),c[0]==0,c'[0]==1},c[t],t]//Simplify

to get

(* {{c[t] -> -0.000010004 E^(-99980. t) + 0.000010004 E^(-20.004 t)}} *)
POSTED BY: Neil Singer
Posted 7 years ago

Thanks, Fixed! But I still do not know why the code is wrong.

POSTED BY: Julian Oviedo

Welcome to Wolfram Community! Please make sure you know the rules and how to format your code properly, which you can find here: https://wolfr.am/READ-1ST If you do not format code, it may become corrupted and useless to other members. Please respect the rules.

enter image description here

POSTED BY: Moderation Team
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract