Starting from:

$29.99

UCS548 Assignment 1 Solution

Assignment 1

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)

More products