Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this is python programming and i need help. I want to sum up all the results. How can I write a code that sum 5

this is python programming and i need help. I want to sum up all the results. How can I write a code that sum 5 different result values ? (for n 0 to 4) I need to find approximately 0.053186 image text in transcribed
Eacaat value of cos(x) - 0.5313607213743555 math.exp(x) print("Exact value of ex-, math.exp(x)." ") Exact value of ex- 2.7456010150169163 print("The aim of two", math.cos(x) +math.exp(x)." ") The sum of two = 3.2774617363912717 print(It the precision is 3 digita.", format (math.cos(x) +math.exp (*) If the precision is 3 digita, 3.277 10 toplam IC 1-0, result in 1.0 It nei, esult is -0.51005 TE 1-2, result is 0.04335850041666667 If n-3, result in -0.001474333542501389 LE 1-1, result is 0.000026856565119744052233703713 COEL tange (5) mx** (21) denom math.factorial (21) taylor_co- (1-1) **1) (num/denom) print(" no. temut , taylor con) I print(IEM,esult 1s", taylor_coa) 121 print n, tenuit is, taylor_com) 3: print (1) result is taylor_cos) pri teult 1.Orm taylor_003,"300"))

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

Step: 3

blur-text-image

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

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions