[SOLVED] UCS538 Assignment 1

35.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (2 votes)

 

1. Assign and print the values 23.4, 45 and 678 to the variables A, B, C.
2. Display the entire variable you have created on the screen.
3. Remove the variable C and display the list.
4. Create a comment “I am learning R”
5. Create strings firstname and lastname as “MyName” and “MySurname” 6. Create the variable that can hold a value as 0 or 1.
7. Perform the operation as +, -, * and / on variables A, B, C together.
8. Apply the following functions on some values: Exp(), log(), log10(), log2(), pi, sqrt()
9. Write the statement to solve the following expressions:
1. 23 + (4.5 * 2.3) / 10 2. 456 / 12 – log(90)
3. Exp(5) + 12 / (5 ^ 6)

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.