<jupyter_start><jupyter_text>Atividade 3<jupyter_code># dados dado pelo enuncido
u = 2000
phig = 40/10000
N1 = 2000 
N2 = 1500
l1 = l2 = l5 = l6 = 80/1000
l4 = 400/1000
l3 = 1/1000
l7 = 760/1000
l8 = 80/1000

e = 2.71828182845
pi = 3.1415
u0 = 4*pi/10**(7)<jupyter_output><empty_output><jupyter_text>a)<jupyter_code>R = lambda u,l,s : (1/u)*(l/s)
L = lambda N,R: (N**2)/R
I = lambda phi,R,N: phi*R/N 

l_R1 = 2*l4 + 2*(l7-l5-l1) +(pi/2)*((l2/2)+(l5/2)+(l6/2)+(l1/2)) - l3
l_Re = l3
s = l8*l5
R1 = R(u0*u,l_R1,s)
Re = R(u0,l_Re,s)
Req = R1 + Re
ig = I(phig,Req,N1)

print(ig)<jupyter_output>0.5284995225210886<jupyter_text>b)<jupyter_code>ig = I(phig,Req,N2)

print(ig)<jupyter_output>0.7046660300281181<jupyter_text>c)<jupyter_code>i1 = I(phig,Req,N1)
M = N2*phig/i1
print(M)<jupyter_output>11.352895781964653<jupyter_text>d)<jupyter_code>I_d = phig*Req/(N1+N2)
print(I_d)<jupyter_output>0.30199972715490775<jupyter_text>e)<jupyter_code>I_e = phig*Req/(N1-N2)
print(I_e)<jupyter_output>2.1139980900843542<jupyter_text>f)<jupyter_code>L1 = L(N1,Req)
L2 = L(N2,Req)
I1_i = L1/(L1+L2)
I2_i = L2/(L1+L2)
I_f = phig*Req/(I1_i*N2 + I2_i*N1)
print(I_f)<jupyter_output>0.6291660982393912
{'fraction_non_alphanumeric': 0.19338422391857507, 'fraction_numerical': 0.20271416454622562, 'mean_word_length': 6.195121951219512, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '7', 'dir': 'jupyter-structured-clean-dedup', 'id': '537274', 'license': 'MIT', 'n_tokens_mistral': 824, 'n_tokens_neox': 691, 'n_words': 84, 'path': 'src/exercises/ex3.ipynb', 'repo_name': 'VanderSant/PEA3306_conversao_eletromecanica_de_energia', 'size': '1179'}