# Statistics for IT– Worldwideasy – 06

Statistics, Nothing in life is guaranteed to you in this part We are in everything we do Opportunities to get successful results from business medicine to weather provides a quantitative description of probability. It provides a bridge between description and conjecture Statistics.

## Probabilistic vs Statistical Reasoning

Suppose I know the exact car ratio in California. Then I can find probably the first car I see on the street A Ford. This is probabilistic logic like mine. Know the population and predict the sample. Now suppose I do not know The rate of car production in California, though I would like to evaluate them. I’m watching Random car samples on the road and then There is an estimate of the proportions. This is statistical logic.

## What is Probability?

• We used charts and numerical measurements. Describe the typical sample datasets.
• We used charts and numerical measurements. Describe the typical sample datasets.
• An experiment is a process that Gets observations.
• An event is the result of an investigation, Usually in capital letters.

## Statistics – Experiments and Events

• If two events are reciprocal, when One event happens, the other cannot and vice versa On the other hand.
• Called an indestructible event A simple event.
• Indicated by e with a contribution.
• Every simple event is assigned Probability, measuring the number of times it occurs.
• A set of all the simple cases of an experiment Called the sample space, s.

## The Probability of an Event

• A set of all the simple cases of an experiment Called the sample space, s.
• If we let n get infinitely large,

## Statistics – Counting Rules

• There are 216 inclusions in the sample space for throwing 3 dice, the sample space There are 1296 inclusions for throwing 4 dice,
• At some point, we should stop listing and start thinking.
• We need some rules of calculation.
• If the experiment is done in two stages, With m method to complete the first stage and Ways to complete the second stage There are mn ways to accomplish that Should be tried.

## Event Relations

The beauty of using events instead of simple ones We can combine events and use other events. Logical operations and, or not. That is the sum of the two events A and B. A or B or both occur when the experiment takes place Was done.

Thank you for all!

More Statistics Lesson ClickHere!

See you Next Lesson Soon!

# Ruby Course – Worldwideasy – 02

Ruby programming lesson 2. Today we going to learn more about Ruby. In this tutorial, we will focus on variables, Strings, Numbers, and Operations. It can provide extensive knowledge.

## Use Variable

Variables are used to store information to be referenced and manipulated in a computer program. They also provide a way of labeling data with a descriptive name, so our programs can be understood more clearly by the reader and ourselves. It is helpful to think of variables as containers that hold information. Their sole purpose is to label and store data in memory. This data can then be used throughout your program.

launchschool.com

Now you know what is variable, let’s use it Ruby Programming

``````character_name = "jenny"
character_age = "23"
puts "my name is "+ character_name
puts "my age is "+ character_age``````

This Code output is My Name is jenny my age is 23. you can try this code in your pc.

## Working with Strings Ruby Programming

Threads are traditionally alphabetical. Now you can see how it works. see the below table and get an idea about ruby strings.

``Phone = "Apple Iphone"``

Work with Strings

## Working With Numbers

Every computer language uses numbers in particular. This is because it allows you to easily control the data. let me show you how to work with numbers in Ruby.

## Operations & Math in Ruby Programming

In mathematics, we use different operations, i.e. maximum value, square root, fall. They are also used differently in programming. The following example will give you a broader understanding.

##### Operations
``num = 30.67``

Operations

##### Math

it is a hard mathematics part but using ruby we can do it easily. see below table.

Math

Now you have developed some knowledge about Ruby. Try typing this code on your computer as well. Practice

Thank you for all!

More Ruby ClickHere!

See you Next Ruby Lesson Soon!

# C# Course – Worldwideasy – 02

Today we expect Variables, Data Types, Strings, and working with Numbers. this all is we are doing C# console application. its uses forget good basic knowledge for C#.

## C# Variables

Variable is a symbol that acts as a holder for various expressions or sizes and is often used to represent an arbitrary element of a set.

You now have a broader understanding. about what a variable is. So let us explain by c #. See the below example.

```using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
String chaName = "Harry";
int age = 30;

Console.WriteLine("my name is " + chaName);
Console.WriteLine("I am " + age);
Console.WriteLine("I like " + chaName);
Console.WriteLine("good for " + age);

}
}
}```

This code Output is My Name is Harry. I am 30. I like Harry. good for 30. You can try this code on your pc.

## C# Data Types

This is special it uses to make variables. c# is a case-sensitive language. We must first say that the type of data that the computer recognizes. There are a limited number of data types that we can identify.

Data Types

## Strings

Strings do a lot of work. We can do it very beautifully and easily. This is very useful for tasks like changing a name. Get an understanding from the table below.

Use for String

## Work With Numbers

This allows us to see how the code makes various changes to the numbers. See the table below. Get ideas from it.

Work with Numbers

More about Work with Numbers. example works.

Operations

Now you have the basic knowledge of c #. You can get a better understanding by trying the code again.

Thank you for all!

More C# ClickHere!

See you Next C# Lesson Soon!

# Php Course – Worldwideasy – 02

php lesson 2. Today we going to learn more about php. In this tutorial, we will focus on HTML, Variable, Strings, Numbers, and Operations. It can provide extensive knowledge.

### Use HTML For PHP

You can see below the HTML tag used in your php file.

``````<?php
echo "<h1>Micke</h1>";
echo "<hr>";
echo "<h1>"Jhone</h1>";
?>``````

### Use Variable

Variables are used to store information to be referenced and manipulated in a computer program. They also provide a way of labeling data with a descriptive name, so our programs can be understood more clearly by the reader and ourselves. It is helpful to think of variables as containers that hold information. Their sole purpose is to label and store data in memory. This data can then be used throughout your program.

launchschool.com

Now you know what is variable, let’s use php.

``````<?php
\$charname ="Jhone";
\$charage = '18';
echo "my name is" \$charname;
echo "my age " \$charage;
?>``````

### Working with Strings

the string is traditionally a sequence of characters. now you can see how to work it. Look at Example.

``````<?php
\$pharase = "Hello World";``````

Syntax

### Working With Numbers

Every computer language uses numbers in particular. This is because it allows you to easily control the data. let show you how to work with numbers in php.

``````<?php
echo 5;    //5
echo 5 + 9;   //14
?>``````
``````<?php
\$num = 10;
\$num ++;
echo \$num;  //11``````

### Operations

In mathematics, we use different operations i.e. maximum value, square root, fall. They are also used differently in programming. The following example will give you a broader understanding.

Operations

## Q1

• First get square root in x.
• y is max round number.
• z is positive number.
• R is X+Z/Y.
• (X=144, Y=2.2, Z=-33)
• Find R?
``````<?php
\$x = 144;
\$y = 2.2;
\$z = -33;
\$x1 = sqrt(\$x);
\$y1 = ceil(\$y);
\$z1 = abs(\$z);
\$R1 = \$x1 + \$z1;
\$R = \$R1 / \$y1;
echo "R";
<?php
\$x = 144;
\$y = 2.2;
\$z = -33;
\$x1 = sqrt(\$x);
\$y1 = ceil(\$y);
\$z1 = abs(\$z);
\$R1 = \$x1 + \$z1;
\$R = \$R1 / \$y1;
echo "R = ";
echo \$R;
?>
``````

Thank you for all!

More php ClickHere!

See you Next php Lesson Soon!