Message Boards Message Boards

Problem with list not being same shape and Integrate function

Posted 1 year ago

I am trying to find the values of the constants of the differential equation by usiong the BC's eq4-9. It shows list shape not same, even though there are six constants and I am trying to store it in 6 variables. Later i tru to input these values in the solution of the differential equation which is [Mu][x]. Then I solve for K with the given formula. K gives complesinfinity error eventhough I have not choosen any pirticular values. (K could be complex depending on the values) Could someone help me sort this out. Thanks

POSTED BY: Anand Mathew
3 Replies

Are you sure that you want to integrate on a null interval?

K = 1/((1/w)*Integrate[1/(\[Gamma]*c[x]), {x, -(w/2), -(w/2)}])
POSTED BY: Gianluca Gorni
Posted 1 year ago

I changed that, its still not working. Also, the values of the constants are not replaced in the expression for c[x].

POSTED BY: Anand Mathew

The function SolveValues outputs a list of list of rules. Triy this:

{{a1, a2, a3, a4, a5, a6}} = 
  SolveValues[{eqn9, eqn4, eqn5, eqn6, eqn7, eqn8}, {A1, A2, A3, A4, 
    C[2], C[1]}]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract