Skip to main content
1-Visitor
May 5, 2020
Question

Practical? (Symbolic System of equations to be turned into a Matrix then inverted to gain solution)

  • May 5, 2020
  • 12 replies
  • 4415 views

SchaumsElectronic_004_007_002.jpg

I am looking to make some symbolic equations then place them inside a matrix and solve current node mesh for the answer to circuit equation. I am looking for advice on how to do this or the advice that such an endeavor is impractical. My next goal is to find a PTC defined function to extract the coeffecient for the equations for Voltage and the unknown currents (I.1 I.2 I.3 I.4 I.5). So right as now i am looking to sort the result and THEN Store the results.

12 replies

19-Tanzanite
May 5, 2020

Is the attached the sort of thing you are looking for?

 

Alan

 

1-Visitor
May 26, 2020

I am looking to organize the  equation (E.1, E.2, E.3, E.4, E.5).. I have five unknowns (I.1, I.2, I.3, I.4, I.5)  and the five equations already mentioned (E.1, E.2, E.3, E.4, E.5).  I want to organize the equation  in terms of  some number = an equation defined but the unknowns. I.E. (19=28*I.1+70*I.2+99*I.3-7453*I.4-972364*I.5) I then want to extract the coefficients. The place the coefficient into a matrix one equations at time till i have square matrix i can solve for. (I.E. invert roe escholon etc. etc low lever linear algebra.. if the matrix is not invertible i can throw and error?) I understand what your doing buy looking at the equations and just copying the equations into a matrix then solving for it. I am petty. i might want to do a simulation of passive components then run a script and some mathcad commands to check my other math cad work. I was working for a trainer and maybe went over board looking to use symbolics.

23-Emerald IV
May 26, 2020

Hmmm, how about:

LucMeekes_1-1590573463364.png

LucMeekes_2-1590573495446.png

 

LucMeekes_3-1590573528038.png

 

 

LucMeekes_4-1590573547164.png

Check:

LucMeekes_0-1590573799970.png

 

Success!
Luc

 

ttokoro
21-Topaz I
May 6, 2020

image.pngimage.png

image.pngimage.png

t.t.
ttokoro
21-Topaz I
May 27, 2020

dc2.png

t.t.
21-Topaz II
May 6, 2020

Delete

25-Diamond I
May 26, 2020

Some remarks:

The keyword "Given" to start a solve block must be written in a math region, not a text region

A solve block can also be evaluated symbolically.

See if the attached file helps

 

1-Visitor
May 27, 2020

I can see your getting a solution. I can see you putting an initial value into the variable of the imaginary number square root of negative one i believe. I have to explain to the tutor/ friend why i am doing this in mathcad and how it gets me the answer i need. So i go back to what i know linear algebra and i try to make mathcad conform to formula i know. Your time is money.. Do you have any books to suggest that might explain this as i am probably more easily confused and have to be thorough in my explanation to my tutor?  (Worse i could (Henry David) Thoreau in my work which might be too wordy and too nerdy.)

21-Topaz II
May 27, 2020

Hi,

If you want to be really good, then you have to study this, there is everything:

Leon O. Chua,

Charles A. Desoer,

Ernst S. Kuh,

Linear and nonlinear circuits

Mc Graw Hill

Electrical Engineering Series