Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using R z. test (dat, sigma = 0.5, mu = 2, alternative = greater, conf.level = 0.99) ## $data.name ## [1] dat ## ## $parameter

image text in transcribed

Using R

z. test (dat, sigma = 0.5, mu = 2, alternative = "greater", conf.level = 0.99) ## $data.name ## [1] "dat" ## ## $parameter ## sigma ## 0.5 Problem 3 Design S3 classes representing: A circle A rectangle A square Be sure to write functions that construct these objects for the user. Then write two generic functions, area () and perimeter(), thal find the area and perimeters of the respective objects. Write print () methods for your objects. Demonstrate that your code works. These objects should be defined in meaningful ways, allowing risers to create objects of different size and shape BONUS: Since squares are also rectangles, you could save time and write better code by having the square class inherit from the rectangle class. You should have separate print methods for squares and rectangles, but the area() and perimeter() methods could be shared. # Your code here z. test (dat, sigma = 0.5, mu = 2, alternative = "greater", conf.level = 0.99) ## $data.name ## [1] "dat" ## ## $parameter ## sigma ## 0.5 Problem 3 Design S3 classes representing: A circle A rectangle A square Be sure to write functions that construct these objects for the user. Then write two generic functions, area () and perimeter(), thal find the area and perimeters of the respective objects. Write print () methods for your objects. Demonstrate that your code works. These objects should be defined in meaningful ways, allowing risers to create objects of different size and shape BONUS: Since squares are also rectangles, you could save time and write better code by having the square class inherit from the rectangle class. You should have separate print methods for squares and rectangles, but the area() and perimeter() methods could be shared. # Your code here

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

Oracle Database Administration The Essential Reference

Authors: Brian Laskey, David Kreines

1st Edition

1565925165, 978-1565925168

More Books

Students also viewed these Databases questions

Question

Does it exceed two pages in length?

Answered: 1 week ago

Question

Does it avoid typos and grammatical errors?

Answered: 1 week ago