Python - Integrating a function and plotting results
问题 I'm trying to solve Bernoulli's beam equation numerically and plotting the results. First derivative of the equation is the slope and the second derivative is the deflection. I approached the problem step-by-step, first plot the function and then integrate it and plot the integration results on the same diagram. My code so far is bellow. I suspect the problem lies in the fact that the integrate.quad returns a single value and I'm trying to get multiple values from it. Does anyone know how to