Clear Filters
Clear Filters

How to solve two coil equation?

2 views (last 30 days)
Nico Lastin
Nico Lastin on 20 Apr 2018
Answered: Stephan on 20 Apr 2018
Dear all,
unfortunately, I don´t know how to solve the following equations with Matlab.
The first one is the self-capacitance of a resonator; I have all parameters given except the angel, and, thus I don´t know how to solve the integral. (Image 1 and 2)
The next equation would be how to solve the self-inductance. Do I need five for loops? (Image 3)
Thank you very much!

Accepted Answer

Stephan
Stephan on 20 Apr 2018
Edited: Stephan on 20 Apr 2018

Hi,

this should work numerically in Matlab - just define your function and use this:

https://de.mathworks.com/help/matlab/ref/integral.html

If you want a analytical solution you will need to use symbolic Toolbox.

PS: if that helped, please accept answer ;-)

More Answers (3)

Stephan
Stephan on 20 Apr 2018
Hi,
isn't the angel Pi/4 (upper bound) and 0 (lower bound) for solving the integral?

Nico Lastin
Nico Lastin on 20 Apr 2018
That makes sense! Thank you :) Can Matlab solve equations like that?

Stephan
Stephan on 20 Apr 2018

Hi again, to solve the last equation numerically you will Need this:

https://de.mathworks.com/help/matlab/ref/cross.html

I also would use 5 for Loops to solve this equation. Maybe there is a more elegant way to solve, but this one will work.

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!