Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need the code for this problem in python. Thanx f(x) = V(x+5)-15) Activity #3: Following directions - individual The purpose of this activity is to

Need the code for this problem in python. Thanx

image text in transcribed

f(x) = V(x+5)-15) Activity #3: Following directions - individual The purpose of this activity is to get you used to Mimir, and to learn to follow directions. You will encounter limits of functions in calculus and learn to work with them analytically. Writing this program will introduce how limits can be calculated numerically and provide additional practice creating computational Python programs. Certain functions are difficult to evaluate at particular values, where infinity or division by zero are involved, but can be understood by evaluating them at a number of values that approach zero or infinity. You are to write a program that produces several evaluations for one function. You should perform these evaluations by creating a sequence of print statements that output the desired numbers. Write a program named Lablb_Act3.py that performs the following tasks for the function evaluated close to x = 0. Use values of x ranging from 1 to 10-7 in steps of 1/10 of the previous value (x = 1, x = 0.1, x = 0.01...). 1) First, print a line of text stating the purpose of the program 2) Next, print a line of text stating your guess for the final calculated value a. There are no wrong answers, just make a guess b. Think about the answer then see if your guess was close 3) Next, print out a sequence of 8 numbers, representing evaluating the function at 8 different values 4) Finally, print one blank line, followed by a statement of how good your guess is As an example, for the equation f(x) = tan(x)/x evaluated close to x = 0, your output would look like what's shown below. Make sure your code evaluates f(x) = (x+5)-(5) Example output (using tan(x)/x): This shows the evaluation of tan(x)/x evaluated close to x=0 My guess is 2 1.5574077246549023 1.0033467208545055 1.0000333346667207 1.0000003333334668 1.0000000033333334 1.0000000000333333 1.0000000000003333 1.0000000000000033 My guess was a little off

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

9th Edition

ISBN: B01JXPZ7AK, 9780805360479

More Books

Students also viewed these Databases questions