Question: On Spyder, Create a plot of the power function ( y = ax ^ b ) for the following values of a and b .

On Spyder,
Create a plot of the power function (y=ax^b) for the following values of a and b. When your write your code store the results to a unique variable (e.g. y1a, y1b, y2c, etc.) Its critical that you define (and re-define) the variables a and b to do the calculations. For each of the functions use the print() function to print out the value of a, b, x=1, and the value of the function and x =1(see template below)
a=1; b=0
a=1; b=1/4
a=1; b=1/2
a=1; b=1
a=1; b=2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!