Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use r studio to finish 1. Write a function to calculate miles per gallon given kilometres travelled, and litres of gasonline used The function should

use r studio to finish

image text in transcribedimage text in transcribedimage text in transcribed

1. Write a function to calculate miles per gallon given kilometres travelled, and litres of gasonline used The function should have two arguments, litres and kilometres, and should return the mileage in mpg #mpg-function( arguments here){ #mpg #return (mpg) Test your function using input values of 100 kilometres and 8.3 litres 2. The roots of the quadratic ax2 + bx + c are given by If b2 - 4ac

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

Students also viewed these Databases questions

Question

Is the person willing to deal with the consequences?

Answered: 1 week ago

Question

Was there an effort to involve the appropriate people?

Answered: 1 week ago