This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 2) Point-slope form (you know the line's slope and one point) => 2 Enter the slope=> 4.2 Enter the x-y coordinates of the point separated by a space=>1 1 Point-slope form y – 1.00 = 4.20(x-1.00) Slope-intercept form y = 4.20x – 3.20 Do another conversion (Y or N)=> Y 3. The electric company charges according to the following rate schedule: 9 cents per kilowatt-hour (kwh) for the first 300 kwh 8 cents per kwh for the next 300 kwh (up to 600 kwh) 6 cents per kwh for the next 400 kwh (up to 1000 kwh) 9 cents per kwh for all electricity used over 1000 kwh Write a function to compute the total charge for each customer. Write a main function to call the charge calculation function and should print out the ID no of customer, the total kilowatt-hours used and the total charges....
View Full Document
- Spring '06