1. Engineering
  2. Computer Science
  3. write a c program that generates 10 random number between...

Question: write a c program that generates 10 random number between...

Question details

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.80.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 functioncomputed sigmoid function 0.11920292 computed sigmoid function 0.88079708 0.7 computed sigmoid function 0.80218389 -0.3 computed sigmoid function 0.35434369computed 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

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution