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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7936b23b14fbf9fe6e9a21afc754529a7536197e | f8551f1c22ee634be672d893e6755b100f0d1994 | /ICP/decimation.sci | e5a3b9e040b3a19c95485a0445223d0e30ea1886 | [] | no_license | yanisdxw/computer-vision | ed605061a632ae0c7536007de6f83e2ff5ee1d51 | e9bd0961194f2e4290211296dbe6268ecad8f1c1 | refs/heads/master | 2021-08-23T05:30:24.864657 | 2017-12-03T17:05:35 | 2017-12-03T17:05:35 | 111,726,798 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sci | decimation.sci | function X_ech=decimation(X, k_ech)
// Fonction downsampling facteur k_ech
[n,l]=size(X)
n_ech=int(n/k_ech)
X_ech=zeros(n_ech,l);
for i = 1:n_ech
X_ech(i,:)=X(i*k_ech,:);
end
endfunction
//
//X=read('bunny.asc',-1,3);
//[n,l]=size(X)
//X_ech=decimation(X,10)
//write('bunny_ech.asc',X_ech);
//figure(1);
//clf
//para... |
e544ffd0d3737a820ce3bb51751d4e3a5ecd31d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH16/EX16.4/Ex16_4.sce | 6ed1bb05d75bf57f7aad251867725dcaebaf49c3 | [] | 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 | 162 | sce | Ex16_4.sce | clc;
//e.g 16.4
Vdc=30;
RL=600;
Rf=25;
Idc=(Vdc/RL);
disp('A',Idc*1,"Idc=");
Im=%pi*Idc;
disp('A',Im*1,"Im=");
Vin=Im*(Rf+RL);
disp('V',Vin*1,"Vin=");
|
f2a3ad880945b1e3967f5b8e3f97f1f69c6f3085 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH5/EX5.11/example_11.sce | b185c64f961f4563207577a854822512f336b5b5 | [] | 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 | 234 | sce | example_11.sce | clc
clear
printf("example 5.11 page number 192\n\n")
//to find the equilibrium temperature
R=6.92*10^5 //in km
l=14.97*10^7 //in km
Ts=6200; //in K
To=(R^2/l^2)^0.25*Ts;
printf("Equilibrium temperature = %f K",To)
|
317c723c63217edce5d087320d5d5832e93afc2e | b33a9177edaaf6bf185ef20bf87d36eada719d4f | /qtdeclarative/tests/auto/quick/qquickborderimage/data/valid2.sci | a0247818bbfcea4d614a09d64090ec22ec45f3a0 | [
"Qt-LGPL-exception-1.1",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"LGPL-3.0-only",
"GPL-3.0-only",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"GFDL-1.3-only",
"LicenseRef-scancode-digia-qt-preview",
"LicenseRef-scancode-warranty-discl... | permissive | wgnet/wds_qt | ab8c093b8c6eead9adf4057d843e00f04915d987 | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | refs/heads/master | 2021-04-02T11:07:10.181067 | 2020-06-02T10:29:03 | 2020-06-02T10:34:19 | 248,267,925 | 1 | 0 | Apache-2.0 | 2020-04-30T12:16:53 | 2020-03-18T15:20:38 | null | UTF-8 | Scilab | false | false | 140 | sci | valid2.sci | border.left: 10
border.top: 20
border.right: 30
border.bottom: 40
horizontalTileMode: "Round"
verticalTileMode: "Repeat"
source: colors.png
|
9a6a5962ff2d45474bf4c6c9e7938db52caef0c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.15/ex4_15.sce | 3ff6ac033714d12abc37e8bc3c210f114419988b | [] | 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 | 340 | sce | ex4_15.sce | // Exa 4.15
clc;
clear;
close;
// Given data
V_CC = 18;// in V
bita = 90;
R_C = 2.2 * 10^3;// in ohm
R_E = 1.8*10^3;// in ohm
R_B = 510*10^3;// in ohm
I_B = V_CC/( (bita*(R_C+R_E))+R_B );// in A
I_C = bita*I_B;// in A
disp(I_C*10^3,"The value of I_C in mA is");
V_CE = I_B*R_B;// in V
disp(V_CE,"The value ... |
ee36ed6e86746d61f63f40b152d6362c28c96602 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_P._V._Naik_710.zip/Engineering_Physics_P._V._Naik_710/CH13/EX13.6/13_6.sci | 9a9d2274d1763d89bd94e999352706a24eae79d4 | [] | 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 | 456 | sci | 13_6.sci | errcatch(-1,"stop");mode(2);;
;
//To determine the number of guided modes
NA=0.28; //numerical aperture
a=30; //core radius
lambda=0.8; //wavelength in micro meter
f=(2*%pi*a*NA)/lambda; //normalised... |
2c33ac1ca20f9dac6059a5b72559fcf98f04ba0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH12/EX12.16/Ex12_16.sce | d34f867f5471aea6a8a6983953c862db974d73af | [] | 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 | 726 | sce | Ex12_16.sce | clc;
Vgs1=-0.5
Vgs2=-5;
Gm01=0.002;
Gm02=0.006;
Vgsoff1=-2;
Vgsoff2=-8;
Gm1=Gm01*(1-(Vgs1/Vgsoff1));
Gm2=Gm02*(1-(Vgs2/Vgsoff2));
Rs=5100;
RL=20000;
rS=(Rs*RL)/(Rs+RL);
Avmin=rS/(rS+(1/Gm1));
Avmax=rS/(rS+(1/Gm2));
disp(' ',Avmax,"Avmax=")//The answers vary due to round off error
disp(' ',Avmin,"Avmin=")... |
eb6eb1f219321056960d83d5e3357420015cd3f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH24/EX24.25/Ex24_25.sce | 5582f703d9de5e9dfc76f333f7e793a44c03c419 | [] | 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,106 | sce | Ex24_25.sce | // Example 24_25
clc;funcprot(0);
//Given data
p_r=4.5;// Pressure ratio
m_a=82;// kg/min
m_f=1.4;// kg/min
W_o=200;// kW
W_c=230// kW
p_1=1;// bar
T_1=15+273;// K
T_3=765+273;// K
r_c=1.4;// The index of compression
r_e=1.34;// The index of expansion
C_pa=1;// kJ/kg.K
C_pg=1.13;// kJ/kg.K
n_m=0.98;// Me... |
3236cc8938a3ba4c5d1c5a9650b2e8e1f77d4247 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.38/ex1_38.sce | cc204ee3d2accfdf6affc5daebae2fac963f5ced | [] | 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 | 299 | sce | ex1_38.sce | //Exa:1.38
clc;
clear;
close;
V=230;//in volts
I_a=100;//in amperes
R_a=0.05;//in ohms
E_b=V-I_a*R_a;//in volts
N=870;//in rpm
T=E_b*I_a/(2*%pi*N/60);//torque developed (in N-m)
T_l=400;//in N-m
I_an=I_a*T_l/T;//in amperes
E=V+I_an*R_a;//in volts
N1=N*E/230;
disp(N1,'Speed (in rpm)=') |
62df819ba4eeb02ad8b8c26c618f355632b36849 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH7/EX7.2/EX7_2.sce | 466204c7cabed2d598f63847feb966c3455b3184 | [] | 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 | 411 | sce | EX7_2.sce | //EXAMPLE 7-2 PG NO-437-438
Z11=99+%i*99;
Z12=-%i*100;
Z21=20-%i*102.26;
Z22=90.06-%i*120;
Z1=Z11-Z12;
disp('i) Impedance (Z1) is in rectangular form = '+string (Z1) +'ohm ');
Z2=Z22-Z12;
disp('ii) Impedance (Z2) is in rectangular form = '+string (Z2) +'ohm ');
Z3=... |
f138b9a318e42a78470a7e50de0bb7f47301b81e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH3/EX3.17/Exa3_17.sce | d323a6ec06cfcb3424008605954599c2ee48d527 | [] | 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 | 270 | sce | Exa3_17.sce | //Exa:3.17
clc;
clear;
close;
V=200;//in volts
I_a=100;//in amperes
R_a=0.02;//in ohms
N1=940;//in rpm
N2=500;//in rpm
E_b1=V-(I_a*R_a);//in volts
E_b2=E_b1*N2/N1;//in volts
V_a=E_b2+(I_a*R_a);//in volts
alpha=V_a/V;
disp(alpha,'Duty Cycle Of The Chopper=') |
95ff93848da040d1b176e50b3907cdf3ce0dcd5a | 17bac8e399d9ac12fc4c3b7b96facb45fdd7cfe4 | /gaussjordon.sce | d64317f216c172fa1d0496e3789928e8c2fee0e0 | [] | no_license | macabdul9/scilab-programming | 1e404c50322e24aac861b6d91d6eb4377ac798ca | b337c0f45a5d3f6f9ef702ce59c90ea018e642ac | refs/heads/master | 2020-05-04T19:25:13.903631 | 2019-04-05T16:22:42 | 2019-04-05T16:22:42 | 179,392,441 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | gaussjordon.sce | a = [3 4 -2 2 2
4 9 -3 5 8
-2 -3 7 6 10
1 4 6 7 2];
for j=1:m-1
for z=2:m
if a(j,j)==0
t=a(j,:);a(j,:)=a(z,:);
a(z,:)=t;
end
end
for i=j+1:m
a(i,:)=a(i,:)-a(j,:)*(a(i,j)/a(j,j));
end
end
x=zeros(1,m);
for s=m:-1:1
c=0;
for k=2:m
... |
538bfa7524bd5aaf7704007ad870f402b2a1402e | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH1/EX1.11/Example1_11.sce | 8ddb5dad70010ec701a4d71ba468aea555d45183 | [] | 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 | Example1_11.sce | //Example 1.11
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
//Testing Stability of Given System
clear;
clc ;
close ;
syms n;
x =(1/2)^n
X= symsum (x,n ,0, %inf );
//Display the result in command window
disp (X,"Summation is :");
disp('Hence Summation < infinity. Given System is Stable'); |
4955a05dcdd2cc06789ade7f78f6de5a8a875357 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/AdaBoost/results/AdaBoost.NC-C.abalone-10-1tra/result2s0.tst | 0d8f483b560204f36161314e088dea708e01bd93 | [] | 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,406 | tst | result2s0.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]... |
d34e7abb5277f2c92251a86f8bf8425d8fa239d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH6/EX6.4/Example6_4.sce | 40621e5cc7a4d983e646942f9292028eafc88aa9 | [] | 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 | 348 | sce | Example6_4.sce | //chapter6,Example6_4,pg 122
sig=3.82*10^7
L=1000*12*2.54*10^-2//converting into m
r=0.4*2.54*10^-2
V=1.2
Jc=sig*(V/L)
A=3.14*(r^2)
Ic=Jc*A
P=Ic*V
printf("current density\n")
printf("Jc=%.f A/m2",Jc)
printf("\ntotal current\n")
printf("Ic=%.2f A",Ic)
printf("\npower dissipation\n"... |
582d42aa860d953cd6c322511a0d849c222c623b | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH1/EX1.8/example18.sce | 765ffa26a1b401a55800893c7c7cdaad9cc8cd8c | [] | 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 | example18.sce | //Example 1.8
//Find the power of the signal x(t)=Acos(Wot+theeta)
clc;
A=20;
Wo=(2*%pi)/4;
for i=1:50
x(i)=A*cos(Wo*i);
end
p=0;
for i=1:4
p=p+(abs(x(i)^2))/4;
end
disp(p,'The power of the given signal is ='); |
a9ec2f7a445cad4da4e20337977e7195fba21317 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Functions/function1/MLE.tst | 7882e67877adff67f82ecb0e772ff399d03da0ad | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,200 | tst | MLE.tst | INFO: Reading startup configuration from file PulsarLogOn.act_ssl_config
-- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata Aster
--
-- Copyright (c): 2016 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectua... |
2b900d2fbb28372aa4fc2179bbdd3ae75486cec8 | a56536320fd14b35e21c2b9997d8aac037da6124 | /FOCA/FOCA.sce | 878c9038439938fd4d071c38608109e0ea868190 | [] | no_license | HigorKolecha/OtimizacaoDeRedes | 97869a5d4593b2e765304a23edcb4e825883eacb | f0057b6a4d9c1f00734fecdf9ea5b4a859abf433 | refs/heads/master | 2023-05-12T12:11:43.074997 | 2021-06-04T23:44:25 | 2021-06-04T23:44:25 | 369,598,892 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23,379 | sce | FOCA.sce | //----------------------------------------------
// Algorítimo OCF responsável pela otimização na
// corrente injetada na rede distribuição.
// Projeto de Pesquisa FAPESP
// Projeto número: #2019/24128-2
// @date 01/07/2020
// @author Higor de Paula Kolecha
// @author Adolfo Blengini Neto
// @author Marcius Fabius Henr... |
4fd240305dea884d30076ffd50b4ece07f787826 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH12/EX12.5/Ch12Ex5.sce | 8245a974a2d53d6835f8f36ffa78535c22e2711a | [] | 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,296 | sce | Ch12Ex5.sce | // Scilab code Ex12.5: Pg:468 (2008)
clc;clear;
// Define function to convert degrees to degree, minute and second
function [deg, minute, second] = deg2dms(theta)
deg = floor(theta);
minute = floor((theta-deg)*60);
second = floor(((theta-deg)*60-minute)*60);
endfunction
n1 = 1.480; // Core refrac... |
2b4beed5f691e070f0f1917f288930359a429a7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH1/EX0.16/EXI_16.sce | 74c8a11e57109ba836c618cd0f19251a6163da53 | [] | 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 | 297 | sce | EXI_16.sce | // Grob's Basic Electronics 11e
// Chapter No. I
// Example No. I_16
clc; clear;
// Find the squareroot of 90*10^5. Express the answer in scientific notation.
// Given data
A = 90*10^5; // Variable 1
B = sqrt(A);
disp (B,'The squareroot of 90*10^5 is')
disp ('i.e 3.0*10^3')
|
2d6f9e611c3a37cf7805dddffbc426b021caeded | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH5/EX5.23/Ex5_23.sci | feea174846599a15fad0203974a3b4c1acb869ca | [] | 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 | 515 | sci | Ex5_23.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 5.23
clc;
clear;
s=poly(0,'s')//defines s as poly nomial variable
h=syslin('c',(48/(s*(s+2)*(s+4))))//the given transfer function assigned to variable h assume K=1
scf(... |
3530418478cf9fa7cbd8980c16fc646ae20b4224 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH8/EX8.7/Ex8_7.sce | c5d296458521b23f2e439063d2afaed3382b8370 | [] | 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 | 147 | sce | Ex8_7.sce | clc;
close();
clear();
//page no 288
//prob no. 8.7
//All frequencies in kHz
k=7;
W=1;
Bt=k*W;
printf('Minimum Bandwidth is %i kHz',Bt);
|
1dbdbf16dd20919b075587e2419943ce2ec944bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH4/EX4.12/Ch04Ex12.sce | ff5f867593e51dd569c925992fc1794e1979960f | [] | 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 | 542 | sce | Ch04Ex12.sce | // Scilab Code Ex4.12:: Page-4.23 (2009)
clc; clear;
lambda = 5893e-008; // Wavelength of light used, m
t = 0.005; // Thickness of the crystal, cm
// As for quarter wave plate, mu_diff*t = (mu_o - mu_e)*t = lambda/4, solving for mu_diff
mu_diff = lambda/(4*t); // The difference in refractive indices of rays,... |
bd2a4a059022182156643970edea510a4f496992 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH4/EX4.5/4_5.sce | 1c4b0d32bf17003f92001bf7f8cb7349afb38e48 | [] | 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 | 4_5.sce | //To Find the Moment of Inertia
clc
//Given:
m=85 //kg
h=0.1 //m
//Solution:
//Calculating the Frequency of Oscillation
n=100/145 //Hz
//Calculating the Equivalent Length of Simple Pendulum
L=(1/(2*%pi)/.69*sqrt(9.81))^2
//Calculating the Radius of Gyration
kG=sqrt((L-h)*h)
//Calculating the Moment of Inert... |
0fbbe4f6d4508b8b918c90e73a5eaf8bdcb435c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH1/EX1.1/1_1.sce | f86d5351b39b36f19e1b903ece4cc24ab0bd537d | [] | 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 | 890 | sce | 1_1.sce | //The value mentioned in the part 'c' of the question is 45MN^3 but that assumed in the solved problem is 50MN^3
clear all; clc;
disp("Ex 1_1")
disp("Part a :-")
a=10//magnitude of force 1 in mN
a1=10*10^-3//magnitude of force 1 in N
b=5//magnitude of force 2 in GN
b1=5*10^9//magnitude of force 2 in N
k1=a1*b1//answer ... |
267d430ce91890d1eaf7c79d26af11d40394b4a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH3/EX3.19/ex3_19.sce | d78bfe5d5fccb1a9c9c493d6fc5785dda7c5ddda | [] | 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 | 657 | sce | ex3_19.sce | // Exa 3.19
format('v',5);clc;clear;close;
// Given data
V1 = 100;// in V
V2 = 0;// in V
e1= 0;// in V
e2= 100;// in V
T=2;// in sec
T1 = 0;// in sec
T2 = 2;// in sec
// Slope of ramp
A= (e2-e1)/(T2-T1);// in V/sec
e= 'A*t';// in sec
Erms= sqrt(1/T*integrate('(A*t)^2','t',0,T));// in V
Eav= 1/T*integrate(... |
b6b23c476023c8f5aa8e13a262e862bc73d1ff7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH7/EX7.1/ex7_1.sce | 286a86ee0476c9698b8360f291e155339f6a58a9 | [] | 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 | ex7_1.sce | //ex7.1
V_GS_off=-4;
I_DSS=12*10^-3;
R_D=560;
V_P=-1*V_GS_off;
V_DS=V_P;
I_D=I_DSS;
V_R_D=I_D*R_D; //voltage across resistor
V_DD=V_DS+V_R_D;
disp(V_DD,'The value of V_DD required to put the device in the constant current area of operation of JFET')
|
e6210daf31ead10504e9d78cdaacf1228320abe0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.10/Ex12_10.sce | d4268d1d31a38637fefa5add0194756638e4bdfa | [] | 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 | 364 | sce | Ex12_10.sce | //Chapter 12
//page no 444
//given
clc;
clear all;
L=200; //in km
dL=1550; //in nm
R=10; //in Gb/s
Cd=17; //in ps/nm-km
w=0.1; //Assused bandwidth
Cd200=Cd*L;
printf("\n Dispersion by 200km ofc = %0.1f*10^3 ps/nm",Cd200/10^3);
TCd=w*Cd200;
printf("\n total chromat... |
a5d3f627edf604bfd35f558e769f023edf643539 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH1/EX1.13/Ex1_13.sce | 6e4d77058a83555926a12dba9edbb99876e0fd02 | [] | 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 | 361 | sce | Ex1_13.sce | // chapter 1 , Example1 13 , pg 25
V=15000//volume(in m^3)
T1=1.3//initial reverberation time(in sec)
aS=(0.165*V)/T1 //total absorption of hall (in Sabine)
T2=(0.165*V)/(aS+300)//revrberation time of hall after adding 300 chairs each having absorption of 1 Sabine
printf("Reverberation time of hall after adding 3... |
9abc1b456aa94ad8cd6e5643ef1aebf70f18cbbc | bf24e30d6ed9b0d16fe0d59f6caf6ee61aa714cd | /missionA/mission3a.sci | f563db19f95fb959eb2c36cc1ab8b9e21ef9bea3 | [
"MIT"
] | permissive | pierre-geeraert/Projet_exolife | c8d3b623f2cbcaaaf5c510c8f438da2c82980be8 | cff5ca5cb1602d1b1ef589b847536b9e61e631ee | refs/heads/master | 2021-05-03T06:30:23.099197 | 2018-02-15T14:50:01 | 2018-02-15T14:50:01 | 120,595,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sci | mission3a.sci | exec('readpbm.sci')
exec('display_gray.sci')
img = readpbm('Europa_surface.pbm');
//gray = display_gray(img);
max_gray=max(img);
disp(max_gray);
//216
colonne=512;
ligne=384;
//si point le plus blanc if img(j,i) > 200
//si point le plus noir if img(j,i) < 50
for i=1:ligne
for j=1:colonne
if img(... |
9654311037d874d66fe81d0ea4eaaeb0d43d30b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH10/EX10.3/Ex10_3.sce | 81d074e0484bacea237434e9e39127045f7c7952 | [] | 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 | 286 | sce | Ex10_3.sce | //Chapter 10 Electmotive Force
clc;
clear;
//Initialisation of Variables
E= -0.771 //v
R= 8.31 //J/mol K
T= 25 //C
F= 96500 //coloums
M= 0.02 //m
M1= 0.1 //m
//CALCULATIONS
E1= E-(R*(273+T)*2.3*log10(M/M1)/F)
//RESULTS
mprintf("Oxidation potential of copper electrode = %.2f v",E1)
|
3a99bd5bdd7413b4b0350ac945506478928f96b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH3/EX3.17/Ex3_17.sce | 6d16410a549f1d13712488d484ef9a09cca5b098 | [] | 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 | Ex3_17.sce | //Chapter-3,Example 3_17,Page 3-25
clc()
//Given Data:
n1=1.48 //R.I. of core
delta=0.055 //Realtive R.I.
lam=1*10^-6 //Wavelength of light
a=50*10^-6 //core radius
//Calculations:
//Delta=(u1-u2)/u1
n2=n1-(n1*delta) //R.I. of cladding
NA=n1*sqrt(2*delta) ... |
82c649c9fd37fbce8fb8d1cb5672313c2e6062df | 243d90b3740d65509193a3514f7389127bb3aef6 | /hopfield.sci | dd8508b38782cc7742d807f573e288f801b046a3 | [] | no_license | Dragonis/ZMSI | 35f3702b7ff9e9d76d4d11fba5825345531672ac | d5e68b4158382da20c36221b94ae7d98936337a6 | refs/heads/master | 2021-01-10T17:07:46.084244 | 2015-11-17T16:49:51 | 2015-11-17T16:49:51 | 46,361,213 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,708 | sci | hopfield.sci | function [out]=unipolar(in)
if in > 0 then
out = 1;
else
out = 0;
end
endfunction
function [out]=bipolar(in)
if in > 0 then
out = 1;
else
out = -1;
end
endfunction
function [out]=activate(in, expression, display_messages)
[rows, cols] = size(in);
if rows... |
3a2d0a3a105356f9f576cf60fc5f3e42ced8ca35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH13/EX13.20/ex13_20.sce | 8a18b3c0cde1a4ce0e8b7bac69ddd178da46ed81 | [] | 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 | ex13_20.sce | clc;
clear all;
rho = 7860;//Density of alpha-iron in Kg/m^3
M = 55.85e-3; // Atomic weight of alpha-iron in Kg
n = 2;// Number of atoms per unit cell of BCC
N = 6.022e26; // Avagadro constant
a = ((n*M)/(N*rho))^(1/3);//Lattice constant
r = ((a*sqrt(3))/4);
disp('m',r,'The atomic radius of alpha-iron is')
|
71ad4450904d5bf7e21e95dd1f1944e8143df8c0 | 6e59ec2ae423f07ce75734bdcb98d342101d5e53 | /scripts/exercice2.sci | 3529b75c40fc47f1f58a651f318ba897297fe40a | [] | no_license | BasileBr/DevoirMaison_Maths | 68051a7e6e31b20e742458ad1aca2d565e239c53 | 3d1bbb16f7f009629678663ba30929d60ddf72e4 | refs/heads/master | 2020-03-16T08:59:06.274276 | 2018-05-22T18:29:58 | 2018-05-22T18:29:58 | 132,606,254 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sci | exercice2.sci | function Calcul_Exponentielle(lambda,iteration)
esperance_expo = 1/lambda;
var_expo = 1/lambda^2;
sigma_expo = sqrt(var_expo);
Xn = []
for i=1:iteration
Xi = grand(i,1,'exp',esperance_expo) // Prend l'esperance de la loi expo, pas lambda.
Somme(i) = sum(Xi);
Xn(i) = (1/i)*S... |
1e944b62997f39370b40152b0a85865e5e4b8ad9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.36/EX17_36.sce | e8e33b7703156705de9e150ef0253995e516859a | [] | 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,477 | sce | EX17_36.sce | clc;funcprot(0);//EXAMPLE 17.36
// Initialisation of Variables
n=6;....................//No of cylinders
D=0.125;................//Engine bore in m
L=0.125;...............//Engine stroke in m
N=2400;.................//Engine rpm
W=490;...............//Load on the dynamometer in N
CD=16100;...............//Dynamo... |
fd7bba56ac2d0c1d8cbe7b8d5552bc7768ea0a3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH6/EX6.12/Ch06Ex12.sce | df077214410fd9f6d2d70fa082d7b19d2f9a65a1 | [] | 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 | 411 | sce | Ch06Ex12.sce | // Scilab code Ex6.12: Pg:262 (2008)
clc;clear;
t = 0.003; // Thickness of the crystal slice, cm
Lambda = 6e-005; // Wavelength of linearly polarized light, cm
d_mu = Lambda/(4*t); // Difference in the refractive indices of two rays
printf("\nThe difference in the refractive indices of two rays = %1.0e "... |
6665733230ea0fd863bc1c72f0cc29380e304bc9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/elem/modulo.sci | 5570b4876880629a7d6dcdef4e5753c0c23848a5 | [
"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 | 215 | sci | modulo.sci | function [i]=modulo(n,m)
//i=modulo(n,m) returns n modulo m.
//!
// Copyright INRIA
if size(m,'*')==1 then
m=ones(n)*m,
elseif size(n,'*')==1 then
n=ones(m)*n,
end
i=n-int(n./m).*m
// n - m .* fix (n ./ m)
|
a35024c24cde82cece5a7f63ff845bcc6949c411 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH14/EX14.1/14_1.sce | 384f386dd95a93b7d57f2b8e2127a93ea7433a4f | [] | 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 | 125 | sce | 14_1.sce | Rv1=60/1000*10000
Rv2=120/1000*10000
Rx=(Rv2-Rv1)*(1/(27.5/30*2-1)-1)
I=27.5/1000/600*(Rx+600)/Rx
Vact=Rx*I
disp(Vact)
|
6b741613b3a3e3012209c78480133cf6deff367b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH5/EX5.30/5_30.sce | 0b1a1e61c7ff5dba47868bf0405fd5effece24dd | [] | 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 | 348 | sce | 5_30.sce | //ques-5.30
//Calculating hydrolysis constant and dissociation constant of acetic acid
clc
Kb=1.8*10^-5;
Kw=10^-14;
h=5.5*10^-3;//degree of hydrolysis
Kh=h^2;//hydrolysis constant
Ka=Kw/(Kh*Kb);//dissociation constant
printf("Hydrolysis constant of acetic acid is %.2f*10^-5 and Dissociation constant is %.2f*10^... |
d0a1cd9a3413d08407decd358b8e2e6907d6aca4 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/Python/NekMesh/Tests/load_cad.tst | a1eea6fbfffed5166d33f41cf0fd471ef638c7e4 | [
"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 | 668 | tst | load_cad.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Structured grid generation from NekMesh wrapper</description>
<executable python="true">LoadCAD.py</executable>
<parameters>3d_sphere.stp output.xml</parameters>
<files>
<file description="STEP file input">../../../../../utilities/NekMe... |
947385c853b9f113c07111f8d806b0ce551e4e6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH13/EX13.17/ex13_17.sce | bd3f07bd0374897cf46345ca4f29d5dbdf7bd1b0 | [] | 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 | 571 | sce | ex13_17.sce | //Chapter-13, Example 13.17, Page 391
//=============================================================================
clc
clear
//INPUT DATA
b=49;//common-emitter DC current gain
Ie=3*10^-3;//emitter current in A
//CALCULATIONS
a=b/(1+b);//common-base DC current gain
Ic=a*Ie;//collector current in A
mprintf("... |
f5cc314b590a2db019aa34df6e33ecb9892f7b7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH4/EX4.6/Ex4_6.sce | b9b9e500caad7508133c3bd2af349ac187bf75d8 | [] | 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,236 | sce | Ex4_6.sce | // Example no 4.6
// To find a)the length and effective aperture of receiving antenna b)the received power at mobile
// Page no. 125
clc;
clear;
// Given data
d=5*10^3; // distance of mobile from base station in m
E0=1*10^-3; ... |
9d4ad22d99e6afa08a3dbe509b4b6f8407ef7351 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH10/EX10.10/Ex10_10.sce | c3fb63c87b7c65307a682742bb1b6d057c4e39b7 | [] | 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 | 488 | sce | Ex10_10.sce | //Example 10_10
clc();
clear;
//To findout how fast the nitrogen molecule moving in air
M=28 //Units in Kg/Mol
Na=6.02*10^26 //Units in K mol^-1
mo=M/Na //Units in Kg
k=1.38*10^-23 //units in J/K
T=27+273 //Units in K
v2=(3*k*T)/mo //unit in Meter^2/Sec^2
v=sqrt(v2) //Units in meter/sec
... |
189a234de3256b5e4d5dff56bfea0b8debeeae49 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/auto/observer.sci | e553da53ae63402aff7afabb2faf2d90d64d8128 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 2,455 | sci | observer.sci | function [Obs,U,m]=observer(Sys,flag,alfa)
//Obs=observer for (observable part of) linear system Sys
//Obs is a linear system with matrices [Ao,Bo,Identity].
//where Ao is no x no, Bo is no x (nu+ny) and Co is no x no
//and no=nx-m;
//input to Obs is [u,y] (assuming Sys: dotx=A x + Bu, y=Cx + Du)
//output of Obs is:
/... |
6292db4bf7d5f94df16482ad96dd777546bac6dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/7_08data.sci | b29698094f07a972e3ef2b865ed5af2c41590523 | [] | 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 | sci | 7_08data.sci | W=2.27*10^4;//weight of the airplane(N)
S=19;//wing area (m^2)
V=61;//velocity at sea level(m/s)
D=1.225;//density at sea level(Kg/m^3)
Cl=2*W/(D*S*V^2) //lift coefficient
a=0.08;//lift slope per degree (from example 7.3)
a1=Cl/a //absolute angle of attack
DCmcg=-0.0133;//derivative of Cmcg w.r.t absolute angle... |
f9a63ed3b15e899af2d9139fa120c78ff2d4d311 | 0ae3b27a9792a930f613772d679e2ac42f6b5930 | /tests/zones/invalid.records.tst | e7865a4f727a830a45227a7473433e47f0f54938 | [
"MIT"
] | permissive | octodns/octodns | fb70e78fbbb3f3790b38edab75b5d4b9e6e2a0e4 | 8237aa955d0f489180daf131b744dbc3d22ba986 | refs/heads/main | 2023-09-01T15:18:32.161799 | 2023-08-31T17:50:10 | 2023-08-31T17:50:10 | 84,977,146 | 983 | 137 | MIT | 2023-09-13T19:43:56 | 2017-03-14T17:18:47 | Python | UTF-8 | Scilab | false | false | 1,541 | tst | invalid.records.tst | $ORIGIN invalid.records.
@ 3600 IN SOA ns1.invalid.records. root.invalid.records. (
2018071501 ; Serial
3600 ; Refresh (1 hour)
600 ; Retry (10 minutes)
604800 ; Expire (1 week)
360... |
ad47cce09e467762647cea6b80bff5ad22dd1c69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH17/EX17.1/17_1.sce | c7f16ac2f825a5503d3f82dbcbef82d1578b482f | [] | 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 | 475 | sce | 17_1.sce | clear//
//Variables
I = 40 //Current (in milli-Ampere)
t = 15 * 10**-3 //time (in seconds)
CFS = 93 //Circuit fusing rate (in Ampere-square second)
//Calculation
SCR = I**2 * t //Surge in the device (in Ampere-square second)
//Result
... |
9bc4c7ae77eb308a519724b281b31ad50d85a5f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH1/EX1.4/1_4.sce | d7a7b9548796e90b7b8b6c2f504c0660cd17b5fa | [] | 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 | 154 | sce | 1_4.sce | clc
//Initialization of variables
m=10 //lbm
a=32.1739 //ft/sec^2
g=32.1739
//calculations
F=m*a/g
//results
printf("Force required = %d lbf",F)
|
5d3ea8d4b2f3788b5abe2c14b0ccb9d236f27461 | 993d195bcd2d0c410983954f13fe34356f73cfe8 | /plots/plotter2.sce | 0e2e76dd2d50c758e082707a8980d45bd57d521b | [] | no_license | celebro/diploma | e4da6f0f1447e3b27c31474164f55718b744fdf7 | a96df9a188ac3cf035f372839cbd6c372aeeeae1 | refs/heads/master | 2021-03-12T21:42:39.337604 | 2013-03-28T08:43:52 | 2013-03-28T08:43:52 | 8,127,151 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,518 | sce | plotter2.sce | function []=process_result(filename, s1, s2, s3, s4)
M = csvRead(filename, ";")
filename2 = strsubst(filename,".txt","")
filename2 = strsubst(filename2,"data/results_","")
fontS = 3;
fontS1 = 3;
disp(filename);
M1 = M;
M1(isnan(M1)) = 60000;
disp("total times:");
disp(sum(M1... |
06d2b253bd1221f7c52830fde9475aee9c9892e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH6/EX6.2/EX_6_2.sce | 2bf01ecb6207f01a197cf059583f681793c29ec6 | [] | 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 | EX_6_2.sce | //Example 6.2// ratio error and phase angle
clc;
clear;
dv=0;//as secondary winding power factor is unity
Io=1;//in ampere
Knom=200;//nominal ratio
Re=1.1;//external burden in ohms
Pf=0.45;//power factor
d= acosd(Pf);//
alpha=90-d;//in degrees
Is=5;//in ampere
Rs=Knom*Is;//
Kact= Knom+((Io/Is)*sind(dv+alpha));//actual ... |
28012550d32dfc4bc8d5b2622a2c3368e1c0be49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH5/EX5.22/Ex5_22.sce | adefe5b6c9b2fa52e4d7a9f2e3dd40ac4d974420 | [] | 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 | 584 | sce | Ex5_22.sce | //chapter 5
//example 5.22
//Calculate minimum error in the energy
//page 111-112
clear;
clc;
//given
dT=2.5E-14; // in sec (average life time)
h=6.63E-34; // in J-s (Planck'c constant)
pi=3.14; // value of pi used in the solution
e=1.6*1E-19; // in C (charge of electron)
//calculate
// Since dE*dt>=h/(4*pi... |
856ebb6bfac9bca6b225ad70733139711b4c5a26 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Valorant sniper.sce | b4bfa81fa2c17a7983bf22baa1b690eb952b1eb3 | [] | 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 | 52,180 | sce | Valorant sniper.sce | Name=Valorant sniper
PlayerCharacters=Sniper Char
BotCharacters=Bot Profile long.bot;Bot Profile long.bot;Bot Profile.bot;Bot Profile.bot;Bot Profile.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Sniper Char
AddedBots=Bot Profile long.bot;Bot Profile long.bot;Bot Profile.bot;Bot Profile.bot;Bot Profile.bot
... |
1d69f34610aafa41f17640ae87f3b340dca8e77c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH14/EX14.5/Example14_5.sce | 16faa5a575a218e440a74c18398df21d1131604b | [] | 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 | 580 | sce | Example14_5.sce | ////Chapter No 14 Air Standard Cycles
////Example No 14.5 Page No 308
///Find compression ratio
///Input data
clc;
clear;
P1=1; //Isentropic Compression in bar
P2=20; //Isentropic Compression in bar
//Consider air as the working fluid therefore
gamma1=1.4;
... |
5b81a9f38a29f0c44173c4f746b03d96d37df4a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH11/EX11.17/Ex11_17.sce | 9c65af80f284820d0bb7454e9467f5fa7a55bc0f | [] | 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 | 526 | sce | Ex11_17.sce | // Chapter 11 example 17
//------------------------------------------------------------------------------
clc;
clear;
// Given data
r = 42164; // orbital radius in kms
Dlamda_max = 500; // max displacement due to latitude deviation
// Calculations
i = Dlamda_max/r; // angle of inclina... |
f9e2305f5bffc1643ce4b13f381221c201a81629 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH19/EX19.07/19_07.sce | 6d4ee76a490f67c4df50d7ae7a477fb01ab18089 | [] | 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,146 | sce | 19_07.sce | //Problem 19.07: Three coils each having resistance 3
ohm and inductive reactance 4 ohm
are connected (i) in star and (ii) in delta to a 415 V, 3-phase supply. Calculate for each connection (a) the line and phase voltages and (b) the phase and line currents.
//initializing the variables:
R = 3; // in ohms
XL = 4... |
693ef65f0c52440e29c045fe65b9e382b454cd83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH3/EX3.11.1/Ex3_11_1.sce | 999503c6594f6cf1b5841ad06639de826e36933d | [] | 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 | 574 | sce | Ex3_11_1.sce | //Chapter-3,Example 3_11_1,Page 3-25
clc()
//Given Data:
u1=1.52 //R.I. of Core
u2=1.5189 //R.I.of Cladding
lam=1.3*10^-6 //wavelength in meter
d=29*10^-6 //core diameter in meter
a=d/2
//Calculations:
NA=sqrt(u1^2-u2^2) //Formula to find Numer... |
d76c2598fb507fb36c766696ad524c66794f6904 | 05322c42d547b8f7ef0ed28007c446f13325041e | /bench/bubble-sort.tst | e1bb4be9946d3b23318853b9032200353e08f07c | [] | no_license | AntonErtl/rafts | dbc0b78cef4fa705d3054c440158880e7319f36a | cd6749d35aa81683096d255f1d36bdbeb0aac639 | refs/heads/master | 2021-04-06T05:22:17.277237 | 2018-03-12T17:14:57 | 2018-03-12T17:14:57 | 124,918,105 | 5 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,385 | tst | bubble-sort.tst | .( Loading Bubble Sort benchmark...) cr
\ A classical benchmark of an O(n**2) algorithm; Bubble sort
\
\ Part of the programs gathered by John Hennessy for the MIPS
\ RISC project at Stanford. Translated to forth by Marty Fraeman
\ Johns Hopkins University/Applied Physics Laboratory.
\ MM forth2c doesn't have it !
: ... |
a1f2da4337aaa987af4cd716182c1af159b49442 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.27/Exa2_27.sce | 929b7d1a5c6311b6cba7bb256d42aae10f1fae53 | [] | 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 | 699 | sce | Exa2_27.sce | //Exa 2.27
clc;
clear;
close;
//Given data :
format('v',6);
V=500;//in volt
Pout_rotor=20;//Power output of rotor in H.P.
phase=3;//no. of phase
P=6;//no. of poles
f=50;//in Hz
N=995;//in rpm(Actual speed of motor)
cosfi=0.87;//powerfactor(unitless)
Ns=120*f/P;//synchronous speed in rpm
S=(Ns-N)/Ns;//unit... |
4206e5900b9f36c99b6587eff2a2b9f22496af95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH21/EX21.1/Example1.sce | ed303d202acc29bdd68067a59b709172b25c78a1 | [] | 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 | 5,736 | sce | Example1.sce | clear
flag=1
mode(-1)
clc
printf("Example 1 : Show the method of using arrays in advanced shellscripting \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
printf("\n1. Here all instructions are preloaded in the form of a dem... |
ec68907b1a3cd8b56a8bcf33b2eba898c861d49f | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH14/EX14.3/14_3.sce | ec9b812ad13f155d6fef485c993cc0942c4db427 | [] | 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,179 | sce | 14_3.sce | k=0.025852; //say k=K*T/q
Na=3*10^14;
Nv=3.08*10^19;
a=4.05; //say a=χsi
c=k*log(Nv/Na); //say c=Ef-Ev
printf('\n The value of Ef-Ev is %fV',c);
b=1.125; //say b=Eg
d=a+b-c; //say d=φs
printf('\n The value of φs is %fV\n',d);
e=11.7*8.854*10^-14; //say e=Єs
Vt=0.025852;
q=1.6*10^-19;
Na=3*10^14;
Ld=s... |
306a1d538bb066d4566a270794b14014ea54e8b2 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/tools/scilab/iome_toolbox/macros/buildmacros.sce | 3e5571973b495eaa37b8fb4bbf8b979ecb7f67cd | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | buildmacros.sce | // ====================================================================
// Allan CORNET
// Simon LIPP
// INRIA 2008
// This file is released into the public domain
// ====================================================================
tbx_build_macros(TOOLBOX_NAME, get_absolute_file_path('buildmacros.sce'));
... |
7d0f40c310c37f42bf4b0d2135b2fb89381df6e1 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH11/EX11.19/Ex11_19.sce | 066a92464bd41d1c2da15292f02f6ea985e64eda | [] | 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 | 374 | sce | Ex11_19.sce | // Variable declaration
n = 5
k = 1
// Calculation
X = [1 0 ; 1 1 ; 1 2 ; 1 3 ; 1 4]
Y = [8 ; 9 ; 4 ; 3 ; 1]
XT = X'
XTX = XT*X
XTXI = [0.6 -0.2; -0.2 0.1]
XTY = XT*Y
b = XTXI*XTY
Y1 = X*b
MMT = ((Y-Y1)')*(Y-Y1)
MMT = int(MMT)
Se_square = (1.0/(n-k-1))*MMT
Final = Se_square*XTXI
// Result
printf ( "var(bo): %.... |
d839b8363e363f24bfeca1501e09049842b13da2 | fd6e45f66c41ad779a3d47c3bf8ebfa140d3d657 | /P8 - Numerical Integration/trapeciopiola.sci | 5035d0778a4a9bdff9627150b44f93964f66c6ce | [] | 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 | 2,618 | sci | trapeciopiola.sci | function y = trapecio(func1, a, b)
y = ((b - a) / 2) * (func1(a) + func1(b));
//error = f''(c) * (h^3 / 12) c tal que la f'' sea máxima
endfunction
function y = trapeciocompuesto(func1, a, b, n)
h = (b - a) / n
y = 0
for x = a: h: (b - h)
y = y + trapecio(func1, x, x + h);
... |
2f0cb7129ced6b5f8cffe07b27109c801079dd91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH5/EX5.5/example_5_5.sce | 4ddf21dfa329ba45a904a8facfe568814513dffb | [] | 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 | 156 | sce | example_5_5.sce | syms G1 G2 G3 G4 H1 H2
a= G1*G2 //shifting the take off point
b= a/(1+(a*H2))
c=(1+(G3/G2))
Y= b*c*(G4/(1+G4*H1))
disp(Y,"C/R = ") |
62cfd61bea1bd3dce22e0f75b03fa1469c6d3693 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH33/EX33.1/Example33_1.sce | 149fe92d97ebc5b86ecfe70ef720e5ec3a16e3ba | [] | 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 | 221 | sce | Example33_1.sce | //Given that
C = 1.5*10^-6 //in F
V = 57 //in volts
L = 12*10^-3 //in H
//Sample Problem 33-1
printf("**Sample Problem 33-1**\n")
Imax = V*sqrt(C/L)
printf("The maximum current in the circuit is %1.2eA", Imax) |
4cd1f67f82961c53f9dbb57b27422bf92a87983f | 1485852dd59aafc286600126cf832a32e10f117f | /macros/regionFill.sci | 141bb3a84c10dc5f36ac3f8af950e60ade757836 | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 2,457 | sci | regionFill.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
a59498c75a88d07977c2583793a5f9ce6ba5f710 | 45c1200ec894e793587fc6d8f30253e69ecec19a | /neiro/laba2/bin/Debug/iris.tst | 27c11799c9cfa0603213ff7c3fbf707eaf2b63c4 | [] | no_license | dShadowHS/dShadow | 46c0df8f6715948d2b952de001f1f8748861eb1d | 0b4c4674d137160d09e5bb9092ff0d2253818dd0 | refs/heads/master | 2021-01-11T23:11:28.661559 | 2017-01-10T17:12:41 | 2017-01-10T17:12:41 | 78,555,391 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | tst | iris.tst | 4,8;3,0;1,4;0,3;0
5,1;3,8;1,6;0,2;0
4,6;3,2;1,4;0,2;0
5,3;3,7;1,5;0,2;0
5,0;3,3;1,4;0,2;0
5,7;3,0;4,2;1,2;1
5,7;2,9;4,2;1,3;1
6,2;2,9;4,3;1,3;1
5,1;2,5;3,0;1,1;1
5,7;2,8;4,1;1,3;1
6,7;3,0;5,2;2,3;2
6,3;2,5;5,0;1,9;2
6,5;3,0;5,2;2,0;2
6,2;3,4;5,4;2,3;2
5,9;3,0;5,1;1,8;2 |
df8df055b942bed956eec7b67f2c3d6f84a6096d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH5/EX5.3.4/Example5_4.sce | 091d2a40fb5c9d5a00781cda7124ffe47a88c491 | [] | 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 | 495 | sce | Example5_4.sce | //Chapter-5,Example5_3_4,pg 5-7
E=0.025 //energy of neutron
h=6.63*10^-34 //Plancks constant
m=1.676*10^-27 //mass of a neutron
e=1.6*10^-19 //charge on electron
wavelength=h/... |
8e21e9caa649600489f76114613dabf8c7e21a55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/524.sci | 98e9f97792aa8087bd0d80ba14144ddb720c4f65 | [] | 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 | 122 | sci | 524.sci | //all the calculations are done in R scale
T2=285+460 //R
T1=32+460 //R
P2=1.30 //atm
P1=1 //atm
V1dot=3.95*10^5 //ft^3/h
|
f0e40f25f616c8884cdfb6a5e3aa0f563745a4c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH7/EX7.8/Ex7_8.sce | 0fc99e0cf1a336bd322751fe84a1e5c3fbf09e0e | [] | 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 | 329 | sce | Ex7_8.sce | r0=2*10^3
r1=1*10^3
nl=4//no. of large cells
ns=(r0/r1)^2*nl-1//split cells within area=split cells within square-1
ncpl=120
n2=nl*ncpl//no. of channels without cell splitting
ncps=120
n1=ns*ncps//no. of channels with cell splitting
inc=n1/n2//increase in the number of cells
disp(inc,'increase in the number of cells in... |
bd877b6def2422e60206fe8c1b5dff9822e964c7 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testxlabel.sce | cd440c5d4207ceedc5cb09be058e48ade923bc64 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | testxlabel.sce | // generate a list of random values
X=grand(100,1,'bin',10,0.6);
m=tabul(X); // table of frequencies
x=m(:,1); // values
n=m(:,2); // bin counts
clf();bar(x,n) // histogram
A=gca();
A.x_label.text="grade over 10";
A.x_label.font_size=3;
A.x_label.font_style=4;
A.y_label.text="counts";
A.y_label.font_si... |
ae7f9cc9ffa6c2b7a4cdd0f9cacd585ce7149f52 | bae725b750433ba5d58470784eeb87687023da7e | /macros/stp.sci | db4cf60006cb3379dc53bfa743ea7530af1bca4d | [
"MIT"
] | permissive | aamadou/IsItChaos | eac61da272b4fb22f83bdceaceb5774385f481e5 | def74ddd5710898f876a9a7d39916e5cc1a8b6b5 | refs/heads/master | 2016-08-04T21:00:17.832904 | 2014-03-24T13:18:39 | 2014-03-24T13:18:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,293 | sci | stp.sci | function [x]=stp(orbit,NbrIti,Dim,Delai, ResTemps, EtapTemp, EtapFarc)
// Initialisation
Commandline='';
NbrComp=size(orbit,2);
if ~isdef('DoEstim','local')...
then DoEstim=%F,
end;
if isdef('NbrIti','local')...
then Commandline=Commandline+' -l'+string(NbrIti),
end;
if isdef('EtapTemp','local')...
then C... |
eb17e82319aaed74fd57467dfc804c462e7b3139 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH3/EX3.3/3_3.sce | 3e5078bc49622a99d2c2ef4681e78a461f4180c6 | [] | 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 | 415 | sce | 3_3.sce | //example 3.3
clc; funcprot(0);
// Initialization of Variable
patm=14.7;//in lbf/in^2
mpiston=100;
g=32.2;
A=1;//area
mair=0.6;
delu=18;
k=1.6;//V2-V1;
P=mpiston*g/A/32.2/144+14.7;
W=P*k*144/778;
Q=W+mair*delu;
disp(Q,"Heat transferred in Btu")
W2=patm*k*144/778;
disp(W2,"Work done in Btu");
delz=k/A;
... |
fa0507224efe61ba9fa815423999d6b4db8901d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH17/EX17.3/EX17_3.sce | 9ecc54af444741f4286eb8c02294ce4010f6c780 | [] | 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 | 435 | sce | EX17_3.sce | clc;funcprot(0);//EXAMPLE 17.3
// Initialisation of Variables
rho1=19.3;...........//Density of pure Tungsten in g/cm^3
rho2=10.49;............//Density of pure Silver in g/cm^3
f1=0.75;..............//Volume fraction of Tungsten
f2=0.25;...........//Volume fraction of Silver and pores
//Calculations
per=((f2*r... |
88f2a66bb8d3cc5d631615a6f80e1ac079d4be73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH6/EX6.9/Ex6_9.sce | a20cbc0c42d079846a246d53a69c58568f4594e4 | [] | 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 | 5,190 | sce | Ex6_9.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 6 : SYNCHRONOUS MACHINES
// EXAMPLE : 6.9
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
printf("\n EXAMPLE : 6.9 : \n\n Given Data \n");
printf("\n ... |
1701d6af2770dc1d330c032c2574ed38fe2ca5f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH5/EX5.5/Ex5_5.sce | b189b0e06273dd198916c256e1f954eed0756fb3 | [] | 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 | 299 | sce | Ex5_5.sce | clear
//given
//
//find the final pressure gage and convert absloute temperature to normal temprature
a=210.
t=160.
t2=60.
//absloute temperature to convert is 460
AT=160.+460.
AT1=60.+460.
IP=210.+14.7
FP=IP*(520./620.)
printf("\n FP")
FPg=(FP-14.7)
printf("\n \n final pressue gage is %.2f ",FPg)
|
282cdb66e494bc6a0072b9e2ad8ba6df272c55b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH7/EX7.14.a/Example7_14_page_250.sce | fbf5274658c2429d59f8ba16241b39b66785a8aa | [] | 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 | 454 | sce | Example7_14_page_250.sce | ////Example 7.14 at page no. 250
clc;
clear;
close;
format('v',6);
//Given data :
g=9.81;//gravity constant
l=4;//km
n=5000;//habitants
Ch=200;//litres/day(habitant capacity)
t=10;//hour(daiy supply time)
hf=20;//meter(Head loss)
f=0.008;//coeff. of friction
Qty=n*Ch/2;//litres(Water supplied in 10 hours)
... |
a6cd578369fe795bb858d7ff4427b56f831163a3 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/HH_RG.sce | ac643bce5585b0549a15a7a231720b15022a687b | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 3,439 | sce | HH_RG.sce | //**************************** HH_RG **********************************
if (blk_name.entries(bl) == "HH_RG") then
mputl("#HH_RG",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
HH_RG_str= '.subckt HH_RG'+' in[0]=net'+string(blk(blk_objs(bl),2))+'_'+string(ss)+' in[1]=net'+string(blk(blk_objs(bl),3))+'_'+st... |
a84d5a91502d277f8b392b44787b2327c11df425 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH5/EX5.6.2/Ch05Exa5_6_2.sci | 4176bf6f0cddad864166f139fda724e0ab37b43b | [] | 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 | sci | Ch05Exa5_6_2.sci | // Scilab code Exa5.6.2: To calculate the kinetic energy of photoelectron and rate at which photoelectron emitted : P.no. 231 (2011)
C = 3e+08; // Speed of light, m/s
h = 6.626e-034; // Planck's constant, Js
lambda = 250e-09; // Wavelength of light, m
w = 2.30; // Work function, eV
A = 2e-04; // Area of the su... |
9b7b1cd76445f51ebc329769d0d6259e2b88816b | 676ffceabdfe022b6381807def2ea401302430ac | /utilities/NekMesh/Tests/StarTec/spherigon_bl_straight_rw.tst | 5f595716a22afb14d0606813b4415ec544dfbbad | [
"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 | 844 | tst | spherigon_bl_straight_rw.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description> NekMesh with Spherigons and variable Boundary Layer </description>
<executable>NekMesh</executable>
<parameters> -m spherigon:surf=10:surf=13 -m spherigon:surf=8:surf=9 -m bl:surf=3,10,13:layers=4:r="1.7*( 1-x/0.3 )+1":nq=7 -m bl:surf=2,8,9:layers=... |
3a8f264147b325dc7f40e22239e5a7e80ddfb989 | 63d888492eb5760997d28f7e464620ab560589cc | /DataStoreTest/Src/C#/Level_4F/Level_4F/DataStore.tst | 86f8ba7804b4e943eef48544e2a4227f6842e82c | [] | no_license | Samraksh/TestSuite | ef4ea58b7bf844d6263d52ad2a4fe2d91852bf48 | 5a2ad0157ff878e9460fc85d222191ce7dcd595f | refs/heads/master | 2022-10-28T22:51:33.354774 | 2020-03-10T18:29:06 | 2020-03-10T18:29:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | tst | DataStore.tst | COM_receive file enable testTemp\test_results.txt
sleep 10000
COM_send string start
sleep 100000
COM_receive file disable testTemp\test_results.txt
|
f86060c6e5643ffd05cdea836bf3a0ee25c7539a | 59b742e36fbe9d77cb51ec949c6625f665133d2b | /Resultados/results_LocGlo_11/results/11/g20-4/result3s0.tst | 7d3f2230393852b50bfc5f4a8886c83847cbb98c | [] | no_license | Tiburtzio/TFG | 3132fd045de3a0e911e2c9e23e9c46e1075a3274 | 864ce4dd00b7f8fe90eafa65b11d799c5907177e | refs/heads/master | 2023-01-03T12:44:56.269655 | 2020-10-24T18:37:02 | 2020-10-24T18:37:02 | 275,638,403 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 940 | tst | result3s0.tst | @relation unknow
@attribute height real[1.0,804.0]
@attribute lenght real[1.0,553.0]
@attribute area real[7.0,143993.0]
@attribute eccen real[0.007,537.0]
@attribute p_black real[0.052,1.0]
@attribute p_and real[0.062,1.0]
@attribute mean_tr real[1.0,4955.0]
@attribute blackpix real[1.0,33017.0]
@attribute blackand re... |
138fa7497551e03664b20b176a10615a0dc87336 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH4/EX4.1/Ex4_1.sce | 5413583db39711432953a53ff54e71656b6605af | [] | 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,129 | sce | Ex4_1.sce | clc
// initialization of variables
clear
P=170 //kN
A=645 // (mm)^2
// part (a)
E=211.4 // G Pa (from figure)
Y=252.6 // M Pa (from figure)
Beta=0.0799 // G Pa (from figure)
Ey=Y/E
// The stress strain law given is
// Sigma= E*eps for eps< Ey
// Sigma= (1-Beta)*Y + Beta*E*eps otherwise
// part (b)
th=... |
20880176b97f24cb6bfba473535e510918bda919 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH9/EX9.36/ex9_36.sce | 582a1cca1f179670202405559887815c4a48d73b | [] | 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 | 384 | sce | ex9_36.sce | // Exa 9.36
clc;
clear;
close;
// Given data
V_GSth= 2;// in V
k= 2*10^-4;// in A/V^2
V_DD= 12;// in V
R_D= 5*10^3;// in ohm
I_D= poly(0,'I_D');
V_DS= V_DD-I_D*R_D;// in V
I_D= I_D-k*(V_DS-V_GSth)^2;
I_D= roots(I_D);// in A
I_D= I_D(2);// in A
V_DS= V_DD-I_D*R_D;// in V
disp(I_D*10^3,"The value of I_D in... |
02baaef85646ef6f4a64b366f5ba34ab8fbebd51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH8/EX8.2/8_2.sce | c2d8ce0f3fd6ea3627bae4fede051780531d4303 | [] | 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 | 167 | sce | 8_2.sce | clc
//initialization of varaibles
T1=1050+460//R
T2=90+460 //R
//calculations
eta=(T1-T2)/T1
//results
printf("Max. possible efficiency = %d percent",eta*100)
|
782022429c5eeecfec0d7de0e8e601d1825eba8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.18/3_18.sci | bbd464582c5813d00e352d87f245b222cfd2ffb1 | [] | 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 | 297 | sci | 3_18.sci | // Calculate apparent resistance, actual resistance and error
clc;
Et=100;
It=5*10^-3;
Rt=Et/It;
disp(Rt,'apparent value of resistance (ohm)=')
Rv=1000*150;
Rx=Rt*Rv/(Rv-Rt);
disp(Rx,'true value of resistance(ohm)')
Er_percentage=[(Rt-Rx)/Rx]*100;
disp(Er_percentage,'percentage error=') |
55e6e4908d2f27e2645ae7fc721970dd21fce644 | 93640402789b9a9d07c82958f433765f1e2a8397 | /part 1/Mux4.tst | a862071e0c2d13e29dbca10fe8416ef25caa2c5c | [] | no_license | Slayingripper/Z80-CPU | 7a6b71f9e59850c3d4492a7f1867f4e81be278ba | 451873966cf071f8088407300629994a8d33f13c | refs/heads/master | 2020-05-04T02:42:27.419333 | 2019-04-01T19:27:22 | 2019-04-01T19:27:22 | 178,932,396 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 729 | tst | Mux4.tst | // This file is adapted from part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
load Mux4.hdl,
output-file Mux4.out,
compare-to Mux4.cmp,
output-list a%B1.4.1 b%B1.4.1 sel%D2.1.2 out%B1.4.1;
set a 0,
set b 0,
set sel 0,
eval,
output;
set sel 1,
eval,
... |
cddc8d9727be4f58e5cd01231783bbc720becc1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH5/EX5.1/Ex5_1.sce | b024b2fc8fb1c0afbb244f7334260a928c5446ab | [] | 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 | 813 | sce | Ex5_1.sce | //Fluid Systems- By Shiv Kumar
//Chapter 5- Francis Turbine
//Example 5.1
//To Find (a)Discharge passing through the Runner and (b) Width of Runner at Outlet
clc
clear
//Given Data:-
Do=0.8; //External Diameter of the Runner, m
Di=0.4; //Internal Diameter of the Runner, m
Vfi=1... |
7c8f0ae9e5ea0603d1b1c6ba56d8a740758db1dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH20/EX20.29/EX20_29.sce | 123f65265d0fc4587e0514edd298d1d2ac375be2 | [] | 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,380 | sce | EX20_29.sce | clc;funcprot(0);//EXAMPLE 20.29
// Initialisation of Variables
ns=3;........//No of stages
N=200;.......//Compressor rpm
p1=1;.......//Intake pressure in bar
t1=20+273;....//Intake temperature in K
D=0.35;......//Engine bore in m
L=0.4;.......//Engine stroke in m
p2=4;........//Discharge pressure from first sta... |
aaef3dc3c092456375af3f5aae61732612c008a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH7/EX7.6/exm7_6.sce | 636d57ab3b55c93bf1d50ed2b837f0a73b7c04de | [] | 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 | 719 | sce | exm7_6.sce | //page no 228
//example no 7.6
// ARITHEMETIC OPERATIONS.
clc;
disp('A-->30H');
disp('2040H-->68H');
disp('2041H-->7FH');
disp('LXI H,2040H'); // loads HL register pair.
disp('H=20H L=40H M=68H');
disp('ADD M');
A=hex2dec(['30']);
M=hex2dec(['68']);
S=A+M; // adds the contents of A and data at memory... |
ac70c8661307ad06c563848150a8fe8cd9858939 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH14/EX14.1/example_14_1.sce | d3ef4d09411d65f47dc0fc666d07f2425d5d8f14 | [] | 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 | 549 | sce | example_14_1.sce | //example 14.1
clc;
clear;
close;
vdc = input('Enter the value of DC voltage Vdc in volts :');
r = input('Enter the value of resistace in K ohms :');
v = input(' Enter the value of voltage across diode in volts :');
i = (vdc-v)/r ;
format('v',4);
if(i>0) // checking whether the diode is forward or reverse ... |
447da4948c2b9e6d1d24d688098ca2fa50ec7892 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH13/EX13.10/Ex13_10.sce | a5f39ba2dccfbc1bf6f518372750519813080d48 | [] | 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 | Ex13_10.sce | //Chapter 13: Fuel and Combustions
//Problem: 10
clc;
//Declaration of Variables
H = 0.30 // metre cube
CO = 0.10 // metre cube
CH4 = 0.04 // metre cube
N2 = 0.56 // metre cube
// Solution
vol_o = H * 0.5 + CO * 0.5 + CH4 * 2
vol_a = vol_o * 100 / 21
mprintf("Volumer of air required for... |
1c94e8f3f3cca927a17d04efa130f17c3965e49a | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH1/EX1.3/Ex1_3.sci | 7c960e7a78317df9fb9062ae61eae573708489bd | [] | 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,340 | sci | Ex1_3.sci | clc();
clear;
// To calculate the size of heating surface
m1 = 100; // Flow rate of water in lb/hr
ta1 = 50; // Initial temperature of water in F
ta2 = 170; // Final temperature of water
Cp1 = 1; // Hea... |
f70b36e9fdb328a133f12d8076be865864f62d6c | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /main/saturation.sce | d1f48228ae38d82ec30d6d15c40ccb1389eed027 | [] | 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 | 309 | sce | saturation.sce |
vitesse = [1,2,3];
vmax = [0.5, 0.5, 0.1];
dv = 0.05*vmax;
vinf = 0.95*vmax;
vsup = 1.05*vmax;
fac = 1;
for i=1:3
absVel =abs(vitesse(i));
fac = min(abs(fac),vmax(i)/(absVel+%eps));
disp(fac);
end
// for i=1:3
vitesse=fac*vitesse;
// end
disp(vitesse);
|
7d3a1877fc0c5ef96bf522c988f3fa1979eefc7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3050/CH1/EX1.4/Ex1_4.sce | 488769129932b3d7a03088768b47025866fcc85a | [] | 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,041 | sce | Ex1_4.sce | //calculating hardness
//Example 1.4
clc
clear
//For Ca(HCO3)2,
q1=40.5//quantity
wt1=162//molecular weight
M1=100/wt1//multiplication factor
Eq1=M1*q1//CaCO3 equivalents in mg/L
//For Mg(HCO3)2,
q2=46.5//quantity
wt2=146//molecular weight
M2=100/wt2//multiplication factor
Eq2=M2*q2//CaCO3 equivalents in... |
d6ef6d0d5108a5538e06bc8030acf749a5a9def9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH21/EX21.1/ch21.sce | d9f058496299f75792231d09b2f9e1c720ea98cd | [] | 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 | 642 | sce | ch21.sce | //Determine the load bus voltage
clear
clc;
load1=10+%i*15;//load per phase(MVA)
SCC=250/3;
V=11/sqrt(3);
P=30;
Q=45;
Z=(11/sqrt(3))^2/(250/3);//Equivalent short circuit impedence
dsc=atand(5);
R=.0949;
X=.4746;
//Using equation: V^2= (Vcosd+PR/V)^2 + (Vsind+QX/V)^2, we get
y=poly([51.7 0 -27.5 0 1],'V',... |
2a1203390e505c15227febc64e3728408eca1e91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH22/EX22.3/Ex22_3.sce | 3f83045df33ae83fae68d701d75bcfc54ecbd9ca | [] | 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 | 357 | sce | Ex22_3.sce | clc
clear
//Initalization of variables
h1=24.973 //Btu/lb
h2=81.436 //Btu/lb
cfm=200 //cfm
v2=0.77357
v3=3.8750
h4=72.913
//calculations
mass=cfm/v2
ref=h2-h1
tonnage=mass*ref/cfm
mass2=cfm/v3
ref2=h4-h1
tonnage2=mass2*ref2/cfm
//results
printf("In case 1,Tonnage = %.1f tons",tonnage)
printf("\n In ca... |
70ad0676cceda2552637b7224bec4568a30b8cdd | 9d545f988a80789144df937ce4a90017c378cb92 | /Lab09/sintry.sce | f9e8039ccd4ff80970eb146f8589fb331819f799 | [] | no_license | tshrjn/EE304P | 215dc669daaf372242afe2c1f580a36df26e51ce | ac1c045262dd0b419354d2d22861c734508b7b8e | refs/heads/master | 2021-01-10T03:02:18.270276 | 2015-12-01T02:42:16 | 2015-12-01T02:42:16 | 46,113,211 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sce | sintry.sce | //xq(find(((q(i)-d/2)<= xq)&(xq<=(q(i)+d/2)))) =
// q(i).*ones(1,length(find(((q(i)-d/2)<=xq)&(xq<=(q(i)+d/2)))));
// en_code(find(xq == q(i)))= (i-1).*ones(1,length(find(xq == q(i))));
fs = 10000;
fm = 100;
time = [0: 1.0/fs : 2.0/fm];
//plot(sin(2*%pi*fm*time));
//plot(time);
n = 8 ;
del = 0.586;
in... |
84e78a8352aaf8b253ac3d9ecbf9611e287d78fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH45/EX45.B.6/45_B_6.sce | 8f9010d71fa2cb3a2a47bca2bfef25ad21778f17 | [] | 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 | 389 | sce | 45_B_6.sce | clear;
clc;
n1=.89;
h1=150;
c1=.9;
h2=200;
n2=.9;
c2=.8;
h3=500;
n3=.93;
c3=.707;
p4=100;
p1=h1*.746/n1;
p2=h2*.746/n2;
p3=h3*.746/n3;
rr1=p1*(tan(acos(c1)));
rr2=p2*(tan(acos(c2)));
rr3=p3*(tan(acos(c3)));
rr4=0;
rr=rr1+rr2-rr3+rr4;
p=p1+p2+p3+p4;
c=rr/p;
j=cos(atan(c));
j=round(j*1000)/1000;
p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.