Kindly help correct these Python codes for finding the expression of k_norm. The m and l values are given in the table.

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Kindly help correct these Python codes for finding the expression of k_norm. The m and l values are given in the table.

Post by answerhappygod »

Kindly help correct these Python codes for finding theexpression of k_norm. The m and l values are given in thetable. I want the codes to read off the m and l values directlyfrom the table, and calculate and print a column of k_norm values.Thank you very much.
Kindly Help Correct These Python Codes For Finding The Expression Of K Norm The M And L Values Are Given In The Table 1
Kindly Help Correct These Python Codes For Finding The Expression Of K Norm The M And L Values Are Given In The Table 1 (67.46 KiB) Viewed 24 times
K-norm = (26+1), (1-m)! 4π (ltm)! In [345]: In [350]: In [351]: In [352]: import scipy as sci 1s tips ['1_value] ms= np.abs (tips ['m_value']) # %% 1=1s m=ms -8 13 f = sci.math.factorial k_norm = ((2*1+1)/(4* np.pi) * f(1-m)/f(1+m))**0.5 print (k_norm) TypeError 2 Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_18184/1410444274.py in 1 f = sci.math.factorial ----> 2 k_norm = ((2*1+1)/(4* np-pi) * f(1-m)/f(1+m))**0.5 3 print (k_norm) TypeError: 'Series' object cannot be interpreted as an integer L 12 15 || 1K-norm
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply