Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

# python, converting from exponential. im getting this error, r 2/545454.py, line 18, in T.append(float(lines[x].strip())) ValueError: could not convert string to float: '9.17973518E # its

# python, converting from exponential. im getting this error, r 2/545454.py", line 18, in T.append(float(lines[x].strip())) ValueError: could not convert string to float: '9.17973518E # its because its written as an exponential.

# R list = https://pastebin.comX2Y6TVH

# T list = https://pastebin.com/y2Uby5eF import numpy import matplotlib.pyplot as plt f=open('R 77777.txt',"r") lines=f.readlines() R=[] for x in range(500): R.append(float(lines[x].strip())) f.close()

################################### making T list # find T list at https://pastebin.com/y2Uby5eF f=open('T 77777.txt',"r") lines=f.readlines() T=[] for x in range(500): T.append(float(lines[x].strip())) f.close()

################################## each A = 1 - R[i] - T[i] A=[] for i in range(len(R)): A.append(1 - (R[i]) - (T[i])) K=numpy.linspace(0,100,500) #print(K) plt.plot(K, A) plt.title("K over A") plt.figure() plt.plot(K, R) plt.title( " R = Y, K = x ") plt.show()

image text in transcribed

R 717-Netep Fil EdiVi Hulp 1.15798917E-82 5.07526584E 92 9.59801497E 02 .127986988 0.148645236 0.140771851 0.143239321 0,153930805 0,179261415 8.199092835 8.224324588 8.755018567 this 1s example of data find in links below 0.375178439 0.4687e2197 7G4

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

0764549634, 9780764549632

More Books

Students also viewed these Databases questions

Question

Explain the process of MBO

Answered: 1 week ago