Dr. Pat, Thank you for the video. Regarding to the symbolic integral, I want to add a constant, such as C1 as in the result, then later use B.C to solve C1 and put back into the solution. What is the best way to do this? Thank you!
@PatJHeffernan2 жыл бұрын
Hi yevictor. I fiddled with it a bit and believe I can do what you are looking for. Was hoping I could just send you a screen shot, but no ability to do that here. I used functions... assigned a polynomial to g(x) then made f(x) equal to the integral of g(x) and solved using the symbolic solver (it doesn't add the constant). I then made a function in x and C1 by making it equal to f(x)+C1 and solved again with symbolic solver. I then used the solve block to enter my BCs and solve for C1. Plotted it just for good measure. It was easier than it sounds here... if you have a means by which I can send a screen shot, happy to do so. A fun little problem. I'll do up a proper example using beam deflections and maybe turn it into a video. Hope this helps.
@navruzbekruziboyev65932 жыл бұрын
Very good. Thank you
@rahulbanerjee6652 Жыл бұрын
what about tabular data differentiation?
@PatJHeffernan Жыл бұрын
Hi Rahul, can you be more specific what you are trying to do?
@rahulbanerjee6652 Жыл бұрын
@@PatJHeffernan Seriously speaking, i was not expecting a response. A big thank you is in order. I find your channel a direct to the point application of the software. You open new avenues of exploration with simplicity and methodical synergy. It is indeed engaging to follow. As to my vague question i am sorry not being explicit. If we have x and y in tabular columns like in excel. Say column A and Column B respectively. Is there any direct function to evaluate the derivative dy/ dx at each point of x? (Apart from the complicated procedure of defining a spline etc.) Thank you again for reaching out to an old post.
@PatJHeffernan Жыл бұрын
Thanks Rahul for your kind words. I have not done what you are asking but will give it some thought while I run an errand this afternoon to see what I can think of to try! Wish me luck! 🤞🏻
@rahulbanerjee6652 Жыл бұрын
@@PatJHeffernan Sir it has been your kindness that has graced us. Wishing you the very best.
@PatJHeffernan Жыл бұрын
Hi Rahul. All I can think of is, as you described, getting a curve fit and taking the derivative. Alternatively you could use the point data itself to estimate the slope at each point from the adjacent points, but again not a direct function as you requested. (Caveat: just because I'm unaware of a function, doesn't mean it doesn't exist, just that I'm not familiar with it). Sorry I couldn't be of more help.