Question: Please help me code the following in: JAVA Please create the code in as basic way as possible, so I can understand it better :)
Please help me code the following in: JAVA
Please create the code in as basic way as possible, so I can understand it better :)
Full points will be awarded, thanks in advance!

Part 1 Suppose you find a magic S1.00 coin. Its magic power is as follows: as each day passes, you get an additional dollar plus half of what you already had (it appears by the window somehow). Write a method called getRichQuick (no input is necessary for this method) that prints the first n days while your total is less than 1,000,000 dollars. In other words, how many days does it take for you to earn $ should calculate these numbers and print the following output: Day 1: $1 Day 2: $1 +($1+.50) $2.50 Day 3: $2.50 + ($1 + 1.25) $4.75 Part 2 Taylor that takes as in Write a method called put (i.e. argument) a double x and returns the value ofe. This method should NOT use any Math library functions, so you will need to use Taylor Series for eloop until terms become close to 0, say 10e-16): er = 1 + x+ Hint Write a helper method for finding the nth power of a number x divided by n!n(n-1)(n-2).. 2-1 that 72 is, your helper method should accept an x and output Your method e Taylor will return the value of - n n! Hint: Try the series at least to the point where n 5,n 10 and n 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
