Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi - how do I tell Mathcad Prime to include an initial condition when symbolically integrating? I want the initial value of my function to be 0.1 at time t=0.
See attached.
thank you,
russ
Solved! Go to Solution.
You have:
(I've added an integration constant c)
and want:
This means that c will be a function of omega and theta, as follows:
With that you can (re-) define:
Success!
Luc
initial? This would mean that you also have to provide an initial value for t. I suppose you mean t=0, that is phi(0)=0.1.
So you actually have a (simple) ODE. Current version of Prime can solve ODEs symbolically:
Otherwise you could do it step by step:
.) Add an arbitratry constant C of integration
.) Apply the initial condition and solve for C
.) Redefine the function using the correct expression for C
or a little bit shorter, avoiding the explicit definition of C
which can be combined in one small program
P10 worksheet attached
Very nice, thank you!
You have:
(I've added an integration constant c)
and want:
This means that c will be a function of omega and theta, as follows:
With that you can (re-) define:
Success!
Luc