Question: This is using java (INTELLI J) and Gradle. I will appreciate if you can help me to solve those problems. I am starting learning programming+

 This is using java (INTELLI J) and Gradle. I will appreciateif you can help me to solve those problems. I am starting

This is using java (INTELLI J) and Gradle. I will appreciate if you can help me to solve those problems. I am starting learning programming+ java, so it is kind difficult to me to solve and get the correct results of this. If you make a comment before making each part, I will appreciate it. (EX. //methods for ... ).

Note that you may need to use methods from an external library to complete parts of this assignment. Be sure and modify your build.gradle le appropriately to manage this library

THANK YOU FOR YOUR HELP AND PATIENCE!

Part 4 Create a class called ExponentialRandom Variable in a class file called ExponentialRandom- Variable.java that extends the class ContinuousRandom Variable. This class should have the following fields/methods: One field - double lambda One method called get Mean() - accepts no arguments - returns a double calculates and returns the mean for an exponential random variable with param- eter lambda using the following equation: E[X] = lambda where X is an exponential random variable One method called get Variance - accepts no arguments - returns a double - calculates and returns the variance for an exponential random variable with pa- rameter lambda using the following equation: One method called get Variance() - accepts no arguments - returns a double - calculates and returns the variance for an exponential random variable with pa- rameter lambda using the following equation: VIX) = Lambda where X is an exponential random variable One method called CDFO - accepts a double named - returns a double equal to the value of P(XSI) - calculates P(XS) using the following equations: P(X S2) 1-ermediaz) P(XS) = 0 for 10 for

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 Databases Questions!