Question: Practice List After completing the swirl lessons ( please type the command bye ( ) to terminate the swirl application ) , write code in

Practice List
After completing the swirl lessons (please type the command bye() to terminate the swirl application), write code in the console window that will create an object called "practice_list". practice_list should contain the following items, in order:
1) the number list 25 to 35 multiplied by the square root of 3, divided by the square of the list from 3 to 7.
2) pie, which is "pi" in R
3) Euler's number, which is "exp(1)" in R.
Note that a warning message will appear because 25:35 is not the same length as 3:7. That's OK, it's just a warning message!
Pass the entire list into the sum command, e.g. sum(practice_list) and verify that the answer is 38.60024

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!