Message Boards Message Boards

0
|
5140 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

can anyone help me with this code?

Posted 11 years ago

i keep getting this two errors for my codes.

var1 = graph1[input1];
soln3 = Simplify[ Solve[{il3 == (k((vdd - vin - vt)(vdd - vo[t]) - ((vdd - vo[t])^2/2)) - (k/2(vin)^2)), vin == mt}, il3, {vin}]];

1) Solve was unable to solve the system with inexact coefficients. The answer was obtained by solving a corresponding exact system and numericizing the result. >>

stage2[t] = il3 /. Part[Part[soln3, 1], 1];
soln4 = NDSolve[{vo'[t] == stage2[t]/c0, vo[input1] == var1}, {t, input1, vdd/m}];

2) NDSolve::argm: NDSolve called with 2 arguments; 3 or more arguments are expected. >>

keep getting both warning/ error.......

POSTED BY: nffddn

The message from Solve isn't an error, it's just telling you what it did. If you use NSolve, you won't see that message. NDSolve needs the independent variable specified as the second argument.

POSTED BY: Frank Kampas
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