Key Concepts in Probability and Decision Making

Key Concepts in Probability and Statistics

Random Variable

A random variable is a numeric description of the outcome of an experiment.

Discrete Random Variable

A discrete random variable is a random variable that may assume only a finite or infinite sequence of values.

Continuous Random Variable

A continuous random variable is a random variable that may assume any value in an interval or collection of intervals.

Probability Function

A probability function, denoted f(x), provides the probability that a discrete
Read More

Locke vs. Marx: Property, State, and Social Justice

Relationship of the Subject with Another Philosophical Position: Locke vs. Marx

John Locke is one of the first representatives of political liberalism, advocating for minimal government intervention in the economy, private ownership of the means of production, and a parliamentary political system. Ironically, the capitalist system, a crystallization of the ideas of liberalism and classical political economy, would become the subject of criticism by Karl Marx. In contrast to this society, Marx defended

Read More

Liberalism in Spain: Cadiz, Constitution of 1812, and the Triennium

The Introduction of Liberalism in Spain

Cortes of Cadiz and the Constitution of 1812

The liberal ideology is characterized by the rejection of absolutism, the embrace of national sovereignty, the defense of individual freedoms, equality before the law, and the right to private property.

The first attempt at liberalism occurred in the Cortes of Cadiz, made up of clerics, lawyers, officials, soldiers, academics, and landowners, where the first liberal constitution was created. In Cadiz, the Supreme Central

Read More

Valle-Inclán’s Theatrical Legacy: Myth, Farce, and Grotesque

Valle-Inclán: A Theatrical Revolution

Ramón María del Valle-Inclán is arguably the most complex and exciting writer of the twentieth century. He was a writer too modern for his time. His theater was so new and unknown to the public that it was kept away from the Spanish scene for over forty years. Valle-Inclán invented a new form of drama and a new conception of the stage. He advanced to the new European theater, the theater of the absurd, and avant-garde theater, pursuing technical, formal,

Read More

C++ Examples: Basic Operations and Code Snippets

C++ Code Examples

Basic Output

#include <iostream>
using namespace std;

int main(){
    cout << "Hola a todos!" << endl;
}

Sum of Two Integers

#include <iostream>
using namespace std;

int main() {
    int x, y;
    cin >> x >> y;
    cout << x + y << endl;
}

Sum of Three Integers

#include <iostream>
using namespace std;

int main() {
    int x, y, z;
    cin >> x >> y >> z;
    cout << x + y + z << endl;
}

Maximum of

Read More

Lexical Analysis and Finite Automata: Key Concepts

Key Characteristics of Context Sensitivity in Lex

  • (): Indicates a group.
  • (): Indicates a repetition range.
  • $: The pattern that precedes it is only recognized if it is at the end of the line.
  • ^: Outside the brackets, it indicates that the pattern is only acknowledged if it is at the beginning of the line.

Functions and Variables Provided by PCLEX

  • yylex(): Lexical analyzer.
  • yytext: This matches the current lexeme.
  • yyleng: Length of the current lexeme.
  • yylval: A global variable.
  • yyerror(): A function that is
Read More

Matter, Properties, and the Enigmatic Cravenmoore Mystery

Matter and its Properties

Matter is anything that occupies space and can be measured. A material system is a portion of matter that is isolated for study. A substance is a specific type of matter.

General Properties

General properties, such as mass and volume, are possessed by all systems.

Specific Properties

Specific properties depend on the type of substance that constitutes the system, but not on the amount or form. Examples include brightness, color, hardness, temperature, and density.

  • Mass: A property
Read More

Material Conditions and Social Consciousness: A Marxist Analysis

Both legal relations and forms of state cannot be understood by themselves or by the so-called general development of the human spirit, but merely in the material conditions of life which Hegel sums up, following the precedent of the English and French eighteenth-century, under the name of civil society, and that the anatomy of civil society must be sought in political economy.

In the social production of their lives, men establish certain necessary relations independent of their will, relations

Read More

Public Opinion: Formation, Influence, and Media Impact

Item 11: Public Opinion

What is Public Opinion?

To understand public opinion, we should pay attention to the words that make up this expression. It’s called “opinion,” and opinion does not imply certainty or truth. Opinion is what we think or believe, a mixture of knowledge and sympathy or antipathy. It is a kind of hunch rather than a truth. There are no comments on evidence. If things happen, there is no opinion because they are testable truths. A survey of people would solicit an opinion as to

Read More

Spain in the 17th Century: Society, Economy, and American Colonies

Foreign Policy of Felipe IV

He signed the Treaty of Westphalia in 1648. This treaty marked the end of the Thirty Years’ War, and Spain recognized the Independence of the Netherlands after an 80-year war. He also signed the Peace of the Pyrenees in 1659 with France, in which Spain lost Rosellón and Cerdaña.

Society and Economy

Mental restraints on society included:

  • The purity of blood: People preferred old Christian bloodlines and showed intolerance against those with Jewish or Muslim origins.
  • The disdain
Read More