Question: Write a C++ program that generates 10 random number between [-1,1] to compute sigmoid function 1/1+exp(-av) where (a) is slop and value of (a) will
![Write a C++ program that generates 10 random number between [-1,1]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f121400f76c_71966f1213f73ca0.jpg)


![value of slop 2 The random number generated between [-1,1] are: 0.1](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f121421f2b8_72166f121419831d.jpg)

Write a C++ program that generates 10 random number between [-1,1] to compute sigmoid function 1/1+exp(-av) where (a) is slop and value of (a) will be get from the user? example for output Enter the value of slop 2 The random number generated between [-1,1] are: 0.1 -0.2 -1 10.7 -0.3 0.5 0.6 0.8 0.8 0.9 The result of the the sigmoid function: V- 0.1 computed sigmoid function 0.549834 -0.2 computed sigmoid function 0.40131234 -1 computed sigmoid function computed sigmoid function 0.11920292 computed sigmoid function 0.88079708 0.7 computed sigmoid function 0.80218389 -0.3 computed sigmoid function 0.35434369 computed sigmoid function 0.35434369 VF 0.5 computed sigmoid function 0.73105858 0.6 computed sigmoid functions 0.76852478 0.8 computed sigmoid function 0.16798161 -0.8 computed sigmoid function- 0.16798161 0.9 computed sigmoid function = 0.85814894
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
