0
Convert the following into exponent form: 23.147,7.214,0.00005,0.319
python programming language
17 Respuestas
+ 1
ohh never mind! atleast u tried thx fr it
+ 1
import math
print(math.exp(45.17))
from decimal import Decimal
print('%.2E'% Decimal('40800000000.00000000000000'))
print("{:.2E}".format(Decimal('40800000000.00000000000000')))
Nikky choudhry I found those in a SO discussion (link below), there are some other examples, see if you can find one that suits you : )
https://stackoverflow.com/questions/6913532/display-a-decimal-in-scientific-notation
+ 1
thanks Ipang
+ 1
You're welcome Nikky choudhry : )
0
import math
x=23.147
print('e^'+str (math.log(x)))
0
it's a question from cs book ( python) answer was needed
0
so i have also written code of output
0
no not code, it's all about basic answer
0
btw thanks for your answer Pulkit Kamboj
0
kk
0
✔
0
e^x=23.147
x=ln(23.147)
x=3.14
so, ans is e^3.14
hope you can do others yourselves
https://code.sololearn.com/c1bJVSjIvpo1/?ref=app
0
thanks ☺
answer=
1.) 0.23147x10^2= 0.23147E02
2.)0.7214x10= 0.7214E01
answer was something kike this, this is not for coding, it was for written exam
0
ohk, sorry
0
by helping someone do u say sorry??
0
Nikky choudhry sorry for not giving the answer you wanted
0
Your answer here:
23.147 = 0.23147 × 10^2 = 0.23147E02
7.214 = 0.7214 × 10 = 0.7214E01
0.00005 = 0.5 × 10^{-4} = 0.5E-4
0.319 = 0.0319 × 10 = 0.0319E01
Hope it helps 🙂