How to resolve the algorithm Random numbers step by step in the МК-61/52 programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm Random numbers step by step in the МК-61/52 programming language

Table of Contents

Problem Statement

Generate a collection filled with   1000   normally distributed random (or pseudo-random) numbers with a mean of   1.0   and a   standard deviation   of   0.5 Many libraries only generate uniformly distributed random numbers. If so, you may use one of these algorithms.

Let's start with the solution:

Step by Step solution about How to resolve the algorithm Random numbers step by step in the МК-61/52 programming language

Source code in the мк-61/52 programming language

П7	<->	П8	1/x	П6	ИП6	П9	СЧ	П6	1/x
ln	ИП8	*	2	*	КвКор	ИП9	2	*	пи
*	sin	*	ИП7	+	С/П	БП	05


3	10^x	П0	ПП	13	2	/	1	+	С/П	L0	03	С/П
СЧ	lg	2	/-/	*	КвКор	2	пи	^	СЧ	*	*	cos	*	В/О


  

You may also check:How to resolve the algorithm Cut a rectangle step by step in the Tcl programming language
You may also check:How to resolve the algorithm Read a file line by line step by step in the COBOL programming language
You may also check:How to resolve the algorithm Even or odd step by step in the M4 programming language
You may also check:How to resolve the algorithm Hello world/Graphical step by step in the Delphi programming language
You may also check:How to resolve the algorithm Angle difference between two bearings step by step in the K programming language