Assignment 1: Basic R Programming
1. Write a R program to take input from the user (name and age) and display the values. Also print the version of R installation.
Answer :
2. Write a R program to get the details of the objects in memory.
Answer :
SET A:
1. Write a R program to accept dimensions of a cylinder and print the surface area and volume.
2. Write a R program to accept temperatures in Fahrenheit (F) and print it in Celsius(C) and Kelvin (K).
3. Write a R program to accept two numbers and print arithmetic and harmonic mean of the two number.
4. Accept three dimensions length (l), breadth(b) and height(h) of a cuboid and print surface area and volume
SET B:
1. Accept the x and y coordinates of two points and computes the distance between the two points.
2. A cashier has currency notes of denomination 1, 5 and 10. Accept the amount to be withdrawn from the user and print the total number of currency notes of each denomination the cashier will have to give.
SET C:
1. Write a R program to create a sequence of numbers from 20 to 50 and find the mean of numbers from 20 to 60 and sum of numbers from 51 to 91.
Basic R Programming | R Programming Solved Assignment
Reviewed by technical_saurabh
on
February 22, 2021
Rating:
No comments:
Post a Comment