Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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] 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started