blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2 values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15 values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7 values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36 values | src_encoding stringclasses 17 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 5 10.4M | extension stringclasses 15 values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f04843f3b3b520c8ee9b87d7ec4bd31336539eba | f3e4a0c8d77867606745f22c93062fbb628a0776 | /Final.sce | 5476bfd5d962963479dd2342d4c03d5e7cee14da | [] | no_license | JairAntonio22/MetodosNumericos | 5dfe2d7a91225b0d9e6a0caf5095bfac39ed7ee3 | 99f744219cde5e96f7085e869c8bd88a86aec5a6 | refs/heads/master | 2022-11-11T12:34:50.118138 | 2020-06-02T00:40:36 | 2020-06-02T00:40:36 | 250,395,834 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 16,239 | sce | Final.sce | clear
//////////////////////////////////////////////////////
// getValores
//
// Dado un archivo de Excel, se lee la matriz a
// Scilab para su manejo
//
// Parametros: Ninguno
//
// Regresa: mCrearMatriz
/////////////////////////////////////////////////////
function mCrearMatriz = getValores()
//Probar que el archivo se lea
bCiclo = %T
while bCiclo do
try
sNombre = input("Introduzca el nombre del archivo (con extension xls): ",'string')
//lee el archivo de Excel (libro)
fLibro = readxls(sNombre+".xls")
bCiclo = %F
catch
disp("Error archivo no encontrado!")
bCiclo = %T
end
end
bCiclo = %T
while bCiclo do
try
//Pide el numero de la hoja
iHoja = input("Introduzca la hoja de su excel: ")
//lee la hoja donde esta la matriz
fHoja = fLibro(iHoja)
bCiclo = %F
catch
disp("Error hoja no encontrada!")
bCiclo = %T
end
end
//extraer los valores
mCrearMatriz = fHoja(:,:)
endfunction
//////////////////////////////////////////////////////
// ValidarVector
//
// Valida el vector de entrada, si este tiene
// valores identicos o algun valor negativo
//
// Parametros: vDatos
//
// Regresa: bValido
/////////////////////////////////////////////////////
function bValido = ValidarVector(vDatos)
dValor = vDatos(1)
bValido = %T
bEsNegativo = %F
bValoresIdenticos = %F
for j = 1 : size(vDatos,1)
if (dValor ~= vDatos(j)) then
dValor = vDatos(j)
break
end
if (vDatos(j) < 0) then
bEsNegativo = %T
break
end
end
if (dValor == vDatos(1)) then
bValoresIdenticos = %T
end
bValido = ~(bEsNegativo || bValoresIdenticos)
endfunction
//////////////////////////////////////////////////////
// ValorMedio
//
// Dado un vector de datos, estima cual es el valor
// medio
//
// Parametros: vDatos, dX
//
// Regresa: dResultado
/////////////////////////////////////////////////////
function dResultado = ValorMedio(vDatos)
// Se incializan variables para calculo del valor esperado
dEsperado = 0
dTotal = 0
for i = 1 : size(vDatos,1)
// Suma de terminos para valor esperado
dEsperado = dEsperado + i*vDatos(i)
//Suma de valores
dTotal = dTotal + vDatos(i)
end
// Se asigna el resultado al cociente del valor esperado entre el total
dResultado = dEsperado/dTotal
endfunction
//////////////////////////////////////////////////////
// ResolverMontante
//
// Resuelve el sistema de ecuaciones dado con el
// metodo de Montante
//
// Parametros: mMatrix
//
// Regresa: mResultado
/////////////////////////////////////////////////////
function mResultado = ResolverMontante(mMatrix)
// Asignacion de pivote
iPivotAnterior = 1
// Obtiene las dimensiones de la matriz
[iReng, iCol] = size(mMatrix)
// Iteracion sobre la matriz
for i = 1 : iReng
for k = 1 : iReng
// Si no se esta sobre la diagonal
if (i ~= k) then
// Iteracion de acuerdo a Montante
for j = i + 1 : iCol
// Calcula determinate
mMatrix(k,j) = (mMatrix(i,i) * mMatrix(k,j) ...
- mMatrix(k,i) * mMatrix(i,j))
// Divide resulta entre el pivote anterior
mMatrix(k,j) = mMatrix(k,j) / iPivotAnterior
end
// Llena con 0 la columna
mMatrix(k,i) = 0
end
end
// Asigna nuevo pivote
iPivotAnterior = mMatrix(i,i)
end
// Asigna la diagonal de la matriz con el valor del pivote
for i = 1 : (iReng - 1)
mMatrix(i,i) = iPivotAnterior
end
// Divide el vector de resultado entre el pivote
for i = 1 : iReng
mMatrix(i, i) = mMatrix(i, i) / iPivotAnterior
mMatrix(i, iCol) = mMatrix(i, iCol) / iPivotAnterior
end
// Regresa matriz
mResultado = mMatrix
endfunction
////////////////////////////////////////////////////////
// RegresionLineal
//
// Es una funcion que calcula los coefiecientes de
// la regresion lineal y tambien calcula su r^2
//
// Parametros: mDatos
//
// Regresa:
// vCoefs
// dR2
/////////////////////////////////////////////////////
function [vCoefs, dR2] = RegresionLineal(mDatos)
// Obtenemos las columnas
iNumDatos = size(mDatos, 2)
// Asignamos n
mMatriz(1, 1) = iNumDatos
// Extendemos la matriz
mMatriz(2, 3) = 0
for i = 1 : iNumDatos
// suma x
mMatriz(1, 2) = mMatriz(1, 2) + mDatos(1, i)
// suma x^2
mMatriz(2, 2) = mMatriz(2, 2) + mDatos(1, i)^2
// suma y
mMatriz(1, 3) = mMatriz(1, 3) + mDatos(2, i)
// suma x*y
mMatriz(2, 3) = mMatriz(2, 3) + mDatos(1, i) * mDatos(2, i)
end
// Se pasa el valor de suma de x a otro espacio que tambien lo usa
mMatriz(2, 1) = mMatriz(1, 2)
// Se resuelve la matriz
mMatriz = ResolverMontante(mMatriz)
// Se guarda el vector con los coeficientes de la regresion
vCoefs = mMatriz(:,3)
dPromedio = 0
// Se calcula las ys con gorros
for i = 1 : iNumDatos
vYconGorro(i) = vCoefs(1) + vCoefs(2)*mDatos(1, i)
dPromedio = dPromedio + mDatos(2, i)
end
dPromedio = dPromedio / iNumDatos
// Variables para guardar las sumatorias de calculo de r2
dNumerador = 0
dDenominador = 0
// Realiza las sumatorias para el calculo de la r2
for i = 1 : iNumDatos
dNumerador = dNumerador + (vYconGorro(i) - dPromedio)^2
dDenominador = dDenominador + (mDatos(2, i) - dPromedio)^2
end
dR2 = dNumerador / dDenominador
endfunction
////////////////////////////////////////////////////////
// RegresionCuadratico
//
// Es una funcion que calcula los coefiecientes de
// la regresion cuadratica y tambien calcula su r^2
//
// Parametros: mDatos
//
// Regresa:
// vCoefs
// dR2
/////////////////////////////////////////////////////
function [vCoefs, dR2] = RegresionCuadratica(mDatos)
// Obtenemos las columnas
iNumDatos = size(mDatos, 2)
// Asignamos n
mMatriz(1, 1) = iNumDatos
// Extendemos la matriz
mMatriz(3, 4) = 0
for i = 1 : iNumDatos
// suma x
mMatriz(1, 2) = mMatriz(1, 2) + mDatos(1, i)^1
// suma x^2
mMatriz(1, 3) = mMatriz(1, 3) + mDatos(1, i)^2
// suma x^3
mMatriz(2, 3) = mMatriz(2, 3) + mDatos(1, i)^3
// suma x^4
mMatriz(3, 3) = mMatriz(3, 3) + mDatos(1, i)^4
// suma y
mMatriz(1, 4) = mMatriz(1, 4) + mDatos(2, i)
// suma x*y
mMatriz(2, 4) = mMatriz(2, 4) + mDatos(1, i)^1 * mDatos(2, i)
// suma x^2*y
mMatriz(3, 4) = mMatriz(3, 4) + mDatos(1, i)^2 * mDatos(2, i)
end
// Se pasa el valor de suma de x a otro espacio que tambien lo usa
mMatriz(2, 1) = mMatriz(1, 2)
// Se pasa el valor de suma de x^2 a otro espacio que tambien lo usa
mMatriz(2, 2) = mMatriz(1, 3)
mMatriz(3, 1) = mMatriz(1, 3)
// Se pasa el valor de suma de x^3 a otro espacio que tambien lo usa
mMatriz(3, 2) = mMatriz(2, 3)
// Se resuelve la matriz
mMatriz = ResolverMontante(mMatriz)
// Se guarda el vector con los coeficientes de la regresion
vCoefs = mMatriz(:,4)
dPromedio = 0
// Se calcula las ys con gorros
for i = 1 : iNumDatos
vYconGorro(i) = vCoefs(1) + vCoefs(2)*mDatos(1, i) + vCoefs(3)*(mDatos(1, i)^2)
dPromedio = dPromedio + mDatos(2, i)
end
dPromedio = dPromedio / iNumDatos
// Variables para guardar las sumatorias de calculo de r2
dNumerador = 0
dDenominador = 0
// Realiza las sumatorias para el calculo de la r2
for i = 1 : iNumDatos
dNumerador = dNumerador + (vYconGorro(i) - dPromedio)^2
dDenominador = dDenominador + (mDatos(2, i) - dPromedio)^2
end
dR2 = dNumerador / dDenominador
endfunction
////////////////////////////////////////////////////////
// RegresionExponencial
//
// Es una funcion que calcula los coefiecientes de
// la regresion exponencial y tambien calcula su r^2
//
// Parametros: mDatos
//
// Regresa:
// vCoefs
// dR2
/////////////////////////////////////////////////////
function [vCoefs, dR2] = RegresionExponencial(mDatos)
// Obtenemos las columnas
iNumDatos = size(mDatos, 2)
// Asignamos n
mMatriz(1, 1) = iNumDatos
// Extendemos la matriz
mMatriz(2, 3) = 0
for i = 1 : iNumDatos
// suma x
mMatriz(1, 2) = mMatriz(1, 2) + mDatos(1, i)
// suma x^2
mMatriz(2, 2) = mMatriz(2, 2) + mDatos(1, i)^2
// suma log(y)
mMatriz(1, 3) = mMatriz(1, 3) + log(mDatos(2, i))
// suma x log(y)
mMatriz(2, 3) = mMatriz(2, 3) + mDatos(1, i) * log(mDatos(2, i))
end
// Se pasa el valor de suma de x a otro espacio que tambien lo usa
mMatriz(2, 1) = mMatriz(1, 2)
// Se resuelve la matriz
mMatriz = ResolverMontante(mMatriz)
// Se guarda el vector con los coeficientes de la regresion
vCoefs = mMatriz(:,3)
vCoefs(1) = exp(vCoefs(1))
dPromedioLog = 0
// Se calcula las ys con gorros
for i = 1 : iNumDatos
vYconGorro(i) = vCoefs(1)*exp(vCoefs(2)*mDatos(1, i))
dPromedioLog = dPromedioLog + log(mDatos(2, i))
end
dPromedioLog = dPromedioLog / iNumDatos
// Variables para guardar las sumatorias de calculo de r2
dNumerador = 0
dDenominador = 0
// Realiza las sumatorias para el calculo de la r2
for i = 1 : iNumDatos
dNumerador = dNumerador + (log(mDatos(2, i)) - log(vYconGorro(i)))^2
dDenominador = dDenominador + (log(mDatos(2, i)) - dPromedioLog)^2
end
dR2 = 1 - dNumerador / dDenominador
endfunction
////////////////////////////////////////////////////////
// RegresionPotencial
//
// Es una funcion que calcula los coefiecientes de
// la regresion potencial y tambien calcula su r^2
//
// Parametros: mDatos
//
// Regresa:
// vCoefs
// dR2
/////////////////////////////////////////////////////
function [vCoefs, dR2] = RegresionPotencia(mDatos)
// Obtenemos las columnas
iNumDatos = size(mDatos, 2)
// Asignamos n
mMatriz(1, 1) = iNumDatos
// Extendemos la matriz
mMatriz(2, 3) = 0
for i = 1 : iNumDatos
// suma ln(x)
mMatriz(1, 2) = mMatriz(1, 2) + log(mDatos(1, i))
// suma ln(x)^2
mMatriz(2, 2) = mMatriz(2, 2) + log(mDatos(1, i))^2
// suma ln(y)
mMatriz(1, 3) = mMatriz(1, 3) + log(mDatos(2, i))
// suma ln(x)*ln(y)
mMatriz(2, 3) = mMatriz(2, 3) + log(mDatos(1, i)) * log(mDatos(2, i))
end
// Se pasa el valor de suma de x a otro espacio que tambien lo usa
mMatriz(2, 1) = mMatriz(1, 2)
// Se resuelve la matriz
mMatriz = ResolverMontante(mMatriz)
// Se guarda el vector con los coeficientes de la regresion
vCoefs = mMatriz(:,3)
vCoefs(1) = exp(vCoefs(1))
dPromedioLog = 0
// Se calcula las ys con gorros
for i = 1 : iNumDatos
vYconGorro(i) = vCoefs(1)*mDatos(1, i)^vCoefs(2)
dPromedioLog = dPromedioLog + log(mDatos(2, i))
end
dPromedioLog = dPromedioLog / iNumDatos
// Variables para guardar las sumatorias de calculo de r2
dNumerador = 0
dDenominador = 0
// Realiza las sumatorias para el calculo de la r2
for i = 1 : iNumDatos
dNumerador = dNumerador + (log(mDatos(2, i)) - log(vYconGorro(i)))^2
dDenominador = dDenominador + (log(mDatos(2, i)) - dPromedioLog)^2
end
dR2 = 1 - dNumerador / dDenominador
endfunction
////////////////////////////////////////////////////////
//
// Main
//
/////////////////////////////////////////////////////
sUser = " "
while (sUser <> "n" & sUser <> "N")
mMatriz = getValores()
iIndice = 1
bEjecutar = %F
for i = 1 : size(mMatriz,2)
vVector = flipdim(mMatriz(:,i),dim=1)
bBandera = ValidarVector(vVector)
if (bBandera)then
mDatos(1,iIndice) = i
mDatos(2,iIndice) = ValorMedio(vVector)
iIndice = iIndice + 1
bEjecutar = %T
end
end
if (bEjecutar) then
// Regresion lineal
[vCoefsL, dR2L] = RegresionLineal(mDatos)
vRs2(1) = dR2L
// Regresion cuadratica
[vCoefsC, dR2C] = RegresionCuadratica(mDatos)
vRs2(2) = dR2C
// Regresion exponencial
[vCoefsE, dR2E] = RegresionExponencial(mDatos)
vRs2(3) = dR2E
// Regresion potencia
[vCoefsP, dR2P] = RegresionPotencia(mDatos)
vRs2(4) = dR2P
// Reporte de resultados
disp("I) Modelos:")
disp(" Lineal: y = " + string(vCoefsL(1)) + " + " + ...
string(vCoefsL(2)) + " * x")
disp(" R^2 =" + string(dR2L))
disp(" Cuadratica: y = " + string(vCoefsC(1)) + " + " + ...
string(vCoefsC(2)) + " * x + " + string(vCoefsC(3)) + " * x^2")
disp(" R^2 =" + string(dR2C))
disp(" Exponencial: y = " + string(vCoefsE(1)) + " * e ^ (" + ...
string(vCoefsE(2)) + " * x)")
disp(" R^2 =" + string(dR2E))
disp(" Potencial: y = " + string(vCoefsP(1)) + " * x ^ (" + ...
string(vCoefsP(2)) + ")")
disp(" R^2 =" + string(dR2P))
//Graficas
clf(); //Eliminas la grafica previa en memoria
xtitle("Estimacion de comportamiento del calor");
xname("Proyecto Final Metodos Numericos");
iCol = size(mMatriz,2)
iReng = size(mMatriz,1)
iDominio = linspace(1,iCol,15)
//Pone la cuadricula a la grafica
xgrid(303030,0.5,7)
//Grafica de puntos
iXPuntos = mDatos(1,:)
iYPuntos = mDatos(2,:)
plot(iXPuntos,iYPuntos,'or') // circulo rojo
// Imprimir sensores
for i = 1 : iCol
for j = 1 : iReng
plot(i,j,'*b') // asterisco azul
end
end
// Elige el la mayor R^2
[value, index] = max(vRs2)
replot([0,0,iCol+1,iReng+1])
select index
case 1 then
disp("El mejor modelo sera el lineal")
vFuncionLineal = vCoefsL(1) + (vCoefsL(2)* iDominio)
plot(iDominio,vFuncionLineal,'r') // rojo
legend(['Puntos de calor';'Sensores'],pos = 4)
case 2 then
disp("El mejor modelo sera el cuadratico")
vFuncionCuadratica = vCoefsC(1) + (vCoefsC(2)*iDominio) + ...
(vCoefsC(3)*(iDominio^2))
plot(iDominio,vFuncionCuadratica,'r') // rojo
legend(['Puntos de calor';'Sensores'],pos = 4)
case 3 then
disp("El mejor modelo sera el exponencial")
vFuncionExponencial = vCoefsE(1) * exp(vCoefsE(2) * iDominio)
plot(iDominio,vFuncionExponencial,'b')
legend(['Puntos de calor';'Sensores'],pos = 4)
case 4 then
disp("El mejor modelo sera el potencial")
vFuncionPotencia = vCoefsP(1) * iDominio ^ vCoefsP(2)
plot(iDominio,vFuncionPotencia,'r')
legend(['Puntos de calor';'Sensores'],pos = 4)
end
else
disp("Datos no Validos!!!")
end
sUser = input("Si no desea realizar otra lectura de calor teclee N: ",'string')
end
|
b3b6ce364c6f7182ea59ebb09c768191bcd36563 | 449d555969bfd7befe906877abab098c6e63a0e8 | /174/CH9/EX9.2/example9_2.sce | a1414ca898f87f4c86072d06f85a3f418238d507 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 587 | sce | example9_2.sce | // To find minimum detectable signal
// Modern Electronic Instrumentation And Measurement Techniques
// By Albert D. Helfrick, William D. Cooper
// First Edition Second Impression, 2009
// Dorling Kindersly Pvt. Ltd. India
// Example 9-2 in Page 277
clear; clc; close;
// Given data
NF = 20; //Noise figure in dB
BW = 1*10^3; //Bandwidth in Hz
//Calculations
MDS = -114 +10* log10 ([BW/(1*10^6)]) +NF;
printf("The minimum detectable signal of the spectrum analyser = %d dBm",MDS);
//Result
// The minimum detectable signal of the spectrum analyser = -124 dBm
|
6dacb4801c2847d07d8d8f85b6f432a7577a9fb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH14/EX14.04/14_04.sce | ece0f318612379c31ddaec3a616d2ca8d490f74f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,407 | sce | 14_04.sce | //Problem 14.04: For the periodic waveforms shown in Figure 14.5 determine for each: (i) frequency (ii) average value over half a cycle (iii) rms value (iv) form factor and (v) peak factor
//initializing the variables:
Ta = 0.02; // Time for 1 complete cycle in secs
Vamax = 200; // in volts
Va1 = 25; // in volts
Va2 = 75; // in volts
Va3 = 125; // in volts
Va4 = 175; // in volts
Tb = 0.016; // Time for 1 complete cycle in secs
Ibmax = 10; // in Amperes
//calculation:
//for Triangular waveform (Figure 14.5(a))
fa = 1/Ta
Aaw = Ta*Vamax/4
Vaavg = Aaw*2/Ta
Varms = (((Va1^2) + (Va2^2) + (Va3^2) + (Va4^2))/4)^0.5 //Note that the greater the number of intervals chosen, the greater the accuracy of the result
Ffa = Varms/Vaavg
Pfa = Vamax/Varms
//for Rectangular waveform (Figure 14.5(b))
fb = 1/Tb
Abw = Tb*Ibmax/2
Ibavg = Abw*2/Tb
Ibrms = 10
Ffb = Ibrms/Ibavg
Pfb = Ibmax/Ibrms
printf("\n\n Result \n\n")
printf("\n (a1)Frequency f = %.0f Hz",fa)
printf("\n (a2)average value over half a cycle = %.0f V",Vaavg)
printf("\n (a3)rms value = %.1f V",Varms)
printf("\n (a4)Form factor = %.2f",Ffa)
printf("\n (a5)Peak factor = %.2f",Pfa)
printf("\n (b1)Frequency f = %.1f Hz",fb)
printf("\n (b2)average value over half a cycle = %.0f A",Ibavg)
printf("\n (b3)rms value = %.0f A",Ibrms)
printf("\n (b4)Form factor = %.0f",Ffb)
printf("\n (b5)Peak factor = %.0f",Pfb) |
793e74bfc356eb78102eb5035c3e68726cd52f22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH24/EX24.4/Example4.sce | 1f362959fd1279eb9e1048b556dd85d35d8b20eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,323 | sce | Example4.sce | clear
flag=1
mode(-1)
printf("Example 4 : Show the effect of obtaining child termination status by WEXITSTATUS \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
halt(' ')
disp("1.These programs are part of systems programming PURELY in Unix and the commands have NO EQUIVALENT IN SCILAB")
halt(' ')
disp("2.However the .c files which are displayed here are also made into a seperate file.If you are a unix user then try compiling and running the programme with gcc or cc compiler")
halt(' ')
disp("3.The outputs displayed here are just MOCK OUTPUTS which are DISPLAYED IN THE TEXTBOOK")
halt(' ')
disp("4.The inconvenience is regretted.")
halt('.............Press [ENTER] to continue.....')
halt("")
clc
printf("\tUNIX SHELL SIMULATOR(DEMO VERSION WITH PRELOADED COMMANDS)\n\n\n")
i=0
i=i+1;f(i)='/* Program: wait.c -- Uses wait to obtain child'+ascii(39)+'s termination status.The WEXITSTATUS macro fetches the exit status */'
i=i+1;f(i)='#include <stdio.h>'
i=i+1;f(i)='#include <fcntl.h>'
i=i+1;f(i)='#include <sys/wait.h>'
i=i+1;f(i)=''
i=i+1;f(i)='int main(int argc, char **argv) {'
i=i+1;f(i)=' int fd,exitstatus;'
i=i+1;f(i)=' int exitval = 10; /* Value to be returned by child */'
i=i+1;f(i)=' '
i=i+1;f(i)=' fd= open(argv[1], O_WRONLY | O_CREAT | O_TRUNC, 0644);'
i=i+1;f(i)=' write(fd, '+ascii(34)+'Original process writes\n'+ascii(34)+',24); /* First write */'
i=i+1;f(i)=''
i=i+1;f(i)=' switch(fork()) {'
i=i+1;f(i)=' case 0:'
i=i+1;f(i)=' write(fd,'+ascii(34)+'Child writes\n'+ascii(34)+',13); /* Second write */'
i=i+1;f(i)=' close(fd); /*Closing here doesn'+ascii(39)+'t affect parent'+ascii(39)+'s copy */'
i=i+1;f(i)=' printf('+ascii(34)+'CHILD: Terminating with exit value %d\n'+ascii(34)+', exitval);'
i=i+1;f(i)=' exit(exitval); /* Can also use_exit(exitval) */'
i=i+1;f(i)=' '
i=i+1;f(i)=' default:'
i=i+1;f(i)=' wait(&exitstatus); /* Waits for child to die */'
i=i+1;f(i)=' printf('+ascii(34)+'PARENT: Child terminated with exit value %d\n'+ascii(34)+',WEXITSTATUS(exitstatus));'
i=i+1;f(i)=' /*Extracting exit status */'
i=i+1;f(i)=' write(fd, '+ascii(34)+'Parent writes\n'+ascii(34)+', 14); /* Third write */'
i=i+1;f(i)=' exit(20); /* Value returned to shell; try echo $? */'
i=i+1;f(i)=' }'
i=i+1;f(i)='}'
n=i
printf("\n\n$ cat wait.c # to open the file ")
halt(' ')
u=mopen('wait.c','wt')
for i=1:n
mfprintf(u,"%s\n",f(i))
printf("%s\n",f(i))
end
mclose(u)
halt('')
clc
halt(' ')
printf("$ cc wait.c")
halt(' ')
printf("$ a.out foo")
halt(' ')
printf("CHILD: Terminating with exit value 10\nPARENT: Child terminated with exit value 10\n")
halt(' ')
printf("$ cat foo ")
halt(' ')
printf("Original process writes\nChild writes\nParent writes\n")
halt(' ')
printf("\n\n\n$ exit #To exit the current simulation terminal and return to Scilab console\n\n")
halt("........# (hit [ENTER] for result)")
//clc()
printf("\n\n\t\t\tBACK TO SCILAB CONSOLE...\nLoading initial environment')
sleep(1000)
|
b6da162eb54aa991fba754b17a9e746f487d78f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH6/EX6.3/ex6_3.sce | 71488ba5d74f7bc228879bc401a907a943931a08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,070 | sce | ex6_3.sce | clc;
warning("off");
printf("\n\n example6.3 - pg212");
// given
t=[0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.10 0.11 0.12];
Ux=[3.84 3.50 3.80 3.60 4.20 4.00 3.00 3.20 3.40 3.00 3.50 4.30 3.80];
Uy=[0.43 0.21 0.18 0.30 0.36 0.28 0.35 0.27 0.21 0.22 0.23 0.36 0.35];
Uz=[0.19 0.16 0.17 0.13 0.09 0.10 0.16 0.15 0.13 0.18 0.17 0.18 0.17];
// using the formula AREA=(deltat/2)*(U1+U13+2*(U2+U3+U4+U5+U6+U7+U8+U9+U10+U11+U12))
// for Uxmean
deltat=0.01;
T=t(13)-t(1);
AREA=(deltat/2)*(Ux(1)+Ux(13)+2*(Ux(2)+Ux(3)+Ux(4)+Ux(5)+Ux(6)+Ux(7)+Ux(8)+Ux(9)+Ux(10)+Ux(11)+Ux(12)));
Uxmean=AREA/T;
disp(Uxmean,"Uxmean=");
// for Uymean
deltat=0.01;
T=t(13)-t(1);
AREA=(deltat/2)*(Uy(1)+Uy(13)+2*(Uy(2)+Uy(3)+Uy(4)+Uy(5)+Uy(6)+Uy(7)+Uy(8)+Uy(9)+Uy(10)+Uy(11)+Uy(12)));
Uymean=AREA/T;
disp(Uymean,"Uymean=");
// for Uzmean
deltat=0.01;
T=t(13)-t(1);
AREA=(deltat/2)*(Uz(1)+Uz(13)+2*(Uz(2)+Uz(3)+Uz(4)+Uz(5)+Uz(6)+Uz(7)+Uz(8)+Uz(9)+Uz(10)+Uz(11)+Uz(12)));
Uzmean=AREA/T;
disp(Uzmean,"Uzmean=");
U=(Uxmean^2+Uymean^2+Uzmean^2)^(1/2);
disp(U,"U=");
|
910b7d6d80434009801b055e8a5d6e1573ad78dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH4/EX4.18/ex4_18.sce | d7befddd89cbbfe3d4675832d7a5a1fdce2c23f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | ex4_18.sce | clc
x=1 //Assigning values to parameters
kva=20
pf=0.8
wi=450
wcf=900
n1=x*kva*pf*100/((x*kva*pf)+(wi*0.001)+(x*x*wcf*0.001))
x=sqrt(wi/wcf)
n2=x*kva*pf*100/((x*kva*pf)+(2*wi*0.001))
disp("Percent',n1,"Efficiency at full node 0.8pf is")
disp("Percent",n2,"Maximum Efficency is")
disp(x,"Load at which maximum occurs is") |
5835ef160926de3bbb159841f11aa76269443166 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH1/EX1.2/Exa1_2.sce | e91d77b3050c4107c57613f1eb6b54406529a87a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | Exa1_2.sce | //Exa 1.2
clc;
clear;
close;
//given data :
H=5.2;//in mA/m
Eta=120*%pi;//constant
//Formula : E/H=Eta
E=H*10^-3*Eta;//in V/m
disp(round(E),"Strength of Electric field in free space in V/m : "); |
6358f580801fea80494a395fb6af8c66e29a944d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH1/EX1.1/Ex1_1.sce | 0482e91ac8f835ba0edda62ff715a771862f4b14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | Ex1_1.sce | clc
//to calculate length of the bar measured by the ststionary observer
lo =1 //length in metre
v=0.75*3*10^8 //speed (m/s)
c=3*10^8 //light speed(m/s)
l=lo*sqrt(1-(v^2/c^2))
disp("length of bar in is l="+string(l)+"m")
|
0cd2d67ad4315c0405a9c6663d4445002aeeedbb | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/NP75WZC/ATWM1_Working_Memory_MEG_NP75WZC_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | b74a490f93cb5a5deb458cde98f25c199ceedaf1 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,600 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor_sounds = false;
active_buttons = 2;
response_matching = simple_matching;
button_codes = 10, 20;
default_font_size = 28;
default_font = "Arial";
default_background_color = 0 ,0 ,0 ;
write_codes=true; # for MEG only
begin;
#Picture definitions
box { height = 300; width = 300; color = 0, 0, 0;} frame1;
box { height = 290; width = 290; color = 255, 255, 255;} frame2;
box { height = 30; width = 4; color = 0, 0, 0;} fix1;
box { height = 4; width = 30; color = 0, 0, 0;} fix2;
box { height = 30; width = 4; color = 255, 0, 0;} fix3;
box { height = 4; width = 30; color = 255, 0, 0;} fix4;
box { height = 290; width = 290; color = 128, 128, 128;} background;
TEMPLATE "StimuliDeclaration.tem" {};
trial {
sound sound_incorrect;
time = 0;
duration = 1;
} wrong;
trial {
sound sound_correct;
time = 0;
duration = 1;
} right;
trial {
sound sound_no_response;
time = 0;
duration = 1;
} miss;
# Start of experiment (MEG only) - sync with CTF software
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
} expStart;
time = 0;
duration = 1000;
code = "ExpStart";
port_code = 80;
};
# baselinePre (at the beginning of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
}default;
time = 0;
duration = 10000;
#mri_pulse = 1;
code = "BaselinePre";
port_code = 91;
};
TEMPLATE "ATWM1_Working_Memory_MEG.tem" {
trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4;
43 62 292 292 399 125 1792 2992 2592 fixation_cross gabor_003 gabor_161 gabor_089 gabor_042 gabor_003_alt gabor_161 gabor_089 gabor_042_alt "1_1_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2600_gabor_patch_orientation_003_161_089_042_target_position_2_3_retrieval_position_2" gabor_circ gabor_161_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_1_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_161_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1942 2992 2142 fixation_cross gabor_062 gabor_091 gabor_151 gabor_033 gabor_062_alt gabor_091_alt gabor_151 gabor_033 "1_2_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2150_gabor_patch_orientation_062_091_151_033_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_172_framed blank blank blank blank fixation_cross_target_position_3_4 "1_2_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_172_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2042 2992 2342 fixation_cross gabor_003 gabor_175 gabor_065 gabor_087 gabor_003 gabor_175_alt gabor_065_alt gabor_087 "1_3_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2350_gabor_patch_orientation_003_175_065_087_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_087_framed blank blank blank blank fixation_cross_target_position_1_4 "1_3_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_087_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 1742 2992 2142 fixation_cross gabor_159 gabor_018 gabor_179 gabor_098 gabor_159_alt gabor_018_alt gabor_179 gabor_098 "1_4_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2150_gabor_patch_orientation_159_018_179_098_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_179_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_4_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_179_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2142 2992 1992 fixation_cross gabor_143 gabor_003 gabor_109 gabor_126 gabor_143_alt gabor_003_alt gabor_109 gabor_126 "1_5_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2000_gabor_patch_orientation_143_003_109_126_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_109_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_5_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_109_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 63 292 292 399 125 2242 2992 2092 fixation_cross gabor_134 gabor_167 gabor_048 gabor_102 gabor_134 gabor_167_alt gabor_048 gabor_102_alt "1_6_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2250_3000_2100_gabor_patch_orientation_134_167_048_102_target_position_1_3_retrieval_position_2" gabor_circ gabor_118_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_6_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_118_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1942 2992 2292 fixation_cross gabor_134 gabor_028 gabor_001 gabor_091 gabor_134_alt gabor_028_alt gabor_001 gabor_091 "1_7_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2300_gabor_patch_orientation_134_028_001_091_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_046_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_7_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_046_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2242 2992 1942 fixation_cross gabor_059 gabor_079 gabor_033 gabor_165 gabor_059 gabor_079_alt gabor_033_alt gabor_165 "1_8_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_1950_gabor_patch_orientation_059_079_033_165_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_165_framed blank blank blank blank fixation_cross_target_position_1_4 "1_8_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_165_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 1742 2992 2092 fixation_cross gabor_074 gabor_097 gabor_008 gabor_131 gabor_074 gabor_097_alt gabor_008 gabor_131_alt "1_9_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2100_gabor_patch_orientation_074_097_008_131_target_position_1_3_retrieval_position_1" gabor_074_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_9_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_074_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2092 2992 2342 fixation_cross gabor_170 gabor_046 gabor_063 gabor_010 gabor_170 gabor_046 gabor_063_alt gabor_010_alt "1_10_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2350_gabor_patch_orientation_170_046_063_010_target_position_1_2_retrieval_position_1" gabor_170_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_10_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_170_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 64 292 292 399 125 1792 2992 2192 fixation_cross gabor_110 gabor_150 gabor_040 gabor_089 gabor_110_alt gabor_150 gabor_040_alt gabor_089 "1_11_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1800_3000_2200_gabor_patch_orientation_110_150_040_089_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_040_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_11_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_040_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2092 2992 2192 fixation_cross gabor_146 gabor_034 gabor_095 gabor_056 gabor_146_alt gabor_034 gabor_095 gabor_056_alt "1_12_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2200_gabor_patch_orientation_146_034_095_056_target_position_2_3_retrieval_position_2" gabor_circ gabor_034_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_12_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_034_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1842 2992 2542 fixation_cross gabor_090 gabor_063 gabor_174 gabor_143 gabor_090_alt gabor_063 gabor_174_alt gabor_143 "1_13_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2550_gabor_patch_orientation_090_063_174_143_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_003_framed blank blank blank blank fixation_cross_target_position_2_4 "1_13_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_003_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 1842 2992 2242 fixation_cross gabor_088 gabor_016 gabor_148 gabor_178 gabor_088 gabor_016_alt gabor_148 gabor_178_alt "1_14_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2250_gabor_patch_orientation_088_016_148_178_target_position_1_3_retrieval_position_1" gabor_088_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_14_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_088_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 1742 2992 2042 fixation_cross gabor_094 gabor_008 gabor_070 gabor_113 gabor_094 gabor_008 gabor_070_alt gabor_113_alt "1_15_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2050_gabor_patch_orientation_094_008_070_113_target_position_1_2_retrieval_position_1" gabor_094_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_15_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_094_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 64 292 292 399 125 2192 2992 2442 fixation_cross gabor_066 gabor_092 gabor_146 gabor_024 gabor_066_alt gabor_092 gabor_146_alt gabor_024 "1_16_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2200_3000_2450_gabor_patch_orientation_066_092_146_024_target_position_2_4_retrieval_position_1" gabor_066_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_16_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_066_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1942 2992 1942 fixation_cross gabor_163 gabor_123 gabor_013 gabor_047 gabor_163_alt gabor_123 gabor_013_alt gabor_047 "1_17_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_1950_gabor_patch_orientation_163_123_013_047_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_097_framed blank blank blank blank fixation_cross_target_position_2_4 "1_17_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_097_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 2242 2992 2592 fixation_cross gabor_135 gabor_179 gabor_155 gabor_028 gabor_135 gabor_179_alt gabor_155 gabor_028_alt "1_18_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2600_gabor_patch_orientation_135_179_155_028_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_105_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_18_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_105_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 63 292 292 399 125 1892 2992 1942 fixation_cross gabor_068 gabor_013 gabor_174 gabor_047 gabor_068 gabor_013 gabor_174_alt gabor_047_alt "1_19_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1900_3000_1950_gabor_patch_orientation_068_013_174_047_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_094_framed blank blank blank blank fixation_cross_target_position_1_2 "1_19_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_094_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1842 2992 1942 fixation_cross gabor_133 gabor_111 gabor_087 gabor_028 gabor_133_alt gabor_111_alt gabor_087 gabor_028 "1_20_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_1950_gabor_patch_orientation_133_111_087_028_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_163_framed blank blank blank blank fixation_cross_target_position_3_4 "1_20_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_163_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 2042 2992 1992 fixation_cross gabor_137 gabor_163 gabor_007 gabor_074 gabor_137_alt gabor_163 gabor_007_alt gabor_074 "1_21_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2000_gabor_patch_orientation_137_163_007_074_target_position_2_4_retrieval_position_2" gabor_circ gabor_117_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_21_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_117_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 2242 2992 2292 fixation_cross gabor_058 gabor_118 gabor_140 gabor_035 gabor_058 gabor_118 gabor_140_alt gabor_035_alt "1_22_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2300_gabor_patch_orientation_058_118_140_035_target_position_1_2_retrieval_position_1" gabor_010_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_22_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_010_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2042 2992 2192 fixation_cross gabor_067 gabor_027 gabor_134 gabor_152 gabor_067 gabor_027_alt gabor_134_alt gabor_152 "1_23_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_067_027_134_152_target_position_1_4_retrieval_position_1" gabor_067_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_23_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_067_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2142 2992 2392 fixation_cross gabor_175 gabor_057 gabor_032 gabor_141 gabor_175_alt gabor_057 gabor_032_alt gabor_141 "1_24_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2400_gabor_patch_orientation_175_057_032_141_target_position_2_4_retrieval_position_2" gabor_circ gabor_057_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_24_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_057_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 1992 2992 2342 fixation_cross gabor_124 gabor_177 gabor_067 gabor_147 gabor_124_alt gabor_177_alt gabor_067 gabor_147 "1_25_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2350_gabor_patch_orientation_124_177_067_147_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_067_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_25_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_067_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 2092 2992 2592 fixation_cross gabor_171 gabor_058 gabor_089 gabor_013 gabor_171 gabor_058_alt gabor_089 gabor_013_alt "1_26_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2600_gabor_patch_orientation_171_058_089_013_target_position_1_3_retrieval_position_1" gabor_034_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_26_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_034_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1842 2992 1992 fixation_cross gabor_043 gabor_064 gabor_180 gabor_022 gabor_043_alt gabor_064 gabor_180_alt gabor_022 "1_27_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2000_gabor_patch_orientation_043_064_180_022_target_position_2_4_retrieval_position_2" gabor_circ gabor_111_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_27_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_111_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 64 292 292 399 125 2142 2992 2292 fixation_cross gabor_080 gabor_016 gabor_064 gabor_146 gabor_080 gabor_016_alt gabor_064 gabor_146_alt "1_28_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2150_3000_2300_gabor_patch_orientation_080_016_064_146_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_146_framed blank blank blank blank fixation_cross_target_position_1_3 "1_28_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_146_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1742 2992 1892 fixation_cross gabor_113 gabor_008 gabor_150 gabor_042 gabor_113_alt gabor_008 gabor_150_alt gabor_042 "1_29_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_1900_gabor_patch_orientation_113_008_150_042_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_091_framed blank blank blank blank fixation_cross_target_position_2_4 "1_29_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_091_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1892 2992 2242 fixation_cross gabor_177 gabor_149 gabor_065 gabor_132 gabor_177_alt gabor_149 gabor_065 gabor_132_alt "1_30_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2250_gabor_patch_orientation_177_149_065_132_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_019_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_30_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_019_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 1742 2992 2042 fixation_cross gabor_059 gabor_025 gabor_133 gabor_089 gabor_059 gabor_025 gabor_133_alt gabor_089_alt "1_31_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2050_gabor_patch_orientation_059_025_133_089_target_position_1_2_retrieval_position_1" gabor_059_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_31_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_059_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2042 2992 2142 fixation_cross gabor_071 gabor_055 gabor_180 gabor_026 gabor_071 gabor_055 gabor_180_alt gabor_026_alt "1_32_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2150_gabor_patch_orientation_071_055_180_026_target_position_1_2_retrieval_position_1" gabor_071_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_32_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_071_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 64 292 292 399 125 1892 2992 2092 fixation_cross gabor_055 gabor_164 gabor_083 gabor_111 gabor_055_alt gabor_164_alt gabor_083 gabor_111 "1_33_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1900_3000_2100_gabor_patch_orientation_055_164_083_111_target_position_3_4_retrieval_position_1" gabor_055_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_33_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_055_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2192 2992 2392 fixation_cross gabor_017 gabor_167 gabor_148 gabor_040 gabor_017 gabor_167_alt gabor_148 gabor_040_alt "1_34_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2400_gabor_patch_orientation_017_167_148_040_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_148_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_34_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_148_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1792 2992 2292 fixation_cross gabor_115 gabor_098 gabor_028 gabor_144 gabor_115_alt gabor_098 gabor_028 gabor_144_alt "1_35_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2300_gabor_patch_orientation_115_098_028_144_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_075_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_35_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_075_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 1792 2992 2192 fixation_cross gabor_128 gabor_067 gabor_019 gabor_096 gabor_128_alt gabor_067 gabor_019_alt gabor_096 "1_36_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2200_gabor_patch_orientation_128_067_019_096_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_096_framed blank blank blank blank fixation_cross_target_position_2_4 "1_36_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_096_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 63 292 292 399 125 1892 2992 2442 fixation_cross gabor_096 gabor_010 gabor_121 gabor_032 gabor_096_alt gabor_010_alt gabor_121 gabor_032 "1_37_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1900_3000_2450_gabor_patch_orientation_096_010_121_032_target_position_3_4_retrieval_position_1" gabor_048_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_37_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_048_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1792 2992 2292 fixation_cross gabor_093 gabor_038 gabor_003 gabor_062 gabor_093_alt gabor_038 gabor_003 gabor_062_alt "1_38_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2300_gabor_patch_orientation_093_038_003_062_target_position_2_3_retrieval_position_2" gabor_circ gabor_176_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_38_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_176_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1792 2992 1992 fixation_cross gabor_172 gabor_142 gabor_091 gabor_004 gabor_172_alt gabor_142_alt gabor_091 gabor_004 "1_39_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_172_142_091_004_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_053_framed blank blank blank blank fixation_cross_target_position_3_4 "1_39_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_053_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 1842 2992 2042 fixation_cross gabor_055 gabor_037 gabor_092 gabor_165 gabor_055_alt gabor_037_alt gabor_092 gabor_165 "1_40_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2050_gabor_patch_orientation_055_037_092_165_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_165_framed blank blank blank blank fixation_cross_target_position_3_4 "1_40_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_165_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2092 2992 2392 fixation_cross gabor_001 gabor_063 gabor_108 gabor_133 gabor_001 gabor_063 gabor_108_alt gabor_133_alt "1_41_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2400_gabor_patch_orientation_001_063_108_133_target_position_1_2_retrieval_position_1" gabor_001_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_41_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 64 292 292 399 125 2042 2992 2242 fixation_cross gabor_145 gabor_113 gabor_007 gabor_033 gabor_145 gabor_113_alt gabor_007_alt gabor_033 "1_42_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2250_gabor_patch_orientation_145_113_007_033_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_007_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_42_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_007_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 2192 2992 2192 fixation_cross gabor_121 gabor_005 gabor_162 gabor_091 gabor_121 gabor_005 gabor_162_alt gabor_091_alt "1_43_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2200_gabor_patch_orientation_121_005_162_091_target_position_1_2_retrieval_position_1" gabor_073_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_43_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_073_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 64 292 292 399 125 1992 2992 1992 fixation_cross gabor_168 gabor_010 gabor_086 gabor_057 gabor_168_alt gabor_010 gabor_086 gabor_057_alt "1_44_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2000_3000_2000_gabor_patch_orientation_168_010_086_057_target_position_2_3_retrieval_position_1" gabor_168_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_44_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_168_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 1842 2992 1942 fixation_cross gabor_046 gabor_068 gabor_085 gabor_018 gabor_046_alt gabor_068_alt gabor_085 gabor_018 "1_45_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_1950_gabor_patch_orientation_046_068_085_018_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_018_framed blank blank blank blank fixation_cross_target_position_3_4 "1_45_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_018_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 2142 2992 2492 fixation_cross gabor_010 gabor_172 gabor_055 gabor_084 gabor_010_alt gabor_172_alt gabor_055 gabor_084 "1_46_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2500_gabor_patch_orientation_010_172_055_084_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_100_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_46_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_100_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 2142 2992 2142 fixation_cross gabor_124 gabor_084 gabor_015 gabor_050 gabor_124_alt gabor_084 gabor_015_alt gabor_050 "1_47_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2150_gabor_patch_orientation_124_084_015_050_target_position_2_4_retrieval_position_2" gabor_circ gabor_034_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_47_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_034_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1742 2992 2492 fixation_cross gabor_085 gabor_103 gabor_137 gabor_163 gabor_085_alt gabor_103 gabor_137 gabor_163_alt "1_48_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2500_gabor_patch_orientation_085_103_137_163_target_position_2_3_retrieval_position_2" gabor_circ gabor_053_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_48_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_053_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1992 2992 2542 fixation_cross gabor_167 gabor_138 gabor_088 gabor_009 gabor_167 gabor_138_alt gabor_088 gabor_009_alt "1_49_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_167_138_088_009_target_position_1_3_retrieval_position_1" gabor_028_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_49_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_028_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1742 2992 2492 fixation_cross gabor_081 gabor_131 gabor_002 gabor_159 gabor_081_alt gabor_131 gabor_002_alt gabor_159 "1_50_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2500_gabor_patch_orientation_081_131_002_159_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_021_framed blank blank blank blank fixation_cross_target_position_2_4 "1_50_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_021_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1992 2992 1892 fixation_cross gabor_162 gabor_095 gabor_028 gabor_010 gabor_162_alt gabor_095_alt gabor_028 gabor_010 "1_51_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_1900_gabor_patch_orientation_162_095_028_010_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_078_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_51_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_078_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 2092 2992 2542 fixation_cross gabor_089 gabor_173 gabor_055 gabor_144 gabor_089_alt gabor_173 gabor_055 gabor_144_alt "1_52_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2550_gabor_patch_orientation_089_173_055_144_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_010_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_52_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_010_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 63 292 292 399 125 2142 2992 2542 fixation_cross gabor_004 gabor_115 gabor_085 gabor_026 gabor_004 gabor_115_alt gabor_085 gabor_026_alt "1_53_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2150_3000_2550_gabor_patch_orientation_004_115_085_026_target_position_1_3_retrieval_position_2" gabor_circ gabor_067_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_53_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_067_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1942 2992 2592 fixation_cross gabor_132 gabor_089 gabor_023 gabor_048 gabor_132 gabor_089_alt gabor_023 gabor_048_alt "1_54_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2600_gabor_patch_orientation_132_089_023_048_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_158_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_54_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_158_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 1892 2992 2242 fixation_cross gabor_164 gabor_136 gabor_080 gabor_097 gabor_164 gabor_136 gabor_080_alt gabor_097_alt "1_55_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2250_gabor_patch_orientation_164_136_080_097_target_position_1_2_retrieval_position_1" gabor_164_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_55_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_164_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1892 2992 1892 fixation_cross gabor_037 gabor_010 gabor_124 gabor_156 gabor_037 gabor_010_alt gabor_124 gabor_156_alt "1_56_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_037_010_124_156_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_174_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_56_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_174_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 1892 2992 2092 fixation_cross gabor_064 gabor_148 gabor_129 gabor_019 gabor_064 gabor_148_alt gabor_129_alt gabor_019 "1_57_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2100_gabor_patch_orientation_064_148_129_019_target_position_1_4_retrieval_position_1" gabor_064_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_57_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_064_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 63 292 292 399 125 1942 2992 2442 fixation_cross gabor_063 gabor_148 gabor_008 gabor_033 gabor_063_alt gabor_148_alt gabor_008 gabor_033 "1_58_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1950_3000_2450_gabor_patch_orientation_063_148_008_033_target_position_3_4_retrieval_position_2" gabor_circ gabor_098_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_58_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_098_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2192 2992 2442 fixation_cross gabor_082 gabor_008 gabor_137 gabor_122 gabor_082_alt gabor_008 gabor_137_alt gabor_122 "1_59_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2450_gabor_patch_orientation_082_008_137_122_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_122_framed blank blank blank blank fixation_cross_target_position_2_4 "1_59_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_122_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 1992 2992 1892 fixation_cross gabor_094 gabor_138 gabor_162 gabor_111 gabor_094 gabor_138_alt gabor_162 gabor_111_alt "1_60_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_1900_gabor_patch_orientation_094_138_162_111_target_position_1_3_retrieval_position_1" gabor_094_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_60_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_094_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2192 2992 2142 fixation_cross gabor_081 gabor_012 gabor_047 gabor_065 gabor_081_alt gabor_012 gabor_047 gabor_065_alt "1_61_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2150_gabor_patch_orientation_081_012_047_065_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_047_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_61_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_047_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2042 2992 2492 fixation_cross gabor_102 gabor_135 gabor_079 gabor_028 gabor_102 gabor_135_alt gabor_079 gabor_028_alt "1_62_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2500_gabor_patch_orientation_102_135_079_028_target_position_1_3_retrieval_position_1" gabor_102_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_62_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_102_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 64 292 292 399 125 1842 2992 2342 fixation_cross gabor_093 gabor_065 gabor_129 gabor_008 gabor_093_alt gabor_065 gabor_129 gabor_008_alt "1_63_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1850_3000_2350_gabor_patch_orientation_093_065_129_008_target_position_2_3_retrieval_position_1" gabor_093_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_63_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_093_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 2242 2992 2342 fixation_cross gabor_049 gabor_097 gabor_022 gabor_007 gabor_049 gabor_097_alt gabor_022 gabor_007_alt "1_64_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2350_gabor_patch_orientation_049_097_022_007_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_069_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_64_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_069_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 1942 2992 2092 fixation_cross gabor_087 gabor_026 gabor_006 gabor_114 gabor_087_alt gabor_026_alt gabor_006 gabor_114 "1_65_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2100_gabor_patch_orientation_087_026_006_114_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_051_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_65_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_051_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 2242 2992 2042 fixation_cross gabor_142 gabor_096 gabor_166 gabor_055 gabor_142_alt gabor_096_alt gabor_166 gabor_055 "1_66_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2050_gabor_patch_orientation_142_096_166_055_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_055_framed blank blank blank blank fixation_cross_target_position_3_4 "1_66_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_055_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 63 292 292 399 125 1792 2992 2242 fixation_cross gabor_016 gabor_055 gabor_144 gabor_034 gabor_016 gabor_055_alt gabor_144_alt gabor_034 "1_67_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1800_3000_2250_gabor_patch_orientation_016_055_144_034_target_position_1_4_retrieval_position_2" gabor_circ gabor_104_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_67_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_104_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 62 292 292 399 125 1992 2992 1892 fixation_cross gabor_143 gabor_089 gabor_060 gabor_179 gabor_143_alt gabor_089 gabor_060 gabor_179_alt "1_68_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_1900_gabor_patch_orientation_143_089_060_179_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_060_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_68_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_060_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 63 292 292 399 125 2192 2992 2392 fixation_cross gabor_156 gabor_177 gabor_112 gabor_048 gabor_156_alt gabor_177_alt gabor_112 gabor_048 "1_69_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_2400_gabor_patch_orientation_156_177_112_048_target_position_3_4_retrieval_position_2" gabor_circ gabor_130_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_69_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_130_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
43 61 292 292 399 125 2092 2992 2042 fixation_cross gabor_144 gabor_011 gabor_062 gabor_123 gabor_144_alt gabor_011 gabor_062_alt gabor_123 "1_70_Encoding_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2050_gabor_patch_orientation_144_011_062_123_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_173_framed blank blank blank blank fixation_cross_target_position_2_4 "1_70_Retrieval_Working_Memory_MEG_P7_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
};
# baselinePost (at the end of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
};
time = 0;
duration = 5000;
code = "BaselinePost";
port_code = 92;
}; |
b222152220f8fefb2c5dd24700e77f2526b0e6dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH3/EX3.2.1/3_2_1.sce | afc563426ee92d7dfaec5acef7935214e8af2ed2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,443 | sce | 3_2_1.sce |
//chapter_no.-3, page_no.-89
//Example_no.3-2-1
clc;
//(a)Calculate_the_reflection_coefficient
Zl=70+(%i*50);
Z0=75+(%i*.01);
r=(Zl-Z0)/(Zl+Z0);
x=real(r);
y=imag(r);
o=atand(y,x);
disp(o,'the_phase_of_reflection_coefficient is =');
M=abs(r);//magintue_of_r
disp(M,'the_magnitude_of_reflection_coefficient_is =');
disp(r,'the_reflection_coefficient is =');
//(b)Calculate_the_transmission_coefficient
T=(2*Zl)/(Zl+Z0);
x=real(T);
y=imag(T);
o=atand(y,x);
disp(o,'the_phase_of_transmission_coefficient is =');
M=abs(T);//magintue_of_T
disp(M,'the_magnitude_of_transmission_coefficient_is =');
disp(T,'the_transmission_coefficient is =');
//(c)Verify_the_relationship_shown_in_Eq(3-2-21)
T2=T^2;
x=real(T2);
y=imag(T2);
o=atand(y,x);
disp(o,'the_phase_of_T^2_is =');
M=abs(T2);//magintue_of_T^2
disp(M,'the_magnitude_of_T^2_is =');
disp(T2,'T^2 =');
p=(Zl/Z0)*(1-(r^2));
x=real(p);
y=imag(p);
o=atand(y,x);
disp(o,'the_phase_of_(Zl/Z0)*(1-(r^2)_is =');
M=abs(T2);//magintue_of_(Zl/Z0)*(1-(r^2)
disp(M,'the_magnitude_of_(Zl/Z0)*(1-(r^2)_is =');
disp(p,'(Zl/Z0)*(1-(r^2)) = ');
disp('since T^2=(Zl/Z0)*(1-(r^2)) hence the_relationship_shown_in_Eq(3-2-21) is verified');
//(d)Verify_the_transmission_coefficient_equals_equals_the_algebraic_sum_of_1_plus_the_reflection_coefficient_as_shown_in_Eq(2-3-18)
y=r+1;
disp(T,'T =');
disp(y,'r+1 = ');
disp('since T = r+1 hence the_relationship_shown_in_Eq(2-3-18) is verified');
|
d8e2a618fcb3901681ea06a29a09cea55366c8b6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/mtlb/mtlb_ishold.sci | 98a014b18d255c7b0ffa93a5932de665eb66813a | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 127 | sci | mtlb_ishold.sci | function r=mtlb_ishold()
[lhs,rhs]=argn(0)
global('%MTLBHOLD')
if ~%MTLBHOLD|%MTLBHOLD==[] then
r=%f
else
r=%MTLBHOLD
end
|
62ca0baa13f4880e7e52d173e1b091f98270eed5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH3/EX3.19/Ex3_19.sce | ad6bd435fe0c12f369b8c44efea62a928af15704 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 827 | sce | Ex3_19.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex3_19.sce
clc;
clear;
//Below values are taken from the given circuit (fig.3.27)
Z1=complex(6,0);
Z2=complex(10,15);
Z3=complex(6,-3);
Zs=(Z1*Z2)/(Z1+Z2)+Z3;
Vs=complex(12,0);
Is=complex(5*cosd(-30),5*sind(-30));
//for loop1 , the coefficient of I2 ,Isc and source is given below
a1=Z1+Z2;
b1=Z1;
c1=Vs;
//for loop2 , the coefficient of I1 ,I2 and source is given below
a2=Z2;
b2=-Z3;
c2=Is*Z3;
del2=det([a1 c1;a2 c2]);
del=det([a1 b1;a2 b2]);
Isc=del2/del;
Ys=1/Zs;
I=(Isc/Ys)/((1/Ys)+3);
I_mag=sqrt(real(I)^2+imag(I)^2);
I_ang=atand(imag(I)/real(I))+180;
printf("\n Current through the 3 ohm resistor= %1.4f angle:%3.2f degree \n",I_mag,I_ang)
|
380c1c2d521cd79cbf10879037e2dce44b6f076f | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH3/EX3.8/Ex3_8.sce | ddfb7d64d4b5a5a25b9f7c0003632dbb59ad17a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sce | Ex3_8.sce | //Ex:3.8
clc;
clear;
close;
I_sc=19;//in uA
R=1000;
R_m=968;
V_out=I_sc*(R*R_m/(R+R_m));
printf("Voltage produced = %d uV",V_out); |
cd7b6cf249facbb16b3bedebd124364a30aad90f | 449d555969bfd7befe906877abab098c6e63a0e8 | /876/CH5/EX5.1/Ex5_1t.txt | 994b8e30d83dff1cc3951cfe310981af3b89104e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | txt | Ex5_1t.txt | //caption:Find terminal voltage when load impedance is(a)10 ohm(b)20 ohm(c)40 ohm
//Ex5.1
clc
clear
close
Vs=5//source voltage(in V)
Zi=10//internal imedance of load(in ohm)
Z1=10//load impedance(in ohm)
Z2=20//load impedance(in ohm)
Z3=40//load impedance(in ohm)
Vt1=(Vs/(Zi+Z1))*Z1
disp(Vt1,'(a)internal voltage at load impedance 10 ohm(in ohm)=')
Vt2=(Vs/(Zi+Z2))*Z2
disp(Vt2,'(b)internal voltage at load impedance 20 ohm(in ohm)=')
Vt3=(Vs/(Zi+Z3))*Z3
disp(Vt3,'(c)internal voltage at load impedance 40 ohm(in ohm)=') |
005dafaa87413de64d8639694c7070458cb590f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH10/EX10.1.1/10_1_1.sce | 3867c294ff2122367cfb1cecad843e1a73717d3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 820 | sce | 10_1_1.sce | //CAPTION:Conventional_Magnetron
//chapter_no.-10, page_no.-448
//Example_no.10-1-1
clc;
//(a) Calculate_the_cyclotron_angular_frequency
em=1.759*(10^11);//em=e/m=charge_is_to_mass_ratio
B0=.336;//Magnetic_flux_density
wc=(em)*B0;
disp(wc,'The_cyclotron_angular_frequency(in rad)is =');
//(b) Calculate_the_cutoff_voltage_for_a_fixed_B0
a=5*(10^-2);//radius_of_cathode_cylinder
b=10*(10^-2);//radius_of_vane_edge_to_centre
Voc=(em*(B0^2)*(b^2)*((1-((a/b)^2))^2))/8;
Voc=Voc/(10^5);
disp(Voc,'the_cutoff_voltage_for_a_fixed_B0(in KV)is =');
//(c) Calculate_the_cutoff_magnetic_flux_density_for_a_fixed_V0
V0=26*(10^3);//Anode_voltage
Boc=(((8*V0)/em)^(1/2))/(b*(1-((a/b)^2)));
Boc=Boc*1000;
disp(Boc,'the_cutoff_magnetic_flux_density_for_a_fixed_V0(in mWb/m^2)is =');
|
058245cc470685b1e71c6dedf391c46081812692 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH15/EX15.5/Ex15_5.sce | 7f5b43b61666f7d226d9e095d6e49ec99706c1e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 919 | sce | Ex15_5.sce | //Ex15_5 Pg-775
clc
disp("The standard equation of AM wave is")
disp(" e = Ec*(1+m*sin(omega_m*t)*sin(omega_c*t)) -->eqn 1")
disp("Given the equation")
disp(" e = 20*(1+0.7*sin(6280*t)*sin(628000*t)) --eqn 2")
disp("Comparing eqn 1 and eqn 2 one obtains")
disp("(1) Modulation factor, m = 0.7")
m=0.7 //modulation factor
disp("(2) Carrier Amplitude, Ec = 20 V")
Ec=20 //carrier wave amplitude in V
disp("(3) omega_m = 6280")
omega_m=6280 //modulating frequency
Fm=omega_m/(2*%pi) //signal frequency
printf(" Signal frequency = %.0f kHz \n\n",Fm*1e-3)
omega_c=628000 //carrier frequency in Hz
Fc=omega_c/(2*%pi)
printf("(4) Signal frequency = %.0f kHz \n\n",Fc*1e-3)
Emax=Ec+m*Ec //minimum amplitude of wave
printf("(5) Emax = %.0f V \n\n",Emax)
Emin=Ec-m*Ec //minimum amplitude of wave
printf("(5) Emin = %.0f V\n\n",Emin)
BW=2*Fm //Bandwidth
printf("(6) BW = %.0f kHZ",BW*1e-3)
|
ed4a29041775f7d6d298429201617ee0d071c5c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH14/EX14.38/Example14_38.sce | c7cf1c759c641bbfa2be0cad02e78ed130286f16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,371 | sce | Example14_38.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 14: TRANSFORMERS
// Example 14-38
clear; clc; close; // Clear the work space and console.
// Given data
// 3-phase SCIM
V = 440 ; // rated voltage in volt of SCIM
hp = 100 ; // rated power in hp of SCIM
PF = 0.8 ; // power factor
V_1 = 155 ; // primary voltage in volt of Tr
V_2 = 110 ; // secondary voltage in volt of Tr
V_a = 110 ; // armature voltage in volt
V_L = 440 ; // Load voltage in volt
eta = .98 ; // efficiency of the Tr.
// Calculations
// case a
// referring to appendix A-3,Table 430-150 footnotes
I_L = 124*1.25 ; // Motor line current in A
// case b
alpha = V_a/V_L ; // Transformation ratio
// case c
I_a = (sqrt(3)/2)*( I_L / (alpha*eta) ); // Current in the primary of the scott transformers
// case d
kVA = (V_a*I_a)/((sqrt(3)/2)*1000); // kVA rating of the main and teaser transformers
// Display the results
disp("Example 14-38 Solution : ");
printf(" \n a: Motor line current :\n I_L = %d A \n ",I_L);
printf(" \n b: Transformation ratio :\n alpha = N_1/N_2 = V_a/V_L = %.2f \n",alpha);
printf(" \n c: Current in the primary of the scott transformers :\n I_a = %.f A \n",I_a);
printf(" \n d: kVA rating of the main and teaser transformers :\n kVA = %.1f kVA",kVA);
|
0540beb2f5d9bdeb32aaa8157842fc9a941b4aee | bf782c0f304cf55ef087713559ac0bd6e594f21d | /pjn/lab2/out.tst | 15472208c8b935a4ead466c8e388e9e7ca517343 | [] | no_license | romanowski/studia | e86b6ba5f5baf1bd615830cf4ff8f4681ea9a0a8 | f540ca24e75e89ffc68f3cf52fa1e10b0bd162b7 | refs/heads/master | 2016-09-05T13:15:01.493412 | 2015-02-03T22:54:16 | 2015-02-03T22:54:16 | 10,618,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 34,817 | tst | out.tst | 0 for word: abonamęt got: [] in 28 millis
1 for word: agrawce got: [] in 0 millis
2 for word: akcesorii got: [] in 1 millis
3 for word: aktułalnie got: [] in 1 millis
4 for word: akwariumowy got: [] in 0 millis
5 for word: allegrowiczą got: [] in 1 millis
6 for word: allegrowiczy got: [] in 1 millis
7 for word: altomatow got: [] in 1 millis
8 for word: ałkcja got: [] in 0 millis
9 for word: ałkcjie got: [] in 1 millis
10 for word: ampółkę got: [] in 0 millis
11 for word: angarzuje got: [] in 1 millis
12 for word: antyrozpryzkową got: [] in 1 millis
13 for word: aódi got: [] in 0 millis
14 for word: apsolutnie got: [] in 1 millis
15 for word: apsurd got: [] in 0 millis
16 for word: arafadki got: [] in 1 millis
17 for word: aromaterapełtyczne got: [] in 1 millis
18 for word: artykół got: [] in 1 millis
19 for word: atmoswera got: [] in 1 millis
20 for word: atramęcie got: [] in 1 millis
21 for word: aukcjia got: [] in 0 millis
22 for word: bać got: [] in 0 millis
23 for word: bagarznik got: [] in 0 millis
24 for word: balejarzem got: [] in 0 millis
25 for word: bąbki got: [] in 1 millis
26 for word: beczółka got: [] in 0 millis
27 for word: bende got: [] in 1 millis
28 for word: bendzie got: [] in 0 millis
29 for word: berzowy got: [] in 1 millis
30 for word: bescen got: [] in 1 millis
31 for word: beszczelny got: [] in 1 millis
32 for word: bencwale got: [] in 1 millis
33 for word: bezceler got: [] in 1 millis
34 for word: bezcent got: [] in 1 millis
35 for word: będoł got: [] in 1 millis
36 for word: bęty got: [] in 0 millis
37 for word: bęzynowa got: [] in 1 millis
38 for word: bierzący got: [] in 1 millis
39 for word: bimboniera got: [] in 1 millis
40 for word: biórko got: [] in 1 millis
41 for word: biuzcie got: [] in 1 millis
42 for word: blad got: [] in 1 millis
43 for word: blądyna got: [] in 0 millis
44 for word: blew got: [] in 0 millis
45 for word: bluska got: [] in 1 millis
46 for word: bodajrze got: [] in 1 millis
47 for word: bolcy got: [] in 1 millis
48 for word: bonos got: [] in 1 millis
49 for word: bódzik got: [] in 0 millis
50 for word: brązoletka got: [] in 1 millis
51 for word: brobinkami got: [] in 1 millis
52 for word: bronsoletę got: [] in 1 millis
53 for word: bronzowy got: [] in 1 millis
54 for word: brożka got: [] in 0 millis
55 for word: bródny got: [] in 0 millis
56 for word: brylok got: [] in 0 millis
57 for word: bulem got: [] in 1 millis
58 for word: bydlencej got: [] in 0 millis
59 for word: cantry got: [] in 0 millis
60 for word: cfaniak got: [] in 1 millis
61 for word: cieszki got: [] in 0 millis
62 for word: ciękie got: [] in 1 millis
63 for word: chalasuje got: [] in 0 millis
64 for word: chalka got: [chałka] in 1 millis
65 for word: chalogenowa got: [] in 1 millis
66 for word: chamulec got: [] in 0 millis
67 for word: chandlować got: [] in 1 millis
68 for word: chawt got: [] in 0 millis
69 for word: chcem got: [] in 0 millis
70 for word: cheblowania got: [] in 1 millis
71 for word: cherb got: [] in 0 millis
72 for word: cherbacianego got: [] in 1 millis
73 for word: chisteryczna got: [] in 1 millis
74 for word: chity got: [] in 0 millis
75 for word: chiszpańskim got: [] in 1 millis
76 for word: chlajnoga got: [] in 0 millis
77 for word: chlopakowe got: [] in 0 millis
78 for word: chociasz got: [] in 1 millis
79 for word: chodowany got: [] in 0 millis
80 for word: chomologacja got: [] in 0 millis
81 for word: chonorowe got: [] in 1 millis
82 for word: chorednalnie got: [] in 1 millis
83 for word: chospitalizacja got: [] in 1 millis
84 for word: chumor got: [] in 0 millis
85 for word: churtowa got: [] in 1 millis
86 for word: ciencia got: [] in 0 millis
87 for word: cienżarowy got: [] in 1 millis
88 for word: cięką got: [] in 0 millis
89 for word: ciongnik got: [] in 1 millis
90 for word: códowna got: [] in 0 millis
91 for word: curka got: [] in 0 millis
92 for word: cut got: [] in 0 millis
93 for word: cuż got: [] in 1 millis
94 for word: cyfronicznego got: [] in 1 millis
95 for word: czciny got: [] in 0 millis
96 for word: czeba got: [] in 1 millis
97 for word: czegusz got: [] in 0 millis
98 for word: czeńści got: [] in 0 millis
99 for word: czeszczy got: [] in 1 millis
100 for word: czonku got: [] in 1 millis
101 for word: czójnik got: [] in 0 millis
102 for word: czułenka got: [] in 1 millis
103 for word: czyma got: [] in 0 millis
104 for word: czyszczęce got: [] in 0 millis
105 for word: darójmy got: [] in 0 millis
106 for word: delikfent got: [] in 0 millis
107 for word: dekold got: [] in 1 millis
108 for word: dembowy got: [] in 0 millis
109 for word: dewiską got: [] in 1 millis
110 for word: dłóg got: [] in 0 millis
111 for word: dłógość got: [] in 0 millis
112 for word: długowietrzna got: [] in 1 millis
113 for word: dobur got: [] in 0 millis
114 for word: dokujoncom got: [] in 1 millis
115 for word: dokumęty got: [] in 0 millis
116 for word: dolanczam got: [] in 1 millis
117 for word: dopuki got: [] in 0 millis
118 for word: dorobinami got: [] in 1 millis
119 for word: dotąt got: [] in 0 millis
120 for word: dożucam got: [] in 1 millis
121 for word: dożucić got: [] in 0 millis
122 for word: dópa got: [] in 0 millis
123 for word: drahm got: [] in 0 millis
124 for word: drapierzne got: [] in 0 millis
125 for word: drógim got: [] in 0 millis
126 for word: drzemy got: [] in 0 millis
127 for word: dugopis got: [] in 1 millis
128 for word: dul got: [duł] in 0 millis
129 for word: durzej got: [] in 0 millis
130 for word: durzej got: [] in 0 millis
131 for word: durzo got: [] in 0 millis
132 for word: dwónastka got: [] in 1 millis
133 for word: dwóstronna got: [] in 0 millis
134 for word: dziecience got: [] in 0 millis
135 for word: dzienkuje got: [] in 1 millis
136 for word: dzież got: [] in 0 millis
137 for word: dzióra got: [] in 0 millis
138 for word: dzwienku got: [] in 1 millis
139 for word: dżazg got: [] in 0 millis
140 for word: dźwi got: [] in 0 millis
141 for word: efektowane got: [] in 0 millis
142 for word: egzemplaż got: [] in 1 millis
143 for word: eksklózywne got: [] in 0 millis
144 for word: elegandzka got: [] in 0 millis
145 for word: energi got: [] in 1 millis
146 for word: essei got: [] in 0 millis
147 for word: etłi got: [] in 1 millis
148 for word: extrymalnie got: [] in 0 millis
149 for word: faktórą got: [] in 1 millis
150 for word: ferplej got: [] in 0 millis
151 for word: ferr got: [] in 0 millis
152 for word: figorka got: [] in 0 millis
153 for word: figóry got: [] in 0 millis
154 for word: filcharmonia got: [] in 1 millis
155 for word: firzbiny got: [] in 0 millis
156 for word: fiżbinie got: [] in 1 millis
157 for word: fjoletowego got: [] in 0 millis
158 for word: fluorostencyjne got: [] in 0 millis
159 for word: flustracje got: [] in 1 millis
160 for word: francuzki got: [] in 0 millis
161 for word: francuzki got: [] in 0 millis
162 for word: frendzle got: [] in 1 millis
163 for word: fri got: [] in 0 millis
164 for word: fszystkie got: [] in 1 millis
165 for word: ftedy got: [] in 0 millis
166 for word: garasz got: [] in 1 millis
167 for word: garczków got: [] in 0 millis
168 for word: gąg got: [] in 0 millis
169 for word: gąpeczki got: [] in 0 millis
170 for word: giątki got: [] in 0 millis
171 for word: gipiórową got: [] in 1 millis
172 for word: gmatfanina got: [] in 0 millis
173 for word: gniecący got: [] in 1 millis
174 for word: gobka got: [] in 0 millis
175 for word: golembi got: [] in 1 millis
176 for word: gokard got: [] in 0 millis
177 for word: gompka got: [] in 0 millis
178 for word: gómce got: [] in 0 millis
179 for word: góru got: [] in 0 millis
180 for word: góże got: [] in 0 millis
181 for word: grabaża got: [] in 0 millis
182 for word: groby got: [] in 0 millis
183 for word: gróbą got: [] in 1 millis
184 for word: gródnia got: [] in 0 millis
185 for word: gudyar got: [] in 0 millis
186 for word: gwarka got: [] in 0 millis
187 for word: gwiastką got: [] in 0 millis
188 for word: gwizda got: [] in 1 millis
189 for word: habrowego got: [] in 0 millis
190 for word: ham got: [] in 1 millis
191 for word: hamólcowe got: [] in 0 millis
192 for word: hamstwo got: [] in 1 millis
193 for word: haotycznuy got: [] in 0 millis
194 for word: harczą got: [] in 1 millis
195 for word: hawtem got: [] in 0 millis
196 for word: hawtki got: [] in 1 millis
197 for word: hawtowanego got: [] in 0 millis
198 for word: hce got: [] in 1 millis
199 for word: hcesz got: [] in 0 millis
200 for word: hętnie got: [] in 1 millis
201 for word: Hicago got: [] in 0 millis
202 for word: hlam got: [] in 1 millis
203 for word: hlebak got: [] in 0 millis
204 for word: hlubę got: [] in 0 millis
205 for word: hoć got: [] in 0 millis
206 for word: hodzą got: [hodżą] in 0 millis
207 for word: hodzi got: [] in 1 millis
208 for word: hohlą got: [] in 0 millis
209 for word: holera got: [] in 1 millis
210 for word: holewki got: [] in 0 millis
211 for word: homika got: [] in 0 millis
212 for word: homonto got: [] in 0 millis
213 for word: horobach got: [] in 1 millis
214 for word: hromoterapi got: [] in 0 millis
215 for word: hromowanych got: [] in 1 millis
216 for word: hudą got: [] in 0 millis
217 for word: huj got: [] in 0 millis
218 for word: husta got: [huśta] in 1 millis
219 for word: hyba got: [] in 0 millis
220 for word: imicz got: [] in 1 millis
221 for word: impreskę got: [] in 0 millis
222 for word: inchalacja got: [] in 1 millis
223 for word: insygnowane got: [] in 0 millis
224 for word: intarsia got: [] in 0 millis
225 for word: inteligętni got: [] in 1 millis
226 for word: intensyfności got: [] in 0 millis
227 for word: interwęcje got: [] in 0 millis
228 for word: jabukowym got: [] in 0 millis
229 for word: jagby got: [] in 1 millis
230 for word: jansu got: [] in 0 millis
231 for word: jaszczorki got: [] in 1 millis
232 for word: jerzeli got: [] in 0 millis
233 for word: jeźorem got: [] in 0 millis
234 for word: jusz got: [] in 0 millis
235 for word: kakretne got: [] in 0 millis
236 for word: kaledaz got: [] in 1 millis
237 for word: kaleusik got: [] in 0 millis
238 for word: kałamasz got: [] in 1 millis
239 for word: kałcje got: [] in 0 millis
240 for word: kałczuk got: [] in 1 millis
241 for word: kamuflarzu got: [] in 0 millis
242 for word: karzdy got: [] in 0 millis
243 for word: kąkretny got: [] in 0 millis
244 for word: kąpa got: [] in 1 millis
245 for word: kąplet got: [] in 0 millis
246 for word: kątakt got: [] in 0 millis
247 for word: kąto got: [] in 0 millis
248 for word: kędzieżawy got: [] in 0 millis
249 for word: kiletem got: [] in 1 millis
250 for word: kjosku got: [] in 0 millis
251 for word: klamrom got: [] in 1 millis
252 for word: klawiatórce got: [] in 0 millis
253 for word: klączków got: [] in 1 millis
254 for word: klenkaicje got: [] in 0 millis
255 for word: kluczów got: [] in 0 millis
256 for word: kłamcom got: [] in 0 millis
257 for word: kłudeczkę got: [] in 0 millis
258 for word: koferku got: [] in 0 millis
259 for word: koloże got: [] in 1 millis
260 for word: koładka got: [] in 0 millis
261 for word: kołnież got: [] in 1 millis
262 for word: komętaż got: [] in 0 millis
263 for word: kompiel got: [] in 1 millis
264 for word: kompetecje got: [] in 0 millis
265 for word: konflikacje got: [] in 1 millis
266 for word: konkuręcja got: [] in 0 millis
267 for word: konsekwętny got: [] in 0 millis
268 for word: kontówką got: [] in 0 millis
269 for word: kontrachent got: [] in 0 millis
270 for word: konzystencjia got: [] in 1 millis
271 for word: końciku got: [] in 0 millis
272 for word: kończyny got: [] in 0 millis
273 for word: kopóle got: [] in 0 millis
274 for word: korąki got: [] in 0 millis
275 for word: korespądencje got: [] in 1 millis
276 for word: korzuszkiem got: [] in 0 millis
277 for word: kostjum got: [] in 1 millis
278 for word: kozystac got: [] in 1 millis
279 for word: kórtka got: [] in 0 millis
280 for word: kórz got: [] in 1 millis
281 for word: kradzierz got: [] in 1 millis
282 for word: kretki got: [krętki] in 0 millis
283 for word: krodko got: [] in 0 millis
284 for word: kroszki got: [] in 1 millis
285 for word: królowy got: [] in 0 millis
286 for word: kruj got: [] in 0 millis
287 for word: krulestwo got: [] in 1 millis
288 for word: krutki got: [] in 0 millis
289 for word: krztałt got: [] in 1 millis
290 for word: ksiarzki got: [] in 1 millis
291 for word: kucarzom got: [] in 0 millis
292 for word: kułka got: [] in 0 millis
293 for word: kupujoncom got: [] in 1 millis
294 for word: kuży got: [] in 0 millis
295 for word: kwarancyjna got: [] in 1 millis
296 for word: kżyżowych got: [] in 1 millis
297 for word: labolatorium got: [] in 1 millis
298 for word: laeycrą got: [] in 0 millis
299 for word: latrelek got: [] in 0 millis
300 for word: lążowania got: [] in 1 millis
301 for word: legęda got: [] in 1 millis
302 for word: leprzy got: [] in 0 millis
303 for word: lerzy got: [] in 0 millis
304 for word: likfidacji got: [] in 0 millis
305 for word: litycacia got: [] in 1 millis
306 for word: londowych got: [] in 1 millis
307 for word: ludkowy got: [] in 0 millis
308 for word: ludzią got: [] in 1 millis
309 for word: lykra got: [] in 0 millis
310 for word: łącużku got: [] in 0 millis
311 for word: łeski got: [] in 0 millis
312 for word: łgaż got: [] in 0 millis
313 for word: łonczące got: [] in 1 millis
314 for word: łonki got: [] in 0 millis
315 for word: łudka got: [] in 0 millis
316 for word: łudkowatym got: [] in 0 millis
317 for word: łukos got: [] in 1 millis
318 for word: łużeczko got: [] in 0 millis
319 for word: łużka got: [] in 1 millis
320 for word: machoń got: [] in 0 millis
321 for word: madmlazel got: [] in 1 millis
322 for word: magnetowit got: [] in 1 millis
323 for word: maitasy got: [] in 0 millis
324 for word: maitki got: [] in 1 millis
325 for word: makijarz got: [] in 0 millis
326 for word: mankamęty got: [] in 1 millis
327 for word: marychuany got: [] in 0 millis
328 for word: marynażyk got: [] in 1 millis
329 for word: maturzysztow got: [] in 0 millis
330 for word: mątarzem got: [] in 1 millis
331 for word: mątarzowe got: [] in 0 millis
332 for word: menszczyzny got: [] in 1 millis
333 for word: mentną got: [] in 1 millis
334 for word: mereszką got: [] in 0 millis
335 for word: mędo got: [] in 0 millis
336 for word: męszczyzn got: [] in 1 millis
337 for word: miałczenie got: [] in 0 millis
338 for word: mieżona got: [] in 0 millis
339 for word: miljonerem got: [] in 1 millis
340 for word: minoł got: [] in 0 millis
341 for word: miszkasz got: [] in 1 millis
342 for word: mkiełka got: [] in 0 millis
343 for word: młucenia got: [] in 0 millis
344 for word: mnustwo got: [] in 0 millis
345 for word: modól got: [] in 0 millis
346 for word: mojih got: [] in 0 millis
347 for word: momęcik got: [] in 1 millis
348 for word: mondrala got: [] in 0 millis
349 for word: morzna got: [] in 1 millis
350 for word: morzliwość got: [] in 0 millis
351 for word: mruz got: [mruż] in 1 millis
352 for word: mydłów got: [] in 0 millis
353 for word: nadchnienia got: [] in 0 millis
354 for word: najleprze got: [] in 0 millis
355 for word: nakrędka got: [] in 1 millis
356 for word: narzędź got: [] in 0 millis
357 for word: nastempnej got: [] in 1 millis
358 for word: nawieszchni got: [] in 0 millis
359 for word: nawilrzacz got: [] in 0 millis
360 for word: nazady got: [] in 1 millis
361 for word: niedoś got: [] in 0 millis
362 for word: niepowtażalny got: [] in 0 millis
363 for word: niezależnom got: [] in 1 millis
364 for word: niezruwnowarzony got: [] in 0 millis
365 for word: nirzej got: [] in 0 millis
366 for word: nizkim got: [] in 0 millis
367 for word: nizkiego got: [] in 0 millis
368 for word: nowiudka got: [] in 0 millis
369 for word: noworotka got: [] in 0 millis
370 for word: nórka got: [] in 0 millis
371 for word: nuszki got: [] in 1 millis
372 for word: objektywy got: [] in 0 millis
373 for word: obnirzaja got: [] in 1 millis
374 for word: obopulnie got: [] in 0 millis
375 for word: obódowa got: [] in 0 millis
376 for word: obówia got: [] in 0 millis
377 for word: obówniczym got: [] in 1 millis
378 for word: obrubki got: [] in 0 millis
379 for word: obrucone got: [] in 1 millis
380 for word: obsóguje got: [] in 0 millis
381 for word: obsłózy got: [] in 1 millis
382 for word: obwudka got: [] in 0 millis
383 for word: ocielpane got: [] in 1 millis
384 for word: ocierć got: [] in 0 millis
385 for word: oczymałem got: [] in 1 millis
386 for word: odbiur got: [] in 0 millis
387 for word: odeprały got: [] in 0 millis
388 for word: odkrencana got: [] in 0 millis
389 for word: odlanczana got: [] in 1 millis
390 for word: odpowieć got: [] in 0 millis
391 for word: odprówających got: [] in 1 millis
392 for word: odrzywek got: [] in 0 millis
393 for word: odtważacz got: [] in 1 millis
394 for word: odważacz got: [] in 1 millis
395 for word: odwdzieńczyłem got: [] in 0 millis
396 for word: ofszem got: [] in 1 millis
397 for word: oglondany got: [] in 0 millis
398 for word: ogresteurowany got: [] in 0 millis
399 for word: okrongłe got: [] in 1 millis
400 for word: olifkowy got: [] in 0 millis
401 for word: oneks got: [] in 1 millis
402 for word: oprucz got: [] in 0 millis
403 for word: oprzycie got: [] in 1 millis
404 for word: opsydianu got: [] in 0 millis
405 for word: opszerz got: [] in 1 millis
406 for word: opszyty got: [] in 0 millis
407 for word: opwod got: [] in 1 millis
408 for word: orginalnoł got: [] in 0 millis
409 for word: orgynał got: [] in 1 millis
410 for word: orjętacyjne got: [] in 0 millis
411 for word: orzeły got: [] in 1 millis
412 for word: osobosie got: [] in 0 millis
413 for word: oswuj got: [] in 1 millis
414 for word: oszczale got: [] in 0 millis
415 for word: oszczona got: [] in 0 millis
416 for word: otkurzacz got: [] in 1 millis
417 for word: otuz got: [] in 1 millis
418 for word: ozdubki got: [] in 0 millis
419 for word: oznaków got: [] in 1 millis
420 for word: ożełek got: [] in 1 millis
421 for word: pahnie got: [] in 0 millis
422 for word: pamienc got: [] in 0 millis
423 for word: papuszka got: [] in 1 millis
424 for word: paseczką got: [] in 0 millis
425 for word: pasi got: [] in 1 millis
426 for word: pasowne got: [] in 0 millis
427 for word: pastwisze got: [] in 1 millis
428 for word: pazórki got: [] in 0 millis
429 for word: pączu got: [] in 1 millis
430 for word: pąpka got: [] in 0 millis
431 for word: pejzarz got: [] in 0 millis
432 for word: pełnom got: [] in 0 millis
433 for word: pempek got: [] in 0 millis
434 for word: pendzelek got: [] in 1 millis
435 for word: penkaj got: [] in 0 millis
436 for word: pentelke got: [] in 0 millis
437 for word: perfuma got: [perfumą] in 0 millis
438 for word: persfazyjna got: [] in 1 millis
439 for word: pienaszki got: [] in 1 millis
440 for word: pierściąki got: [] in 0 millis
441 for word: piuro got: [] in 0 millis
442 for word: pląba got: [] in 1 millis
443 for word: plutna got: [] in 0 millis
444 for word: pluz got: [] in 1 millis
445 for word: płuka got: [] in 0 millis
446 for word: pnęmatyczne got: [] in 1 millis
447 for word: poczkującym got: [] in 0 millis
448 for word: podczymywacz got: [] in 0 millis
449 for word: podeszfa got: [] in 1 millis
450 for word: podknięcia got: [] in 0 millis
451 for word: podpurka got: [] in 0 millis
452 for word: podruży got: [] in 1 millis
453 for word: podrzewka got: [] in 0 millis
454 for word: podsumowójąc got: [] in 1 millis
455 for word: pogruszkami got: [] in 0 millis
456 for word: pohodzenia got: [] in 1 millis
457 for word: pokrentełka got: [] in 0 millis
458 for word: pokrowiedz got: [] in 1 millis
459 for word: pocentjometry got: [] in 0 millis
460 for word: podpurką got: [] in 0 millis
461 for word: pomodz got: [] in 0 millis
462 for word: poniewasz got: [] in 0 millis
463 for word: ponirzej got: [] in 0 millis
464 for word: popacz got: [] in 1 millis
465 for word: poprzes got: [] in 0 millis
466 for word: poraszka got: [] in 1 millis
467 for word: portponetka got: [] in 0 millis
468 for word: portwel got: [] in 0 millis
469 for word: porysałem got: [] in 0 millis
470 for word: porzukniete got: [] in 1 millis
471 for word: posionc got: [] in 0 millis
472 for word: poską got: [] in 1 millis
473 for word: posówa got: [] in 0 millis
474 for word: postempowaniem got: [] in 1 millis
475 for word: posysowane got: [] in 0 millis
476 for word: potecionometry got: [] in 1 millis
477 for word: potrzewka got: [] in 0 millis
478 for word: powieczne got: [] in 0 millis
479 for word: powieszchownie got: [] in 1 millis
480 for word: pozbąć got: [] in 0 millis
481 for word: poziomnice got: [poziomnicę] in 1 millis
482 for word: póbliczności got: [] in 0 millis
483 for word: pódełko got: [] in 1 millis
484 for word: półałtomatycznie got: [] in 0 millis
485 for word: pnełmatyczna got: [] in 1 millis
486 for word: prenta got: [] in 0 millis
487 for word: pretęsja got: [] in 1 millis
488 for word: prezęt got: [] in 0 millis
489 for word: prezętują got: [] in 0 millis
490 for word: prętkość got: [] in 1 millis
491 for word: procentah got: [] in 0 millis
492 for word: protokuł got: [] in 0 millis
493 for word: prozkach got: [prożkach] in 0 millis
494 for word: proźbę got: [] in 0 millis
495 for word: prubki got: [] in 0 millis
496 for word: prucz got: [] in 0 millis
497 for word: przczulka got: [] in 0 millis
498 for word: przeczkola got: [] in 0 millis
499 for word: przejaszczka got: [] in 1 millis
500 for word: przegrudka got: [] in 0 millis
501 for word: przegrutkami got: [] in 0 millis
502 for word: przekomażać got: [] in 1 millis
503 for word: przekur got: [] in 0 millis
504 for word: przelodkami got: [] in 0 millis
505 for word: przełańczasz got: [] in 1 millis
506 for word: przemiekiej got: [] in 0 millis
507 for word: przepiegla got: [] in 1 millis
508 for word: przerurznyh got: [] in 0 millis
509 for word: przes got: [] in 0 millis
510 for word: przeszczekam got: [] in 0 millis
511 for word: przeziembiamy got: [] in 1 millis
512 for word: przeżudki got: [] in 0 millis
513 for word: przeżutkę got: [] in 0 millis
514 for word: przyszybsza got: [] in 1 millis
515 for word: przyżec got: [] in 0 millis
516 for word: pseldo got: [] in 1 millis
517 for word: psełdonimu got: [] in 0 millis
518 for word: pszecież got: [] in 1 millis
519 for word: pszedmiotem got: [] in 0 millis
520 for word: pszedwzmacniacz got: [] in 1 millis
521 for word: pszepraszam got: [] in 1 millis
522 for word: pszesyłce got: [] in 0 millis
523 for word: pszeszycia got: [] in 1 millis
524 for word: pszędzona got: [] in 0 millis
525 for word: pszężyto got: [] in 1 millis
526 for word: pszkami got: [] in 0 millis
527 for word: pszud got: [] in 1 millis
528 for word: pszustawka got: [] in 0 millis
529 for word: pszychicznej got: [] in 1 millis
530 for word: pszycisku got: [] in 0 millis
531 for word: pszygodówka got: [] in 1 millis
532 for word: pszyssawek got: [] in 0 millis
533 for word: puhar got: [] in 0 millis
534 for word: pujść got: [] in 0 millis
535 for word: pulka got: [pulką] in 0 millis
536 for word: pułautomat got: [] in 0 millis
537 for word: puźniej got: [] in 1 millis
538 for word: pżegżać got: [] in 0 millis
539 for word: pżydatny got: [] in 0 millis
540 for word: qwarcowy got: [] in 1 millis
541 for word: rąby got: [] in 0 millis
542 for word: rególowany got: [] in 0 millis
543 for word: renczny got: [] in 1 millis
544 for word: renkawa got: [] in 0 millis
545 for word: renke got: [] in 1 millis
546 for word: renkojmia got: [] in 0 millis
547 for word: rgnalna got: [] in 1 millis
548 for word: rodzaji got: [] in 1 millis
549 for word: roguw got: [] in 0 millis
550 for word: rolnetka got: [] in 1 millis
551 for word: rołter got: [] in 0 millis
552 for word: roskoszy got: [] in 1 millis
553 for word: roszczarowany got: [] in 1 millis
554 for word: rośćęciami got: [] in 1 millis
555 for word: rozcieńciami got: [] in 0 millis
556 for word: rozpakuwającego got: [] in 0 millis
557 for word: rozrosznik got: [] in 0 millis
558 for word: róbin got: [] in 1 millis
559 for word: ródych got: [] in 0 millis
560 for word: róra got: [] in 0 millis
561 for word: rórze got: [] in 0 millis
562 for word: rórznych got: [] in 1 millis
563 for word: rurznego got: [] in 0 millis
564 for word: ruwniesz got: [] in 1 millis
565 for word: ruzne got: [] in 1 millis
566 for word: ruże got: [] in 0 millis
567 for word: rysze got: [] in 1 millis
568 for word: rzaden got: [] in 0 millis
569 for word: rzale got: [] in 0 millis
570 for word: rzeby got: [] in 0 millis
571 for word: rzelaska got: [] in 1 millis
572 for word: rzelaza got: [] in 0 millis
573 for word: rzyczenia got: [] in 0 millis
574 for word: sady got: [sądy] in 1 millis
575 for word: samobierzny got: [] in 0 millis
576 for word: samochud got: [] in 1 millis
577 for word: sandłycz got: [] in 0 millis
578 for word: sąnczony got: [] in 1 millis
579 for word: seif got: [] in 0 millis
580 for word: separacjacja got: [] in 0 millis
581 for word: serwisą got: [] in 1 millis
582 for word: sexsowny got: [] in 0 millis
583 for word: sfastyka got: [] in 0 millis
584 for word: sfeter got: [] in 0 millis
585 for word: sfetr got: [] in 1 millis
586 for word: sfond got: [] in 0 millis
587 for word: siwiece got: [] in 1 millis
588 for word: skaji got: [] in 0 millis
589 for word: skataktowal got: [] in 1 millis
590 for word: sklepą got: [] in 0 millis
591 for word: skłat got: [] in 0 millis
592 for word: skompy got: [] in 1 millis
593 for word: skótek got: [] in 0 millis
594 for word: skreny got: [] in 0 millis
595 for word: skrucie got: [] in 0 millis
596 for word: skura got: [] in 0 millis
597 for word: skużany got: [] in 0 millis
598 for word: słociutka got: [] in 0 millis
599 for word: słóżbówke got: [] in 0 millis
600 for word: słóżyć got: [] in 0 millis
601 for word: smarzenia got: [] in 0 millis
602 for word: soł got: [] in 0 millis
603 for word: som got: [] in 0 millis
604 for word: sóper got: [] in 0 millis
605 for word: sówak got: [] in 0 millis
606 for word: sposub got: [] in 0 millis
607 for word: spójście got: [] in 0 millis
608 for word: spószczania got: [] in 1 millis
609 for word: sprawć got: [] in 0 millis
610 for word: spręrzyny got: [] in 0 millis
611 for word: sprzencie got: [] in 1 millis
612 for word: sprzęd got: [] in 0 millis
613 for word: spudnica got: [] in 1 millis
614 for word: spudnisia got: [] in 0 millis
615 for word: spujrz got: [] in 1 millis
616 for word: spułpracuje got: [] in 0 millis
617 for word: spusub got: [] in 0 millis
618 for word: starorzytny got: [] in 1 millis
619 for word: starz got: [] in 0 millis
620 for word: stęplami got: [] in 0 millis
621 for word: strące got: [strącę] in 1 millis
622 for word: strąg got: [] in 0 millis
623 for word: strąg got: [] in 0 millis
624 for word: struj got: [] in 0 millis
625 for word: stujką got: [] in 0 millis
626 for word: stupkę got: [] in 1 millis
627 for word: stwaza got: [] in 0 millis
628 for word: sufmiarka got: [] in 1 millis
629 for word: swienty got: [] in 0 millis
630 for word: sylikon got: [] in 0 millis
631 for word: szawce got: [] in 1 millis
632 for word: szczela got: [] in 1 millis
633 for word: szczeże got: [] in 1 millis
634 for word: szie got: [] in 0 millis
635 for word: szfankuje got: [] in 1 millis
636 for word: szkatółka got: [] in 1 millis
637 for word: szkodzka got: [] in 0 millis
638 for word: szkopół got: [] in 0 millis
639 for word: szkrzypce got: [] in 1 millis
640 for word: szlówki got: [] in 0 millis
641 for word: sznoreczek got: [] in 0 millis
642 for word: sztrzela got: [] in 1 millis
643 for word: szybciotko got: [] in 1 millis
644 for word: szybciudko got: [] in 1 millis
645 for word: szyiki got: [] in 0 millis
646 for word: szypkości got: [] in 1 millis
647 for word: ścianom got: [] in 0 millis
648 for word: śćęty got: [] in 0 millis
649 for word: śiwtenia got: [] in 0 millis
650 for word: ślifierka got: [] in 1 millis
651 for word: ślifowania got: [] in 0 millis
652 for word: Śnieszka got: [] in 1 millis
653 for word: śróbki got: [] in 0 millis
654 for word: tagrze got: [] in 1 millis
655 for word: tagże got: [] in 0 millis
656 for word: takrze got: [] in 1 millis
657 for word: tależ got: [] in 0 millis
658 for word: tatułazy got: [] in 0 millis
659 for word: tawty got: [] in 1 millis
660 for word: tąbak got: [] in 0 millis
661 for word: tempy got: [] in 0 millis
662 for word: terkocenia got: [] in 1 millis
663 for word: tesz got: [] in 0 millis
664 for word: tęperatura got: [] in 0 millis
665 for word: tłómik got: [] in 0 millis
666 for word: tomachawek got: [] in 1 millis
667 for word: topur got: [] in 0 millis
668 for word: torepki got: [] in 1 millis
669 for word: tóż got: [] in 0 millis
670 for word: transwer got: [] in 1 millis
671 for word: tranzakcja got: [] in 0 millis
672 for word: trendowatego got: [] in 0 millis
673 for word: trędów got: [] in 1 millis
674 for word: tródno got: [] in 0 millis
675 for word: trujkonty got: [] in 0 millis
676 for word: trzcionka got: [] in 0 millis
677 for word: tupka got: [] in 0 millis
678 for word: twartsze got: [] in 1 millis
679 for word: tważ got: [] in 0 millis
680 for word: tylnia got: [] in 1 millis
681 for word: tymbaku got: [] in 0 millis
682 for word: tżeba got: [] in 0 millis
683 for word: udziane got: [] in 1 millis
684 for word: uhwyty got: [] in 0 millis
685 for word: uleprzenia got: [] in 0 millis
686 for word: umię got: [] in 0 millis
687 for word: upsząsz got: [] in 0 millis
688 for word: urzytkownik got: [] in 1 millis
689 for word: urzytku got: [] in 0 millis
690 for word: urzywany got: [] in 0 millis
691 for word: uszczerbaną got: [] in 0 millis
692 for word: utrzciwość got: [] in 1 millis
693 for word: uwczesnym got: [] in 0 millis
694 for word: uwież got: [] in 0 millis
695 for word: uzadzonko got: [] in 0 millis
696 for word: uzytkownią got: [] in 0 millis
697 for word: uzydkowaniu got: [] in 1 millis
698 for word: wachac got: [] in 0 millis
699 for word: wachac got: [] in 0 millis
700 for word: warmazoniaż got: [] in 1 millis
701 for word: waszka got: [] in 0 millis
702 for word: wcionga got: [] in 0 millis
703 for word: wedłóg got: [] in 0 millis
704 for word: wejć got: [] in 0 millis
705 for word: wekęt got: [] in 0 millis
706 for word: weler got: [] in 0 millis
707 for word: welór got: [] in 1 millis
708 for word: welury got: [] in 0 millis
709 for word: wendka got: [] in 0 millis
710 for word: weterynaż got: [] in 0 millis
711 for word: wętylatorek got: [] in 0 millis
712 for word: wiatruwka got: [] in 0 millis
713 for word: wienc got: [] in 0 millis
714 for word: wierza got: [wierzą] in 1 millis
715 for word: wiekrzoości got: [] in 0 millis
716 for word: wizułalny got: [] in 1 millis
717 for word: wkórzył got: [] in 0 millis
718 for word: wlancza got: [] in 0 millis
719 for word: wontpliwości got: [] in 1 millis
720 for word: wólgaryzmy got: [] in 0 millis
721 for word: wpalpnych got: [] in 0 millis
722 for word: wpłynoł got: [] in 0 millis
723 for word: wreście got: [] in 0 millis
724 for word: wręć got: [] in 0 millis
725 for word: wrządkiem got: [] in 0 millis
726 for word: wsac got: [] in 0 millis
727 for word: wsczol got: [] in 0 millis
728 for word: wsgkedu got: [] in 0 millis
729 for word: wsówki got: [] in 0 millis
730 for word: wspulczesnym got: [] in 1 millis
731 for word: wszczymac got: [] in 0 millis
732 for word: wuwczas got: [] in 1 millis
733 for word: wyblaknięty got: [] in 0 millis
734 for word: wybur got: [] in 0 millis
735 for word: wychawtowany got: [] in 0 millis
736 for word: wyciąkcie got: [] in 0 millis
737 for word: wygarnywania got: [] in 0 millis
738 for word: wyglonda got: [] in 1 millis
739 for word: wyłoncznik got: [] in 0 millis
740 for word: wyniknęła got: [] in 0 millis
741 for word: wyprówać got: [] in 0 millis
742 for word: wyrzej got: [] in 0 millis
743 for word: wysciułki got: [] in 0 millis
744 for word: wyslyki got: [] in 0 millis
745 for word: wysprzedasz got: [] in 1 millis
746 for word: wziąść got: [] in 0 millis
747 for word: wzorzaste got: [] in 0 millis
748 for word: yensach got: [] in 0 millis
749 for word: zabydkowych got: [] in 0 millis
750 for word: zaczask got: [] in 1 millis
751 for word: zaczoł got: [] in 0 millis
752 for word: zadkosc got: [] in 0 millis
753 for word: zagatka got: [] in 0 millis
754 for word: zaginięte got: [] in 0 millis
755 for word: zaguwki got: [] in 0 millis
756 for word: zajżyj got: [] in 0 millis
757 for word: zakączona got: [] in 0 millis
758 for word: zakontków got: [] in 1 millis
759 for word: zakupiany got: [] in 0 millis
760 for word: zakużony got: [] in 1 millis
761 for word: zalerzy got: [] in 0 millis
762 for word: zamatowane got: [] in 0 millis
763 for word: zamątowałem got: [] in 1 millis
764 for word: zament got: [] in 0 millis
765 for word: zapażacz got: [] in 0 millis
766 for word: zaporzyczone got: [] in 1 millis
767 for word: zaruwno got: [] in 1 millis
768 for word: zarzycia got: [] in 0 millis
769 for word: zaszczerzen got: [] in 1 millis
770 for word: zaśieńk got: [] in 1 millis
771 for word: zażutów got: [] in 0 millis
772 for word: zabląbowany got: [] in 1 millis
773 for word: zasięk got: [] in 0 millis
774 for word: zbierzność got: [] in 0 millis
775 for word: zbiur got: [] in 0 millis
776 for word: zdeżak got: [] in 0 millis
777 for word: zdiedcie got: [] in 0 millis
778 for word: zdjencia got: [] in 0 millis
779 for word: zelasko got: [] in 1 millis
780 for word: zestaf got: [] in 0 millis
781 for word: zezbiony got: [] in 1 millis
782 for word: zjęcie got: [] in 0 millis
783 for word: zkoro got: [] in 0 millis
784 for word: zlikfidowanego got: [] in 1 millis
785 for word: złuzyte got: [] in 0 millis
786 for word: znalesc got: [] in 1 millis
787 for word: zniszka got: [] in 0 millis
788 for word: zparszam got: [] in 0 millis
789 for word: zurzycie got: [] in 1 millis
790 for word: zwerza got: [] in 0 millis
791 for word: zwięczająca got: [] in 1 millis
792 for word: zylandor got: [] in 1 millis
793 for word: źrudło got: [] in 0 millis
794 for word: żandariera got: [] in 1 millis
795 for word: żatko got: [] in 0 millis
796 for word: żąkili got: [] in 0 millis
797 for word: żeczy got: [] in 1 millis
798 for word: żeczywistość got: [] in 0 millis
799 for word: żemyk got: [] in 0 millis
800 for word: żepem got: [] in 0 millis
801 for word: żetelny got: [] in 1 millis
802 for word: żeźba got: [] in 0 millis
803 for word: żucać got: [] in 0 millis
804 for word: żułty got: [] in 0 millis
805 for word: żutuje got: [] in 0 millis
|
95d6850bc89a41932701e515c5007eddec0a680f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH19/EX19.6/example19_6.sce | 15155398882b7a7cb2997aaeccf9385ec66dcc99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | example19_6.sce | clc
// Given that
T1 = 2.18 // temperature in first case in K
lambda1 = 16 // penetration depth at 2.18 K in nm
T2 = 8.1 // temperature in second case in K
lambda2 = 96 // penetration depth at 8.1 K in nm
// Sample Problem 6 on page no. 19.15
printf("\n # PROBLEM 6 # \n")
printf("Standard formula used \n ")
printf(" lambda = lambda_0 * (1 - (T / T_c)^4)^(-1/2) \n")
Tc = (((lambda2^2 * T2^4) - (T1^4 * lambda1^2)) / (lambda2^2 - lambda1^2))^(1/4)
printf("\n Critical temperature is %f K.",Tc)
|
7bb1c1d2ed0f5d27f0b6075f1db5e645deaefaac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH29/EX28.13/EX28_13.sce | 042f2055586efc935af83589b2cf5f36e82a3744 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,503 | sce | EX28_13.sce | // Grob's Basic Electronics 11e
// Chapter No. 28
// Example No. 28_13
clc; clear;
// Solve for Vb, Ve, Ic, Vc, and Vce. Also, calculate Ic(sat) and Vce(off). Finally, construct a dc load line showing the values of Ic(sat), Vce(off), Icq, and Vceq.
// Given data
R1 = 33*10^3; // Resistor 1=33 kOhms
R2 = 5.6*10^3; // Resistor 2=5.6 kOhms
Rc = 1.5*10^3; // Collector resistance=1.5 kOhms
Re = 390; // Emitter resistance=390 Ohms
Bdc = 200; // Beta(dc)= 200
Vcc = 18; // Supply voltage = 18 Volts
Vbe = 0.7; // Base-Emmiter Voltage=0.7 Volts
Vb = Vcc*(R2/(R1+R2));
disp (Vb,'The Base Voltage in Volts')
Ve = Vb-Vbe;
disp (Ve,'The Emmiter Voltage in Volts')
Ie = Ve/Re; // Emitter current
Ic = Ie;
Vc = Vcc-(Ic*Rc);
disp (Vc,'The Collector Voltage in Volts')
disp ('Appox 10.65 Volts')
Vce = Vcc-(Ic*(Rc+Re));
disp (Vce,'The Collector-Emitter Voltage in Volts')
disp ('Appox 8.74 Volts')
Icsat = Vcc/(Rc+Re);
disp (Icsat,'The Current Ic(sat) in Amps')
disp ('i.e 9.52 mAmps')
Vceoff = Vcc;
disp (Vceoff,'The Voltage Vce(off) in Volts')
Icq = Ic
Vceq = Vce
Vce1=[Vcc Vceq 0]
Ic1=[0 Icq Icsat]
//To plot DC load line
printf("Q(%f,%f)\n",Vceq,Icq)
plot2d(Vce1, Ic1)
plot(Vceq,Icq,".r")
plot(0,Icq,".r")
plot(Vceq,0,".r")
plot(0,Icsat,".b")
plot(Vceoff,0,".b")
xlabel("Vce in Volt")
ylabel("Ic in mAmps")
xtitle("DC Load-line for Voltage Divider-Biased Transistor Circuit")
|
87ea3dfcfc72305702a1f154e58053fbbcba3eff | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH34/EX34.30/example30.sce | fa9afd9b486f71f6cd7e7aefe48406a0a247dcc8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | example30.sce | clc
syms k
A=[0 1 2 3 4 5 6 7;0 k 2*k 2*k 3*k k^2 2*k^2 7*k^2+k]
disp('sumof all pi=1')
//A(2,1)+A(2,2)+A(2,3)+(A(2,4)+A(2,5)+A(2,6)+A(2,7)
disp('hence, ')
k=1/10
disp('p(x<6)=')
a=A(2,1)+A(2,2)+A(2,4)+A(2,3)+A(2,4)+A(2,5)+A(2,6)
eval(a)
disp(eval(a))
disp('p(x>=6)=')
b=A(2,7)+A(2,8)
eval(b)
disp(eval(b))
disp('p(3<x<5)=')
c=A(2,2)+A(2,3)+A(2,4)+A(2,5)
eval(c)
disp(eval(c)) |
9cc8c1e3f1a40fa04387520511da2e2ed4ed562a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH1/EX1.9/Ex1_9.sce | f5ee5dde273353bf229110500396232f7e69e460 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | Ex1_9.sce | //Ex1_9
//given
//page no 13
clc;
clear;
// Given formula Io/Ii=exp(-(ao+ai)*d);
// k=aa+as=63.1;
// Io/Ii=1.5
d=log(.15)/-63.1; //length of tube
printf("\nLength of tube, d = %0.0f cm \n",d*100); //Result
|
34d94aff97304dad847735abd7f45a50f039315a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_D._C._Kulshreshtha_2885.zip/Electronic_Devices_And_Circuits_D._C._Kulshreshtha_2885/CH10/EX10.1/ex10_1.sce | 0d69003090fe34f30d724faf7769031f3996d43d | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | ex10_1.sce | errcatch(-1,"stop");mode(2);//Determine the gain of feedback amplifier
;
;
//soltion
//given
A=100; //internal gain
B=0.1;//feedback factor
Af=A/(1+A*B);
printf("The gain of feedback amplifier %.2f",Af);
exit();
|
d8e8f56306a14ca64390bcd6ef2f71ba21f9eba8 | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/linear/scilab/functions/contamined_normal/cont_nor_linear_functions.sci | 9c7cfbcc3efe5878937d16dd9d69d2b33aa52dbf | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,250 | sci | cont_nor_linear_functions.sci | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
// aux functions to sum of absolute errors
// it is necessary to install the "diffcode" package using ATOMS in Scilab
// Contaminated Normal Robust function, according to Ozyurt and Pike - Comp. & Chem. Eng.
// 28, p. 381-402, (2004)
function f = objfun ( x )
//e1 = (xm-x)./(var.^(0.5));
e1 = (xm(red)-x(red))./(var(red).^(0.5));
f = sum( -(log( (1 - const1_cont_nor)*exp(-0.5*e1.^2) + (const1_cont_nor/const2_cont_nor)*exp(-e1.^2/(2*const2_cont_nor^2)))));
endfunction
// gradient of the objetive function
function gf = gradf ( x )
// in the future we can express this function analytically
gf = diffcode_jacobian(objfun,x)';
endfunction
function H = hessf ( x )
// For the robust functions, the lagrangean of the objective function is not constant
// as in weigthed least squares.
// in the future we can express this function analytically
H = diffcode_hessian(objfun,x);
endfunction
////////////////////////////////////////////////////////////////////////
// Define constraints, gradient and Hessian matrix
// The constraints function, Jacobian and Hessian
// First the vector of inequalyties and equalyties
// We generallu don't use inequalyties in classical DR problems
// but it is up to the user use it or not
function c = confun(x)
if nnzjac_ineq <> 0 then
c1 = res_ineq(x);
c =[ c1; res_eq(x)];
else
c =[ res_eq(x)']
end
endfunction
function c = res_ineq(x)
c = [];
endfunction
function c = res_eq(x)
c = jac*(x);
endfunction
function y=dg(x)
if nnzjac_ineq <> 0 then
y = [dg_ineq(x);dg_eq(x)];
else
y = [dg_eq(x)];
end
endfunction
function y = dg_ineq(x)
if nnzjac_ineq <> 0 then
ytmp = diffcode_jacobian(res_ineq,x)';
for i = 1: nnzjac_ineq;
y(i)=ytmp(sparse_dg(i,1),sparse_dg(i,2));
end
else
y =[];
end
endfunction
function y = dg_eq(x)
// we use the jacobian here, if use wants to use a different Jacobian , comment and
// uncomment the lines approprieatelly
// ytmp = diffcode_jacobian(res_eq,x)';
for i = nnzjac_ineq + 1: nnzjac_ineq + nnzjac_eq;
// y(i - nnzjac_ineq)=ytmp(sparse_dg(i-nnzjac_ineq,1),sparse_dg(i-nnzjac_ineq,2));
y(i - nnzjac_ineq)=jac(sparse_dg(i-nnzjac_ineq,1),sparse_dg(i-nnzjac_ineq,2));
end
endfunction
// The Hessian of the Lagrangian
function y = dh(x,lambda,obj_weight)
ysum = zeros(nv,nv);
if obj_weight <> 0 then
yobj = obj_weight * hessf ( x );
else
yobj = zeros(nv,nv);
end
if sum(abs(lambda)) <> 0 & n_non_lin_eq > 2 then
// the hessian of the constraints
ytmpconstr = diffcode_hessian(confun,x);
for i = 1: nc;
if lambda(i) <> 0 then
ysum = ysum + lambda(i)*ytmpconstr(:,:,i);
end
end
else
ysum = zeros(nv,nv);
end
ysumall = ysum + yobj;
for i = 1: nnz_hess
y(i) = ysumall(sparse_dh(i,1),sparse_dh(i,2));
end
endfunction
|
54e6487987948f3f81e8d36d32dc3ccee35f0014 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH2/EX2.29/ex2_29.sce | a99d15819a54679cb392bd2f8b9b0131e399cde9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | ex2_29.sce | //Page Number: 112
//Example 2.29
clc;
//Given
c=3D+8; //m/s
fc=9D+9; //Hz
er=1;
er1=4;
p11=1.841;
//(i) air filled
a=(p11*c)/(2*%pi*fc*sqrt(er));
disp('cm',a*100,'Inside diameter if air filled:');
//(ii) dielectric field
a1=(p11*c)/(2*%pi*fc*sqrt(er1));
disp('cm',a1*100,'Inside diameter if dielectric filled:');
//Answers are calculated wrong in book
|
47d23c9ff7ccabed7faa647bfe9ede4f5877ed35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH6/EX6.18.1/Ex6_18.sce | 8450c59a6cda498f32d9303fa02e11cb03876511 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | Ex6_18.sce | clc
clear
D=16; //in cm
L=24; //in cm
Vc=340;
V2=Vc;
G=1.4;
Vs=(22/7)*(1/4)*D*D*L;
V1=Vs+Vc;
r=V1/V2;
//Cut-off is 6% of the stroke
Co1=0.06;
V3=(Co1*(V1-V2))+V2;
Z=V3/V2;
x=(Z^G)-1;
y=(r^(G-1))*(G)*(Z-1);
Eff1=100*(1-((x)/(y)));
//Cut-off is 10% of the stroke
Co2=0.10;
V3=(Co2*(V1-V2))+V2;
Z=V3/V2;
x=(Z^G)-1;
y=(r^(G-1))*(G)*(Z-1);
Eff2=100*(1-((x)/(y)));
Loss=((Eff1-Eff2)*100)/Eff1;
printf('Loss: %2.2f Percent',r);
printf('\n');
|
7e6548a8a51e5f6f8676014ee48e08fed4b6f2c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH6/EX6.3.4/6_3_4.sci | 3e4128817053987bc704400f11abe2d7e852dd27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sci | 6_3_4.sci | //332
clear;
close;
clc;
A=[1 -2;3 -1];
disp(A,'A=');
[U diag1 V]=svd(A);
Q=U*V';
S=[2 1;1 3];
disp(Q,'Q=');
disp(S,'S=')
disp(S'*Q,'A=S''Q=')
//end
|
c3f9e73f486652822e44121a472a4d77259950d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH2/EX2.33/33.sce | 43f26eed8ab510e5b7838ffe1e384c8707f60db4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | 33.sce | //finding SOP and POS//
//example 33//
clc
//clears the command window//
clear
//clears//
disp('given f=B''C')
disp('f=(B''+AA''+CC'')(C+AA''+BB'')')
disp('f=((B''+A)(B''+A'')+CC'')((C+A)(C+A'')+BB'')')
disp('f=[C+(B''+A)(B''+A'')][C''+(B''+A)(B''+A'')][B+(C+A)(C+A'')][B''+(C+A)+(C+A'')]');//using distributive property//
disp('f=(A+B''+C)(A''+B''+C)(A+B''+C'')(A''+B''+C'')(A+B+C)(A''+B+C)');//using distributive property and retaining repeated factors only once//
disp('f=(010)(110)(011)(111)(000)(100)')
disp('required POS form:')
disp('f=product(0,2,3,4,6,7)')
//finding SOP//
disp('f=(A+A'').B''C')
disp('f=AB''C+A''BC')
disp('f=101+001')
disp('required SOP form:')
disp('f=summation(5,1)')
|
fedee41569bdeab4487a4d894dae18f49d8dfd52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH9/EX9.6/Ex9_6.sce | 2b3a80a060dc96e06f761b1ed03172a4dfedf669 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,324 | sce | Ex9_6.sce | clear ;
clc;
// Example 9.6
printf('Example 9.6\n\n');
printf('Page No. 268\n\n');
//given
U1 = 5.6;// Single glazing heat transfer coefficient in W/m^2_K
U2 = 2.8;// Double glazing heat transfer coefficient in W/m^2_K
Ti = 21;// Internal Temperature in degree celcius
To = -1;// External Temperature in degree celcius
R_H = 0.5;// Relative humidity
Rs_i = 0.123;// Surface resistance in (W/m^2-K)^-1
// At 21 Degree celcius and R.H. = 0.5, the dew point is 10.5 degree celcius
Dew_pt = 10.5;// Dew point in degree celcius
//As Ts_i = Ti - (Rs_i * U *(Ti - To))
//(a) Single Glazing
Ts_i_S = Ti - (Rs_i * U1 *(Ti - To));// in degree celcius
printf('The internal surface temperature for single glazing is %.1f deg C \n',Ts_i_S)
if (Dew_pt > Ts_i_S) then
disp('Surface condensation will occur since it is less than 10.5 deg C.')
else
disp('No surface condensation is expected as it is greater than 10.5 deg C.')
end
//(b) Double Glazing
Ts_i_D = Ti - (Rs_i * U2 *(Ti - To));// in degree celcius
printf('The internal surface temperature for single glazing is %.1f deg C \n',Ts_i_D)
if (Dew_pt > Ts_i_D) then
disp('Surface condensation will occur since it is less than 10.5 deg C.')
else
disp('No surface condensation is expected since it is greater than 10.5 deg C.')
end
|
e7b1014cf05faf752ad5dc8cf1d68e56dd2d4102 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH18/EX18.2/Ex18_2.sce | 512f81241a2d6b96d291773d28f6663f565720f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | Ex18_2.sce | //example-18.2
//page no-537
//given
//distance between the plates
d=5*10^-3 //m
//voltage difference between the plates
V=230 //Volts
//electric field is given by
E=-V/d //V/m
printf ("electric field between the plates is %f V/m",E)
|
64159c5703d7b4d6e078c525bf26d1ab63a0b7e0 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH10/EX10.9/Ex10_9.sce | 322762504602e75dbe8db3432908c7f84594de06 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 777 | sce | Ex10_9.sce | // Variable declaration
l = [ 78 56 54; 15 30 31; 7 14 15]
// Calculation
r1 = l(1,1:3)
r2 = l(2,1:3)
r3 = l(3,1:3)
e11 = sum(r1)*sum(l(1:3,1)) / (sum(r1)+sum(r2)+sum(r3))
e12 = sum(r1)*sum(l(1:3,2)) / (sum(r1)+sum(r2)+sum(r3))
e13 = sum(r1)*sum(l(1:3,3)) / (sum(r1)+sum(r2)+sum(r3))
e21 = sum(r2)*sum(l(1:3,1)) / (sum(r1)+sum(r2)+sum(r3))
e22 = sum(r2)*sum(l(1:3,2)) / (sum(r1)+sum(r2)+sum(r3))
e23 = sum(r2)*sum(l(1:3,3)) / (sum(r1)+sum(r2)+sum(r3))
e31 = sum(r3)*sum(l(1:3,1)) / (sum(r1)+sum(r2)+sum(r3))
e32 = sum(r3)*sum(l(1:3,2)) / (sum(r1)+sum(r2)+sum(r3))
e33 = sum(r3)*sum(l(1:3,3)) / (sum(r1)+sum(r2)+sum(r3))
q = [e11,e12,e13,e21,e22,e23,e31,e32,e33] // list of expected frequency
// Result
disp( q)
|
15f0f5b793aebde485a5f0802d0e18500214c6ef | c9285067e636c3d90d2ba32cd79618a83934bb7f | /LeastSquares.sce | 6c8b7258f7b7fb6de5f30b8f006b7a526c204fbc | [] | no_license | SreekanthGunishetty/ScilabAssignment | 7313cc47e31aabad725b7f2b067f31e0ecf7f41f | b9df679f70d16af141534d1b18105c60476c726a | refs/heads/master | 2021-01-02T20:22:47.454878 | 2020-04-18T10:15:08 | 2020-04-18T10:15:08 | 239,784,550 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,538 | sce | LeastSquares.sce | clc;clear;close;
disp("Projections by Least Squares")
disp("****************************")
n=input("Enter the number of linear quations of form C + Dt = b : ");
printf("\n")
A(1,1)=0
b(1,1)=0
max=0;
min=0;
//Creating the Linear equations using input()
or(i=1:n)
mprintf("Enter t%d: ",i);
A(i,1)=input("")
if(A(i,1)>max)
max=A(i,1) ;
end
if(A(i,1)<min)
min=A(i,1);
end
mprintf("Enter b%d: ",i);
b(i,1)=input("")
printf("\n")
end
if(n==1)
mprintf("\nThe best fit line is %d + %dt=b\n",A(1,1),b(1,1))
return
end
a=A;
col_1=ones(n,1);
A=[col_1 A];
originalA=A
originalb=b;
disp(A,"A : ");
disp(b,"b: ")
clf();
scatter(A(:,2),b(:,1));
b=A'*b;
A=A'*A;
xhat=inv(A)*b
C=xhat(1,1)
D=xhat(2,1)
printf("\nThe value of C = %.2f\n",C)
printf("The value of D = %.2f\n",D)
mprintf("The best fit line is %.2f + %.2f t = b\n",C,D)
disp("*************************************************")
disp(" Plotting the best fit line and original scatter plot : ")
x = min-3:1:max+3;
m = D;
c = C;
y = m * x + c;
plot2d(x, y,color("green"))
disp("**************************************************")
disp("VERIFICATION THAT ERROR IS MINIMUM")
p=originalA*xhat;
e=originalb-p;
printf("\nThe error vector e is : ")
disp(e)
printf("\nFor e to be minimum, a.e must be 0\n")
inner_product=sum(a.*e);
if(inner_product<0.00000000000001)
inner_product=0;
end
mprintf("The dot/inner product a.e = %d\n",inner_product)
|
6fe7b7559fb7aecc4e1b67b8a3327baf3e3e2e53 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/PCIeGen3/LFSRForPCIEGen3/LFSR_lowpass.sce | 50893df931279bd4929039e558c249d565d8b30e | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,235 | sce | LFSR_lowpass.sce | //Simulation of DC wander based on LFSR-generated bitstream
//
//
stacksize(64*1024*1024);
clear; //Clear user variables
//////////////////////////////////////////////////SPECIFY////////////////////////////////////////
///// LFSR Specifications /////
n=23; //Length of LFSR
c=[23 22 20 16]; //Location of feedback coefficients
//c=[15 14];
//Do not include bit zero (always implied)
//Ex: X^3+X^2+1 => [3 2]
// Corresponds to 3 bit LFSR with feedback at outputs Q2 and Q1
//
// Corresponds to 3 bit LFSR with feedback at outputs Q2 and Q1
// /----//
// / //---------------------|
// |-------------------| || |
// | \ \\---| |
// | \----\\ | |
// | | |
// | | |
// | |--------| |---------| | |---------| |
// |--| D0 Q0 |-----| D1 Q1 |-----| D2 Q2 |------> output
// | | | | | |
// | | | | | |
// |--------| |---------| |---------|
lenlfsr=2^n-1; //Length of LFSR sequence (do not modify)
//// circuit specifications /////
rs=20; //Source resistance (approximates well matched transmission line)
rl=20; //Load resistance
cap=160e-9; //AC coupling capacitance
vout=1.2; // Peak to peak driver voltage
deemph=6; // De-emphasis (ind DB)
//// Time-domain specifications /////
bitrate=8e9; // UI Baud rate
samplerate=1; // Samples per UI (Do not alter)
deltat=1/(bitrate*samplerate); // Sample time (Do not alter)
lenseq=1.2e7; //Length of sequence in UI
///////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////LFSR Sequence Generation////////////////////////////////////
//Seed all LFSR registers to 1s
S=ones(1,n);
//Generation of polynomial coefficients vector
cfs=zeros(1,n);
for i=1:length(c),
cfs(length(cfs)-c(i)+1)=1;
end
//
//LFSR generator
//
//
//
// This function generates a sequence of n bits produced by the linear feedback
// recurrence relation that is governed by the coefficient vector c.
// The initial values of the bits are given by the vector k
//
//
// Inputs:
// c - coefficients vector
// k - initial register values
// n - Length of LFSR sequence
//
// Outputs:
// n - LFSR bistream
function y = lfsr(c,k,n)
y=zeros(1,n); //Initialize bitstream
kln=length(k);
winId=progressionbar('LFSR calculation progress'); //Create progress bar
progbardiv=int(n/33);
c_prime=c';
for j=1:n,
if j<=kln then
y(j)=k(j);
else
y(j)=modulo(y(j-kln:j-1)*c_prime,2);
end
if 0==modulo(j, progbardiv) then //Advance progress bar
progressionbar(winId);
end
end
winclose(winId); //Remove progression bar
endfunction
//Compute LFSR sequence
lfsrseq_short=vout*(10^(-deemph/20))*lfsr(cfs,S,lenlfsr)-(vout*(10^(-deemph/20)))/2;
//
//Array duplicator
//
//
//
// This function generates a matrix of length L by duplicating the entries
// of array V. If L is less than size of V then only the first L entries are
// duplicated (i.e. truncation)
//
//
// Inputs:
// l - length
// v - input array (must be in column form)
//
// Outputs:
// y - duplicated arrays
function y = arrdup(l,v)
winId=progressionbar('Array duplicator progress'); //Create progress bar
y=zeros(1,l);
n=length(v); // Get size of input array
k=floor(l/n); //Find number of duplicates and remainder
o=modulo(l, n);
progbardiv=int(k/33);
for m=0:k-1,
y(m*n+1:(m+1)*n)=v;
if 0==modulo(m, progbardiv) then //Advance progress bar
progressionbar(winId);
end
end
if o<> 0 then
y(l-o+1:l)=v(1:o);
end
winclose(winId); //Remove progression bar
endfunction
lfsrseq=arrdup(lenseq,lfsrseq_short);
clear lfsrseq_short;
/////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////Compute LPF transfer function////////////////////////////////////
//
//Compute LPF H(S)
//
//
// 1
// H(S) = ----------
// 1+ s(rl+rs)cap
s=poly(0,'s');
tau=(rl+rs)*cap;
sl=syslin('c',1/(s*tau+1));
sld=dscr(sl,deltat);
//
//Compute time-domain wander
//
//
output=dsimul(sld, lfsrseq);
clear lfsrseq;
//Decimate the output resolution for plot
decim_fact=100;
n=[1:decim_fact:length(output)];
output=output(n);
clear n;
xinit();
xgrid(4);
xtitle("DC Wander","UI","Wander(volts)");
plot2d([0:decim_fact:lenseq-1], output, rect=[0 -6e-3 (lenseq-1) 6e-3], nax=[1 5 0 13], style=2);
///////////////////////////////////////////////////////////////////////////////////////////////////
//Print some statistics
//printf("\n**********************************\n");
//printf("Total length of sequence: %d \n", L);
//printf("Maximum run length: %d \n", max(runlen) );
//printf("Minimum run length: %d \n", min(runlen));
//printf("DC Balance: %d\%\n", 100*numofones/L);
//printf("**********************************\n");
|
d03ff2b77bb9156fd7283dd312efec04a765ab74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH7/EX7.7/Ex7_7.sce | 10867399281c904e1fd30008a27b5b11834e6d7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | Ex7_7.sce | // Exa 7.7
clc;
clear;
// Given
Gf = 2 ; // Gauge factor of strain gauge
S = 1000; // Stress in kg/cm^2
E = 2*10^6; // Youngs Modulus in kg/cm^2
// Solution
e = S/E; // strain
dR_R = e*Gf; // change in resistance
// Gf = 1+2u;
// Therefore
u = (Gf-1)/2; // poissons ratio
printf('The percentage change in resistance of strain gauge = %.1f \n',dR_R*100);
printf(' Poissons ratio = %.2f \n',u);
|
988c81e2fab16bf3dadc7495e8012f0213123b64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH7/EX7.9/Ex7_9.sce | 5dcf9b32e7d2dc8f64e3cb22d4c278c87058ccbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,309 | sce | Ex7_9.sce | // Given:-
T0 = 273.00 // in kelvin
pricerate = 0.08 // exergy value at $0.08 per kw.h
// From example 6.8
sigmadotComp = 17.5e-4 // in kw/k
sigmadotValve = 9.94e-4 // in kw/k
sigmadotcond = 7.95e-4 // in kw/k
// Calculations
// The rates of exergy destruction
EddotComp = T0*sigmadotComp // in kw
EddotValve = T0*sigmadotValve // in kw
Eddotcond = T0*sigmadotcond // in kw
mCP = 3.11 // From the solution to Example 6.14, the magnitude of the compressor power in kW
// Results
printf( ' Daily cost in dollars of exergy destruction due to compressor irreversibilities = %.3f',EddotComp*pricerate*24)
printf( ' Daily cost in dollars of exergy destruction due to irreversibilities in the throttling valve = %.3f',EddotValve*pricerate*24)
printf( ' Daily cost in dollars of exergy destruction due to irreversibilities in the condenser = %.3f ',Eddotcond*pricerate*24)
printf( ' Daily cost in dollars of electricity to operate compressor = %.3f',mCP*pricerate*24)
|
8d36a12ee94999debe8f43c42f0171b991fd84a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH3/EX3.4/example3_4.sce | e05aeeeeed9f58ae10719eaa14b34e258bdc3722 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 96 | sce | example3_4.sce | i=4*10^(-6);
v=40*10^(-3);
r=v/i;
disp("Th resistance value (in kΩ) is"); disp(r*10^(-3));
|
1a917207f60be365eada1bce867d1dd919f7b324 | 1232196a72221f6cc0ee0a9a47111ef1188dafe9 | /work/examples/variables/allvariables.sce | 464d85f496fed0c435ec81e62476a24de5c64462 | [] | no_license | sumagin/rasp30 | 06dc2ee1587a4eaf3cf5fb992375b8589617f882 | a11dcffaed22dbac1f93c2f4798a48c7b0b1f795 | refs/heads/master | 2021-01-24T23:51:54.459864 | 2016-07-08T22:03:43 | 2016-07-08T22:03:43 | 16,685,217 | 2 | 3 | null | 2015-07-23T15:28:49 | 2014-02-10T05:17:38 | C | UTF-8 | Scilab | false | false | 426 | sce | allvariables.sce | //contains four vectors of step functions that occur at different times
load('/home/ubuntu/rasp30/work/examples/variables/myVariable.dat')
//LPf
load('/home/ubuntu/rasp30/work/examples/variables/pre_lpf.dat')
//C4
load('/home/ubuntu/rasp30/work/examples/variables/pre_c4.dat')
//VMM+WTA
load('/home/ubuntu/rasp30/work/examples/variables/pre_vmmwta.dat')
load('/home/ubuntu/rasp30/work/examples/variables/pre_vmmwta2.dat')
|
d188054edd7a01fbc3b45090bb0f30f4ebe46930 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH13/EX13.7/ex_13_7.sce | 6c80c1f92e7a50e299376b9460be43bc6902b4a7 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,250 | sce | ex_13_7.sce | //dsign flange
clc
//soltuion
//given
P=15000//W
N=200//rpm
ts=40//N/mm^2
tb=30//N/mm^2
//fck=2*tk
tc=14//N/mm^2
Tmean=(P*60*1000)/(2*%pi*N)//N-mm
Tmax=1.25*Tmean//N/mm^2
//Tmax=(%pi/16)*t*d^3=7.86*d^3
//d=(Tq/7.86)^(1/3)//mm
printf("the dia of shaft is,%f mm\n ",(Tmax/7.86)^(1/3))
printf("the dia of shaft is ,say 50 mm\n")
d=50//mm
D=2*d//mm
printf("the outer dia of muff is,%f mm\n",D)
L=1.5*d//mm
printf("the length of muff is,%f mm\n",L)
//from table 13.1,we find that shaft of dia 75mm diametr
w=16//width of diametre
t1=16//mm//thickness of key
l=75//mm
//let tc be induced shear stress
//Tmax=(%pi/16)*tc*[(D^4-d^4)/D] =184100*fc
fc=Tmax/184100//N/mm^2
printf("the induced stress acting is,%f N/mm^2\n",fc)
//let tk be induced stress on key
//Tmax=l*w*l*d*tk*0.5=30000*tk
tk=Tmax/30000//N/mm^2
printf("the induced stress in key is,%f mm\n",tk)
tf=0.5*d//mm
printf("the thicknes of flange is,%f mm\n",tf)
//let d1 be nominal dia of bolts
n=4
D1=3*d//mm
//Tqmax=(%pi/4)*d1^2*tb*n*D1/2
d1=sqrt(Tmax/7070)//mm
D2=4*d//mm
tp=0.25*d
printf("the nominal dia of bolts is,%f mm\n",d1)
printf("the outer dia of flange is,%f mm\n",D2)
printf("the thickness of protective circumferencial flange is,%fmm",tp)
|
59b86620a726f76a0d26edc97ce75ac793b32d46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH10/EX10.1/Exa10_1.sce | f791e504b51b5ef6751ecf783eed20ba75243c3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 935 | sce | Exa10_1.sce | //Exa 10.1
clc;
clear;
close;
//Given data
Ii=4000000;//in Rs.
AM=150000;//in Rs.
AFS=600000;//in Rs.
Einc=50000;//in Rs.
i=12;//in % per annum
n=15;//in years
//Total present worth of costs:
//Formula : (P/A,i,n)=(((1+i/100)^n)-1)/((i/100)*(1+i/100)^n)
Cp=AM*(((1+i/100)^n)-1)/((i/100)*(1+i/100)^n);//in Rs
TPW=Ii+Cp;//in RS
disp(TPW,"Total present worth of costs in RS. : ");
//Total present worth of fuel savings:
AI=600000;//in Rs.
G=50000;//in Rs.
i=12;//in % per annum
n=15;//in years
//Formula : (A/G,i,n) :(((1+i/100)^n)-i*n/100-1)/(((i/100)*(1+i/100)^n)-i/100)
A=AI+G*(((1+i/100)^n)-i*n/100-1)/(((i/100)*(1+i/100)^n)-i/100);//in RS
Bp=A*(((1+i/100)^n)-1)/((i/100)*(1+i/100)^n);//in Rs.
disp(Bp,"Present worth of fuel savings in Rs. : ");
BCratio=Bp/(Ii+Cp);//unitless
disp(BCratio,"BCratio : ");
disp("Since BC ratio is more than 1, the construction of the bridge across the river is justified."); |
4dee02a618ed4a96aacc60a3682677e3738f67e6 | e223a3388730b3a8ab63f7565156d5bf7a65e44b | /scilab/command.sci | c37a43e301f369103fab41adc48da5d90904ceaf | [] | no_license | YSBF/flight_control | 1cfef21947c9497659eea3cf631b4de207a0a851 | fc74021c2bd62819ea4f637b45936ab2edf9e7af | refs/heads/master | 2020-04-15T21:47:09.796455 | 2018-06-07T21:28:29 | 2018-06-07T21:28:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,302 | sci | command.sci | function command(t)
global R
//reg(R.THROTTLE_OFFSET,341);
//reg(R.THROTTLE_SCALE,47);
//reg(R.AILERON_OFFSET,1024);
//reg(R.AILERON_SCALE,47);
//reg(R.ELEVATOR_OFFSET,1024);
//reg(R.ELEVATOR_SCALE,47);
//reg(R.RUDDER_OFFSET,1024);
//reg(R.RUDDER_SCALE,47);
n = 1024;
tmax = 1400;
ts = zeros(n,1);
th = zeros(n,1);
ai = zeros(n,1);
el = zeros(n,1);
ru = zeros(n,1);
figure(2);
clf()
subplot(211)
plot2d([],rect=[0,0,tmax,2^16])
xpoly([],[]);
line_th = gce();
line_th.foreground = 2;
subplot(212)
plot2d([],rect=[0,-2^15,tmax,2^15])
xpoly([],[]);
line_ai = gce();
line_ai.foreground = 2;
xpoly([],[]);
line_el = gce();
line_el.foreground = 3;
xpoly([],[]);
line_ru = gce();
line_ru.foreground = 5;
reg(R.DEBUG_MUX,2);
t0 = 0;
tic;
while toc() < t
ts(1:n-1) = ts(2:n);
th(1:n-1) = th(2:n);
ai(1:n-1) = ai(2:n);
el(1:n-1) = el(2:n);
ru(1:n-1) = ru(2:n);
ftdi('write',[4,0,0,0]);
sleep(11);
b = ftdi('read');
if b(1) < (ts(n-1)-t0)
t0 = t0 + 256;
end
ts(n) = t0 + b(1);
th(n) = 2^8 * b(4) + b(3);
ai(n) = c2s(2^8 * b(6) + b(5), 16);
el(n) = c2s(2^8 * b(8) + b(7), 16);
ru(n) = c2s(2^8 * b(10) + b(9), 16);
line_th.data = [ts-ts(1),th];
line_ai.data = [ts-ts(1),ai];
line_el.data = [ts-ts(1),el];
line_ru.data = [ts-ts(1),ru];
end
reg(R.DEBUG_MUX,0);
endfunction
|
f9f6021dbb8555199003d7c80947846f615279c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH4/EX4.4/example4.sce | 6142364e6051413af4b556ec60d4519e99e91823 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,202 | sce | example4.sce | clc
clear
//input data
W=4.5//Power absorbed by the compressor in MW
m=20//Amount of air delivered in kg/s
P01=1//Stagnation pressure of air at inlet in bar
T01=288//Stagnation temperature of air at inlet in K
np=0.9//Polytropic efficiency of compressor
dT0=20//Temperature rise in first stage in K
R=287//The universal gas constant in J/kg.K
Cp=1.005//The specific heat of air at constant pressure in kJ/kg.K
r=1.4//The ratio of specific heats of air
//calculations
T02=T01+dT0//Stagnation temperature of air at outlet in K
T0n1=((W*10^3)/(m*Cp))+T01//The temperature of air leaving compressor stage in K
P0n1=P01*(T0n1/T01)^((np*r)/(r-1))//Pressure at compressor outlet in bar
P1=(T02/T01)^((np*r)/(r-1))//The pressure ratio at the first stage
N=((log10(P0n1/P01)/log10(P1)))//Number of stages
T0n1T01=(P0n1/P01)^((r-1)/(np*r))//The temperature ratio at the first stage
T0n1sT01=(P0n1/P01)^((r-1)/r)//The isentropic temperature ratio at the first stage
nc=((T0n1sT01-1)/(T0n1T01-1))//The overall isentropic efficiency
//output
printf('(a)Pressure at compressor outlet is %3.2f bar\n(b)Number of stages is %3.f\n(c)The overall isentropic efficiency is %3.3f',P0n1,N,nc)
|
1b4c54ddc2604ddd3f378ee8f2abc4742e8a800b | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH7/EX7.1/7_1.sce | 80716042772405657e20e3b7ce878dcb4b1dbc17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 803 | sce | 7_1.sce | // Let x1, y1 be the transformed direction inclined at 45 deegree to the original
sx = 16000; // Direct stress in x-direction in psi
sy = 6000; // Direct stress in y-direction ""
txy = 4000; // Shear stress in y-direction ""
tyx = txy ; // Shear stress in x-direction ""
t = 45 ; // Inclination pf plane in degree
sx1 = (sx+sy)/2 + ((sx-sy)*(cosd(2*t))/2) + txy*sind(2*t); // Direct stress in x1-direction in psi
sy1 = (sx+sy)/2 - ((sx-sy)*(cosd(2*t))/2) - txy*sind(2*t); // Direct stress in y1-direction in psi
tx1y1 = - ((sx-sy)*(sind(2*t))/2) + txy*cosd(2*t) // Shear stress in psi
disp("psi",sx1,"The direct stress on the element in x1-direction is")
disp("psi",sy1,"The direct stress on the element in y1-direction is")
disp("psi",tx1y1,"The shear stress on the element")
|
c725c799b570b00b735e221dddedcbc6312678f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH12/EX12.10/12_10.sce | 73c10b6987b50219a0275720e541c31d296ffe52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | 12_10.sce | //cage and mine shaft
//t is time during which stone is in motion
//s=(9.81*t^2)/2
//consider motion of cage
//t1 be the time taken to travel first 30 m
a=0.6 //m/sec^2
t1=10 //sec
//When the stone strikes
//s=(0.6*(t+10)^2)/2
//solving
t=3.286 //sec
s=(9.81*3.286^2)/2 //m
printf("\nt=%.2f sec\ns=%.2f m",t,s)
|
94ce887eaecd12b1d86fcf350c113e857b6e303b | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/fractdiff.sci | 979a0794a984430af04c4708bc9e740762fd6fac | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sci | fractdiff.sci | function y= fractdiff(x,d)
//Compute the fractional differences (1-L)^d x where L denotes the lag-operator and d is greater than -1.
//Calling Sequence
// fractdiff (X, D)
//Description
//This is an Octave function.
//Compute the fractional differences (1-L)^d x where L denotes the lag-operator and d is greater than -1.
funcprot(0);
rhs= argn(2);
if(rhs < 2 | rhs >2)
error("Wrong number of input arguments");
end
select(rhs)
case 2 then
y= callOctave("fractdiff",x,d);
end
endfunction |
d803176d7acd31352ebe6a90fda61bdd2da26df8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH8/EX8.2/8_2.sce | 5eea878be1861fc07f537e397cf92fa4e87862ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | 8_2.sce | clc
//initialisation of variables
P= 10 //bar
P1= 38 //bar
T= 310 //C
v= 64.03 //cm^3/gm
s= 6.4415 //J/gm K
vf= 1.12773 //cm^3/gm
vg= 194.44 //cm^3/gm
sf= 2.1387 //J/gm K
sfg= 4.4478 //J/gm K
//CALCULATIONS
x= (v-vf)/(vg-vf)
sx= sf+x*sfg
S= s-sx
//RESULTS
printf ('Change in Entropy= %.3f J/gm',S)
|
f222601b9a1a3fd1287a82358b6f659fdd98b3c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3826/CH2/EX2.13/Ex2_13.sce | b32c856a0a553292e6b90aa0892a78d256f061c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | Ex2_13.sce | //Example 2_14 page no:188
clc;
//given
mass = 136000;//in kg
g = 9.81;
up_gradient = 1/600;
len = 1005;//in m
V = 1500;
comp_train_wg = mass * g * up_gradient;
net_tractive_effort = 104500 - 6675;
f = net_tractive_effort / (1.1* mass);
quantity = 1/f;
retarding_coasting = 4448/(1.1 * mass);
area_current_curve = 21300*V/3600;
energy_consumption = area_current_curve/(mass*len);
disp(energy_consumption,"the energy consumption of motor-coach train is (in Wh/kg-m)");
|
fd74e5cc30a2256d9e7ef9425620f7c48ae8e898 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH1/EX1.5/ch1ex5.sce | 4ad13879a89155b33ee5a87e0602f57aabb92215 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | ch1ex5.sce | //signals and systems
//time reversal
clear
close
clc
t=[-6:0.1:6];
a=gca();
plot(t,exp(t/2).*((t>=-5)&(t<=-1)));
figure
a.thickness=2;
a.y_location="middle";
xtitle=('the signal x(t)')
//by replacing t by -t we get
a=gca();
plot(t,exp(-t/2).*((t>=1)&(t<5)));
a.thickness=2;
a.y_location="middle";
xtitle=('the signal x(-t)')
//the coordinates can be easily observed from the graphs
|
b0a6257aaa9cb6ea493347a37ff50e8c3e5b71f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH3/EX3.23/Ex3_23.sce | 9664daed5397c7206e7c3f58ca1de2c5b0436809 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | Ex3_23.sce | //determine support reactions
//Refer fig. 3.50
//Taking moment about A
RB=(30*1+24*3*(2+1.5)+(1.5*40/2)*(5+1.5/3))/5 //kN
RA=30+72+30-RB //kN
printf("The support reactions are:-\nRA=%.2f kN \nRB=%.2f kN \nAs shown in fig. 3.50",RA,RB)
|
2892439a58807d6955f44563c1db26a056c72a14 | 48b28720abdd652b3faddcdd82d77b841fce24a9 | /scilab/SIRscript.sce | ac07d3a9b8c82baf14b5158bbcbd7c16f262029c | [] | no_license | mcodevb/math-modelling-book | 4aceba280b0405848781023a2e899bbf7e0643ab | 59b310d5d2072b4fd2637914757221071aad0c9e | refs/heads/master | 2022-04-06T07:25:22.683663 | 2019-06-21T01:01:11 | 2019-06-21T01:01:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 889 | sce | SIRscript.sce | //
// File: SIRscript.sce (for use with Scilab 3.1.1)
// Author: Warren Weckesser
// Department of Mathematics
// Colgate University
//
// Copyright (c) 2005 Warren Weckesser
//
//
// Make sure the SIR vector field function is defined.
//
getf('SIRvectorfield.sci');
//
// Set the parameters
//
r = 0.12;
g = 0.07;
//
// Set the initial conditions and put into the vector x0
//
S0 = 0.995;
I0 = 0.005;
R0 = 0.0;
x0 = [S0; I0; R0];
//
// Create the time samples for the output of the
// ODE solver.
//
tfinal = 250.0;
t = linspace(0,tfinal,201);
//
// Call the ode solver
//
x = ode(x0,0.0,t,list(SIRvectorfield,r,g));
//
// Plot the solution (as functions of t)
//
clf;
plot(t,x(1,:),t,x(2,:),t,x(3,:));
tstr = msprintf('Solution of the SIR Model (r=%.2f, gamma=%.2f)',r,g);
xtitle(tstr,'t');
legend('S','I','R');
//
// Save the plot in a file.
//
xs2eps(0,'SIR.eps');
|
417b3ff8390d99e37d2ab13109186d3e971b6467 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH16/EX16.5/Ex16_5.sce | 7f95249c221ef2257cd21128dcea2ceabf969240 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | Ex16_5.sce | clc();
clear;
//Given :
l = 200; // in ft
b = 50; // in ft
h = 30;// in ft
alpha = 0.25; //average absorption coefficient
V = l*b*h; // Volume in ft^3
S = 2*((l*b)+(l*h)+(b*h)); //total surface area in ft^2
a = alpha*S;// in sabins
T = (0.049*V)/a; // reverberation time in s
//400 people present in the auditorium, 1 person is equivalent to 4.5 sabins
a1 = a+ 400*4.5; // in sabins
T1 = (0.049*V)/a1;// reverberation time in s
printf("For auditorium : %.2f s \n",T);
printf("When people are present %.2f s",T1);
|
a51d2f84f5f0863ce2a7486b36dfd36cbc86ab6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH5/EX5.36/ex5_36.sce | e5f7d38e8c99211c46a0f995d02f45a9865fede3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | ex5_36.sce | // Exa 5.36
clc;
clear;
close;
format('v',5)
// Given data
C1 = 300;// in pF
C2 = 100;// in pF
Ceq = (C1*C2)/(C1+C2);// in pF
Ceq = Ceq * 10^-12;// in F
L = 50;// in µH
L = L * 10^-6;// in H
// The frequency of oscillation
f = 1/(2*%pi*sqrt(L*Ceq));// in Hz
f = f * 10^-6;// in MHz
disp(f,"The frequency of oscillation in MHz is");
// For maintaining oscillation, A_loop >=1 and Aopenloop*Beta = 1;
// Beta = C2/C1;
Aopenloop = C1/C2;
disp(Aopenloop,"The minimum gain for maintaining oscillation is");
|
3712caacce4910670cbc662bcd64253b98fe5253 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH17/EX17.4/Ex17_4.sce | 04792c792885a6cc1362f06e63bb028ca64da21f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Ex17_4.sce |
// Examle 17.4
b=2.5; // Step Angle
r=360/b; // Resolution (r)
disp('Resolution (r) = '+string(r)+' steps per revolution');
n=r*25; // No.Of step Required for (25 Rev)
disp('No.Of step Required for (25 Rev) = '+string(n));
s=(b*n)/360; // Shaft Speed (s)
disp('Shaft Speed (s) = '+string(s)+' rps');
// p 689 17.4 |
129d25e0db4caf92340c505028b1501ba3c4e861 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH4/EX4.8/Ex4_8.sce | ff23d3bb68635c4dad67f7c35e6c72dbc3de3d8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | Ex4_8.sce | clc;
clear;
close;
//pagec no 105
//Figure 4.6
Iin=50*10^-6; //In Ampere
Vout=4; //In Volt
Rf=Vout/Iin;
disp("ohm",Rf,"Transresistance of Circuit is");
|
e948613c676edbe902f4a84c95e02d68ed8bfe2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH4/EX4.5/Ex4_5.sce | 2762e83e82a916dfccb80a5a2429aa8a968bcc71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 900 | sce | Ex4_5.sce | // given data
clc
// most of the data is used is from previous example:
phi=27.166 // in degree
n=17 // day
ws=78.66 // degrees
dlta=-20.96 // in degrees
Ho=22926.408 // kj/m^2 per day
Hg=14450.418 // kj/m^2 per day
Hd=5266.2473 // kj/m^2 per day
w=(11.5-12)*15 // in degrees
Io=3600*1.367*(1+0.033*cosd(360*17/365.0))*(cosd((phi))*cosd((dlta))*cosd((w)))+sind((dlta))*sind((phi))
a=0.409+0.5016*sind(ws-60)
b=0.6609-0.4767*sind(ws-60)
Ig=Hg*(a+b*cosd(w))*Io/Ho // in kJ/m^2-h
printf("The monthly average of hourly global radiation is %.2f kJ/m^2-h",Ig)
adash=0.4922+(0.27/(Hd/Hg))
bdash=2*(1-adash)*(sind(ws)-1.7328*cosd(78.66))/(1.7328-0.5*sind(2*78.66))
Id=5259.6*(1.2321-0.3983*cosd((w)))*Io/Ho // kJ/m^2-h
printf("\n The hourly diffuse radiations are %.2f kJ/m^2-h",Id)
// the solution in the textbook is wrong as the value of b and bdash are wrong
|
a1ac86474a5b808887f1ed2bae16898fce8e799a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH5/EX5.12.b/ex_5_12_b.sce | e303c269eb0dab5d31df7ec6498e0f007e7d3fed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | ex_5_12_b.sce |
//Example 5.12.b : mobility of electron
clc;
clear;
close;
//given data :
m=9.1*10^-31; // in kg
e=1.602 *10^-19;
Ef=3.75;// in ev
t=10^-14;// in sec
mu=(e*t)/m;
disp(mu,"mobility,mu(m^2/V-sec) = ")
|
0d0ffb8c62f9be85400108500ab7494a77dbd467 | 117d2e73730351cc15ef378cd319a907c507e476 | /sistemas lineares/jacobi.sce | 48ff6ecc10ac01b6b030fa894feb6d06eed7f9e8 | [
"Apache-2.0"
] | permissive | Trindad/algoritmos-calculo-numerico | b900768350277a46da636a3d0da9b8c83c4da780 | 1dcafd39d2281cb3065ba9742c693e5e49e2a08c | refs/heads/master | 2021-01-22T21:28:09.251265 | 2014-07-23T14:08:55 | 2014-07-23T14:08:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,332 | sce | jacobi.sce | // Método de Jacobi para sistemas lineares
clear
clc
printf('Resolução do sistema Ax = b por \n');
printf('Jácobi \n\n')
n=input("Ingresse com a ordem do sistema = ");
printf('\n');
printf('Matriz coeficientes do sistema \n\n')
//for i=1:n
// for j=1:n
// printf('coeficiente A(%d,%d) = ', i,j ) //Definicão da matriz A
//A(i,j)=input(" ");
//end
//end
A = [0.25,0.5;1.44,1.2]; //coeficientes do sistema2
printf('\nVetor dos termos independientes \n\n')
for i=1:n
printf('término b(%d) = ', i ) // Definición del vector b
b(i)=input(' ');
end
printf("matriz ")
disp(A);
printf('\nVetor aproximação inicial\n\n')
for i=1:n
printf('xo(%d) = ', i ) // define aproximação inicial
xo(i)=input(' ');
end
e = 10^-2; // define a tolerância
printf('\n');
//transformação da diagonal recalculando a matriz ampliada
for i=1:n
c(i) = b(i)/A(i,i); // Cálculo do vetor c
for j=1:n
if i==j T(i,j)=0; , else T(i,j)=-A(i,j)/A(i,i);, end // Cálculo da matriz T
end
end
//disp(c);
//disp(T);
Er = A*xo-b;
iter = 0;
while norm(Er,'inf') >= e
x = T*xo+c;
xo=x;
Er = A*xo-b;
//matriz não converge
if iter > 200 then
break;
end
iter= iter+1;
end
mprintf("iterações: %d",iter);
//imprime x1 e x2 quando o erro é menos que o epson
disp(x); |
ac2ba029126d41aa64455b7a52c17fbd2b6f9b88 | ad9d773041da16f532f11a309ac4e1e30643e5f2 | /sine-gen.sci | f866b1f85ed85e26ff8c01e07e746bc8cd023b00 | [] | no_license | bienata/monoboard9 | c8d919c070321a7db2bf7e78381305a15fa161d7 | 0105981552b8154d8fc6f51ad0211077952513ed | refs/heads/master | 2021-09-13T03:59:15.470094 | 2018-04-24T19:06:28 | 2018-04-24T19:06:28 | 110,576,964 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sci | sine-gen.sci | samples = 256;
N = [ 0 : 1 : samples-1 ];
S = floor( 128 + 128 * sind ( 360*N/(samples-1) ) );
plot( S );
unix('rm -f waves.inc');
f = mopen( 'waves.inc','wt' );
mfprintf( f, 'SINE_WAVE_%d:\n', samples );
mfprintf( f, '\t.db ' );
for n = 1 : samples-1
mfprintf( f, '%d', S(n) );
if modulo( n, 10 ) == 0 then
mfprintf( f, '\n\t.db ' );
else
if n ~= samples-1 then mfprintf( f, ',' ); end;
end;
end;
mfprintf( f, '\n' );
mclose( f );
|
047232a77733e4b29d52258349ca0957a26a064c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH6/EX6.5/Ex6_5.sce | b91ae883a3663934f4fc2d684b8af6e4e7b1204b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,805 | sce | Ex6_5.sce | clc;
//page 381
//problem 6.5
//Given input signal is d
d = [0,1,1,1,0,1,0,1,1];
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//The answers obtained here are different from the ones mentioned in the textbook.
//The given answers have been checked rigorously and have been found out to be true.
//When precoded
//Signal b is initially assumed to be 0
b = 0;
for i = 2:9
b(i) = bitxor(b(i-1),d(i));
end
//Changing bit code to polar signal we get, 0 --> -1, 1 --> +1
for i = 1:9
if b(i)==1 then
bp(i) = 1;
else
bp(i) = -1;
end
end
//Let initial value of Vd be 0
//Vd = 0;
for i = 2:9
Vd(i) = bp(i) + bp(i-1);
end
//Converting polar signal to bit code we get, -2 --> 0, 0 --> 1, 2 --> 0
for i = 1:9
if Vd(i)== -2 then
da(i) = 0;
elseif Vd(i)== 2 then
da(i) = 0;
else
da(i) = 1;
end
end
disp(da,'Decoded output when precoded is ')
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//When not precoded exor gate is not there
//Changing bit code to polar signal we get, 0 --> -1, 1 --> +1
for i = 1:9
if d(i)==1 then
dp(i) = 1;
else
dp(i) = -1;
end
end
for i = 2:9
Vd(i) = dp(i) + dp(i-1);
end
//Converting polar signal to bit code we get, -2 --> 0, 0 --> 1, 2 --> 1
for i = 2:9
if Vd(i)== -2 then
da(i) = 0;
elseif Vd(i)== 2 then
da(i) = 0;
else
da(i)= ~da(i-1);
end
end
disp(da,'Decoded output when not precoded is ')
|
c3d600ae02acec4e9d7241b2411005370cd141c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH8/EX8.8/8_8.sce | c666abc0adfcf1967b6b66fdf7d9ed940af6b24c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sce | 8_8.sce | //8.8
clc;
Imax=10*10^-6;
C=4000*10^-12;
Slew_rate=Imax/C;
printf("Slew rate=%.0f V/s", Slew_rate) |
b71e8e65073f6bda99cd0d428b24b1b0c283a41b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH3/EX3.14/3_14.sce | 356eed4801b8819c06676ffd5b39ea1651ae7e7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | 3_14.sce | clear//
//Variables
p = 14 * 10**-8 //Resistivity of gold (in ohm-meter)
alpha = 5.8 * 10**-4 //Temperature coefficient (in per degree celsius)
l = 3 //Length (in meter)
d = 13 * 10**-6 //diameter of wire
//Calculation
A = %pi * d * d / 4 //Area of cross-section (in metersquare)
R = p * l /A //Resistance of wire at 20 degree celsius(in ohm)
R1 = R*(1 + alpha*(200-20))
//Result
printf("\n Resistance of wire at 200 degree celsius is %0.1f ohm.",R1)
|
92e3d7022fedc3e699141a53ac306a7510882f2e | 4be0defdbe24271cce8f61cece32e7a4b15c65af | /signal_s1/td4/ylcq.sce | 42e4813e4fc99ae734e0def6b4f908665f469d6a | [] | no_license | imac2018/tds | 2c41830e26435bb2b8c4a40b3700c9f166bba4dc | 8712438b81088d2f2d9c691b3c689e0926c597f5 | refs/heads/master | 2020-05-30T07:19:34.709677 | 2017-05-24T09:42:23 | 2017-05-24T09:42:23 | 69,675,399 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,558 | sce | ylcq.sce | funcprot(0);
clf();
// Ex. 1
N=64;
function y=xn(f0)
NN = N;
D = 1:NN;
bn = rand(1,NN,"normal");
y(D) = cos(2*%pi*f0*D) + bn;
endfunction
x=xn(1/16);
tfx=fft(x);
//subplot(221);
//title("x");plot(x);
//subplot(222);
//title("TF(x)");
//plot(tfx); //Symétrie horizontale triviale !
//subplot(223);
//title("Module de TF(x)");
//plot(abs(tfx)); //Symétrie horizontale !
//subplot(224);
//title("Phase de TF(x)");
//plot(atan(imag(tfx),real(tfx))); //Symétrie hermitienne !
// Ex. 2
Ex=sum(abs(x).^2);
disp("Energie de x = " + string(Ex));
Etfx=sum(abs(tfx).^2)/N;
disp("Energie de TF(x) = " + string(Etfx));
//Théorème de Parseval !
// Ex. 3
y = rand(1,N,"normal");
z = convol(x,y);
// Ex. 4
tfy=fft(y);
zprime=ifft(tfx.*tfy);
//zprime=ifft(tfx'*tfy); // #ArtAbstrait
subplot(211);
plot(z, "b");
plot(zprime, "r");
// zprime ressemble de plus en plus à z quand on regarde à droite.
// Ex. 5
NB_ZEROS=N; // N => approximation parfaite, moins => approximation moins parfaite.
I=(N+1):(N+1+NB_ZEROS);
x(I) = 0;
y(I) = 0;
tfx=fft(x);
tfy=fft(y);
//z = convol(x,y);
zprime=ifft(tfx.*tfy);
subplot(212);
plot(z, "b");
plot(zprime, "r");
// C'est l'effet du zéro-padding ! Slide 10 :
// http://mailhes.perso.enseeiht.fr/documents/TNS_Mailhes.pdf
// En gros, l'ajout de zéros permet de représenter la TF sur plus de points,
// donc elle est plus précise.
// Comme on a N valeurs, si on ajoute N zéros à la fin du signal,
// on a une approximation parfaite (qui se dégrade si on réduit le nombre de
// zéros ajoutés)
|
91bd27c1d2709995a3aad3f3f9a40a47699f5bd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH11/EX11.2/Ex11_2.sce | c5080b05c4f7d309c437564f8b7b36c817d3c6ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | Ex11_2.sce | //Chapter 11
//page no 410
//given
clc;
clear all;
K0=2*%pi*625; //in MHz/V
Ip=0.6; //in mA
N=64;
w=2.44; //in Mhz
Z=5;
Vout=5; //in V
C=(4*K0*10^6*Ip*10^-3*Z)/(2*%pi*N*w*w*10^12);
printf("\n The value of capacitance is %0.0f nF",C*10^9)
|
ca08ed3fbe9fd5c0c513c4fb78d79d2fb148bcff | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Mechanical_Metallurgy_G._E._Dieter_3456.zip/Mechanical_Metallurgy_G._E._Dieter_3456/CH8/EX8.3/Ex8_3.sce | 28dd1f1590a426743d290129add3219b572c4539 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | Ex8_3.sce | errcatch(-1,"stop");mode(2);//Example 8.3
//Ultimate Tensile Strength
//Page No. 290
;;
deff('y=sigma(e)','y=200000*e^0.33');
E_u=0.33; //no unit
sigma_u=sigma(E_u);
s_u=sigma_u/exp(E_u);
printf('Ultimate Tensile Strength = %g psi',s_u);
exit();
|
87579c44b5ef84a920cb2aa12eb6e12486b38e7e | 46e52b7010c1dc6beb86c615f0d59494c00e6554 | /tp3/src/tests/solo.tst | 70b1ce34728f4019c33d8364345d2e018498f386 | [] | no_license | impronunciable/so2015 | 22bd1cf0831c29d091a3f94bc36342ebb51b7aed | 8bdabf28dc17ca4c92a264036c0fbe9c31430de3 | refs/heads/master | 2020-04-14T12:25:47.123488 | 2015-11-10T22:00:51 | 2015-11-10T22:00:51 | 41,392,542 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | tst | solo.tst | BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
|
54c5187759daa4d8d7be6445f1451fb239a8a7d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.42/Example_1_42.sce | 5f64e5715b60885789b4b65ee204476662301e0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | Example_1_42.sce | // Example 1.42 One urn contains 2 white and 2 black balls;
clc;
clear;
E1=(2/4)*(2/6);
E2=(2/4)*(4/6);
disp(E2, "Probab. that balls are of black colour=",E1,"Probab. that balls are of white colour=");
disp(E1+E2,"The required Probability that they will be of same colour=");
S=1/2;
disp(S,"Selection of one urn out of two urn=");
P1=S*(2/4);
P2=S*(2/6);
disp(P1, "Probab. that white ball is selected from urn I=", P2,"Probab. that white ball is selected from urn II");
disp(P1+P2,"The required Probability that it will be a white colour=");
|
f3109542148f714b84c6aeebb6238fd9f8910fec | 7edeaa4920427595d3601e218f8de85be39cf22d | /TP/tp3/exo3&4/place.sci | 5eeb62c28a30465d4507064244038a34a59d8708 | [] | no_license | BiteKirby3/Math-is-so-fun | 96fb19815c7ab46d1a8e81771e0e70170ee503ab | 20db5e67e73a5ccfd1599cf56718c9d6f0adaa0c | refs/heads/main | 2023-08-27T23:18:38.117913 | 2021-10-11T22:59:20 | 2021-10-11T22:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sci | place.sci | function [i] = place(T,t)
[n,m] = size(T)
if t<T(1,1)|t>T(n,1) then
error("t < T1 ou t > Tn");
end
imin = 1
imax = n
while (imax-imin)>1
mil = floor((imax+imin)/2)
if t>=T(mil,1)
imin = mil
else
imax = mil
end
end
i = imin
endfunction
|
ca7f968e1e914b519a246669d1bcf0f677c0bef1 | 31bd22a0de3a609c9bdfa652c93ed112749bf698 | /MATEMATICAS PARA INGENIERIA I/Archivos scilab/Graficas.sce | f81885f3ba9509efe6587038d4f3febe17683be1 | [] | no_license | eliasrobleroperez/4to-cuatrimestre | 048e4da60229962106595a1d2caab04733e6e9d8 | 529bc470e75e5165ea01637d71e2e99025754d53 | refs/heads/master | 2020-12-03T18:26:05.289314 | 2020-01-02T21:12:33 | 2020-01-02T21:12:33 | 231,429,581 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,379 | sce | Graficas.sce | // This GUI file is generated by guibuilder version 4.2.1
//////////
f=figure('figure_position',[362,24],'figure_size',[718,566],'auto_resize','on','background',[33],'figure_name','Graphic window number %d','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','visible','off');
//////////
handles.dummy = 0;
handles.opcion1=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0527066,0.101056,0.1787179,0.0377273],'Relief','default','SliderStep',[0.01,0.1],'String','3 - 3 sin (θ)','Style','pushbutton','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','opcion1','Callback','opcion1_callback(handles)')
handles.opcion2=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.2592593,0.0987833,0.1855128,0.04],'Relief','default','SliderStep',[0.01,0.1],'String','2 cos (3 θ/2)','Style','pushbutton','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','opcion2','Callback','opcion2_callback(handles)')
handles.opcion3=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.480057,0.0991548,0.1823077,0.0377273],'Relief','default','SliderStep',[0.01,0.1],'String','2 sin (θ/2)','Style','pushbutton','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','opcion3','Callback','opcion3_callback(handles)')
handles.opcion4=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.7022792,0.0991548,0.1958974,0.0377273],'Relief','default','SliderStep',[0.01,0.1],'String','2 sin (θ/4)','Style','pushbutton','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','opcion4','Callback','opcion4_callback(handles)')
handles.valor=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.6011396,0.0156343,0.160641,0.0718182],'Relief','default','SliderStep',[0.01,0.1],'String','0','Style','edit','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','valor','Callback','')
handles.salir=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.1552707,0.0134843,0.0869872,0.0663636],'Relief','default','SliderStep',[0.01,0.1],'String','Exit','Style','pushbutton','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','salir','Callback','salir_callback(handles)')
handles.dato=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.4957265,0.0142966,0.0940456,0.0693536],'Relief','default','SliderStep',[0.01,0.1],'String','De 0 Hasta','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','dato','Callback','')
handles.tx2=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.2962963,0.1463878,0.1068376,0.0304183],'Relief','default','SliderStep',[0.01,0.1],'String','Opcion2','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','tx2','Callback','')
handles.tx1=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.0897436,0.1425856,0.1011396,0.0285171],'Relief','default','SliderStep',[0.01,0.1],'String','Opcion1','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','tx1','Callback','')
handles.tx3=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.514245,0.148289,0.1096866,0.0285171],'Relief','default','SliderStep',[0.01,0.1],'String','Opcion3','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','tx3','Callback','')
handles.tx4=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.7549858,0.1387832,0.0997151,0.026616],'Relief','default','SliderStep',[0.01,0.1],'String','Opcion4','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','tx4','Callback','')
handles.tx5=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.3703704,0.0304183,0.1196581,0.0285171],'Relief','default','SliderStep',[0.01,0.1],'String','Parametros:','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','tx5','Callback','')
handles.tx6=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.4643875,0.1996198,0.0509402,0.0475285],'Relief','default','SliderStep',[0.01,0.1],'String','MENU','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','tx6','Callback','')
handles.TX7=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','Tahoma','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','left','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.4430199,0.9353612,0.0821083,0.0513308],'Relief','default','SliderStep',[0.01,0.1],'String','GRAFICAS','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','TX7','Callback','')
f.visible = "on";
//////////
// Callbacks are defined as below. Please do not delete the comments as it will be used in coming version
//////////
function opcion1_callback(handles)
a=handles.valor.string;
b=eval(a);
t=linspace(0,b,50);
y=3- 3.*sin(t);
polarplot(t,y);
endfunction
function opcion2_callback(handles)
a=handles.valor.string;
b=eval(a);
t=linspace(0,b,50);
y=2.*cos (3.*t);
polarplot(t,y);
endfunction
function opcion3_callback(handles)
a=handles.valor.string;
b=eval(a);
t=linspace(0,b,50);
y=2 .*sin (t/2);
polarplot(t,y);
opcion1(Visible,off);
endfunction
function opcion4_callback(handles)
a=handles.valor.string;
b=eval(a);
t=linspace(0,b,50);
y=2 .*sin (t/4)
polarplot(t,y);
opcion1(Visible,off);
endfunction
function salir_callback(handles)
exit();
endfunction
|
267661759cd780e6d1e37300074d58d4301f2dec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH5/EX5.10/EX5_10.sce | 3da1ac774ca0b6bd2499272926fce96d1189e165 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 874 | sce | EX5_10.sce | //Chapter 5, Example 5.10, page 205
clc
//Initialisation
d=3000 //distance in Km
re=6370 //radius of earth in Km
phi=72 //angle in degree
N=5*10**11 //electron density
pi=3.14
//Calculation
teta=3000*(2*6370)**-1 //in radian
teta1=teta*180/pi //degree
dt=90-teta1-phi //Elevation angle
a=re/(sin(phi*pi/180))
b=sin((teta1+phi)*pi/180)
h=(a*b)-re //Height in Km
fc=9*sqrt(N) //frequency in MHz
MUF=fc*(cos(phi*pi/180))**-1 //Maximum working frequency
//Results
printf("(1) Elevation angle = %.1f degree",dt)
printf("\n(2) Height h = %.1f km",h)
printf("\n(3) MUF = %.1f MHz",(MUF*10**-6))
|
9b2a4de71f4735fb989a11347b863ea0d7432e89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH3/EX3.19/Ex3_19.sce | c45bcfcac2a0266f1be4e04bc9166ad0f44a0585 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Ex3_19.sce |
// Examle 3.19
// From the diagram (3.34a) Apply KVL to loop-2 i.e (For I )
// Will get { -2I-3I+6-1(I+5-4)= 0 }
// Using loop-circuit analysis
I=5/6; // Current in loop-2
V=3*I; // Unknown voltage.
disp(' Unknown voltage V = '+string(V)+' Volt');
// p 74 3.19
|
dcaa807a59a70c3e57d84c30c870ef2e1ba4aa98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH8/EX8.11/example_11.sce | 4ccc8f228f002b0a977ee2ec706ce93164b40f49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | example_11.sce | clc
clear
printf("example 8.11 page number 372\n\n")
//to find the maximum capacity of keroscene
flow_rate_steel=1.2; //l/s
density_steel=7.92;
density_kerosene=0.82;
density_water=1;
flow_rate_kerosene =(((density_steel-density_kerosene)/density_kerosene)/((density_steel-density_water)/density_water))^0.5*flow_rate_steel
printf("maximum_flow rate of kerosene = %f litre/s",flow_rate_kerosene)
|
e115f1a26a82e2b3396b5ab5184b1398c0d21e9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH29/EX29.6/Ex29_6.sce | a023bc98d05ecb6f9800eaf056cdc2852b75a429 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | Ex29_6.sce | clear
//Given
Pc=500 //watts
//Calculation
Ps=(1/2.0)*(Pc)
Pt=Pc+Ps
//Result
printf("\n (i) sideband power is %0.3f W",Ps)
printf("\n (ii) power of AM wave is %0.3f W",Pt)
|
2f80664ec23bf604c47980d12d280a1dbe9f0c72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH9/EX9.2/Ex9_2.sce | fc440b5e25b19650f93dba4e22562a4a05e6b220 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | Ex9_2.sce | //Finding of Height
//Given
q=1.5;
Cd=0.6;
L=5;
g=9.81;
//To Find
H=q/((2/3)*Cd*L*sqrt(2*g));
H1=H^(2/3);
Z=q-H1;disp(H1);
disp("Height ="+string(Z)+" meter");
|
3dcb942763850ded2aeaf224db46834ec7854aeb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH2/EX2.7/ex2_7.sce | 2ab942fd12f6dda7dc993f87ff91bf0a4a684302 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | ex2_7.sce | // Example 2.7, page no-33
clear
clc
h=3
k=2
l=1
a=4.12*10^-10
d=a/sqrt(h^2+k^2+l^2)
printf("The lattice spacing for the plane(321) is %.4f*10^-10 m",d*10^10)
|
7ff2a3691c8c03f5fd7bfea3dce9a82037c7ea3c | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassshift/test_1.sce | 41ad768d5f0cd0975e15554cf7946dc69e316acc | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | test_1.sce | // Test # 1 : No Input Arguments
exec('./allpassshift.sci',-1);
[n,d]=allpassshift();
//!--error 10000
//Number of input arguments should be 2
//at line 25 of function allpassshift called by :
//[n,d]=allpassshift();
|
f218593c168cc4e64480cd5e7d3592fa8270b67c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.77/Example1_77.sce | 9ff393523cd995ae4da965e3486fff1add476a3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | Example1_77.sce | // Example 1.76
clc;clear;close;
// Given data
format('v',6);
P=6;//no. of poles
f=50;//in Hz
Tmax=30;//in N-m
Nm=960;//in rpm
S=5;//in %
R2=0.6;//in ohm
//calculations
S=S/100;//slip
Ns=120*f/P;//in rpm
Sm=(Ns-Nm)/Ns;//slip at max speed
X2=R2/Sm;//in ohm
Tau_s=2*S*Sm/(S^2+Sm^2)*Tmax;//in N-m
disp(Tau_s,"Torque exerted by the motor in N-m : ");
|
94019a98beef66f9fb9897ad3b15c4001f27b92d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH5/EX5.15/Ex5_15.sce | fc0495da84acbeb0ac7d897b350f6fd97f16be06 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 994 | sce | Ex5_15.sce | //Continuous Time Signal x(t)= exp(B*t)u(-t), t>0
clear;
clc;
close;
B =1;
Dt = 0.005;
t = -10:Dt:0;
xt = exp(B*t);
Wmax = 2*%pi*1;
K = 4;
k = 0:(K/1000):K;
W = k*Wmax/K;
XW = xt* exp(-sqrt(-1)*t'*W) * Dt;
XW_Mag = abs(XW);
W = [-mtlb_fliplr(W), W(2:1001)];
XW_Mag = [mtlb_fliplr(XW_Mag), XW_Mag(2:1001)];
[XW_Phase,db] = phasemag(XW);
XW_Phase = [-mtlb_fliplr(XW_Phase),XW_Phase(2:1001)];
//Plotting Continuous Time Signal
figure(1)
plot(t,xt);
xlabel('t in sec.');
ylabel('x(t)')
title('Continuous Time Signal')
figure(2)
//Plotting Magnitude Response of CTS
subplot(2,1,1);
plot(W,XW_Mag);
xlabel('Frequency in Radians/Seconds---> W');
ylabel('abs(X(jW))')
title('Magnitude Response (CTFT)')
//Plotting Phase Reponse of CTS
subplot(2,1,2);
plot(W,XW_Phase*%pi/180);
xlabel(' Frequency in Radians/Seconds---> W');
ylabel(' <X(jW)')
title('Phase Response(CTFT) in Radians')
|
4c9bd697287b0f8653c7d93a4e32427c0a9f08a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH8/EX8.9/Chap8_Ex9_R1.sce | 2cd472c745ef495c7599b2e576f97546b69f0e90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,627 | sce | Chap8_Ex9_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-8,Example 9,Page 297
//Title: Enthalpy and entropy departure using the Lee-Kesler data
//================================================================================================================
clear
clc
//INPUT
T=339.7;//temperature of ethylene in K
P=30.7;//pressure of ethylene in bar
Tc=283.1;//critical temperature of ethylene in K
Pc=51.17;//critical pressure of ethylene in bar
w=0.089;//acentric factor (no unit)
R=8.314;//universal gas constant in J/molK
//CALCULATION
Pr=P/Pc;//calculation of reduced pressure (no unit)
Tr=T/Tc;//calculation of reduced temperature (no unit)
del_h0=0.474;//value of ((h0-h)/RTc)_0 read from Fig.(8.6) corresponding to Pr and Tr (no unit)
del_h1=0.232;//value of ((h0-h)/RTc)_1 read from Fig.(8.8) corresponding to Pr and Tr (no unit)
del_s0=0.277;//value of ((s0-s)/R)_0 read from Fig.(8.10) corresponding to Pr and Tr (no unit)
del_s1=0.220;//value of ((s0-s)/R)_1 read from Fig.(8.12) corresponding to Pr and Tr (no unit)
dep_h=((del_h0)+(w*del_h1))*R*Tc;//calculation of the enthalpy departure using Eq.(8.62) in J/mol
dep_s=((del_s0)+(w*del_s1))*R;//calculation of the entropy departure using Eq.(8.65) in J/molK
//OUTPUT
mprintf("\n The enthalpy departure for ethylene using the Lee-Kesler data = %f J/mol\n",dep_h);
mprintf("\n The entropy departure for ethylene using the Lee-Kesler data = %f J/mol K\n",dep_s);
//===============================================END OF PROGRAM===================================================
|
8eb5bdba7614e19c71d56080677192d6361580f3 | 8200349559e237758f87bc09a9eb4e0178932815 | /Magnet/Scilab/dipmomentVec.sce | 0bddecedf243029fa898f7c60596ddaec95c7dda | [] | no_license | rmorenoga/Testing | 6e50ea8e5f334b6d69f25e56f81fd7a505c012bb | 06713e61ababad3fb738ec4ac9ea771772585a12 | refs/heads/master | 2021-05-25T09:31:54.351782 | 2020-08-08T20:55:59 | 2020-08-08T20:55:59 | 35,949,400 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | dipmomentVec.sce | function mVec = dipmomentVec(m,dirVec)
//Returns a vector given dipole moment magnitude
//The vector has direction dirvec
//Normalize the direction vector
dirnorm = norm(dirvec)
mVec = m.* (dirVec./dirnorm)
endfunction
|
346698146528fedd4156d680873d5ff99bac4f94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3050/CH6/EX6.3/Ex6_3.sce | fbaeb84e201234ed26644c37257057d660fe78ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | Ex6_3.sce | //calculating pH
//Example 6.3
clc
clear
//for hydrogen electrode
Ecell=0.6734//Emf of cell in V
pH=(Ecell-0.2422)/0.0591//pH of the solution
printf('Thus the pH of the solution = %2.3f ',pH)
|
f60b23b93d903859c2c2b24f8c3fdd60fe5c90e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH16/EX16.01/16_01.sce | 5522255aeaaa0acf8e45d5c17f09c274d881fd60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,293 | sce | 16_01.sce | //pathname=get_absolute_file_path('16.01.sce')
//filename=pathname+filesep()+'16.01-data.sci'
//exec(filename)
//Bore diameter(in m):
d=0.24
//Stroke length(in m):
l=0.36
//Compression ratio:
r=6
//Speed(in rpm):
N=120
//Index of polytropic process:
n=1.3
//Index for adiabatic process:
n1=1.4
//Pressure at state 1(in kPa):
p1=1*10^2
//Stroke volume(in m^3):
V=%pi*d^2*l/4
//Volume of air compressed per minute(in m^3/min):
v=V*N
//Mep in isothermal process(in kPa):
mepiso=p1*log(r)
//Mep in polytropic process(in kPa):
meppoly=(n/(n-1))*p1*((r)^((n-1)/n)-1)
//Mep in adiabatic process(in kPa):
mepadi=(n1/(n1-1))*p1*((r)^((n1-1)/n1)-1)
//HP for isothermal process:
HPiso=mepiso*v/(0.7457*60)
//HP for isothermal process:
HPpoly=meppoly*v/(0.7457*60)
//HP for isothermal process:
HPadi=mepadi*v/(0.7457*60)
//Isothermal efficiency for polytropic process:
npoly=HPiso/HPpoly*100
//Isothermal efficiency for adiabatic process:
nadi=HPiso/HPadi*100
printf("\n RESULT \n")
printf("\nMep : %f kPa for isothermal, %f kPa for polytropic process",mepiso,meppoly)
printf("\nHP required : %f HP for isothermal, %f HP for polytropic",HPiso,HPpoly)
printf("\nIsothermal efficiency : %f percent for polytropic process, %f percent for adiabatic process",npoly,nadi) |
d70a9d248e6eaa34d51afa35a6031543cb47476a | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH14/EX14.5/14_5.sce | 4a856cfcffddcf16e82b89e8573641fc67b2019f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | 14_5.sce | //To find gyroscopic couple and direction
clc
//Given:
N=1500 //rpm
m=750 //kg
omegaP=1 //rad/s
k=250/1000 //m
//Solution:
//Calculating the angular speed of the rotor
omega=2*%pi*N/60 //rad/s
//Calculating the mass moment of inertia of the rotor
I=m*k^2 //kg-m^2
//Calculating the gyroscopic couple transmitted to the hull
C=I*omega*omegaP/1000 //kN-m
//Results:
printf("\n\n Gyroscopic couple transmitted to the hull, C = %.3f kN-m.\n\n",C)
printf(" When the pitching is upward, the relative gyroscopic couple acts in the clockwise direction.\n\n") |
03290ea4817d3c5a8347f2f3547dd8197a526d86 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Signal_Processing_R._Babu_52.zip/Digital_Signal_Processing_R._Babu_52/CH4/EX4.24/Example4_24.sce | b957263acde5ae8773ec5813b50870907b74e52e | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | Example4_24.sce | errcatch(-1,"stop");mode(2);//Example 4.24
//Program to Compute the 8-point DFT of given Sequence
//x[n]=[0,1,2,3,4,5,6,7] using DIF, radix-2,FFT Algorithm.
;
;
;
x = [0,1,2,3,4,5,6,7];
//FFT Computation
X = fft (x , -1);
disp(X,'X(z) = ');
exit();
|
48d9bb6c012f78aec6f4cccb548fc997e35ab2e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH7/EX7.7/Ex7_7.sce | da1168eea428cbade06476fc192b43b8660dbdc3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | Ex7_7.sce | clc
//
//
//
//Variable declaration
EH=(1000/(16*3.14))
Z=376.6
//Calculations
E=sqrt(EH*Z)
H=sqrt(EH/Z)
//Result
printf("\n The Intensity of Electric field is %2.2f V/m",E)
printf("\n The Intensity of Magnetic Field is %0.3f A-turn/m",H)
|
29de50029e11dfb72ca6d7467d02dcca789869a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH9/EX9.3/Ex9_3.sce | 34a7e72d79e63b8be46d9535cf62a55d778281de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,031 | sce | Ex9_3.sce |
Vl=400//line voltage across alternator and motor
Vph=Vl//as the motor is delta connected
Pout=112D+3//output of motor
e=.88//efficiency of motor
Pin=Pout/e//input to motor
pf=.86
phi=acos(pf)
Il=Pin/(sqrt(3)*Vl*pf)
Iph=Il/sqrt(3)
mprintf("Current in each motor phase, Iph=%f A\n", Iph)
//alternator is star connected
mprintf("Current in each alternator phase=%f A\n",Il)
//calculating active and reactive components of current in each phase of motor
Iact=Iph*pf
Ireact=Iph*sin(phi)
mprintf("Active component of current in each phase of motor=%f A\nReactive component of current in each phase of motor=%f A\n", Iact,Ireact)
//phase angle between the phase voltage and phase current will be the same for both motor and alternator if we neglect line impedance
Iph=Il
Iact=Iph*pf
Ireact=Iph*sin(phi)
mprintf("Active component of current in each phase of alternator=%f A\nReactive component of current in each phase of alternator=%f A\n", Iact,Ireact)
//The answers vary from the textbook due to round off error
|
3970328e4d6eed514beed7910f65c2027ae66972 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH2/EX2.19/Chapter2_Example19.sce | 553b942f35edffc3f413e949b0d3610a3c0b9dd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | Chapter2_Example19.sce | clc
clear
//INPUT DATA
//CH4 + 2 O2 = CO2+2 H2O ;//Chemical equation
hfco2=-393.52;//enthalpy of CO2 in MJ/kmol of CH4
hfh2o=-241.83;//enthalpy of H2O in MJ/kmol of CH4
hfch4=-77.87;//enthalpy of CH4 in MJ/kmol of CH4
hfo2=0;//enthalpy of O2 in MJ/kmol of CH4
//CALCULATIONS
Qp=hfco2+2*hfh2o-(hfch4+2*hfo2);//Lower heating value in MJ/kmol
Qp1=-Qp/(21*1-1*4);//Lower heating value in MJ/kg
dU=Qp1;//lower heating values
//OUTPUT
printf('np=nr \n')
printf('Lower heating values are \n Qp %3.1f MJ/kg of CH4 \n du %3.1f MJ/kg of CH4 \n Qp1=dU \n ',Qp1,dU)
|
8993dec2705366c5b105c881cc74dc2ed2fee025 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_flipud.sci | b031501bfcb6453528bbfb0867dd03b01e7b1539 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 689 | sci | moc_flipud.sci | function y = moc_flipud(x)
//Return a copy of X with the order of the rows reversed.
//Calling Sequence
//y = moc_fliplr(x)
//Description
// Return a copy of X with the order of the rows reversed. In
// other words, X is flipped upside-down about a horizontal axis. For
// Note that 'fliplr' only works with 2-D arrays.
// Examples
// moc_flipud ([1, 2; 3, 4])
if ndims(x)~=2,
disp('X must be a 2-D matrix!')
end
y = x($:-1:1,:);
endfunction
// %!assert((flipud ([1, 2; 3, 4]) == [3, 4; 1, 2]
// %! && flipud ([1, 2; 3, 4; 5, 6]) == [5, 6; 3, 4; 1, 2]
// %! && flipud ([1, 2, 3; 4, 5, 6]) == [4, 5, 6; 1, 2, 3]));
//
// %!error flipud ();
//
// %!error flipud (1, 2);
|
92ef225a4e7628c7f564cc12ac5e8ac65d8127d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH6/EX6.4/EX6_4.sce | 1f90c0d38931053d2cd423a6a83c92a644712362 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 721 | sce | EX6_4.sce | clc;funcprot(0);//EXAMPLE 6.4
// Initialisation of Variables
Lf=2.195;........//Final length after failure
d1=0.505;.......//Diameter of alluminum alloy in in
d2=0.398;......//Final diameter of alluminum alloy in in
Lo=2;..........//Initial length of alluminum alloy
//CALCULATIONS
A0=(%pi/4)*d1^2;........//Area of original of alluminum alloy
Af=(%pi/4)*d2^2;........//Area of final of alluminum alloy
%E=((Lf-Lo)/Lo)*100;.....//Percentage of Elongation
%R=((A0-Af)/A0)*100;......//Percentage of Reduction in area
disp(%E,"Percentage of Elongation:")
disp(%R,"Percentage of Reduction in area:")
printf("The final length is less than 2.205 in because, after fracture, the elastic strain is recovered.")
|
6f127fa141b3291b5d9066c9af546c6cc444bee2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH8/EX8.17/ch8_17.sci | a420656b4f820dba9998f45766ef09d02774e080 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 872 | sci | ch8_17.sci | //to calculate motor eff,excitation emf and power angle, max power op,corresponding net op
clc;
j=sqrt(-1);
Sop=40*1000;
Vt=600;
Ra=.8;
Xs=8;
Pst=2000;
Pmnet=30*1000;
Pm_dev=Pst+Pmnet;
Ia=Sop/(sqrt(3)*Vt);
Poh=3*Ia^2*Ra;
Pin=Pm_dev+Poh;
eff=(1-(Poh+Pst)/Pin)*100;disp(eff,'motor eff(%)');
cos_phi=Pin/(sqrt(3)*Vt*Ia);
phi=acosd(cos_phi);
Ia=Ia*(cosd(phi)+j*sind(phi));
Vt=Vt/sqrt(3);
Za=Ra+Xs*j;
Ef=Vt-Ia*Za;
Ef_line=Ef*sqrt(3);disp(Ef_line,'excitation emf(V)');
delta=atand(imag(Ef)/real(Ef));disp(delta,'power angle(deg)');
IaRa=abs(Ia)*Ra;
IaXs=abs(Ia)*Xs;
AD=Vt*cosd(phi)-IaRa;
CD=Vt*sind(phi)+abs(Ia)*Xs;
Ef_mag=sqrt((abs(AD))^2+(abs(CD))^2);
Pm_out_gross=-((abs(Ef_mag))^2*Ra/(abs(Za))^2)+(Vt*abs(Ef_mag)/abs(Za));
disp(Pm_out_gross,'max power op(W)');
power_angle=atand(imag(Za)/real(Za));
disp(power_angle,'power angle(deg)'); |
618032b8fdee31749104e003ec60dd9e6350766f | 948c6e0314c1822f872350cf63aaceb3d28fa497 | /tests/test-strip-005.tst | d26f744faeb8dd3386760c699010dc82db894355 | [
"Apache-2.0"
] | permissive | archiecobbs/bom | 832eb815b40f4955e6551496bdd2598cb4f00442 | 0bab1a015bb5e53345e5422902e16f802bd4c07f | refs/heads/main | 2023-08-25T05:43:51.470221 | 2021-11-04T16:12:49 | 2021-11-04T16:12:49 | 417,213,171 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | tst | test-strip-005.tst | # The input is truncated after 2/3 of a rightwards arrow U2192 -> e2 86 92
FLAGS='--strip --expect UTF-8 --utf8 --lenient'
STDIN='\xef\xbb\xbfpartial arrow: \xe2\x86'
STDOUT='partial arrow: '
STDERR=''
EXITVAL='0'
|
a980c96c8260f0f478c96679837f2e095f799352 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Texthectr.sci | 469da91a73e78c665d76ee501dd4280103863e89 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | sci | Texthectr.sci | // 2010.02.12
function Out=Texthectr(N)
Out='\the'+Texctr(N);
endfunction;
|
efa687b2b2b850df9e1a5030967ac49b8a8f767a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH6/EX6.9/exa_6_9.sce | 67d2158a2e9ee58fcd71f30721bc87a43e6a81a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | exa_6_9.sce | // Exa 6.9
clc;
clear;
close;
// Given Data
fL= 200;// in Hz
fH= 1;// in kHz
fH=fH*10^3;// in Hz
//Let the capacitor C_desh be of 0.01 micro F
C_desh= 0.01*10^-6;// in F
R_desh= 1/(2*%pi*fH*C_desh);// in ohm
R_desh=R_desh*10^-3;// in kohm
R_desh= 18;// in kohm
// Let
C=0.05*10^-6;// in F
R= 1/(2*%pi*fL*C);// in ohm
R=R*10^-3;// in kohm
R= 18;// in k ohm
Rf= 10;// in kohm
disp(Rf,"Value of Rf, Rf_desh, R1 and R1_desh in kohm");
disp(R,"Value of R and R_desh in kohm");
disp(C_desh*10^6,"Value of C_desh in micro F")
disp(C*10^6,"Value of C in micro F")
|
6c1c14f281af432328f8d15a8624beb2cda633c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.20/EX8_20.sce | 1218b45685bdead73da923c6681fabd6e44ddca6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | EX8_20.sce | //EXAMPLE 8-20 PG NO-535
Ro=450;
Fc=20000;
L=Ro/(4*%pi*Fc);
C=1/(4*%pi*Fc*Ro);
Z1=Ro/(2*%pi*Fc);
disp('i) IMPEDANCE (Z1) is = '+string (Z1) +' ');
|
a2f47c4381d68d90474d6da1a22428223c4393e7 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH12/EX12.2/12_02.sce | 68a4112265caebc746fb61caeed4713ecba5a358 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | 12_02.sce | errcatch(-1,"stop");mode(2);//Chapter 12, Problem 2
;
Ic=100*10^-3; //emitter current
Ie=102*10^-3; //collector current
Ib=Ie-Ic; //calculating base current
printf("Value of base current Ib = %d mA",Ib*1000);
exit();
|
c2fdc551e48b492408f0d3f15c4c6b0384031adb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH12/EX12.6/Ex12_6.sce | 52210a1296b72a2b0c1e90efc8635a07811385e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | Ex12_6.sce | clear
//Given
e=10**-2 //V
B=5*10**-5 //T
r=0.5 //m
N=1
//Calculation
//
A=%pi*r**2
n=(e*N)/(%pi*r**2*B)
//Result
printf("\n Rate of rotation of the blade is %0.1f revolutions/second",n)
|
2c1301ad135eaa1374c347fb16b2aca5bb228ce3 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH4/EX4.11/Ex4_11.sce | 1a9c081f1885712d17d189854438f1a4790cd749 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | Ex4_11.sce | errcatch(-1,"stop");mode(2);//caption:find value of arm CD
//Ex4.11
C1=0.2*10^-6//capacitance of arm AB(in F)
R2=500//resistance of arm BC(in ohm)
R3=300//resistance of arm BC(in ohm)
C3=0.1*10^-6//capacitance of arm AD(in F)
f=1000//frequency of bridge(in Hz)
w=2*%pi*f
Z1=-%i/(w*C1)
Z2=R2
Z3=1/((1/R3)+%i*w*C3)
Z4=(Z2*Z3)/Z1
disp(Z4,'value of arm CD=')
exit();
|
2174188dfcdbe72f451a291e9f745971f2344489 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH1/EX1.4/Ex1_4.sce | fcb445ade9c02960889c1c36c426c54c0e7aab29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | Ex1_4.sce | //Chapter 01: The Foundations: Logic and Proofs
clc;
clear;
mprintf( "Let p=Vandana s smartphone has at least 32GB of memory.")
mprintf( "\nThe negation of p is ( ~p ) :It is not the case that Vandana s smartphone has at least 32GB of memory.")
mprintf( "\nOr in simple English ( ~p ): Vandana s smartphone does not have at least 32GB of memory.")
mprintf( "\nOr even more simple as ( ~p ): Vandana s smartphone has less than 32GB of memory.")
|
b55a9545bba0d7f4da1a7adc429573beefb7b21c | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH6/EX6.18/Ex_6_18.sce | 454552e0788f5414a52c721f1f02a6c1fa14bd18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 96 | sce | Ex_6_18.sce | //Example 6.18
clc;clear;
x=[0 1 2 3];
X=clean(fft(x));
disp(x,'x(n)=');
disp(X,'X(k)='); |
a35f393c2332c707c9d71901e04c95ae2ef6d186 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH4/EX4.15/4_15.sce | 85d31abdba6b182714ddca96ebd97c95b4a09417 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,081 | sce | 4_15.sce | T=273;//temperature 0C in kelvin//
R=8.31*10^7;//Universal gas constant in erg per degree per mole//
M=28;//molecular weight of N2 in gram per mole//
printf('Since 22.4Litres of Nitrogen gas at 0C and 1atm pressure will contain 6.023*10^23Molecules.');
N=2.69*10^19;//no. of molecules in molecules per cm^3//
Cm=sqrt(8*R*T/(%pi*M));//mean velocity of Nitrogen in cm/sec//
printf('\nMean velocity of Nitrogen=Cm=%fcm/sec',Cm);
V=22400;//volume of nitrogen in cm^3//
p=M/V;//Density of nitrogen in gram per cm^3//
printf('\nDensity of Nitrogen=p=%f=1.25*10^-3gram per cm^3',p);
n=10.99*10^-5;//Viscosity of N2 in poise//
L=(3*n)/(Cm*p);//mean free path of nitrogen in cm//
printf('\nMean free path of Nitrogen=L=5.81*10^-6cm');
G=sqrt(1/(1.414*%pi*L*N));//Collision diameter of Nitrogen in cm//
printf('\nCollission diameter of Nitrogen=G=3.80*10^-8cm');
K=sqrt(%pi*R*T/M);
Z11=2*N^2*G^2*K;//number of collisions per second of Nitrogen at 0C and 1atm//
printf('\nNumber of molecular collisions per second of Nitrogen at NTP=%f=10.52*10^28 molecular collisions per sec per cm^3',Z11); |
375de61889e6caccfeaab50e03cca551dc33210f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.4/Ex1_4.sce | 0c9c6d4536857ae0e2219e33c4cd54cfc183c0ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | Ex1_4.sce | //Example 1_4
clc;
clear;
close;
format('v',6);
//given data :
Vs=6;//V
//Point A & C, B & D are shorted
RAB=(4*4/(4+4));//ohm
RDC=(4*4/(4+4));//ohm
Req=RAB*RDC/(RAB+RDC);//ohm
Is=Vs/Req;//A
disp(Is,"Current supplied by the battery(A)");
|
add86290aff14e04a7e263b0b3e7ff50dc5a2c5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH5/EX5.32/Ex5_32.sce | f393160925e6458bb275859690fcfcef4da39811 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sce | Ex5_32.sce | //===========================================================================
//chapter 5 example 32
clc;
clear all;
//variable declaration
K = 0.0981*10^-6;
theta = 80; //full scale of deflection in °
V = 1000; //voltage in V
C = 10*10^-12; //capacitance in F
//calculations
//x =dC/dtheta = (2*K*theta)/V^2
x = (2*K*theta)/V^2; //rate of change of capacitance
dC = x*(theta/180)*%pi;
C1 = C+dC;
//result
mprintf("capacitance when reading 1kV = %3.3e F",C1);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.