Condition/constraint problem
- To: mathgroup at smc.vnet.net
- Subject: [mg40915] Condition/constraint problem
- From: Bamboo <u8514501 at cc.nctu.edu.tw>
- Date: Thu, 24 Apr 2003 05:25:08 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Dear all, I find a problem and don't know why. The input is as following. If a condiction(constraint) is set to the function, vx1[t], the derivative of vx1[t] is worng (fin1 is not equal to fin2). Any help welcome. vx1[t_] : = 0.0015 + 0.0012 Sin[70 t] /; t < 5 vx2[t_] : = 0.0015 + 0.0012 Sin[70 t] fin1 = Dt[vx1[t], t] fin2 = Dt[vx2[t], t] Plot[fin1, {t, 0, 2}] Plot[fin2, {t, 0, 2}] Thanks, Bamboo