Question: please answer it bu suing python A bar chart or (bar graph) presents grouped data with rectangular bars with lengths proportional to the values that
please answer it bu suing python


A bar chart or (bar graph) presents grouped data with rectangular bars with lengths proportional to the values that they represent. The bars are plotted horizontally and shows comparisons among categories. One axis of the chart shows the specific categories being compared, and the other axis represents discrete values. You need to display a bar graph of the series logarithmic function: y = A log(x) and need to give the user control over the series of values in the graph including the starting value, number of values, the multiplier (A) and the step (or interval) for the series value x. . Write a program including at least one function named main() that prompts the user for the following values: Number of values for x Starting value for x Step (or interval) for x . Your main () function should use a for loop and print() statements to display a header and bar chart (see examples below) of the corresponding values for y based on the logarithmic function shown above. Starting value for x Step (or interval) for x Your main () function should use a for loop and print() statements to display a header and bar chart (see examples below) of the corresponding values for y based on the logarithmic function shown above. This bar graph plots the function y = A * log(x) based on a range of values specified by the user 8|| |Value for A: 5 How many values for x in the range: 10 |Starting value for X: 1 |Step value for x: 1 This bar graph plots the function y = A * log(x) based on a range of values specified by the user K: A * log(x) |Value for A;6 : 6 1 How many values for x in the range: 7 12 Starting value for x: 8 Step value for x: 3.25 3 Value for A: 6.3 How many values for x in the range: 12 X: A * log(x) Starting value for x: 35 Step value for x: 12.5 17 8 | 11.25 |X: A * log(x) 14.5 10 * 17.75 21.0 35 24.25 47.5 27.5 60.0 172.5 85.0 97.5 110.0 ******************** | 122.5 ********** 135.0 ************** 147.5 | 160.0 172.5 ******* ********************** **************************** ***************
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
