Skip to content

Instantly share code, notes, and snippets.

View pammacdotnet's full-sized avatar

Alberto Corbi pammacdotnet

View GitHub Profile
This file has been truncated, but you can view the full file.
<!-- Saved from local source at 2023-01-15T20:38:38Z using monolith v2.7.0 -->
<!DOCTYPE html><html><head>
<meta charset="UTF-8">
<title>Ejercicio de cambio de base</title>
<style>
/* From extension vscode.github */
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="GENERATOR" content="LyX 2.3.7" />
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<title>Autovalores desde endomorfismo</title>
<style type='text/css'>
/* Layout-provided Styles */
h1.title {
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="GENERATOR" content="LyX 2.4.0-beta2" />
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<title>LyX Document</title>
<style type='text/css'>
/* Layout-provided Styles */
h2.section_ {
require 'gvxrRuby'
require 'matplotlib'
Matplotlib.use("TkAgg")
require 'matplotlib/pyplot'
plt = Matplotlib::Pyplot
GvxrRuby.createWindow();
GvxrRuby.setWindowSize(512, 512);
GvxrRuby.setSourcePosition(-40.0, 0.0, 0.0, "cm");
GvxrRuby.usePointSource();
GvxrRuby.setMonoChromatic(0.08, "MeV", 1000);
#include <cstdlib>
#include <string>
#include <iostream>
#include <exception>
#include "SimpleGVXR.h"
int main(){
// Create an OpenGL context
createWindow();
setWindowSize(512, 512);
// Set the position of the X-ray source
FROM ubuntu:18.04
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y subversion build-essential cmake python3-dev wget zlib1g-dev ruby-dev \
swig libglew-dev xorg-dev libx11-dev xorg-dev fftw3-dev python3-pip libassimp-dev \
python3-tk xvfb octave-pkg-dev octave-image less libglfw3-dev
RUN apt-get install --fix-missing
RUN pip3 install numpy matplotlib image pillow
ENV PYTHON /usr/bin/python3
RUN gem install matplotlib
WORKDIR /root
ADD gvxrsource.tgz /root/
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import Geant4
from Geant4 import *
import g4py.NISTmaterials
import g4py.ezgeom
from g4py.ezgeom import G4EzVolume
import g4py.EMSTDpl
import g4py.ParticleGun
import g4py.MedicalBeam
@pammacdotnet
pammacdotnet / gnuplot.json
Last active November 22, 2018 11:39
Gnuplot bucket for Scoop
{
"homepage": "http://gnuplot.info",
"version": "5.2.5",
"extract_dir": "gnuplot",
"architecture": {
"64bit": {
"url": "https://sourceforge.net/projects/gnuplot/files/gnuplot/5.2.5/gp525-win64-mingw.7z",
"hash": "40559f884b8c3a2cb25e8367befddec716e1b90f25c862d533cc64b6372d192a"
},
"32bit": {
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1. ¿Cuál de las siguientes unidades físicas es una unidad fundamental?
a. Henrio
b. Julio
c. Segundo
2. De las siguientes entidades físicas, ¿cuál tiene que ver con el producto de pares de carga?
a. El campo electrostático
b. El potencial eléctrico
c. La fuerza electrostática