blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
08d7689b6c4504e000dc6751bfb5ced9ab6e45e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH22/EX22.3.a/data22_3.sci | 972ec92775b76c544b171fd29be7597df3d8ec6d | [] | 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 | 551 | sci | data22_3.sci |
//(Cylinders and Pressure Vessels) Example 22.3
//Force exerted by the piston rod F (kN)
F = 10
//Friction force due to piston packing as a percentage of operating force frac(%)
frac = 10
//Pressure inside the cylinder Pi (MPa)
Pi = 10
//Ultimate tensile strength of the cylinder material Sut (N/mm2)
Sut = 200... |
04947b05d465a8d31d5055233b50631f170778a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH11/EX11.8/C11P8.sce | dc6a64ee79eb27145ab0cffc30492ca9bddf2c5d | [] | 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 | 398 | sce | C11P8.sce |
clear
clc
//to find spring compression
// GIVEN::
//mass of body
m = 3.63//in kg
//speed of block
v = 1.22//in m/s
//force constant for spring
k = 135//in
// SOLUTION:
//using work-energy principle
//spring compression
d = v*sqrt(m/k)//in meters
d1 = d*10^2//in
printf ("\n\n Spring compression d... |
fd3b195dc2d25017fd1f816c07db2c1b6c4a171d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH11/EX11.22/Example11_22.sce | e77ed0512f11011335a0157e4fde1911dddd1938 | [] | 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 | 627 | sce | Example11_22.sce | ///Chapter No 11 Steam Boilers
////Example 11.22 Page No 256
///Find Efficeincy of chimney draught
///Input data
clc;
clear;
H=45; //Chimney height in m
Tg=370+273; //Temperature of flue gases in degree celsius
T1=150+273; //Temperature of flue gases in degree celsius
ma=25; //Mass of th... |
3b638fa273e9d8721fd505ab14aa30231970e058 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH14/EX14.2/Ex14_2.sce | dec5a58f08c05fc3304c0c959d08c9ab5f3d9d21 | [] | 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 | 146 | sce | Ex14_2.sce | clear;
clc;
//Example 14.2
R2=10000;
Ri=10000;
Aol=10^5;
Rif=1/(1/Ri+(1+Aol)/R2);
printf('\nclosed loop input resistance =%.2fOhm\n',Rif)
|
c9934853cc87182ae8036d0e3760a4d2eef2e76b | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Com Interface Grafica/Engine/Quiescent.sce | 3fe06320e2ad09754afe53f540f9c38e21cc4eee | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,053 | sce | Quiescent.sce |
Dt(2) = Dt(1);
for i=2:3
// Atualização do instante de tempo
t(i) = t(i-1) + Dt(i-1);
// Vetor de Carga efetiva incremental, dado pela equação XXX
p(:,i) = Carregamento(n,nc,opC,desC,t0,t1,w1,F,t(i));
Dp = p(:,i) - p(:,i-1);
Dp_ = Dp + ...
+ M*((1/(Beta*Dt(i-1)))*... |
45447b65015859f1685f150c269e099d315baaca | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH8/EX8.1/8_1.sce | 6c763fb7d414cdd439592f6c40aa2b529cc4a8f9 | [] | 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,291 | sce | 8_1.sce | //To find linear and agular velocity and acceleration
clc
//Given:
NBO=300 //rpm
OB=150/1000,BA=600/1000 //m
//Solution:
//Refer Fig. 8.4
//Calculating the angular velocity of BO
omegaBO=2*%pi*NBO/60 //rad/s
//Calculating the linear velocity of B with respect to O
vBO=omegaBO*OB //m/s
vB=vBO
//By measuremen... |
b2ecd308e05c1762eac6657cffe175d433bb9267 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH8/EX8.24/Ex8_24.sce | 42ac180f368c34c24d51a825190e6233a3768731 | [] | 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,224 | sce | Ex8_24.sce | clear;
clc;
disp('Example 8.24');
// aim : To determine
// the mass of air supplied/kg of fuel burnt
// given values
// gas composition in the fuel
C = 84;// %age mass composition of Carbon in the fuel
H2 = 14;// %age mass composition of H2 in the fuel
O2f = 2;// %age mass composition of O2 in the fuel
... |
a715b81fda54653b65f3356942088bbc2d946a0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH4/EX4.12/Ex4_12.sce | 6cc6a24fa13d174fc685672f3f08cb0ac876323a | [] | 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 | 696 | sce | Ex4_12.sce | //Ex4_12 Refer fig 4.9(a)and fig 4.9(b)
clc
VDD=(5)
disp("VDD= "+string(VDD)+" volts") // Drain voltage supply
RL1=125*10^(3)
disp("RL1= "+string(RL1)+ " ohm") //Load resistance
RL2=200*10^(3)
disp("RL2= "+string(RL2)+ " ohm") //Load resistance
IDON1=34.88*10^(-6)
disp("IDON1 ="+string(IDON1)+" A")//Drain cu... |
b8dde5600bc3e2ef464c9e01de678a00b25f3f13 | fd6e45f66c41ad779a3d47c3bf8ebfa140d3d657 | /P3 - Non-linear equations /Métodos/3- regula falsi CHECK.sci | b7a8f4dc84300c27c86488964684ca6884a6308e | [] | no_license | jere1882/Numerical-Analysis-Assignments | 7f474e2020d010f9f9c3dceff5e48c03b0d38652 | 1074f92ca93d0a402259f92a0f61f105f25e5230 | refs/heads/master | 2021-09-06T20:00:36.411386 | 2018-02-10T18:04:38 | 2018-02-10T18:04:38 | 121,039,769 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,020 | sci | 3- regula falsi CHECK.sci | function y=fea(x)
y=(%e)^x+2 - x^3
endfunction
//REGULA FALSI: Combinación del método de la secante y el método de la bisección
function c=reg_falsi(f,a,b,delta,epsilon,maxit)
// f función
// a y b aproximaciones iniciales tales que f(a)f(b)<0
// maxit: cantidad máxima de iteraciones permitida
/... |
ca9c60990a6d59d338a906edc3368c80ec6cd6c8 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/ChanFlow_V8P7_Avg.tst | 4db4aeac99138d0013a38c0430f54197c2da0947 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 876 | tst | ChanFlow_V8P7_Avg.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Channel Flow Vel P=8 Pre P=7 dumping average field </description>
<executable>IncNavierStokesSolver</executable>
<parameters>ChanFlow_V8P7_Avg.xml</parameters>
<files>
<file description="Session File">ChanFlow_V8P7_Avg.xml</file>
</f... |
c09de016a81c35a141cc415f8789d0e15a41af92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH3/EX3.15/Ex3_15.sce | b790f9ddd5bc99881f5bc9149ef843eee6f250a0 | [] | 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 | 254 | sce | Ex3_15.sce | clc;
//ex3.15
IL=0.02; //Ampere
t=[0.0167 0.00833]; //seceond
c=0.0005; // Farad
Vr1=(IL*t(1,1))/c; //peakvolt
Vr2=(IL*t(1,2))/c; //peakvolt
disp('mVpp',Vr1*1000,"Vr1=");
disp('mVpp',Vr2*1000,"Vr2="); ////The answers vary due to round off error
|
2fc85db411df120bb75e68649e2e192b2420d253 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH18/EX18.7/18_7.sce | 86d816a46e5bd54c35ae771828e137b9043183e3 | [] | 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 | 792 | sce | 18_7.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 18.7
//calculation of the size of the image of an object placed at a distance from the spherical concave surface
//given data
u=-40; //object distance(in cm)
R=-20; //radius of curvature of the spherical concave surfa... |
02d6fece1d828fd2e37970ba82f24df7b28ff42c | fd4b1f9f2f7fc4cac772482125a749e51c444ca1 | /Metodo del descenso y potencia.sci | 38fc2439a7620eba057b71ce0ebe55a8880e8c23 | [] | no_license | barufa/Metodos_Numericos | db0cb98dbf81654ec14f73cb34b84ba7c98ac52a | 012d08e8de6e971a38a32c9768f463ca58a07839 | refs/heads/master | 2020-03-15T22:49:33.054047 | 2018-09-03T13:18:24 | 2018-09-03T13:18:24 | 132,380,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,080 | sci | Metodo del descenso y potencia.sci | function x = descenso(A,b,x0,iter,e)
i=1
x=x0'
x0=x
v=b'-A*x
t=(v'*v)/(v'*(A*v))
x=x+t*v
while i<=iter & (norm(x-x0,'inf'))>=e
x0=x
v=b'-A*x
t=(v'*v)/(v'*(A*v))
x=x+t*v
i=i+1
end
endfunction
function [v,r] = potencia(A,v,iter,e)
k=1
v=v'
... |
9050362e40d680307d29f1b0a340ca666089ed17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH14/EX14.14/Ex14_14.sce | 8b5decc0fc9e13ea456fbbd9f506886cdf3d06a4 | [] | 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,140 | sce | Ex14_14.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 2 : AC Circuits
// Chapter 14 : Frequency Response
// Example 14 - 14
clear; clc; close;
//
// Given data
L1 = 1.8480;
L2 = 0.7650;
C1 = 0.7650;
C2 ... |
a3fa544f91d1dd8445b15b95f35c9ef99b063894 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH6/EX6.10/Ex6_10.sce | 7811498203881cc6fea477393ba6c75e07e6d118 | [] | 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 | Ex6_10.sce | //Chapter-6,Example 6_10,Page 6-30
clc()
//Given Values:
B=2.5 //Magnetic field in tesla
u0=4*%pi*10^-7 //Permeability in free space
i0=0.7 //current in the core
ri=11*10^-2 //inner radii of core
ro=12*10^-2 //outer radii of core
//Calculations:
r=(ri+ro)/2 ... |
99f9e5294b774f36fb64d4df2d82b282fac46a4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH6/EX6.6/Ex6_6.sce | fe3a60be03b84b415fc0bb49374916680b63cc83 | [] | 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 | 338 | sce | Ex6_6.sce | clear;
clc;
//Example 6.6
Vtn=0.8;
Kn=1;//(mA/V^2)
Idq=0.5;
Vdd=5;
Rd=7;//(Kohm)
Vgsq=sqrt(Idq/Kn)+Vtn;
printf('\nVgsq=%.2f V\n',Vgsq)
Vs=-Vgsq
Vdsq=Vdd-Idq*Rd-Vs;
printf('\nVdsq=%.2f V\n',Vdsq)
g_m=2*Kn*(Vgsq-Vtn);
printf('\ntransconductance=%.3f mA/V\n',g_m)
Av=-g_m*Rd;
printf('\nsmall signal voltage ... |
9bc54b9838b23b0012ca9ffeb173c8ac00a26842 | 872b5ff8852c926ca1261037de07449db7ac51db | /area-02/vandermonde-interpolacao.sce | 8704693679b025dab9299160fe90cf583dcaa3a7 | [] | no_license | BerdaSantos/numeric-calculus | 20e4c50d9f66f8582e89533a5101f597df6665ec | 0698409e7fa4158d6f7dd7e4d60f8a38538b3335 | refs/heads/master | 2020-05-14T18:07:02.017600 | 2018-11-23T01:50:38 | 2018-11-23T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 759 | sce | vandermonde-interpolacao.sce | clear
x=[2 3]' // 4 pontos -> curva com 4-1 pontos (tinha 4 pontos, botei 2 do meio pq pediu)
y=[7 10]'
n=length(x); // size(x,1)
plot(x,y,'ro-'),xgrid // Faz grafico dos pontos
// Monta a matriz de Vandermonde
for i=1:n
for j=1:n
V(i,j)= x(i)^(j-1);
end
end
// a: coefiecientes do polinomio que da for... |
83195505bba5b69c075c3cc3fcf2619bf2d36a79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH4/EX4.4/4_4.sce | 42167a9cc20551511734a3c077837c20ce623479 | [] | 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 | 4,300 | sce | 4_4.sce | clear;
clc;
// Illustration 4.4
// Page: 237
printf('Illustration 4.4 - Page: 237\n\n');
// solution
//*****Data*****//
// a-ethanol b- gas(CO2 rich vapor) c-liquid water
P = 110; // [kPa]
T = 303; // [K]
R = 8.314;
Vb = 180; // [kmole/h]
xab = 0.02; // [molar composition of ethanol in gas]
Vc ... |
acc6f5a9e2f13550900fdb4ddd82cec840fc05b5 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2hp/test_11.sce | 04881f68755d0cbc3e56515cdbfc583ce83037c4 | [] | 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 | 269 | sce | test_11.sce | // Test # 11 : Valid input test case #1
exec('./allpasslp2hp.sci',-1);
[n,d]=allpasslp2hp(0.3,0.6);
disp(d);
disp(n);
//
//Scilab Output
//d= 1 -0.1755705
//n= 0.1755705 -1
//Matlab Output
//d = 1.0000 -0.1756
//n = 0.1756 -1.0000
|
206df337d719fdeaa700b4c4e8a5125047e3bb5f | 634af5304c38dcb1f46551b3af0cd17d9538279f | /aula1/a1e4-histograma.sce | 9927f0501a8369bc72c2df865f1bf449da343329 | [] | no_license | taiaraujo/Processos_Estoc-sticos | 3b35ab57321d08047621f7045ae62a5c937a3346 | 85677fe2d055ed621d399c64cec14eb6ec1875de | refs/heads/master | 2021-04-28T03:06:13.349687 | 2018-02-19T23:07:28 | 2018-02-19T23:07:28 | 122,131,723 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | a1e4-histograma.sce | //histograma
clear
n = 10;
U = rand(1,n); //distribuição uniforme
X = zeros(1,n);
for
i=1:n
if U(i)<0.5
X(i) = 1;
end
end
barrasU = 10;
barrasX = 2;
[NU,Uhist] = histc(barrasU, U);
[NX,Xhist] = histc(barrasX, X);
figure
subplot(2,1,1)
histplot(barrasU, U)
subplot(2,1,2)
histplot(b... |
ed9635cc22e2dbce4cbbbe009f669136c4cc1d64 | beca18778f40d44e713160c5b0e8136d8a92cad8 | /scilab/cross.sci | 1968c9a5e7d31ed672be614967ad46369308f256 | [] | no_license | thomasantony/enjomitch-orbiter | 9542df3dfc83ce0a6cf06ec78dca91b4c1a0babf | 83967b7bf8f8c49d1e90f7b904846e66d1ad6e37 | refs/heads/master | 2022-12-02T07:47:03.976695 | 2020-03-22T13:54:57 | 2020-03-22T13:54:57 | 286,159,679 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sci | cross.sci | function v=cross(a,b)
// Produit vectoriel entre a et b
v=[a(2)*b(3)-b(2)*a(3);a(3)*b(1)-b(3)*a(1);a(1)*b(2)-b(1)*a(2)];
s=size(a);
// On remet le vecteur initial à la forme du vecteur a
v=matrix(v,s(1),s(2));
endfunction
|
ac689ab4f70dd5fc3637f44485024e7865673209 | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /src/asserVisu/interactionMatrix.sci | 6b4a898d75435264944319401b8b21208b4f374c | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,768 | sci | interactionMatrix.sci | //---------------------------------------//
// compute the interaction matrix
// associated to a point
// and for a 6ddl control
// Typically, a free 6ddl camera
// author : Claire Dune
// date : decembre 2009
//---------------------------------------//
function L = matIntPoint6ddl(x,y,Z)
// compute the interaction mat... |
11ca33886f98a53acad55099e3cd24ac8857f4e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH6/EX6.16/P6_16.sce | 4533012f1072e37118742caaadc0a5120c842fd6 | [] | 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 | 508 | sce | P6_16.sce | //EXAMPLE 6.16
//Partial fraction expansion
clc;
clear;
z=%z;
num = z^3;
den = 18*z^3 + 3*z^2 - 4*z - 1;
elts=factors(den);
disp(elts,'the factors are :') ;
func = num/den;
//the partial fraction gives:
p1 = horner((1/(1+0.3333333/z)^2),0.5);
disp(p1,'p1 = ');
p2 = horner(1/((1-0.5/z)),-0.3333333);
disp(p2,'p2 = ');
p... |
5374e44812184fac637e985d2b39a2fecdaabb8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH12/EX12.5/Ex12_5.sce | 93c09f621c9c8984e036c4306e083be33ab0e882 | [] | 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 | 2,901 | sce | Ex12_5.sce | //Fluid Systems - By Shiv Kumar
//Chapter 12- Reciprocating Pumps
//Example 12.5
//To Determine the Pressure Head on Piston at Begining, Middle and End of Suction Stroke.
clc
clear
//Given Data:-
L=150; //Length of Stroke, mm
l_s=7; //Length of Suction Pipe, m
d... |
b20f1090c07241c988b8e1c13098de1d84bf0a69 | a5e2e29746cbbbfd0c0bd14cc542cd3ba2bf7d3f | /Sem2_Mathe/3D-Graphics/3D_2_schaubild_fxy.sce | 90d42384659f2b3c673cc798d9ca90e084e49777 | [] | no_license | DonnyAwesome/UNI | 99580eabc0ff200eeecb72d866313b89cd28d0cb | c028434b672ae1962c2074fc249012d68a63db2b | refs/heads/master | 2020-04-02T13:05:02.067280 | 2019-02-14T02:14:06 | 2019-02-14T02:14:06 | 154,466,384 | 0 | 0 | null | 2018-10-24T08:33:10 | 2018-10-24T08:33:10 | null | UTF-8 | Scilab | false | false | 386 | sce | 3D_2_schaubild_fxy.sce | //2. Schubild von f(x,y)
clf()
x = -2:0.05:2;
y = 0:.05:4;
//x = linspace(-2, 2);
//y = linspace(0, 4);
[X, Y] = meshgrid(x, y)
F = X.^2 + Y.^2;
surf(X, Y, F);
//Achsenbeschriftung
a = gca(); //
a.font_size = 2; //Schriftgröße für x,y,z scala
xlabel('x-Achse', 'fontsize', 5)
ylabe... |
878986c1772564708deb88be2089bc5d16e56194 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH15/EX15.8/Ex15_8.sce | d9c07b2a4619d9310bb4eb2cae07377dc4ffecb7 | [] | 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,719 | sce | Ex15_8.sce | //Variable declaration:
uC = 3.7*10**-4 //Viscosity of benzene (lb/ft.s)
uH = 2.05*10**-4 //Viscosity of water @200 . (lb/ft.s)
u2 = 2.16*10**-4 //Viscosity of water @192 . (lb/ft.s)
pC = 54.8 //Dens... |
b089b9c5cf9abf6ccc2f8b27a9ee00051fcc9f2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH8/EX8.15/Example_8_15.sce | 41336e333faffcd0e60689c387ea5f0e9ceedabb | [] | 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 | 579 | sce | Example_8_15.sce | //Example 8.15
clear;
clc;
//Given
T=298;//temperature in K
R=8.314;//gas constant in J K^-1 mol^-1
delGfoH2Ol=-237.2;//standard enthalpy of formation of water in kJ mol^-1
pH2O=23.7;//vapour pressure of water in mm Hg
P=760;//standard pressure in mm Hg
//To determine delGfoH2Og
Kp=pH2O/P;//equillibrium c... |
cfeb430877bf0dc9b3c660d665f4d04cdeb03d79 | a2919a91aa01a261d8f362383439831d8f774a16 | /Phase1_functions/function_final/warpaffine/builder_gateway_cpp.sce | 776043a24d841e458d01025916b38792bd641738 | [] | no_license | priyanka1111/Scilab-Image-Processing-Toolbox-using-OpenCV | d673451a979dee4ae67d23aa51c42aaa5a34c951 | d9d4ef736e88d172796aa59e113f5a6c9380f3f2 | refs/heads/master | 2020-12-30T11:15:31.975435 | 2020-10-03T09:30:19 | 2020-10-03T09:30:19 | 38,579,256 | 0 | 0 | null | 2020-10-02T04:49:55 | 2015-07-05T18:26:04 | C++ | UTF-8 | Scilab | false | false | 575 | sce | builder_gateway_cpp.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
function builder_gw_cpp()
copyfile("../common.h",TMPDIR);
copyfile("../common.cpp",TMPDIR);
WITHOUT_AUTO_PUTLHSVAR = %t;
tbx_build_gateway("skeleton_cpp3451", ..
["warpaffine","warpaffine"], ..
["warpaffine.cpp"], ..
get_a... |
59197a56af6d99549dcf0914a09fd207ad09ea78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH10/EX10.2/Example10_2.sce | 0c6437691aa33aa03621fd7882bdf8ee3f422c8a | [] | 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 | 255 | sce | Example10_2.sce | //Exa 10.2
clc;
clear;
close;
//Given data :
W=680;//kg/km
L=260;//m
U_strength=3100;//kg
SF=2;//safety factor
Clearance=10;//m
T=U_strength/SF;//kg
w=W/1000;//kg
S=w*L^2/(8*T);//,m
h=Clearance+S;//m
disp(h,"Height above the ground(m) :");
|
41eadad1823a2451016d0009486f0987dba0cb17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH6/EX6.4/Example6_4.sce | 27afe507053823a3b5cc5fa396a950ef014ff114 | [] | 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 | 239 | sce | Example6_4.sce | //Example 6.4
clc;
clear;
close;
format('v',5);
//Given data :
Q=180/62;//litres/sec
Q=Q/1000;//cumec
Dc=25/1000;//m
H=1.9;//m
ac=%pi/4*Dc^2;//m^2
g=9.81;//constant
Cv=Q/sqrt(2*g*H)/ac;
disp(Cv,"Coefficient of velocity : ");
|
292d14fc00ce97b7f8e2cede1d0301ee03865fb0 | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map2102.sce | 440a476cfdde6e3cab3d3545bea62f662abac921 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 3,507 | sce | map2102.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map2102" Width="13" Height="15" CellSize="40" BackgroundSize="1" Background="13plus.png">
<Cell Name="木箱" X="4" Y="1" />
<Cell Name="树" X="5" Y="1" />
<Cell Name="仓鼠-bt" X="8" Y="1" arg0="44" />
<Cell Name="丛林图腾2" X="9" Y="1" />
<Cell Name="出生点" X="1" Y="... |
b2335b315ce003b76c04679d2fe1507bf0851e4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.33/Chapter1_Example33.sce | dd100c50b8dd12a44e48d6857738542945259660 | [] | 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 | 843 | sce | Chapter1_Example33.sce | //Chapter-1, Example 1.21, Page 1.49
//=============================================================================
clc
clear
clc
clear
//INPUT DATA
N1=1500;//Initial speed in rpm
N2=1200;//Final speed in rpm
Ia1=30;//Initial armature current in A
V=300;//Terminal voltage in V
Ra1=0.5;//Initial armature r... |
43c9f233fe89a9fb22dee3e51a5cac030760d35b | 52cbfb547384bc9612dc59f5280971ed5a701a9d | /Continuous Exponential Signal.sce | 0d728b49b04813e4d5cdfae4007f45e561aa251b | [] | no_license | allenbenny419/Scilab-Codes | efa5402bea6d03088f77dafcf9ed87bd1f93e915 | 48109cd70c8a66a56e87f88152e866565dd52362 | refs/heads/main | 2023-06-23T21:10:24.227426 | 2021-07-21T11:09:15 | 2021-07-21T11:09:15 | 388,086,261 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sce | Continuous Exponential Signal.sce | function y=f(x)
y=exp(x)
endfunction
x=linspace(0,6)
plot(x,f)
xlabel('t')
ylabel('y')
xtitle('Continuous Exponential Signal')
|
064ba1e662670eb8d79ad345b5a5f05707997d6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH12/EX12.12/Ex12_12.sce | 473dabb7232d8b11c59673810ad19847505ee13f | [] | 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,572 | sce | Ex12_12.sce | clc
// From table
h1 = 2792.2 // Enthalpy at state 1 in kJ/kg
h4 = 122.96// Enthalpy at state 4 in kJ/kg
hb = 254.88 // Enthalpy at state b in kJ/kg
hc = 29.98// Enthalpy at state c in kJ/kg
ha = 355.98 // Enthalpy at state a in kJ/kg
hd = hc // Isenthalpic process
h2 = 1949.27 // // Enthalpy at state 2 i... |
cd76cd5016f01186d33051cc612449ede9268291 | eec0cb8a9a3987d4e28fc22c89750a158a00ea84 | /Assignment5_Team8/logicalop.tst | e48b573ca6cc413e8259dfc238e5dba3e86ddee5 | [] | no_license | Archaic-Mage/CS2310_LAB_Assignments | 8ac90e0123de95f5cf8db709cd7761962bf8cef2 | e922b59fc1350db3f23b07b8f5986ac54f197c8d | refs/heads/main | 2023-08-29T23:42:07.913682 | 2021-11-16T14:00:05 | 2021-11-16T14:00:05 | 401,640,543 | 1 | 1 | null | 2021-10-01T05:55:36 | 2021-08-31T09:10:15 | Scilab | UTF-8 | Scilab | false | false | 637 | tst | logicalop.tst | //TEST CASES FOR LOGICAL OPERATIONS(NOP,AND,OR,XOR)
load ALU.hdl;
output-file logicalop.out,
compare-to logicalop.cmp,
output-list x%B1.8.1 y%B1.8.1 z%B1.8.1 OF%B3.1.3 EQ%B3.1.3;
//1 pair of operand with X not equal to Y for NOP
set x 12,
set y 24,
set c %B000,
eval,
output;
//1 pair of operand with X e... |
1238420415428756cd2acb64792d71c401451a7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH12/EX12.1/Example_12_1.sci | d5d77a416f8d497a1474ad32fe15a7e195bacaf1 | [] | 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,027 | sci | Example_12_1.sci | clear;
clc;
printf("\n Example 12.1");
//Overall liquid transfer coefficient KLa = 0.003 kmol/s.m^3(kmol/m^3)
//(1/KLa)=(1/kLa)+(1/HkGa)
// let (KLa)=x
x = 0.003;
overall = 1/x;
//For the absorption of a moderately soluble gas it is reasonable to assume that the liquid and gas phase resistances are of the s... |
977e9922dc4dbece155a5e08625f85561dc2458d | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH2/EX2.5/2_5.sce | 78946b5c9a5c4f3cdfb08ca522d3b99c94f9d238 | [] | 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 | 317 | sce | 2_5.sce | pathname=get_absolute_file_path('2_5.sce')
filename=pathname+filesep()+'2_5data.sci'
exec(filename)
function[unit]=Conversion(SI)
unit=(9.8*(0.3048)^2)*(SI)/4.448;
endfunction
disp("1lb/ft^2=(9.8*(0.3048)^2)*/4.448)kgf/m^2")
disp(Conversion(280.8),"wing loading in lb/ft^2 for F-117A stealth fighter"); |
f37fbb1926a555d552376c34144ef4c801c75b2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /269/CH1/EX1.1/ex.sce | 2d6cdd030278930bcdcdaeee4edb7f0d6de9b768 | [] | 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 | 487 | sce | ex.sce | disp("example1.1")
printf("\n")
disp("given")
printf("\n")
disp("C=C0(1-coswt)")
disp("angular frequency=500rad/sec")
w=500;
t=0:0.001:0.015
disp("initial capacitance=1 micro farad")
disp("i=d(CV)/dt")
disp("supply voltage=3V")
C0=1*(10^-6)
C=C0*(1-cos(w*t))
V=3;
i= w*C0*V*sin(w*t)//differentiating CV wrt... |
43c38fc5ed910696d5913f673cd33d62de79d4da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH1/EX1.8/Ex1_8.sce | fa542d8f7a9218db01435fe0652e8587e1146f11 | [] | 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 | 597 | sce | Ex1_8.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 1,Example 8")
d=15*10^-2;//diameter of cylinder in m
h=12*10^-2;//manometer height difference in m of mercury
rho=13.6*10^3;//density of mercury in kg/m^3
g=9.8... |
f3d3ef761677bcaaaef9ad145f619cd6954a678f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH20/EX20.5/20_5.sce | 84c245260f8c183be9fdb7fc751a6d6e1017dd2e | [] | 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 | 160 | sce | 20_5.sce | clc
//initialisation of variables
clear
W= [0 2000 4000 6000 8000 10000 12000 14000]
V= [4 3.76 3.48 3.18 2.86 2.48 2.02 1.47]
//CALCULATIONS
plot (V,W)
|
deb43ee6b1741ca7119367975aed5b0654af718f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/metanet/g_xnode.sci | 49795bad06bdb0cba801d56a9832233e9c44bd63 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 76 | sci | g_xnode.sci | function x=g_xnode(g)
[lhs,rhs]=argn(0), if rhs=0 then g=the_g, end
x=g(16)
|
c34298e7a9efa6d69c3c50f4e64f434152a54a1b | ab0891df3df62a84b3bc60ee178e2d84b0d692c5 | /FINAL_SUBMISSION/Geometry_Processing_Toolbox/demos/decimate_libigl.sci | dc40ae2a47c1bf675702c5b1d4fd9b4e5ac99ceb | [
"MIT"
] | permissive | sidgairo18/SCILAB_MEX_TOOLBOX | 6b36c8b5dd21bb15d942a283ebfe2366a7ac02ec | fc679f6d226c03b992b632823a5e57abea05cefa | refs/heads/master | 2020-03-19T04:03:55.721880 | 2018-08-14T11:22:24 | 2018-08-14T11:22:24 | 135,791,680 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 761 | sci | decimate_libigl.sci | % DECIMATE_LIBIGL Decimate a closed manifold mesh (V,F)
%
% [W,G] = decimate_libigl(V,F,ratio)
% [W,G,J,I] = decimate_libigl(V,F,ratio,'ParameterName',ParameterValue, ...)
%
% Inputs:
% V #V by 3 list of vertex positions
% F #F by 3 list of triangle indices into V
% ratio either a 1<number<#F of max faces, o... |
a1fff1245b5e00043eec424b927c90b87b7d95ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.17/ex2_17.sci | a68cf4ec72da25f75e47a7785d54d00929bef90e | [] | 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 | 296 | sci | ex2_17.sci | //Chapter 2,Ex2.16,Pg2.24
clc;
disp("Refer to the diagram shown in the figure")
a=[15 -10 -5;0 1 -1;-15 12 6]
b=[50;2;0]
i=a\b
printf("\n I1 = %.0f A\n",i(1))
printf("\n I2 = %.2f A\n",i(2))
printf("\ I3=%.2f A\n",i(3))
printf("\n Current through 5 ohms resistor = %.1f A\n",i(1)-i(3))
|
6dd3c7c332de3e2e2fa8ec1e4f57fd2b4ad11928 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.12/12.sce | a5563782d0971fd1a4c8780a43440c37606dcf10 | [] | 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 | 396 | sce | 12.sce | //hex to binary,octal and decimal conversion//
//example 12//
clc
//clears the command window//
clear
//clears//
//decimal conversion//
x='100'
d=hex2dec(x);//hex to decimal conversion//
b=dec2bin(d);//decimal to binary conversion//
o=dec2oct(d);//decimal to octal conversion//
disp(d);//answer in decimal for... |
d4aa7fa125e61f381719babc7318d72384d40bdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH14/EX14.5/ex14_5.sce | aa64da71f605cdaff8e6176fa25107ecc8e2a5ba | [] | 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 | 728 | sce | ex14_5.sce | clc;
p=101.325; // Atmospheric pressure in kPa
// The complete combustion equation for actane
// yC8H18+ x (O2+3.76N2) → n1 CO2+n2 H2O+n3 O2+n3 N2
x=12.5*1.5; y=1;
n1=8; n2=9; n3=6.28; n4=70.5;
n=n1+n2+n3+n4; // Total number of moles of the products
AFm=(x+x*3.76)/y ;// Air fuel ratio
m=28.84;
M=116; // Mole... |
cb16c3d055aaaf10efb8b6069bec4a21c0bb1d79 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/FURIA-C/results/FURIA-C.abalone-10-1tra/result8s0.tst | 8109b3927cfaf3ad9ef69a7413618fba603f337a | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,428 | tst | result8s0.tst | @relation abalone
@attribute Sex{M,F,I}
@attribute Length real[0.075,0.815]
@attribute Diameter real[0.055,0.65]
@attribute Height real[0.0,1.13]
@attribute Whole_weight real[0.002,2.8255]
@attribute Shucked_weight real[0.001,1.488]
@attribute Viscera_weight real[5.0E-4,0.76]
@attribute Shell_weight real[0.0015,1.005]... |
1d6616cda1c3d54af1df2b7e96a18dcfb6bf83a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH1/EX1.2/ex1_2.sce | fb3b6644c850b98e441172d5ae6642fcafdedc61 | [] | 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 | 482 | sce | ex1_2.sce | clc;
warning("off");
printf("\n\n example1.2 - pg9");
// given
// the three unknowns are x,y,z
// the three equations are-
// x+y+z=1500
// (1) 0.05*x+0.15*y+0.40*z=1500*0.25
// (2) 0.95*x+0.00*y+0.452*z=1500*0.50
a=[1 1 1;0.05 0.15 0.40;0.95 0 0.452];
d=[1500;1500*0.25;1500*0.50];
ainv=inv(a);
sol=ainv*d;
... |
8201afccc0c42c99e3fbc7a9ee78b193ec464cab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH5/EX5.3/ex5_3.sce | 112ee0c4780ac365235632d0234781c8d50e53bf | [] | 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 | 205 | sce | ex5_3.sce | clc;
F=2000; //force in lb
s=80; //distance inft
W=F*s; //calculating weight
disp(W,"Weight in ft.lb = "); //displaying result
disp(W,"Potential Energy in ft.lb = "); //displaying result |
4ac2926578fab9f0e74e9935104a24ba9e5bd127 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH2/EX2.2/2_2.sce | c10d42868fafbc1f8a9c050f38a3c1301d945982 | [] | 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 | 158 | sce | 2_2.sce | clc
//initialisation of variables
F= 1 //Pouunda
m= 1 //lbm
g= 1 //fts^-2
//CALCULATIONS
gc= m*g/F
//RESULTS
printf ('gc= %.2f lbm ft/poundal^2',gc)
|
9279205c9513464bbf3c746de04676a4d2585d68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH7/EX7.3/Chapter73.sce | 23bd9b11644cf0ec6d6445bdb9e006e2c761ac6c | [] | 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,960 | sce | Chapter73.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 7, Example 3")
//Air at a pressure of 101kPa and temprature,Tinf=20°C flows with a velocity(Uinf) of 5m/s over a flat plate whose temprature is kept constant at Tw... |
a1c9ccdf101f75ce3a8fc5017d91ec8997518b23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH6/EX6.4/Ex6_4.sce | 9b1d85eb5b054a6ffa84bb4f969d14750ff07fd0 | [] | 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 | 545 | sce | Ex6_4.sce |
//e=100*sin(100*%pi*t)
//calculating rate of change of voltage at t=.0025 sec
t=.0025
r1=10000*%pi*cos(100*%pi*t)
mprintf("Rate of change of voltage at .0025 sec=%f V/sec\n",r1)
//calculating rate of change of voltage at t=.005 sec
t=.005
r2=10000*%pi*cos(100*%pi*t)
mprintf("Rate of change of voltage at .005 ... |
0c8fed804842da6e39df32a6f572fd39077f739f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH12/EX12.2/Ex12_2.sce | 4f059fa2a2bdfdd6b1c1124fb8f3b1e888d82817 | [] | 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 | 602 | sce | Ex12_2.sce | // Example 12_2
clc;funcprot(0);
// Given data
T=20;// °C
SPL=20;// Sound Pressure level in dB
// From table 1.1,
rho_0=1.204;// kg/m^3
gamma=3.5/2.5;// Specific heat ratio
// Calculation
// (a) Inverting equation 12.18,
Pa=2*10^-5*(1*10^(20/10));// Pa
// (b) From equation 12.17,
a=(gamma*1.013*10^5*rho_0... |
57ac8130bd0b124efc9e0ffe7af9ea3774eecdc4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH4/EX4.5/4_5.sce | 34a049b36e3c4ea918490bdd71bde166831b4b78 | [] | 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 | 773 | sce | 4_5.sce | //Example 4.5
//Jacobi Method
//Page no. 95
clc;close;clear;
A=[10,7,8,7;7,5,6,5;8,6,10,9;7,5,9,10];
n=4;
for k=1:14
max1=0
for i=1:n
for j=1:n
if A(i,j)>max1 & i~=j then
max1=A(i,j)
i1=i;j1=j;
end
end
end
fi=(atan((2*A(i1,j1))/(A(i1,i1)-A(j1,j1)+10^... |
2963509a303b5a0fe575f24c6324a42395c56192 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH10/EX10.1/ex_1.sce | cd7a4901b0bee34d36f007933048c5eb990a67ca | [] | 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 | 376 | sce | ex_1.sce | // Chapter 10_Fundamentals of the Metal Oxide Semiconductor Field Effect Transistor
//Caption_The two terminal MOS structure
//Ex_1//page 434
Na=10^16
T=300
eps=11.7*8.85*10^-14
e=1.6*10^-19
ni=1.5*10^10 //intrinsic carrier concentration
phi_fp=0.0259*log(Na/ni)
xdT=10^4*(4*eps*phi_fp/(e*Na))^0.5
printf('... |
89cc7d9f80f7940b6ad2100252d47f872909d6c8 | 19e7b2a92e135cbdbd427cbb0b422f1706b80d35 | /tests/FAC5861.tst | e68efc5c5b3bd756c920d55d762391934e5a1f17 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | friedkiwi/hyperion | 08106d9235c67480b609452903d7f253f7baeb5f | d0ccfbc9a74dd0a77a75ac224025fc68f6a6617f | refs/heads/master | 2023-03-16T08:26:25.222250 | 2022-01-06T23:54:32 | 2022-01-06T23:54:32 | 142,925,136 | 0 | 1 | NOASSERTION | 2021-09-12T21:15:38 | 2018-07-30T20:31:06 | C | UTF-8 | Scilab | false | false | 174 | tst | FAC5861.tst | *Testcase FAC5861: Quick Test of Misc. Instr. Ext. 2 & 3
mainsize 2
numcpu 1
sysclear
archlvl z/Arch
loadcore "$(testpath)/FAC5861.core"
runtest 1.0
*Done
|
3a420a5ae849b2717ac1cc6af1887fe5378cbf17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /555/CH3/EX3.3/3.sce | 616eb2d432c8ae3d67008fd8ad996e7a64f7566a | [] | 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 | 442 | sce | 3.sce | // Implementation of example 3.3
// Basic and Applied Thermodynamics by P.K.Nag
// page 55
clc
clear
p=101.325 // (atmospheric pressure in kN/m^2)
N=10000 // no. of revolutions
T=1.275 // (torque in Nm)
d=0.6 //(diameter in m)
l=0.8 //(distance moved in m)
w1=(2*%pi*T*N)/1000; // work done by stirring d... |
683d6bdb2671ce59712991b7e7815b33b182f583 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /scilab/LiborMarketModel/lmm_scilab.sci | 5ee4f0c74f6239045f74ffb4c5919d8d5cd55c15 | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,055 | sci | lmm_scilab.sci |
function resu=lmm_swpt_stovol_sci(period , nb_fac , swpt_mat , swp_mat , perct)
list_file=[ "lmm_swpt_stovol_sci.o", "lmm_volatility.o" , "lmm_zero_bond.o" , "lmm_stochastic_volatility.o" , "lmm_random_generator.o" , "lmm_products.o" , "lmm_numerical.o" , "lmm_mathtools.o" , "lmm_libor.o" , "premia_files/complex.o "... |
806a4d3a8d4026e996d11f34e180f3d069fa3578 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH11/EX11.1/11_1.sce | 76f4b918a8a966d1fd18df7dff4522c56216ede2 | [] | 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 | 392 | sce | 11_1.sce |
clc
//initialisation of variables
h= 75 //ft
e= 0.75
k= 0.01
Q= 3000 //gal/min
k1= 1.2
N= 1500
g= 32.2 //ft/sec^2
D= 0.836 //ft
//CALCULATIONS
W= h/e
v1= sqrt((W-h)/k)
Q1= Q/374.06
f1= Q1/(k1*D^2)
u1= %pi*D*N/60
w1= W*g/u1
B= atand(f1/(u1-w1))
//RESULTS
printf ('Diameter of impeller = %.3f ft ',D)
... |
1b4401befaa32bdff3576daa0845ae6de5562b43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH2/EX2.13/Ex2_13.sce | fafa9367eee25119eb499512bd049c7dd03e8393 | [] | 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 | 667 | sce | Ex2_13.sce | // Scilab Code Ex2.13: Page-80 (2008)
clc; clear;
x = poly(0, 'x');
y = x^2-4;
F = [x*y (x^2 + y^2)]; // Force acting on the particle, N
x1 = 2; // lower limit
x2 = 4; // upper limit
dr = [derivat(x); derivat(y);]; // Infinitesimal displacement, m
dW = F*dr; // Work done or infinitesimally small displcem... |
4d1c833e85abcae46138229a4dc56f6987564977 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH14/EX13.1/EX13_1.sce | 6db13a19291210bfbe7e4889d1ce5cf7075cace0 | [] | 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 | 485 | sce | EX13_1.sce | // Grob's Basic Electronics 11e
// Chapter No. 13
// Example No. 13_1
clc; clear;
// Make the following conversions: (a) 25,000 Mx to Wb; (b) 0.005 Wb to Mx.
// Given data
A = 25000; // A=25000 Maxwell
B = 0.005; // B=0.005 Wabers
C = 1*10^8; // Conversion Factor
Wb = A*(1/C);
... |
8982087deaee9d83eb1d1e6de74ed477c010652c | 3ab7c3ba0b53c896747be95b21d2a39dc0ba021a | /Biseccion.sci | bbda212922fad57fcbdd2c4e15280bfd705bc217 | [] | no_license | Farber98/MetodosNumericos | 0752f090eb596926f05bff0730a088eb70e77033 | 5c1be0d0e8274d204b41d0b91778847e6469e6bb | refs/heads/master | 2021-04-23T12:58:07.339435 | 2020-03-25T08:41:32 | 2020-03-25T08:41:32 | 249,926,955 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sci | Biseccion.sci | function [p]= biseccion(f,a,b,n,e) //n:cantidad de iteraciones ; e: error
i=1
p=(a+b)/2
while i<=n & abs (f(p))>e
if f(a)*f(p)>0 then
a=p;
else
b=p;
end
i=i+1
p=(a+b)/2
end
if i>n then
printf("No converge")
else
printf("Raiz: %f",p)
end... |
556ad258ac1ede0779ef69d0e3e0f74490895d24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH6/EX6.6/Example6_6.sce | 65e43cf2e3d46d6cd20cb3bf12ccb369ca5d12cf | [] | 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 | 486 | sce | Example6_6.sce | //Example 6.6
//Program to calculate the external power efficiency of the device
clear;
clc ;
close ;
//Given data
eeta_t=0.18; //*100 percent - TOTAL EFFICIENCY
Eg=1.43; //eV - ENERGY BAND GAP OF GaAs
V=2.5; //Volts - APPLIED VOLTAGE
//External power efficiency of t... |
d4fb01b30a89c4bca83ab71b6944be8cd875cc32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH3/EX3.8/Ex3_8.sce | 6f40f4418c887ae0f79ddc7b6cf1d349aa4a16a9 | [] | 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 | 474 | sce | Ex3_8.sce | //Chapter 3: Thermodynamic and Chemical Equilibrium
//Problem: 8
clc;
//Declaration of Constant
R = 1.987 // cal per K per mol
//Declaration of Variables
m = 5
Vo = 4 //in litres, Initial Volume
Vf = 40 //in litres, Final Volume
T = 27 //in de... |
4cc2e9c479278784c9d0c39968b970650dcd55fd | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /FortBox Tracking.sce | 88694add387b19fec1311fce4c82c22ca1a6eaa5 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22,937 | sce | FortBox Tracking.sce | Name=FortBox Tracking
PlayerCharacters=Player
BotCharacters=Pigeon Jumper.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Player
AddedBots=Pigeon Jumper.bot;Pigeon Jumper.bot;Pigeon Jumper.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=box_v4.map
MapScale=3.15
BlockProjectileP... |
5a24cc0666bf39803cbf97aa0a6aa008767b7067 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH6/EX6.1/61.sce | 647b40b9a8479ae6042928fd9e8669528b771a4d | [] | 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 | 182 | sce | 61.sce | // problem 6.1
Rn=1700
v=0.744*(10^-4)
d=0.05
V=(Rn*v)/d
Vmax=2*V
x=0.00625
r=(d/2)-x
V1=Vmax*(1-(2*r/d)^2)
disp(V1,"velocity at the point 6.25 mm from the wall in m/sec")
|
9940b08784b41a846b75479706ac7318efb806e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH1/EX1.3/1_3.sce | 227d46298853b63ec905d19a7d90cd688f6e0ac3 | [] | 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 | 447 | sce | 1_3.sce | //clc();
clear;
// To determine the slit seperation in Young's double slit experiment
lambda=5100*10^(-8); //A source of light in centimetres
D=200; // Seperation between screen and slit in centimetres
beeta=0.01; // Overall seperation from double slit in metres
d=(lambda*D)/beeta;
... |
2ee619ae59fd6a9d45dfde4a5bc21cdea2b1c0d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH7/EX7.5.a/Ex_7_5_a.sce | 7f57833c39cd66e2ccab1b3b73e7678b02cd5990 | [] | 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 | 146 | sce | Ex_7_5_a.sce | // Example 7.5.a //photocurrent
clc;
clear;
close;
R=0.85;//in AW^-1
pi=1.5;//in mW
po=1;//in mW
ip=po*R;//in mA
disp(ip,"photocurrent in mA is")
|
8f9e727b740c84c0d9de5f965c1043f3c424d064 | ee3626ca13823b55caeb86e78fe258aad67d85e9 | /scenes/toon_faces/toon_faces.sce | 76a5c4ecd6d1f1db9ead7af83ca7a2d25721d53d | [] | no_license | Maleedo/ComputerGraphics | ea334e6a16520706e7934e61b2224e866b6f62dc | 8e7bab0824676a67c1ea2faabddf128bbe9ef63c | refs/heads/master | 2020-09-04T18:04:41.768905 | 2020-01-31T19:44:14 | 2020-01-31T19:44:14 | 219,843,157 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 907 | sce | toon_faces.sce | # camera: eye-point, look-at-point, up, fovy, width, height
camera 0 16 50 0 12 -1 0 1 0 30 600 300
# recursion depth
depth 1
# background color
background 0.5 0.7 1.0
# global ambient light
ambience 0.2 0.2 0.2
# light: position and color
light 5 20 0 1.0 1.0 1.0 25
# meshes: filename, shading, material (... |
b090084751694d8ad7c5cdfa3fd2683ea092d8d9 | a439c420539294c6e178cc89c43c4231246f9cbe | /Scripts/21. Signal/convol&corr/convol.sce | 819abbe1c7251fee36dca4dbfb837997c1659b84 | [] | no_license | PirateKing19902016/Scilab-Spoken-Tutorials | b7927e196acbefa47abdbdeb326d37385d5cbc34 | a110fc425c123f7041cb9ee8eca42ce08619ae60 | refs/heads/master | 2021-05-02T06:14:37.089440 | 2018-02-09T16:23:27 | 2018-02-09T16:23:27 | 120,855,481 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | convol.sce | //Linear Convolution
n=1:4
x=[1,2,3,4];
h=[1,1,1];
y=convol(x,h)
subplot(311)
plot(x)
xtitle("Input Sequence [x]")
subplot(312)
plot(h)
xtitle("h")
subplot(313)
plot2d3('gnn',y)
xtitle("Convolution")
|
a5c9e040a67b96b9cb6ec6657070729d11b9b557 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH6/EX6.5/exa6_5.sce | 2119af75fbdde234ecb46b8dd75a9a568192ee35 | [] | 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 | 401 | sce | exa6_5.sce | // Example 6_5
// Root locus of system in state space
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "/<your code directory>/";
exec("rootl.sci");
A = [0 1 0; 0 0 1; -160 -56 -14];
B = [0; 1; -14];
C = [1 0 0];
D = [0];
G = syslin('c',A,B,C,D);
H = clean(ss2tf(G));
disp(H,' transfer f... |
8e0c5a6b4d990a21b56fa07374f4942f0b25de2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH10/EX10.2/Ex10_2.sce | 946965632577ffa0bcce3d392a751937387393c8 | [] | 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 | 599 | sce | Ex10_2.sce | //Calculate the Standard Reduction Potential for the Half reaction Fe(three positive)(aq)+3 electron =Fe(s).
//Example 10.2
clc;
clear;
v1=2; //Number of electron in first reaction
v2=1; //Number of electron in second reaction
v3=3; //Number of electron in third reaction
E1=-0.447; //Stan... |
e1db1d1b3351ad4333bb20b9096d41d56fbd232b | 4ba406c1422fd1f3462feb6c2f378b17ea9175c2 | /src/functions/dump/AbstractOrbit.tst | 754e9a3cad23e1918334386c7b4648a18fc55700 | [] | no_license | dwjohnston/geoplanets-model | 236670178c456a0537ee31cfb3ab931ea46c7edf | 06ff2b0ec83272f56ffe02b9ee38f1e169b41a51 | refs/heads/master | 2021-07-12T23:00:17.411355 | 2018-09-02T08:08:22 | 2018-09-02T08:08:22 | 144,376,835 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,091 | tst | AbstractOrbit.tst | import {
AbstractParameter
} from "../AbstractParameter";
import {
Position
} from "../../../blacksheep-geometry/lib";
import {
SimpleParameter
} from "../SimpleParameter";
export class AbstractOrbit extends AbstractParameter < Position[] > {
speed: SimpleParameter;
distance: SimpleParameter;
... |
fa3773f4c3dece16254534c866d25f8e7330dba9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH2/EX2.11/Exa2_11.sce | bae41f8fc5669001bb255b4dfe542fd8fed933e8 | [] | 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 | 517 | sce | Exa2_11.sce | //Exa 2.11
clc;
clear;
close;
//given data
ni=2.5*10^13;//in cm^-3
e=1.6*10^-19;//in coulamb
MUh=1800;//in cm^2/V-s
MUe=3800;//in cm^2/V-s
SIGMAi=ni*e*(MUe+MUh);//in (ohm-cm)^-1
GeAtoms=4.41*10^22;//in cm^-1
DonorImpurity=1/10^7;//in per Ge Atom
Nd=4.41*10^22*DonorImpurity;//in cm^-1
n=Nd;//in cm^-1
p=ni^... |
9fbfe9a4049b52b05ac89c2f1e1d4d54f94c8597 | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /test-deprecated/testFonctionCout.sce | 3e7e17d5f30aa7fafb04261b05a5dd165a0dfa35 | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,827 | sce | testFonctionCout.sce | //--------------------------------------------------//
// main program
// test the functions defined in
// src/asserVisu/predictiveControl.sci
//
// author Claire Dune
// date 28/01/2010
// Pour tester les fonctions de cout
// ;exec('testAsserVisuTous.sce');
//--------------------------------------------------//
clea... |
e5fd5c92ab995fed2672f819b25ea10174d4c100 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH4/EX4.5/eg_4_5.sce | 82073dc804e2f5ce9d166beb44d15a90659143cc | [] | 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 | 15,323 | sce | eg_4_5.sce | //f=x^y^z+wxz+xy+v^w^yz^
clc;
n=4;
k=[0 0 0 0;
1 0 1 1;
0 1 1 0;
1 1 1 0];
k(:,:,2)=[0 0 0 0;
1 0 1 1;
0 1 1 0;
0 1 1 0];
//k=[1 0 0 0;
// 0 0 0 0;
// 0 0 0 0;
// 0 0 1 0];
//k(:,:,2)=[1 0 0 0;
// 0 0 0 0;
// 0 0 0 0;
// 1 0 0 0];... |
a61d24649e656c1d8d921d2d6489e40897f1e6de | 8016059350f017142cd5cdf2df5cabf94cf3c477 | /Digital Communication/snr pcm.sce | 095d20891a4b928b4eab821f738e875b1ef9dc7c | [] | no_license | aftalam/5th-sem-labworks | 07062dc9824af810a7d7970c7907ab999fda7c52 | d3c858587369757ccbed96bc9b29e8a1fa709824 | refs/heads/master | 2022-11-11T23:58:51.147782 | 2020-07-05T18:13:59 | 2020-07-05T18:13:59 | 275,115,844 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | snr pcm.sce | //Find Signal to Noise Ratio (SNR)& Probability of Error of Pulse Code Modulation (PCM) System
clc
clear all
n = input('Enter the Number of Bits : ');
snrdb = 4.8+6*n;
print(%io(2),snrdb,'in db');
xmax = input('Enter XMAX : ');
pb = input('Enter the Input Power : ');
snr = ((pb*3*(2^2*n))/(xmax^2));
print(%io(2),snr);... |
642d19a7f87294b85cc61ea5befd239d6b6b1906 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH10/EX10.2/Example10_2.sce | 83620e1021c5b081b4b3e3689a1800fc332e2541 | [] | 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 | 377 | sce | Example10_2.sce | //Example 10.4
clc
disp("R1 = 5 k-ohm, R2 = 10 k-ohm")
disp("The IC is 7808 i.e. V_reg = +8 V")
vt=8*(3)
format(3)
disp(vt,"Therefore, V_out(in V) = V_reg*[1 + R2/R1] =")
disp("Now R2 = 1 k-ohm then,")
vo=8*(1+(1/5))
format(4)
disp(vo,"V_out(in V) = 8*[1 + 1/5] =")
disp("Thus the V_out can be varied from ... |
cf14b7bd7af9997e1501cef191534aa6ffdf7a3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH15/EX15.22/15_22.sce | f2143b83b24c2dcdea1a89fbe87387b98fca0fd3 | [] | 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 | 925 | sce | 15_22.sce | //Problem 15.22: A coil of negligible resistance and inductance 100 mH is connected in series with a capacitance of 2 μF and a resistance of 10 across a 50 V, variable frequency supply. Determine (a) the resonant frequency, (b) the current at resonance, (c) the voltages across the coil and the capacitor at resonance,... |
e872ebb6ceebbf150846f23df7a2d61de54fb52d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH1/EX1.12/Ex1_12.sce | fe5bbf2204fb84b310ce07a74570ab5e24a8b15e | [] | 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 | 697 | sce | Ex1_12.sce | //exa 1.12
clc;clear;close;
format('v',5);
//Arranging data for Load Duration Curve
//week days 5-9pm load
L1=350;//MW
t1=4*5;//hours
//week days 8-12am & 1-5pm load
L2=250;//MW
t2=t1+8*5;//hours
//saturday & sunday 5-9pm load
L3=200;//MW
t3=t2+4*2;//hours
//All days 150MW load
L4=150;//MW
t4=t3+6*5+15*2... |
865410ee5157972968aa41ffbc9e4cb31ba69395 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH12/EX12.9/12_9.sce | a2ec65b9666be7d9999613f9ea3ba638f10b7197 | [] | 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 | 528 | sce | 12_9.sce | clear;
clc;
ef=3000;
Zc=300;
ea=1700;
iF=ef/Zc
mprintf("\nCurrent in line= %d kA",iF)
Ia=((2*ef)-ea)/Zc
mprintf("\nCurrent through Arrester= %.3f kA",Ia)
Ia=round(Ia *1000)/1000
R=ea/Ia
mprintf("\nresistance of arrester= %.2f ohm",R)
er=ea-ef;
mprintf("\nSurge Voltage Reflected= %.0f kV",er)
Cr=er/ef;
... |
f683ba518ade4bc172bb8236217d6e2d419d7967 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH1/EX1.12/Exa1_12.sce | 16d780f421127e7b86bf89b9cecf7d819be776c7 | [] | 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 | Exa1_12.sce | //Exa 1.12
clc;
clear;
close;
//given data :
r=10;//in Km
Erms=10;//in mV/m
r1=20;//in Km
//Formula : Erms=sqrt(90*W)/r;//in V/m
//Let swrt(90*W)=a
a=Erms*r;
Erms1=a/r1;//in mV/m
disp(Erms1,"Field strength at 20Km distace in mV/m: "); |
6d05c09eb011572b27c5cd7276378c59f5d2f5f6 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/pchips.sci | c639ca256860bf8666fb4babdcd8e96c7a4ff5fb | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,383 | sci | pchips.sci | function d = pchips(x,y,delta)
//Piecewise Cubic Hermite Interpolating Polynomial (PCHIP)
//Parameters
// x: a vector
// y: is Y is vector then it must have the same length as x and Y is matrix then the last dimension of Y must equal
//length(X).
// delta: Points for interpolation
// d: vector of interpolantant at d... |
3dc16b0a27e6cc9ad159a8a4ed3d5516ff327d52 | ef7da921e1289d3deaaf9727db2b6f025656e8d9 | /AverageOfDiscreteSignal.sce | 8aae511ef938adc81418bd938af4206f4fe8a3b5 | [] | no_license | PrayagS/SciLab_Exercises | ea88438207f2dc5d3f211c9abfe137a4bd43f68f | 0495ba76e693750980fefb386c28209a6fd6563e | refs/heads/master | 2020-09-08T01:52:22.914681 | 2019-11-16T05:39:29 | 2019-11-16T05:39:29 | 220,977,317 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sce | AverageOfDiscreteSignal.sce | clear;
clf;
dn = 1;
n = 0 : dn : 10;
x = sin(2*%pi*(1/11)*n);
plot2d3(n, x);
y = sum(x) / 11;
disp(y); |
56087e821263694485279d6214153be6082663a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH2/EX2.26/ex2_26.sce | 1ff572853fe6e553e9539f81261e9a1d4a348021 | [] | 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 | 317 | sce | ex2_26.sce | // Example 2.26, page no-46
clear
clc
theta=27.5/2//in degrees
a=0.563*10^-9
n=1
h=1
k=1
l=1
d=a/sqrt(h^2+k^2+l^2)
printf("\nThe lattice spacing for the plane (111) is %.2f * 10^-10 m",d*10^10)
lam=2*d*sin(theta*%pi/180)/n
printf("\nThe deBroglie wavelength of the neutrons is %.3f *10^-10 m",lam*10^10)
|
8f88efc4949f2c94f954d1a210f7522e36307e97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH1/EX1.49.b/example149b.sce | a5ac9be7481d38b4266d44636d7b25183665b369 | [] | 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 | 230 | sce | example149b.sce | //Example 1.49b
//Determine whether the signal x(n)=cos(pi*n/2)cos(pi*n/4)
clc;
n=0:1/100:100
x0=cos((%pi*n/2)+(%pi*n/4))
x1=cos((%pi*n/2)-(%pi*n/4))
x=(x0+x1)/2;
plot(x);
disp('plot shows that this is a periodic signal'); |
2339672c248addc5bffac0deb3c133835964bf2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH8/EX8.13/Example8_13.sci | fab4ae0b6aba2147e70b7aea04914fcaa77b7002 | [] | 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 | 568 | sci | Example8_13.sci | //Programming Example 8.13
//simple compound interest problem
function[]=mainCI()
//read input data(including prompts)
printf("Please enter a value for the principle:(p)");
p=scanf("%f");
printf("Please Enter a value for the interest rate(r): ")
r=scanf("%f");
printf("Please Enter a v... |
5399e3c8d27aceaee8cbf0cd31ce0f146723a68a | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH5/EX5.13/5_13.sce | 0381bea777377a48603cc4fb993f43ec15870f61 | [] | 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 | 5_13.sce | clear; clc; close;
Vcc = 12;
Vbe = 0.7;
Vt = 26*(10^(-3));
Rc = 3*(10^(3));
Rf1 = 120*(10^(3));
Rf2 = 68*(10^(3));
Rf = Rf1 + Rf2;
ro = 30*(10^(3));
Beta = 140;
Ib = (Vcc-Vbe)/(Rf+Beta*Rc);
Ie = (1+Beta)*Ib;
re = Vt/Ie;
disp(re,"Value of diode resistive element(re) :");
Zb = Beta*re;
Zi = (Rf1*Zb)/... |
3a2ad3c651627279e96495ae27724ec4a7c3ce71 | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /mattrace.sci | 15d48e6ee9058a2b1c6aec42c2b608e22336de10 | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 123 | sci | mattrace.sci | //SCI2C: DEFAULT_PRECISION= FLOAT
function mattrace()
a = uint16([1,2,3;4,5,6;7,8,9]);
disp(trace(a));
endfunction
|
d3f6d1c2b10d8d419948a4d995b2b29ef9bf00fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH14/EX14.5/14_5.sce | c61c830fce91800046a035914a0c02dfee9b8c7e | [] | 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 | 263 | sce | 14_5.sce | clear; clc; close;
hfe = 120;
hie = 900;
Re = 510;
Rc = 2.2*10^(3);
re = 7.5;
A = -hfe/(hie+Re);
Beta = -Re;
Af = A/(1+Beta*A);
Avf = Af*Rc;
Av = -Rc/re;
disp(Avf,'Voltage gain with feedback = ');
disp(Av,'Voltage gain without feedback = ');
|
3912434ec77a467ab7ebd92e48cceca0430dfc94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH10/EX10.4/PoRW_Ex_10_4.sce | bfe0a23ab408ec1a129954942e170f83334a749f | [] | 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 | 212 | sce | PoRW_Ex_10_4.sce | clc
//Chapter10
//Example10.4
//Given
//b
ht=3e3,hr=5e3 // Antenna height
d=4100*(sqrt(ht)+sqrt(hr))//distance
mprintf('Max possible distance for efective point to point\n communication is %f km',d*1e-3)
|
db6c67965d537bd3579ccf0bfe9c46726d142d1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.30/2_30.sce | 1d289783155e79b4c92d6db8bddf61a38d346b16 | [] | 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 | 817 | sce | 2_30.sce |
clear;
clc;
//Example 2.30
//Given
hi=75 //[W/sq m.K)
x1=0.2 //m
x2=0.1 //[m]
x3=0.1 //[m]
T1=1943 //[K]
k1=1.25 //W/m.K
k2=0.074 ///W/m.K
k3=0.555 //W/m.K
T2=343 //K
A=1 //assume [sq m]
sigma_R=1/(hi*A)+x1/(k1*A)+x2/(k2*A)+x3/(k3*A);
//Heat loss per i sq m
Q=(T1-T2)/sigma_R //[W]
... |
e77924e3da32e97448380c64b6d6d31d4ded8e91 | e25bb3040c96f9782aab0493e05ba22f5bf50ccf | /ex6/ex6_q2_template.sce | 9247cc796992ea306bf54f1b90df726cb85142e6 | [] | no_license | gpioblink/aizu-spls-exercise | c13258d46f50ed2db7797693a097b0fb75d24eaf | 6c0b9326ba8e4b52378cfe777e82a2bfcdecc9b9 | refs/heads/master | 2022-09-14T06:09:44.774157 | 2020-05-31T07:43:26 | 2020-05-31T07:43:26 | 263,856,972 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 772 | sce | ex6_q2_template.sce | // EXERCISE 6 - QUESTION 2
// Change values of p and q to (2, 4), (5, 5) or (5, 10)
p = 2;
q = 4;
// Define some parameters
a = 0.1; // a(k)=0.1
b = 0.4; // b(k)=0.4
omega = -%pi:2*%pi/100:%pi; // omega=[-pi:pi]
// Initialize B(e^jw) and A(e^jw)
B = zeros(1,length(omega));
A = zeros(1,length(omega));
... |
77d30d09a240ac20660e880d2f846077f4a72421 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH20/EX20.2/Example20_2.sce | 3ce1cd6b3674e8d4dcc13112cc679b3d6e782d16 | [] | 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 | 132 | sce | Example20_2.sce | //Example 20.2.
clc
format(6)
sr=20/(4) // in V/us
disp(" The slew rate, SR = dVo / dt")
disp(sr," SR(in V/us) =") |
b05b35f1c25fc087a6ecdcae04a3e42173fa2288 | 20f46832ae88a89a38f61087f5c7b9be092760cf | /tspCityInput.sce | 8738f855e5e564ac70e8c41222ef513499068b4a | [] | no_license | valdron/tspscilab | beef362216b51a534e928a51a917f691cb99b846 | c148f9a1d08d246966f23bcfb2739f2faa62526d | refs/heads/master | 2020-06-11T13:57:36.005279 | 2016-12-08T20:54:27 | 2016-12-08T20:54:27 | 75,650,403 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 927 | sce | tspCityInput.sce | clear;
exec tspGetCoordFromName.sci;
exec tspDistOnSphere.sci;
exec tspDraw.sci;
exec tspLength.sci;
exec tsp2Opt.sci;
global name dist pos;
disp "wieviele städte:"
anzahl = scanf("%d");
name = [];
for i = 1:anzahl
disp "Name der Stadt oder exit:\n"
text = scanf("%s");
if strcmp(text,'exit... |
b8fa6bf64a7cc4ed2473ae33ffa9d68c6839a69b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH8/EX8.5/Ex8_5.sce | bbb11b731d3a50d9303635ede6747e9b093b9952 | [] | 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,054 | sce | Ex8_5.sce | clc;
N=12500; // Speed in rpm
m=15; // Mass flow rate in kg/s
rp=4; // Pressure ratio
eff_c=0.75; // Isentropic efficiency
mu=0.9; // Slip factor
pi=0.3; // Flow coefficient at impeller exit
D=0.15; // Hub diameter in m
ca2=150; // Axial velocity in m/s
T01=275; // Inlet temperature in kelvin
p01=1; // Inlet... |
d23696cfdd608ffdd456b7cf1422b9483a06edf6 | 05df9394f5d45c0bddbd52e4aad8c8210e9e2743 | /Scilab/Linear_Interpolation.sce | 23013b3d456608ad9c8a49d57b000dc72732b236 | [] | no_license | pikabing/Scilab | a9fd34b70be3bd552f47fafc409bf7c88573ac7a | 87f2cc1914bfdb6c24a54960e9c49191bbd1f1ad | refs/heads/master | 2020-03-10T09:34:56.522084 | 2018-04-12T21:51:52 | 2018-04-12T21:51:52 | 129,311,712 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sce | Linear_Interpolation.sce | function[ans] = linear_interpolarion(x,x0,y0,x1,y1)
b0 = y0;
b1 = (y1 - y0) / (x1-x0);
ans = b0 + b1*(x-x0);
endfunction
|
78951ce97fd9198e18e8904645f051d5f30ad6a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH1/EX1.6/1_6.sce | 58504d63cb281ab43c6b8ed140f7d5b09d1139ad | [] | 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 | 137 | sce | 1_6.sce | clc
//initialisation of variables
V= 30 //mph
//CALCULATIONS
Vinfps= V*5280*(1/60)*(1/60)
//RESULTS
printf ('v = %.f fps',Vinfps)
|
3f016948a6ba2b83f33ea7e938acea0f498b4bc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH36/EX36.15/36_15.sce | 9be820846bae8d4c55c9afeb29f568a4cafbadd4 | [] | 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,635 | sce | 36_15.sce | //Problem 36.15: A voltage wave has an amplitude of 800 V at the fundamental frequency of 50 Hz and its nth harmonic has an amplitude 1.5% of the fundamental. The voltage is applied to a series circuit containing resistance 5 ohm, inductance 0.369 H and capacitance 0.122 μF. Resonance occurs at the nth harmonic. Determ... |
b7089d5fc764ab98a2fbc4e9dda1da9bd4197ae6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH10/EX10.5/10_5.sce | 1272fd5d8f6900c67d3023b04b576e58b1633bec | [] | 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 | 548 | sce | 10_5.sce |
clc
//initialisation of variables
pl= 122.5 // ft
Hw= 1225 //ft
g= 32.2 //ft/sec^2
Cd= 0.98
Cd1= 0.45
N= 500 //r.p.m
P= 6800 //h.p
n= 0.86
w= 62.4 //lb/ft^2
l= 5450 //ft
f= 0.005
A= 18 //ft^2
//CALCULATIONS
Ah= Hw-pl
js= Cd*sqrt(2*g*Ah)
bs= Cd1*js
D= bs*60*2/(N*2*%pi)
a= P*2*g*550*144/(n*w*js^3*... |
c086e1b38db121624996de284525cfc45be56367 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH6/EX6.10/EX6_10.sce | 2f69e7ff4ce8c5fdf9269a40d70eec430a790d4d | [] | 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,063 | sce | EX6_10.sce | //Example6.10 // To determine the range of the differential voltage gain
clc;
clear;
close;
//R1 = 1 K ohm to 25 K ohm ;
R2 = 50 ; // K ohm
R3 = 10 ; // K ohm
R4 = 10 ; // K ohm
// the output of instrumentation amplifier is given by
//Vo = (R4/R3)*(1+(2*R2/R1))*(VI@-VI1);
// the differential voltage gai... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.