Skip to main content
1-Visitor
Solved

This value must be a function

I am doing an assignment on electrical engineering and differential equations, but i get a problem with "This value must be a function". I really cant see where the problem is and howto solve this. Mabye some of you can help to spot the error?

Werner_E
Werner_EAnswer
25-Diamond I

You defined V.in:=5V as a variable, but later use V.in as a function by writing V.in(t).

Thats the reason for the error message.

You have to decide, if V.in should be constant 5V or if it should depend on time!

Of course you can have both by defining V.in(t):=5 V   🙂

2 replies

ttokoro
21-Topaz I

CR-DC.png

If Vin is not DC but Vin(t) you should do convolution.

Translate
t.t.
Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I

You defined V.in:=5V as a variable, but later use V.in as a function by writing V.in(t).

Thats the reason for the error message.

You have to decide, if V.in should be constant 5V or if it should depend on time!

Of course you can have both by defining V.in(t):=5 V   🙂

Translate