Exercise 1 - Classes

1 Creating a Class

Create a class, Multiply, that calculates the product of two variables, which are Real numbers with given values.





Make the previous class into a model.



1.1


1.1.1 Simulation of Multiply

We simulate Multiply in the interval {0, 1}, since we see that both x, y and product will get constant values. Then we can plot these variables.