Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
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?
Solved! Go to Solution.
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 🙂
If Vin is not DC but Vin(t) you should do convolution.
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 🙂