Problem 1: Create a 1D TensorFlow constant (a Tensor) containing the numbers from 1 to 5. Then, multiply every number in that tensor by 10.

Problem 2: In machine learning, algorithms need to calculate derivatives to update their weights and “learn.” Create a TensorFlow Variable with the value of $3.0$. Use TensorFlow to calculate the derivative of the equation $y = x^2$ with respect to $x$.(Note: The mathematical derivative of $x^2$ is $2x$, so if $x=3$, the answer should be $6$).

Problem 3: You have a tiny dataset representing the simple linear rule $y = (2x - 1)$.X: -1, 0, 1, 2, 3, 4Y: -3, -1, 1, 3, 5, 7Build a neural network with a single layer and a single neuron to learn this relationship. Train it for 500 epochs, then ask it to predict the Y value when X is 10.