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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a1f557c256695df79e7a6bfdd56ee20b7bf3f744 | 37950f16d052f7743e8ddc536e89c28f717a7229 | /phase_test.sce | 705e0b4e60571f696f07867dcb109a10dcd07de8 | [] | no_license | tauhideee/SIM-Scilab | 51aca407e107500d6dbb780db4ceebb5a18ef03f | d94b53bb856b59bb33ace4ff001fe96c3c8229bb | refs/heads/master | 2021-01-22T14:20:56.974550 | 2015-07-18T10:26:44 | 2015-07-18T10:26:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,402 | sce | phase_test.sce | xdel(winsid()); clear; clc
//funcprot(0);
function y = fun2fit(x, c)
y= c(4)+c(1)*sin(2*%pi*x*c(2) + c(3))
// y = c(1) * sin(c(2)*2*%pi *x+c(3)) + c(4);
endfunction
function e = myerror(c, x, y)
e = fun2fit(x, c) - y;
endfunction
//Region of Intersion
windowsize = 15;
impath = 'C:\Users\Bene\Dropbox\Do... |
d699971e0d28c5f1f3c2f489f8abaeeb72809864 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH23/EX23.6/23_6.sce | 7f61e1ef814042c9cab25bde30d9c4f1ea23fe31 | [] | 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 | 23_6.sce | pathname=get_absolute_file_path('23_6.sce')
filename=pathname+filesep()+'23_6data.sci'
exec(filename)
clear
A=L1*B1;
q1=T/(2*A);
S=T/B1;
q1=S/L1;
P=S*(L/2)/L1;
X=[L -L;A A];
X1=[P;T];
q=[q1;inv(X)*X1];
X2=[0;L*q(2)-L*q(3);-L*q(2)+L*q(3);0];
Y=[0;1500;3000;4500];
plot(Y,X2);
xgrid(3);
xtitle('Distributio... |
f8d57ff0662388716f3bece00f755a06c863fbf6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH1/EX1.16.3/Ex1_16_3.sce | c54176f0a88bdbd739f6e5f95f173faf26cb6091 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | Ex1_16_3.sce | //Ex 1.16.3
clc;clear;close;
format('v',9);
//Given :
ni=1.5*10^16;//per m^3
n=5*10^20;//per m^3
p=ni^2/n;//per m^3
disp(p,"Minor carrier density(per m^3) : ");
|
99c0ea5d839e0447e75b733d9672ed9ae4ee4c60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH16/EX16.a.15/Example_a_16_15.sce | 7b56cf2a4e210d3b6a2b985507eff42d10a8f09c | [] | 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 | Example_a_16_15.sce | //Example_a_16_15 page no:792
clc;
Y11_t=6/7;
Y22_t=5/7;
Y12_t=-4/7;
Y21_t=-4/7;
Y11_pi=2;
Y12_pi=-1;
Y22_pi=3;
Y21_pi=-1;
//calculating the admittance values
Y11=Y11_t+Y11_pi;
Y12=Y12_t+Y12_pi;
Y21=Y21_t+Y21_pi;
Y22=Y22_t+Y22_pi;
disp(Y11,"the value of Y11 is ");
disp(Y12,"the value of Y12 is ");
disp... |
6f7e93225c8aac0e98f9247dbc8070e8676d78cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH8/EX8.9/8_9.sce | 10e1b0cc78a639b6a6614fcd830ee8f27325bf58 | [] | 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 | 854 | sce | 8_9.sce | //Fuels and Combustion//
//Example 8.9//
C=750;//weight of carbon in 1kg of coal sample in grams//
O=121;//weight of oxygen in 1kg of coal sample in grams//
A=45;//weight of Ash in 1kg of coal sample in grams//
N=32;//weight of nytrogen in 1kg of coal sample in grams//
H=52;//weight of hydrogen in 1kg of coal sam... |
5b234f7ab8fd490d9b77b5e9175e9484bb9333a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH11/EX11.18/11_18.sce | a99ec1196208fef0dd499750ae472160bcf7778f | [] | 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 | 723 | sce | 11_18.sce | //To find maximum power transmitted
clc
//Given:
funcprot(0)
beta=30/2 //degrees
t=20/1000, b=20/1000 //m
m=0.35 //kg/m
sigma=1.4*10^6 //N/m^2
theta=140*%pi/180 //radians
mu=0.15
//Solution:
//Calculating the maximum tension in the belt
T=sigma*b*t //N
//Calculating the velocity of the belt for maximum pow... |
67afd97917bf28768ebe62fc121b65b12ebe63c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH1/EX1.1/ex1.sce | 8d243ee343c41f360e56f741480098a5dc007eff | [] | 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,003 | sce | ex1.sce | // Example1.1: Amplifier gain, power and eficiency
// Amplifier operates at +10-V/-10-V power supply.
A_v=9/1; // sinusoidal voltage input of 1V peak and sinusoidal output voltage of 9V peak
I_o=9/1000; // 1 kilo ohms load
disp(A_v,"Voltage gain (V/V) =")
disp(20*log10(A_v),"Voltage gain (dB) =")
I_i=0.0001 // ... |
e5ad323f7b2ba78bbe8ea62ab32a7acd5ba2d2a1 | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/ssa_if.tst | fd424ec83e0e9070a0131433ff88460d5bf1344f | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 199 | tst | ssa_if.tst | main
function test();
var x;
var y;
var z;
{
let x <- 0;
let y <- 1;
let z <- 2;
if x <= 2 then
let x <- y + z
else
let x <- y - z
fi;
return x
};
{
call test()
}.
|
282014b830abafadf595d01d4a154a923a2a40fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH5/EX5.5/example_5_5.sce | 733751d3fcf9eff6b21f9674364c35a613dc54a5 | [] | 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,144 | sce | example_5_5.sce | //Chapter 5
//Example 5.5
//Page 112
//voltageregulation
clear;clc;
//Given
l = 230 ; //in mi
f = 60 ; //in Hz
P = 125e6 ; //in W
V = 215e3 ; //in V
//From Table A.1 and A.2 for 30ft Rook
//z = R + i(Xa + Xd)
z = 0.1603 + %i * (0.415+0.4127);
//From Table A.1 and A.3 for 30ft Rook
y = %i * [1e-6 / ( 0.0950 + 0.1008)... |
94a17579879ce50391042599f823f9fb073a34b8 | 717ddeb7e700373742c617a95e25a2376565112c | /226/CH5/EX5.4/example4_sce.sce | 32f8e88eaa8a84144eb89210a8c6e6721f37f157 | [] | 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 | 195 | sce | example4_sce.sce | //chapter 5
//example 5.4
//page 189
printf("\n")
printf("given")
hFEmin=50;hFEmax=200;Vcc=18;Vbe=.7;Rb=470*10^3;
Ib=(Vcc-Vbe)/Rb
Ic=hFEmin*Ib
Vce=Vcc-Ic*Rc
Ic=hFEmax*Ib
Vce=Vcc-Ic*Rc
|
8fe94080342ed6d70fe71d5630c9986f1b8cc7fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH3/EX3.5/example5.sce | 9197837cf20ad52fa8b075fedd8d717430f84703 | [] | 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,027 | sce | example5.sce | clc
clear
//input data
N=16500//The running speed ofradial blade of a centrifugal compressor in rpm
P=4//The total pressure ratio
P01=1//The atmospheric pressure in bar
T01=298//THe atmospheric temperature in K
Dh=0.16//The hub diameter at impeller eye in m
Ca=120//The axial velocity at inlet in m/s
C1=Ca//The... |
f3e5de3dbe036c717cc4821b8d8b3596efa09b18 | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/example/In WAVE file, the sampling rate are 44.1kHz, 32kHz, 22.05kHz,.sce | ac8c8512f566b69bc2e3a8855d91b323518d8bfb | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | UTF-8 | Scilab | false | false | 268 | sce | In WAVE file, the sampling rate are 44.1kHz, 32kHz, 22.05kHz,.sce | // In WAVE file, the sampling rate are 44.1kHz, 32kHz, 22.05kHz,
// 16kHz, 11.025kHz and 8kHz
t=soundsec(1); //1sec sound time, the default sampling rate is 22050.
do=sin(2*%pi*264*t);
mi=sin(2*%pi*330*t);
so=sin(2*%pi*396*t);
snd=[do,mi,so];
savewave('oto.wav',snd);
|
5b37c8371f31ececcc39c5338cbb12374cb2ca3d | 48b35d91574ad9ef85aefeb435059f8f75e3bebb | /GOLD-TEST/liv.tst | 2edc5c29025ecb12d0b562621eecf516d11a2bd6 | [] | no_license | ElliotMouchon/task0-data | b3e96eea08b3eba08d5a889f9b385cf00ff5701d | 0d24b945ac96e08aa5a2f0080fa4de465f91b40a | refs/heads/master | 2023-04-16T11:48:39.575176 | 2021-04-29T04:04:17 | 2021-04-29T04:04:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 29,417 | tst | liv.tst | kūlõ algõd kūlõgõd V;FIN;PL;1;NEG;PRS;ACT;LGSPEC1
kōdkimdõz kōdkimdõndist ADJ;IN+ABL;PL
līdõ izt lī V;FIN;IND;SG;2;NEG;PST;ACT
tūlda tuļtõ V;FIN;IND;PL;2;POS;PST;ACT
nēļatuoistõnz nēļatuoistõndst ADJ;IN+ABL;SG;LGSPEC6
kūlõ kūlõg V;FIN;SG;3;POS;PRS;ACT;LGSPEC1
jellõ jelāgid! V;FIN;IMP;PL;2;POS;PRS;ACT
tas tassõdõ... |
aa59d94c7072cd32abbc7ad28619748039f4898f | 1cd726d8d89a8862be33ddcf214e11697981b87a | /SCILAB/SECOND ASSIGNMENT/ass2.sce | 0832cda3e1b26ebc74695ae60bd022739ca740e9 | [] | no_license | raghavatreya/raghavnetbeanproject12 | d05194eb9fda37fbcadd3b98d5c5f1a6eecc28e4 | 39a70aa5ab6b818caa3ffe6d53d94b56d372ab65 | refs/heads/master | 2021-01-01T04:11:54.479691 | 2016-04-30T06:54:59 | 2016-04-30T06:54:59 | 57,429,400 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | ass2.sce | disp(" printing charcter in scilab");
for i =0:4
for j= 65:70
msprintf("%c",ascii(j));
end
mprintf("\n");
end
x= input("enter number")
j=1;
for i =2:x
if(x%i==0)
{j=0;
break;
} //break;
++i;
end
if(j==1)
disp("prime number");
if(j==0)
disp("not a pr... |
842bcd1f89adef4e2ffcace6b6a1daa01dfac67b | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_ods_fsed_4_n.tst | 21fc057cc43b1e9d1fc9c1d6994d983037845b5e | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 51 | tst | test_ods_fsed_4_n.tst | cd
/
branch objects
aaa/
xxx (289 B)
truncate
exit
|
5d13f167148abe30a0646320859cacc9ea046213 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318.zip/Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318/CH3/EX3.63/ex_3_63.sce | 2972d5d8acc52fae448dddda87b3fcbb7717bb5e | [] | 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 | 290 | sce | ex_3_63.sce | errcatch(-1,"stop");mode(2);//Example 3.63:resistance and inductance
;
;
r2=50;//ohms
r3=100;//ohms
r4=100;//ohms
r=2500;//ohms
c=1;//micro farads
rX=((r2*r3)/r4);//ohms
l=(((c*10^-6*r2)/r4)*((r*(r3+r4))+(r3*r4)));//H
disp(rX,"resistance is ,(ohm)=")
disp(l,"inductance is,(H)=")
exit();
|
0462088fce464273daaec0bcad22c48d87c2e9eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH19/EX19.21/Ex19_21.sce | 8b5ae5fcde6b47fa6caa9593837b0602adb912d6 | [] | 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 | 344 | sce | Ex19_21.sce | clear
//Given
u0=-200.0 //cm
fa=50.0 //cm
ve=-25.0 //cm
fe=5.0 //cm
//Calculation
v0=1/((1/fa)+1/u0)
M0=v0/u0
ue=1/((1/ve)-1/fe)
Me=ve/ue
D=v0-ue
M=M0*Me
//Result
printf("\n (i) Saparation between the objective and ey... |
d288a19d0288344c9f3ce9b46869650b8819c5d7 | 299721455523ed57682bfaa01171a2cad61590b9 | /exp 1/Transpose of Matrix.sce | 90faf63eeb8cf3a903ecb31f30e8e0f4f47f6354 | [] | no_license | Anupamgupta01/SCILAB-PROGRAMS | 5acc63c3409fa62f02a1f60ed488c10c7d489b88 | 924a153d3227c007a3682b487a1ebd14a523da96 | refs/heads/master | 2023-05-11T14:14:25.453037 | 2021-06-05T22:25:37 | 2021-06-05T22:25:37 | 374,222,790 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | Transpose of Matrix.sce | clc;
m=input("Enter number of rows of the Matrix: ");
n=input("Enter number of columns of the Matrix: ");
disp('Enter the Matrix')
for i=1:m
for j=1:n
A(i,j)=input('\');
end
5
end
B=zeros(n,m);
for i=1:n
for j=1:m
B(i,j)=A(j,i)
end
end
disp('Entered matrix is')
disp(A)
disp('Transposed matrix is')
disp(B)
|
d882eef7172f2194d01a8fb23ca620b8583ac08b | da7436767c7c68bd2cf41b0a4c9fa29a547ffcaf | /requirements.tst | 154bafbfd16b0300b3fb5e629a47ab817a8c7327 | [] | no_license | Zidane404/dank-auto-lottery | 1dbcbc2a3c72ae547d9043b136fcba2fd6d3eb70 | 655fc8c14bfe191d44418ffeafcb20a5ac004563 | refs/heads/main | 2023-03-29T11:17:15.697772 | 2021-03-28T08:18:50 | 2021-03-28T08:18:50 | 352,275,739 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 28 | tst | requirements.tst | discord
asyncio
json
random
|
017795ed5ad6444b3ea35df604ee4d07f9a84131 | a557f90da8513f81cafd8f65e37e2c0d66449a2f | /repetation.sce | 8decced5761ab76fbbd73c40d5ba0c7187fa6f8c | [] | no_license | Sahil966121/SCI | 484cd77d6247e54fe87d36b4f112965c83ab5d96 | cf2921861486a4f2e2e83c3ca813a4e7710d3508 | refs/heads/main | 2023-03-03T17:43:08.236192 | 2021-02-03T05:19:43 | 2021-02-03T05:19:43 | 324,413,192 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | repetation.sce | clear;
clc;
x=input('Enter the sequence');
k=input('Enter the nmber of times the signal repeats');
x1=x;
for i=1:k
x1=[x1 x];
end
x=abs(fft(x));
x1=abs(fft(x1));
subplot(211);plot2d3(x);
subplot(212);plot2d3(x1);
|
1c945ce4837f142e68a58838917a73b345adeed3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH4/EX4.7/Example4_7.sce | 3e697a91c215e6350a40250ad3e6db7d4f2ab030 | [] | 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,076 | sce | Example4_7.sce | //Example 4.7
clear;
clc;
f01=3460.05;
fz1=3600;
Q1=31.4;
f02=3745;
fz2=3600;
Q2=31.4;
f03=3600;
fz3=3600;
Q3=8.72;
//The answer of the Example 4.7 is not given in the textbook
//The filter is designed using three biquad sections, namely, a high pass notch, followed by a low pass ... |
3d38517c9b9dec78135b243b7309b8e0ee468726 | 6586d6b87369695cd0b0dab5509ebb646c51f795 | /t/ep3.tst | 9a85bb9e07f76cc1791cb2ec1e6439cb1a0b5cbd | [] | no_license | aandyl/ep3 | 682e7250dba6a68c2272be7d581d702999aee137 | 48e38f03b23d83b1582d6ca17ed6ea7ca0193588 | refs/heads/master | 2021-01-02T08:32:05.329928 | 2013-02-04T05:20:38 | 2013-02-04T05:20:38 | 8,002,020 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,225 | tst | ep3.tst | @comment off
// macro variable definition, replacement, conditional output (ifdef/else/endif)
@mark 2_BEGIN
@define TEST2 ok 2
@ifdef TEST2
TEST2
@else
error 2
@endif
@mark 2_END
// as above, but using ifndef
@mark 3_BEGIN
@eval TEST3 "ok 3"
@ifndef TEST3
error 3
@else
TEST3
@mark 3_END
// "enum" directive, "if" dir... |
5bd2330edd2d87de04130886c8650b878a3e47fb | 717ddeb7e700373742c617a95e25a2376565112c | /503/CH10/EX10.6/ch10_6.sci | 73c95442f87cbeccd35b64d6d236f0f70696c67c | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,335 | sci | ch10_6.sci | //to calculate starting torque and atarting current,motor performance
clc;
V_a=110*complex(cosd(90),sind(90));
V_m=220*complex(cosd(0),sind(0));
R_1=3;
R_2=2.6;
X_1=2.7;
X_2=2.7;
X=110;
V_f=(1/2)*(V_m-imult(V_a));
V_b=(1/2)*(V_m+imult(V_a));
Z_f=(complex(0,X)*complex(R_2,X_2))/(complex(0,X)+complex(R_2,X_2... |
563c2067be300a02ee6c38ba585725088784b6d5 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassbpc2bpc/test_5.sce | be70ae7ad16ff97e60820faef710b2d83efae7ec | [] | 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 | 270 | sce | test_5.sce | // Test #5 : Input Argument #1 range test
exec('./allpassbpc2bpc.sci',-1);
[n,d]=allpassbpc2bpc([1.1,0.9],[0.5,0.9]);
//!--error 10000
//Wo must lie between -1 and 1
//at line 39 of function allpassbpc2bpc called by :
//[n,d]=allpassbpc2bpc([1.1,0.9],[0.5,0.9]);
|
9d89bb77b2a021c90b531b9fb50a2d56b9e92152 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.28/Ex1_28.sce | 8202e42a4c8b9d2a9847d645a046746b6a34f806 | [] | 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,430 | sce | Ex1_28.sce | clc;
P=10000; // rated power of transformer in VA
E1=2500; // primary side voltage
E2=250; // secondary side voltage
pf=0.8; // power factor
//initialising the results of open circuit test
vo=250; // open circuit voltage
io=0.8; //no load current
po=50; // open circuit voltage
// initialising the results of op... |
5c63916a3fd23f999a6a5f3ceaf054c8d695fd2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH2/EX2.9/2_9.sce | 3b1fee06224e39ebc9cd705c08f5d709e4bb3ddd | [] | 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 | 816 | sce | 2_9.sce | clc,clear
printf('Example 2.9\n\n')
V=250
R_a=0.3,R_sh=200 //resistance of armature and shunt field winding
R_x=150 //additional resistance added in series to field winding
I_L1=22
I_sh1=V/R_sh //initial shunt current before adding 150 ohms resistance
I_a1 = I_L1 - I_sh1 //initial armature current before addi... |
b60f7989de2d70c6dcd84055d7dc05dfcbd5867c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH5/EX5.17/Example_17.sce | 7156929ab00ef9ee5f38080bee0b2da8d06d833f | [] | 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 | 334 | sce | Example_17.sce | //Chapter-5,Example 17,Page 129
clc();
close();
K1=5*10^-3 //rate constant at 800 degrees
Ea=4.5*10^4 //activation energy
T1=800+273 //temperature in Kelvin
T2=875+273 //temperature in Kelvin
R=8.314 //gas constant
K2=K1*10^(Ea*(T2-T1)/(2.303*R*T1*T2))
printf('the value of K2 = %.4f l/... |
b1ac50f0aeeab586378fe1926508f06137d16d05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH6/EX6.6/Ex6_6.sce | 25b0b648e80effc01dee70274cc0ce0ad5b6b520 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | Ex6_6.sce | //Chapter 06: Counting
clc;
clear;
function res=permutation(n,r) //function definition
i=n
res=1
l=(n-r)+1
u=n
for i=l:u //computing the permutation
res=res*i
end
return res
endfunction
a=permutation(5,3)//function call
b=permutation(5,5)//function call
mprintf("The number of ways to select 3 students from a group ... |
139abee22c50e31aa26d3d73f920637e0f9a0976 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH6/EX6.04/6_04.sci | 4b9fc29307fbf77caee54111157d3b52f4e0ac9c | [] | 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 | 153 | sci | 6_04.sci | //syslin//
exec parallel.sce;
syms G1 G2 G3 H;
a=series(G1,G2);
b=parallel(a,G3);
y=b/.H //negative feedback operation
y=simple(y)
disp(y,"C(s)/R(s)=")
|
2455fcea4407986270af21df8a8775d7c80810af | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/final/ga/directFBG.sci | 4a0974bf475c7d5a78572dee8354b22c2a47216f | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,777 | sci | directFBG.sci | //
// direct problem: computation of the reflectitivity spectrum of a FBG and of the errror function
//
function rhodot=f(z,rho,delta,lamb,zf,dn) // right hand side of the ODE
d=splin(zf,dn); // spline interpolation of the apodisation function
dnz=interp(z... |
02393c89ec872e8ad03f67a40a5ac48a7fec77bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH3/EX3.5/Ex3_5.txt | 37d047d8867c4165a5604e03942b6975e457f57d | [] | 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,512 | txt | Ex3_5.txt | //Ex:3.5
clc;
clear;
close;
dB=20;
n=5;// five element array
r=10^(dB/20);// because dB=20log(r)
// Tchebyscheff polynomial of degree (n-1)=5-1=4
// T4(xo)=r
// 8xo^4-8xo^2+1=10
// then using ulternate formula, we get the value of xo
m=4;// degree of the equation
a=sqrt(r^2-1);
A=(r+a)^(1/m);
B=(r-a)^(1/m... |
71a85e44942e9847cf9d896e329e362f66b6cb12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH7/EX7.1/Example7_1.sce | baef4953e8da1df0a3bdd248889da1701c45a0ec | [] | 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 | 214 | sce | Example7_1.sce | //Exa 7.1
clc;
clear;
close;
//Given data :
r=1;//cm
d=4;//meter
g0=30/sqrt(2);//kV/cm
LineVoltage=sqrt(3)*g0*r*log(d*100/r);//kV
disp(round(LineVoltage),"Line Voltage for comencing of corena(in kV) :");
|
77dcaf69f0c3b221e20f96fc572bd5373222f862 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH1/EX1.68/ex_68.sce | 7964f755cb31ea8beebae9ac6dd9b874ff92e645 | [] | 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 | 321 | sce | ex_68.sce | R1=10; //Assigning values to parameters
R2=20;
R3=40;
R4=30;
R5=15;
V=2;
I1=V/(R1+R4);
I2=V/(R2+R5);
Vth=R2*I2-R1*I1; //Calculation of Thevenin voltage
Rth=((R1*R4)/(R1+R4))+((R2*R5)/(R2+R5)); //Calculation of Thevenin resistance
Il=Vth/(Rth+R3);
disp("Amperes",Il,"Load current"... |
ab76f83bc1e56702176ab61b1298f9757ec6f5ed | e12ae73e9bf42660e31510c1ad75196734588379 | /objects/filter/lp_coeffs.sci | 77c764f4ec682bdee0894f9cf6b606f628f604f2 | [] | no_license | Gassolini/axotest | 920d973801e86b92a1d38daa00e406a9187862ea | a505d70cce6c8441ddb6b2902632550050c56f1b | refs/heads/master | 2021-01-17T15:12:17.009680 | 2019-07-09T23:58:17 | 2019-07-09T23:58:17 | 56,459,532 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,026 | sci | lp_coeffs.sci | // RBJ EQ Cookbook LPF
Fs = 48000;
f0 = 13290;
Q = 1;
w0 = 2*%pi*f0/Fs;
//w0 = 8*f0/Fs;
//w0=(f0/Fs) * (2^31);
alpha = sin(w0)/(2*Q);
a0 = ( 1 + alpha ) ;
a1 = ( -2*cos(w0) ) / a0;
a2 = ( 1 - alpha ) / a0;
b0 = ( (1 - cos(w0))/2 ) / a0;
b1 = ( 1 - cos(w0) ) / a0;
b2 = ( (1 - cos(w0))/2 ... |
a1aceb00d69dce91c34b4430dbe83095684d984b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH1/EX1.43/Ex1_43.sce | 58e87e97cdb146e50abf02f7bec8d51e675a8e34 | [] | 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 | 292 | sce | Ex1_43.sce | errcatch(-1,"stop");mode(2);//Example 1_43
;
;
//To find the thickness of the soap film
lemda=7000 //units in angstroam
lemda=7000*10^-8 //units in cm
u=1.33
n=2
t=(((2*n)+1)*(lemda/2))/(2*u)
printf("Thickness of the soap film is %.8f cm",t)
exit();
|
e15bc2c43258b88f503f5813cadd81a3a4c8d23c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH6/EX6.3/ex6_3.sce | 35a22e8ace6210b0b7cb441d922e00f6c484234b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | ex6_3.sce | //Determine percentage rise in voltage
clear;
clc;
//soltion
//given
f=50;//Hz//frequency
w=2*%pi*f;
l=200;//km//length
RiV=((w^2)*(l^2)*10^-8)/18;
printf("Rise in voltage= %.2f percent",RiV);
|
5dfdfcb0b4103d852653cb1a08f8ac2929a2b558 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH10/EX10.3/Ex10_3.sce | 25dfe6663d0033b9164800860bb8f7d8c950efc4 | [] | 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,038 | sce | Ex10_3.sce | // Example 10_3
clc;funcprot(0);
// Given data
L_p=100;// Length in m
L_m=2;// The model length in m
v_m=5*10^-2;// Displaced volume in m^3
A_wm=0.9*1;// Wetted area in m^2
rho_m=1*10^3;// kg/m^3
V_m=1.1;// m/s
D_m=2.66;// The drag force in N
rho_p=1.03*10^3;// kg/m^3
SR=1/50;
nu=1*10^-6;// m^2/s
// Calc... |
017d77844e563bb545b953bf04b1edf7c43c3a93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH6/EX6.13/c6_13.sce | 21639da7fdfe49456f68dc26ee18f3aafef08281 | [] | 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,458 | sce | c6_13.sce | //(6.13) Steam enters a nozzle operating at steady state at p1 = 1.0 MPa and T1= 320C with a velocity of 30 m/s. The pressure and temperature at the exit are p2 = 0.3 MPa and T2 = 180C. There is no significant heat transfer between the nozzle and its surroundings, and changes in potential energy between inlet... |
3601ff250d7a55769693cf1b88c40d6e884398f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH8/EX8.23/Example_8_23.sce | a7500a67ff0b5ac36bd013922096b9b3a01d08c3 | [] | 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,614 | sce | Example_8_23.sce | //Caption:Test of Hypotheses concerning Proportions
//One-tailed Tests Concerning Single Proportion
//Test 1: Ho:p<=k and H1:p>k
//Example8.23
//Page271
clc;
p = 0.85; //85% of the assemblies coming out of the assembly line will be free from
//missing components
q = 1-p;
n = 50; //sample size
pbar = 44/n; /... |
69c48168c3c291a4dad07388dd3f9b310dfd572f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH14/EX14.2/Ch014Ex2.sce | 63935211353ff677a06a16b63d37cb985d7acd35 | [] | 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 | 775 | sce | Ch014Ex2.sce | // Scilab code Ex14.2 : Pg:718(2011)
clc;clear;
e = 1.6e-019; // Charge on an electron, C
mu_e = 0.36; // Mobility of an electron, metre square/V-s
mu_h = 0.17; // Mobility of a hole, metre square/V-s
n_i = 2.5e+018; // Intrinsic concentration of Ge sample, per metre cube
sigma = e*n_i*(mu_h+mu_e); // El... |
c8bce8b8a8efb34a68028729c0344c1abdab42bf | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/fraclab/mbmlevinson.sci | 49973df15087409404a3a24588f9f672070ee71c | [
"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 | 2,975 | sci | mbmlevinson.sci | function [x,y,r] = mbmlevinson(N,H,seed) ;
// This Software is ( Copyright INRIA . 1998 1 )
//
// INRIA holds all the ownership rights on the Software.
// The scientific community is asked to use the SOFTWARE
// in order to test and evaluate it.
//
// INRIA freely grants the right to use modify the Software,
// ... |
907e1dbfaa3d6c29175e164122f3ad9e96f99b63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH2/EX2.2/Ex2_2.sce | 5ff55a7f1afbd905c87f9478cdfaa67b48437872 | [] | 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 | 379 | sce | Ex2_2.sce | clc;
//ex2.2
VD1=0; //Volt//diode is forward bias for ideal diode total Rideal=0 so VD1=IT*Rideal=0V
R1=1000; //kilo ohm;
VS=5; //Volt //voltage across voltage source
IT=(VS/R1)-(VD1/R1);//Ampere;apply kvl in the circuit
VR1=IT*R1; //Volt//apply ohms law voltage across resistance
disp( 'Volt',VD1*1,"VD1=");
dis... |
3b98f4b62a64f2306feddfb78fc1cf461fd5fa98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH7/EX7.12/Example7_12.sce | 01fe44c95f7e45cac1a6129dccbf412414484da0 | [] | 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 | 310 | sce | Example7_12.sce | ////Example 7.12
clc;
clear;
close;
format('v',6);
//Given data :
g=9.81;//gravity constanty
D1=100/1000;//meter
D2=300/1000;//meter
Q1=0.01;//m^3/sec
A1=%pi/4*D1^2;//m^2
A2=%pi/4*D2^2;//m^2
//hf1=hf2
Q2=sqrt(D2/(D1)*(Q1/A1)^2*A2^2);//cumec
disp(Q2,"Discharge throough 300mm pipe in cumec : ");
|
58e8da63f21f92162d9562bb7834a34e7887eb6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH1/EX1.26/Ex_1_26.sce | abbb127e7949eff10906b4f6baa966e0aa125102 | [] | 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 | 470 | sce | Ex_1_26.sce | //Example 1_26
clc;
clear;close;
//Given data:
Tj=125;//degreeC
Ts=80;//degreeC
theta_jc=0.7;//degree C/W
theta_cs=0.4;//degree C/W
//part (a)
Pav1=(Tj-Ts)/(theta_jc+theta_cs);//W
disp(Pav1,"(a) Average power loss in W")
//part (b)
Ts=50;//degreeC
Pav2=(Tj-Ts)/(theta_jc+theta_cs);//W
disp(Pav2,"(b) Per... |
89c1e981cd01c314f0243acb6205d70f4e005293 | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/RLG/Geometry/rectBbox2DAxisAligned.sci | f522409271c30d72d80bd251bd40be6d571dfad5 | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,026 | sci | rectBbox2DAxisAligned.sci | function [rectOrigin,rectL,rectW] = rectBbox2DAxisAligned(points)
//Author : Maxens ACHIEPI
//Space Robotics Laboratory - Tohoku University
//Description:
//Computes the minimal rectangular planar bounding box of the set of points.
//The bounding box is axis-aligned with the projection of x0 on... |
7d87f1f022295dc4812c5c0a3b769e4036f1bad7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/util/input.sci | 16ed6e7f4393d05cbbdaa4c2e9a674e68f5f682b | [
"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 | 193 | sci | input.sci | function [x]=input(message,flag)
// Copyright INRIA
[LHS,RHS]=argn(0)
if RHS==1 then
disp(message)
x=evstr(read(%io(1),1,1,'(a)'))
end
if RHS==2 then
disp(message)
x=read(%io(1),1,1,'(a)')
end
|
56c5799530b9a5843560f48f699dcd2a59bc157b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH7/EX7.18/Ex7_18.sce | d2cefbbfcec2a276e421eec9c956bbbc1d235558 | [] | 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 | 516 | sce | Ex7_18.sce | clear
//
//
//Initilization of Variables
d=100 //mm //Diameter of shaft
M=3*10**6 //N-mm //B.M
T=6*10**6 //N-mm //Twisting Moment
mu=0.3
//Calculations
//Max principal Stress
P1=16*(%pi*d**3)**-1*(M+(M**2+T**2)**0.5) //N/mm**2
P2=16*(%pi*d**3)**-1*(M-(M**2+T**2)**0.5) //N/mm**2
//Direct stress
P=(P1)-mu*(P2) //... |
cec07584520477585a10b4f467798c81446385c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH2/EX2.6/ex2_6.sce | 9969329d9250f23781d3b70f04f69ef1c52ec5f4 | [] | 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 | 507 | sce | ex2_6.sce | // Exa 2.6
clc;
clear;
close;
format('v',5)
// Given data
R1 = 2;// in ohm
R2 = 3;// in ohm
R3 = 1;// in ohm
R4= 2;// in ohm
V1 = 4.2;// in V
V2 = 3.5;// in V
R_T =R1+R3+R2*R4/(R2+R4);// in ohm
I_T = V1/R_T;// in A
I1 = (R1/(R1+R2))*I_T;// in A
R = R1+R3;// in ohm
R_desh = (R*R2)/(R+R2);// in ohm
R_T =... |
4e51370b301f79a60e510c683a0ee6bae9266a2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH4/EX4.21.ii/Ex4_21ii.sce | 9c86cf8c042e10cda4946eea3585c474f4164d2f | [] | 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 | 235 | sce | Ex4_21ii.sce | //Caption: Bandwidth
//Example 4.21.i
//page no 197
//Find minimum required bandwidth
clear;
clc;
SNRO=30;//dB
fmin=300;
fmax=3300;
fs=8000;
v=5;
fPCM=(v*fs)/2;
disp(fPCM/1000,"minimum required bandwidth");
disp("kHz");
|
ded56972b1810d301c56b768a782e301680c913c | a62a67542e036e3052d0b560f49fc3a03f657aa8 | /cw6/cw6.tst | 07feccdb0dc6c0d4a6ea3e86e607d5383adff301 | [] | no_license | bladekp/psi | 417ae0480365c1954005f66eaf8bee2e72a59c43 | 00aae0ca2ee7d51219a994717baca6f7dc5d8fcb | refs/heads/master | 2016-09-07T18:36:13.408858 | 2015-04-29T11:35:18 | 2015-04-29T11:35:18 | 31,655,953 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 27,447 | tst | cw6.tst | we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we we wy
USD_11 USD_10 USD_9 USD_8 USD_7 EUR_11 EUR_10 EUR_9 EUR_8 EUR_7 CHF_11 CHF_10 CHF_9 CHF_8 CHF_7 LIBOR_CHF_1W_11 LIBOR_CHF_... |
704f705061355bc15b672b88735b644cf6447923 | f78a758dc17a311b355e12366d1315f7a9c2b763 | /Mercedes-Benz/MBN LV 148 2013/E48-08 Reset behavior 0.tst | c97240e686f7e92a3afb8760af7e1eba0b17f16e | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,360 | tst | E48-08 Reset behavior 0.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTestC version="2.0.0">
<Title>E48-08 Reset behavior</Title>
<Organization>Mercedes-Benz</Organization>
<Standard>MBN LV 148</Standard>
<Item>E48-08 Reset behavior</Item>
<system>
<PowerSystem>3</PowerSystem>
<voltage>0</vol... |
3c841e910b42592dcd49fa14dbfbf0f1dc18b86d | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH14/EX14.2/ex14_2.sce | a97e070efc45e8d104d5a7077faada6cd5a4770f | [] | 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,541 | sce | ex14_2.sce | clc;
warning("off");
printf("\n\n example14.2.sce - pg726");
T=40+273.15; //[K] - temperature
P=1; //[atm] - pressure
// thermal conductivit of air
sigma=3.711*10^-10; //[m]
etadivkb=78.6; //[K]
A=1.16145;
B=0.14874;
C=0.52487;
D=0.77320;
E=2.16178;
F=2.43787;
Tstar=T/(etadivkb);
// using the formula... |
1ee8b0bfcbfd9d489358a9514d8f03b1258d7f2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH2/EX2.30/Ex2_30.sce | ce6cc74789dcf702df537f28075fdc8468009bc9 | [] | 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 | 227 | sce | Ex2_30.sce | //Example 2-30, Page no - 90
clear
clc
bw_mhz = 60
tri_ns= 15
tra_osci = 0.35/(bw_mhz)
tra_comp = 1.1*(tri_ns^2 + (tra_osci*10^3)^2)^0.5
printf('The rise time of the displayed square wave is %.1f ns',tra_comp)
|
fcc7e2726239932ed373b1834eb289bbcad5896e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH29/EX29.4/29Ex4.sce | a1e10e1f29ca74af0d9bc76c6d5bed5662aa3bf3 | [] | 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 | 405 | sce | 29Ex4.sce | //Chapter 29 Ex4
clc;
clear;
close;
facevalue=100; //since the stock is calculated over 100
marketvalue=106; //given
stock=8; //value is in percentage
purchaseAmt=2500;
incomefacevalue=stock; //since the income is directly calculated on stock
incomepurchaseAmt= incomefacevalue*purchaseAmt/facevalue;
m... |
460761128c582baed75116650e704f55e4c6c71a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH3/EX3.2/Chapter3_Example2.sce | b81a5a5e92b9a4216b1caa4045178726db453101 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | Chapter3_Example2.sce | clc
clear
//INPUT DATA
cp=0.1;//specific heat of copper in kj/kg-K
w=120;//weight of copper calorimeter in gm
a=1400;//weight of paraffin oil in gm
cp1=0.6;//specific of parafin oil in kj/kg-K
b=10^8;//force to rotate the paddle in dynes
T=16;//rise in temperature in deg.C
n=900;//no.of revolutions stirred ... |
49462675c09df5fced1a2eda22735bd8733115db | 7edeaa4920427595d3601e218f8de85be39cf22d | /TP/tp1/ecs.sci | 30ab09ba94b645757b2f01fb22da917112c07ae4 | [] | no_license | BiteKirby3/Math-is-so-fun | 96fb19815c7ab46d1a8e81771e0e70170ee503ab | 20db5e67e73a5ccfd1599cf56718c9d6f0adaa0c | refs/heads/main | 2023-08-27T23:18:38.117913 | 2021-10-11T22:59:20 | 2021-10-11T22:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sci | ecs.sci | function [e] = ecs (myfun) //myfun=cs
e = zeros(1, 17)
for i = 1 : 17
e(1,i) = abs(exp(%pi/4)*sqrt(2)-myfun(myf,%pi/4,10^(-i)))
end
endfunction
|
28c310abb79bbc60c137f0553fb0574a41ccc241 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH5/EX5.14/example5_14.sce | 707df3a476790c0fc16d9da79c787f76005331fd | [] | 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 | 775 | sce | example5_14.sce |
//example 5.14
//calculate formation constant of acquifer using Jacob's method
clc;funcprot(0);
//given
Q=2500; //discharge(l/min)
r=60; //distance of observation well from acquifer
tmin=[1 1.5 2 2.5 3 4 5 6 8 10 12 14 18 24 30 40 50 60 80 100 120 150 180 210 240]; //time in minutes
s=[0.2 0.26 ... |
3565643870a9ead8509b5a401c45db4f1f2acaf8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH2/EX2.3/Ex2_3.sce | 52e7dd4f3f2717420482739b526c795343e4f739 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | Ex2_3.sce | // Example 2_3
clc;funcprot(0);
// Given data
m=4;// The mass of water in kg
P=220;// kPa
x=0.8;// The quality of steam
// Calculation
// Use Table C-2.To determine the appropriate numbers at 220 kPa we linearly interpolate between 0.2 and 0.3 MPa.
P_1=0.2*10^3;// kPa
P_2=0.3*10^3;// kPa
v_g1=0.8857;// m^3/... |
fa82bfedb0b0ffeb1c28b840e0b1f7b71a2661b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH14/EX14.3/eg_14_3.sce | 022920cbf20f60613755c593f64d28a79413fd35 | [] | 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,161 | sce | eg_14_3.sce | clc;
clear;
s=['PS' 'x=0' 'x=1';
'A' 'A' 'B';
'B' 'E' 'B';
'C' 'E' 'F';
'D' 'E' 'F';
'E' 'A' 'D';
'F' 'E' 'B'];
z=0;
disp("Original Machine M4");
disp(s);
p=s;
n=max(size(s(:,1)));
for i=2:n
for j=i:n
if(s(i,2)==s(j,2) & s(i,3)==s(j,3) & i~=j)
z=z+1;
... |
c79e42df82d2022f52ecc8b0035437f151662580 | 341319310360f6bf37a7422eea7a73b66e811aab | /mat-generation/genspvert.sci | d976f941fd2a3f6524e4c24afe0324df7c55380b | [] | no_license | callpraths/CS733 | 67873cc73faeb126feebd07c32e5fbbaff9f2df1 | 5ef0f09b1526c1afbb3b7da89485fa44aaf6840f | refs/heads/master | 2021-01-01T05:33:06.794194 | 2012-12-24T04:45:21 | 2012-12-24T04:45:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sci | genspvert.sci | function B = genspvert(n, d, t)
A = sprand(n,1,d,t);
if(abs(A(n,1)) < 1)
A(n,1) = A(n,1) + 3;
end
[x,i,v] = sp2adj(A);
ex = ones(length(i),1);
B = [i-1,ex-1,v];
endfunction
|
b0006279f4118ba1fa85f79ca189052ffe774a35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH12/EX12.11/Ex12_11.sce | f8c6af6ce9e4c1f3ac030caf630ad18cd6b637ae | [] | 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,628 | sce | Ex12_11.sce | //Fluid Systems - By - Shiv Kumar
//Chapter 12- Reciprocating Pumps
//Example 12.11
//(a)Theoritical Question.
//(b)Theoritical Question.
//(c)To Find the Rate of flow into or from the air vessel when crank makes angle of 30, 90 and 120 degrees with inner dead centre and
//Also Determine crank angle at which ther... |
c0c98bf6f85f539906ab84baf57d3a35d21c3ddd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH6/EX6.8/Ex6_8.sce | 1214f20ef80b9f510b2967d77c57e66aa63188c8 | [] | 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,557 | sce | Ex6_8.sce | //Exa 6.8
clc;
clear;
close;
// given :
G=9 // required gain in dB
f_l=125 // lowest frequency in MHz
f_l=125*10^6 // lowest frequency in Hz
f_h=500 // highest frequency in MHz
f_h=500*10^6 // lowest frequency in Hz
c=3*10^8 // speed of light in m/s
lambda_l=c/f_l // longest wavelength in m
lambda_s=c/f_h /... |
96904f66b6b5a430798d77aa27102783270674e9 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/rcall.instr.tst | 781ecacc0e9577334059048c4d63311dc8d3d1d9 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 93,421 | tst | rcall.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00001000 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00001034 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0xff 0xd3 rcall .+2048 ; 0x800
0x0: 0xff... |
44f00452b7011076268dac965acc38e4f9bc899e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH20/EX20.4/20_4.sce | 0d5c7664d8814a4f2f3b2a3d60fe5eff6cb64c14 | [] | 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 | 419 | sce | 20_4.sce | clear//
//Variables
LR = 10.0 //Load regulation (in micro-volt per milli-Ampere)
VNL = 5.0 //No load Voltage (in volts)
dIL = 20.0 //Change in current (in milli-Ampere)
//Calculation
VFL = VNL - LR * dIL * 10**-6 ... |
a52adc2e88fa5898d40430566d1ef10a0b1d7772 | b24d354cfcd174c92760535d8b71e22ced005d81 | /DSP functions/zpklp2xn/test_2.sce | ac70553879bc852b39b83767d8355b8cb5d40263 | [] | no_license | shreniknambiar/FOSSEE-Signal-Processing-Toolbox | 57ad8e2a71d64f95c4ccfd131e00095cf2b9c6f8 | 143cf61eff31240870dc0c4f61e32818a4482365 | refs/heads/master | 2021-01-01T18:25:34.435606 | 2017-07-25T18:23:47 | 2017-07-25T18:23:47 | 98,334,322 | 0 | 0 | null | 2017-07-25T17:48:00 | 2017-07-25T17:47:59 | null | UTF-8 | Scilab | false | false | 305 | sce | test_2.sce | // Test # 2 : Excess Input Arguments
exec('./zpklp2xn.sci',-1);
[z,p,k,n,d]=zpklp2xn(3,1,7,[0.5 0.9],[0.4 0.5],'pass',3);
// !--error 10000
//Number of input arguments should either be 5 or 6
//at line 37 of function zpklp2xn called by :
//[z,p,k,n,d]=zpklp2xn(3,1,7,[0.5 0.9],[0.4 0.5],'pass',3)
|
7f35891c650760e65548331b4dad00cb7cbc2727 | 02427d9d608ef9018bc666d8532338ef5e008a07 | /PAL/1_makefile/tests/2.out | a85609d94f09d9c86dabc7f70c2c3620e4b1e66d | [] | no_license | michalsustr/CTU | aebd874999ee53bc3bd3f07ef7b3461458c84826 | 00a1a152e1ce445427eb9e043b962387fb12ab64 | refs/heads/master | 2021-01-10T06:31:32.424103 | 2015-12-31T00:21:34 | 2015-12-31T00:21:34 | 48,609,906 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 42 | out | 2.out | all:
#target1:
#target2:
#target3:target2
|
7d4c16d8520d1d1f3f59d3be5070630b11a1c3a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH10/EX10.9/Ex10_9.sce | 845941787f0633b2b3ac1c701e805f6f5d8c839c | [] | 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 | 481 | sce | Ex10_9.sce | // Example 10_9
clc;clear;funcprot(0);
//Given data
V=5.0;// Uniform speed in mi/h
x=16;// Length in ft
T=50;// °F
nu=1.407*10^-5;// The kinematic viscosity of water in ft^2/s
// Calculation
Re_x=(V*x)/nu;// The Reynolds number at the stern of the canoe
Re_cr=1*10^5;// Critical Reynolds number
if(Re_x>Re_cr... |
255bf5da20d8874860222b4db8b6816ec140b3e6 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/BCK/Scripts/_autorun.SCI | 783900cc2a72d6e6f2417352e9c5a92970faec7f | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 53 | sci | _autorun.SCI |
ExecuteScript(ScriptDir+"\test\test_bezier.sci");
|
5429b7ced89d222a2ff4d9df4582527f2ca60d9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH10/EX10.5/ex_10_5.sce | c46fdc451d29d30cdc91d2fe0f9cddf22d74e911 | [] | 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 | ex_10_5.sce | //Example 10.5: Energy returned to the line
clc;
clear;
close;
//given data :
W=500;//in tonne
G=(20*100)/1000;// gradient in %
eta=75/100;// efficiency
V=40;// in kmph
r=40;//N/tonne
Ft=(W*r)-(98.1*W*G);//tractive effort in N
P=(-Ft*V)/3600;// Power available in kW
Pf=round(P*eta);
disp(Pf,"power fed into the line,Pf(... |
ece647c9f029614a7029815b96f2889d927d64f4 | f7e981eeadbb0bba2edc23eccc7168670c099d2d | /bsp08.sce | 309f56207c5b5d6837069ba7d8cbe15c19e71284 | [] | no_license | mr-georgebaker/Scilab-Exercises | bf1e79d68b856f92e2be86b6b002f4eb657ff0ef | fc63d68aeaf495da81a0c557a4f07192aacbd1c6 | refs/heads/master | 2016-08-05T01:37:09.841260 | 2015-05-22T18:24:17 | 2015-05-22T18:24:17 | 32,216,608 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,887 | sce | bsp08.sce | // Calculates the roots of a function f(x) = 0.6*epx(x) - x - 0.5 based on fixed-point iteration for different starting values x_1 = 0.1,0.2,...,1.0 and an accuracy for eps = 1e-6 or k = kmax
// Prints out the different values for each starting value as well as a plot containing the function, the function used for the ... |
86746f9fba7a88b2ea7fdd9e9c2b0632564a2197 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.46/Ex5_46.sce | fc600bbdfc614acac493960197388d33549f44db | [] | 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 | 114 | sce | Ex5_46.sce | clear
//Given
E=1
R=2
//Calculation
r=(E*R)-E
printf("\n The internal resisatnce of aech cell is %0.3f ohm",r)
|
cb24ac5952e40fd98b150b2f6884e607eaf4ab76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH13/EX13.4/ex13_4.sce | fe9db4774197644e87cce0eae53857e2c8c22696 | [] | 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 | 313 | sce | ex13_4.sce | clc;clear;
//Example 13.3
//given data
m1=14.007520;//mass of 7N14 in a.m.u
m2=1.008986;//mass oh 0n1 in a.m.u
//m3=mass of 6C14 in a.m.u
m4=1.008145;//mass of 1H1 in a.m.u
//rxn = 7N14 + 0n1 = 6C14 + 1H1 + 0.55 MeV
//calculations
Q=0.55;
dm=Q/931;
m3=dm+m1+m2-m4;
disp(m3,'mass of 6C14 in a.m.u') |
50fa6e23cf4271cc7f75fdd470bbd06ac3a9f9c5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/m2sci/sci_copper.sci | ceaeb9230d0828ac7a92964ad14c53d3879361ad | [
"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 | 379 | sci | sci_copper.sci | function [stk,txt,top]=sci_copper()
// Copyright INRIA
txt=[]
if rhs<1 then
stk=list('min(ones(32,3),graycolormap()*diag([1.2500 0.7812 0.4975]))','0','32','3','1')
else
if isname(stk(top)(1)) then
n=stk(top)(1)
else
n=gettempvar(1)
txt=n+'='+stk(top)(1)
end
stk=list('min(ones('+n+',3),graycolorma... |
253fbe015e8f30bcb25b04bb3c6d32eb5aa07ac0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/percent/%rnlss.sci | 83459a403182a9104ec14568286e7e3b6586851c | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"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 | 150 | sci | %rnlss.sci | //[r]=%rnlss(s1,s2)
//%rnlss(s1,s2) effectue le test d'inegalite entre transfert et systeme d'etat
//correspond a l'operation s1<>s2
//!
r=%t
//end
|
a86ba071454f860130204a666486e42694ab7c58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH8/EX8.14/Ex8_14.sce | db5cda50973d0252fbf26e6098a1a4fdfaa22827 | [] | 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,414 | sce | Ex8_14.sce | // Problem 8.14,Page no.215
clc;clear;
close;
L=70 //cm //Length of Longest plate
n=10 //Number of turns
b_1=5 //cm //width of plates
P=3.5 //KN //central Load
t=6 //mm //thickness of plates
L=75 //cm //Length of plates
y_c=1.8 //cm //central deflection
sigma=190 //MPa //allowable bending stress
//b=12*t
E=200 //GPa ... |
53b3bb7ea26c6177dbd5380757af37b1c15abe8a | 009e6209a86f0838f0faca8a33b2c162e5d1a7a6 | /src/scripts/Trapecio.sce | 01e0e57607c7f90747aa0ba65b5094d11ed06da7 | [] | no_license | MoisesU/MESO-MetodosNumericos | 90a62a31e3213c50dec55228ceca7ce034cfbb7c | 17fe0efa1690ac93f36799a12a9f9c99f1ab94a4 | refs/heads/main | 2023-06-02T05:51:03.641326 | 2021-06-20T03:18:17 | 2021-06-20T03:18:17 | 306,203,044 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | Trapecio.sce | function [x, tab] = trapecio(fx, a, b, n)
h=(b-a)/n;
xi = a;
tab = [];
i = 1;
while xi <= b
tab(2, i) = fx(xi);
tab(1, i) = xi
i = i+1;
xi = xi + h;
end
area = tab(2, 1) + tab(2, n+1);
for i=2:1:n
area = area + 2 * tab(2, i);
end
... |
beed5cde7378db4aa416e0dbea2dd2407f70997a | 68e53df229b123d7681a4f7fa4db43b4982d5362 | /dlyapchol.sci | eeca6af673f33d4c7e1d1ac7b025c36ff17d2175 | [] | no_license | yeoleparesh/Control-system | 06c30e594d51fec7a8ffabc452a7866b38604a23 | dee7fbfd3c2c46cc1d4d0a3cb8af45d918da972b | refs/heads/master | 2021-01-17T12:38:05.661769 | 2019-01-03T12:03:53 | 2019-01-03T12:03:53 | 59,283,431 | 0 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 2,136 | sci | dlyapchol.sci | function[w]=dlyapchol(a,b,e)
//
//Calling Sequence
// R = dlyapchol(A,B)
// R = dlyapchol(A,B,E)
//Description
//dlyapchol function Compute Cholesky factor of "discrete-time" Lyapunov equations.
//
//R = dlyapchol(A,B) computes a Cholesky factorization X = R'*R of
// the solution X to the Lyapunov matrix... |
980fb899557cfcef99180707b3df9e459dd0f71a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH6/EX6.2/Ex6_2.sce | f30f1cf2da19ba0c68693815fc0da346c74f4e2e | [] | 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 | 819 | sce | Ex6_2.sce | //Calculate the value of Change in Gibbs Energy (delG) for melting of ice at 0 degree celcious, 10 degree celcious and minus 10 degree celcious
//Example 6.2
clc;
clear;
delH=6.01; //Change in Enthalpy in kJ mol^-1
T1=273; //Temperature of ice in K
delS=22.0; //Change in Entropy in J K^-1
delG1=... |
545a947c2df25c0ec933d03510e90371c37e7b77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH7/EX7.3/7_3.sce | 8046b1a55520c427a39009ce2165ff5cdf7c03cb | [] | 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 | 198 | sce | 7_3.sce | clc
//initialisation of variables
clear
R= 1.98 //cal//mol K
x= 0.75
n= 9
//CALCULATIONS
dS= -R*(n*(x/n)*log(x/n)+(1-x)*log(1-x))
//RESULTS
printf ('Entropy = %.2f cal deg^-1 mole^-1',dS)
|
8026df5491b3b4d2fcd54ef5d3c8b09f620acb65 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /CostHriFunction/PR2/SCENARIOS/Pr2ShelfAndHumanTmp8.sce | 0f72b1c8e72f1367c6d2df154b1fc7b45a924db9 | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,038 | sce | Pr2ShelfAndHumanTmp8.sce | #************************************************************
# Scenario of Ikea
#
# date : Tue Jul 24 16:06:37 2012
#************************************************************
p3d_sel_desc_name P3D_ENV Ikea
p3d_sel_desc_name P3D_ROBOT BLUE_BOTTLE
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000... |
dba4f83c18dff4c12fd8c82cbf89122d97337f7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.34/34.sci | aa1704efff078d69e22d8ad6abb4fcf072735967 | [] | 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 | 290 | sci | 34.sci | clc;
clear all;
disp("local HT coefficient")
U=50;//m/s
Cfx=0.004;
k=0.035;//W/m.C
cp=1001;//J/kg.K
rho=0.88;//kg/m^3
mu=2.286*10^(-5);//kg.m/s
Pr=mu*cp/k
m=rho*cp*U
//St=hx/m
//St*Pr^(2/3)=Cfx/2
St=Cfx/(2*Pr^(2/3))
hx=St*m;
disp("W/m^2.K",hx,"local HT coefficient, hx = ")
|
d8069018b961d24f99090763e0be25a51ed9e0cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1325/CH10/EX10.5/10_5.sce | d427f860902f54a0f4c2bfd5788c0d7f0eb91157 | [] | 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 | 356 | sce | 10_5.sce | //To find the addendum required
clc
//given
t=25
phi=20*%pi/180
//let pitch be 1
R=t/(2*%pi)//R=t*p/(2*%pi)
Larc=1.6//1.6*p
//AB=Larc*cos(phi)
AB=Larc*cos(phi)
Ra=(4.47+13.97)^(1/2)//by simplifying AB+2{(Ra^2-R^2*cos(phi)^2)-R*sin(phi)} and using p =1
Addendum=Ra-R
//writing p in place of p=1
printf("\nAd... |
291849e96f42a40319b3e44c5d3a7584138a91a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/DEPENDENCIES/colsplit.sci | ec4cafecc66d3c9e1664b705693775b4f09790e2 | [] | 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 | 926 | sci | colsplit.sci | // colsplit
// The command
// [P1,degP1,P2,degP2] = colsplit(P,degP,p1,p2)
// produces two polynomial matrix P1 and P2. P1 consists of the first
// p1 columns of P and P2 consists of the remaining p2 columns of P.
// H. Kwakernaak, July, 1990
function [P1,degP1,P2,degP2] = colsplit(P,degP,p1,p2)
if ise... |
f11abe8fe4dc377c5f8d8a4d62e1a4b8c6e66b8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH12/EX12.7/ex12_7.sce | 326ecf2ad28713f495bf44d246f0c77d27bda2ce | [] | 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,131 | sce | ex12_7.sce | //Transmission Lines : example 12-7 : (pg 592 & 593)
Zl=300;//load impedance
Zo=50;//characteristic impedance
v=2.07*10^8;//velocity in RG-8A/U cable
f=27*10^6;//operating frequency of citizen's band transmitter
Po=4;//output power of transmitter
l=10;//length of RG-8A/U cable
Rl=300;//input resistance of antenn... |
b83be077db6339a08b2648645bf3227b6e6e6e55 | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD4/Scripts/Service 2/serveur2_repartitions.sce | d158e44304afeebaa391a8926c8b2566d0f5edc4 | [] | no_license | MFrizzy/Modelisation | 51794b2edf421f9d2206cb73972d8d8d7b1e9759 | 0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb | refs/heads/master | 2021-08-29T12:02:20.042037 | 2017-12-13T22:39:21 | 2017-12-13T22:39:21 | 106,943,303 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 994 | sce | serveur2_repartitions.sce | clf;
clear;
clc;
load('C:\Users\tangu\OneDrive\Documents\GitHub\Modelisation\TD4\NetworkData.sod')
// Extraction des temps de service
index_bool = ( data(:, 3) == 2 )
tabS2 = data(index_bool, :)
t_s2 = tabS2(1:$,4);
// Repartition empirique
tab = tabul(t_s2,'i')
tab(:,2) = tab(:,2)/length(t_s2)
F = cumsum(tab(:,2))
... |
31e1e26a49bcc0309d814abb56786d3d9fa5db16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH7/EX7.3/7_3.sce | 90ee3a4ad72bf8c232b82a301a4edc2ee5f94ced | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | 7_3.sce |
clc
//initialisation of variables
d= 10 //in
l= 15 //ft
di= 3 //in
Cd= 0.62
g=32.2
//CALCULATIONS
function [y]=fun(H)
y=-l*2*sqrt((d/2)^2-((d/2)-H)^2)/(Cd*(%pi*(di/12)^2/4)*H^0.5*sqrt(2*g))
endfunction
vec2=intg(d/2,0,fun)
T= vec2
//RESULTS
printf ('time for the channel to fall = %.f sec',T)
|
4e1417cb62baff82c013cfa9840042c06fe94d9d | 2c78de0b151238b1c0c26e6a4d1a36c7fa09268c | /quality/test/garant6x/Английская версия.TST | 9af9997dd9e04aa2a6fcace447ae8ec47fc3b9b9 | [] | no_license | bravesoftdz/realwork | 05a3b308cef59bed8a9efda4212849c391b4b267 | 19b446ce8ad2adf82ab8ce7988bc003221accad2 | refs/heads/master | 2021-06-07T23:57:22.429896 | 2016-11-01T18:30:21 | 2016-11-01T18:30:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109,549 | tst | Английская версия.TST | {\rtf1\adeflang1025\ansi\ansicpg1251\uc1\adeff0\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1049\deflangfe1049\themelang1049\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman{\*\falt Times New Roman};}
{\f1\fbidi \fswiss\fcharset204\fprq2{\*... |
89c24db1ec2abe5cb1367bb867c975b30be095b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH22/EX22.11/2211.sce | b7b3cd228d3caed4f739347983d7b763033ae840 | [] | 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,729 | sce | 2211.sce | clc;
//Example 22.11
//page no 308
printf("Example 22.11 page no 308\n\n");
//a storage tank on top of a building pumps 60 deg F water through an open pipe to it from a reservoir
q=1.36//vol. flow rate ,ft^3/s
D=0.333//diameter of pipe,ft
S=%pi/4*D^2//cross sectional area,ft^2
v2=q/S//flow velocity,ft/s
rho=6... |
332ffc91bfa52c7803b2ee6e64e2059bbf0bd013 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TE44.prev.tst | 6ad184ffcf2c66b0074961962395befa383bc25f | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,226 | tst | TE44.prev.tst | TranspositionSet={[0,1,3,2],[1,0,2,3],[1,0,3,2],[2,3,0,1],[2,3,1,0],[3,2,1,0],[3,2,0,1]}
considerNonPrimitive
Expanding for base=2, level=2, reasons+features=base,transpose,primitive,same,similiar,evenexp invall,norm
Refined variables=a,b,c,d
[0+1a,0+1b,0+1c,0+1d]: unknown -> [1] [0,0,0,0] a²+b²-c²-d²
-> solution ... |
3180659f3d0ad2d059eb25c8d4556e5a5428ef26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH13/EX13.10/13_10.sce | 7e4df4d01cb9a9abf5f495fd5dad323a7374c9db | [] | 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 | 170 | sce | 13_10.sce | clc
//Initialization of variables
x=0.5
P=0.468 //atm
//calculations
P1=x*P
P2=x*P
Kp=P1*P2
//results
printf("Final pressure after quilibrium = %.4f atm^2",Kp)
|
c8d686922d3688f1e65a0c4eaeb71ec8b169a7c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH3/EX3.12/12.sce | 22c2520a602f7d4ecf5dcd16b596e713e109d2f1 | [] | 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 | 459 | sce | 12.sce | clc
p1=10; //bar
p2=10; //bar
x1=0.85;
V1=0.15; //m^3
t_sup2=300; //0C
t_sup1=179.9; //0C
c_ps=2.2; //kJ/kg.K
v_g1=0.194; //m^3/kg
m=V1/(x1*v_g1);
h_fg1=2013.6; //kJ/kg
Q=(1-x1)*h_fg1+c_ps*(t_sup2-t_sup1);
Q_total=m*Q;
disp("Total heat supplied=")
disp(Q_total)
disp("kJ")
v_sup2=v_g1*(t_sup2+273)/(t... |
cde8546a0b05c9ccb90acec0ee481d32e02837ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH8/EX8.8/Ex8_8.sce | 8e2ee65eb71b332e4df85fbdbd51c13e57f5d4ac | [] | 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 | 521 | sce | Ex8_8.sce |
//calculating value of unknown capacitance
V=110//applied voltage
R=30//resistance of resistive circuit
Ir=V/R//Ohm's Law
I=5//total current drawn
Xc=V/sqrt(I^2-Ir^2)
f=50//frequency of supply
C=1/(2*%pi*f*Xc)
mprintf("Capacitance=%f microF\n",C*10^6)
//calculating unknown frequency
I=4//total current drawn... |
34a8ce1e965e9e7b5d00283ec40ed36327d380d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH44/EX44.2/Example44_2.sce | b05cc7f3b3a5fb54037bdb9e54595ea62cb256e4 | [] | 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,271 | sce | Example44_2.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 6: MOTORS FOR ELECTRIC TRACTION
// EXAMPLE : 6.2 :
// Page number 788-789
clear ; clc ; close ; // Clear the work space and c... |
8c2f3eb3da81489e1767ac931d040b9c3a3dc54f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH12/EX12.6/Ex12_6.sce | a9c4edcdb179def3598a22cd4ca8b23be4fbdade | [] | 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 | 136 | sce | Ex12_6.sce | clc
kAl=2.6
kCu=3.9
rAl=2.7//u ohm cm
rCu=1.7//u ohm cm
reduction=(rCu*kAl*100)/(rAl*kCu)
disp(reduction,"reduction in% is= ")
|
a3216e73dceae66a09b66b5b944d4771bf1bc126 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH4/EX4.1/ex4_1.sce | 6d596a22298a40777276f9191066a036a6730f22 | [] | 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 | 135 | sce | ex4_1.sce | //Example 4.1
clc;
Ifsd=200*10^-6; //Full Scale Current
S=1/Ifsd; //Sensitivity
disp(S,'Sensitivity of 200 uA meter') |
5fcb9fc1b174c51cf21b232abfe729f65603b6d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH11/EX11.1/Example_11_1.sce | e311a59098b917f092b8f106ed77044da594042e | [] | 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 | 504 | sce | Example_11_1.sce | //clear//
clear;
clc;
//Example 11.1
//From Appendix 5
Di = 1.049/12; //[ft]
Do = 1.315/12; //[ft]
xw = 0.133/12; //[ft]
km = 26; //[Btu/ft-h-F]
//Using Eq.(10.15) for Logrithmic mean diameter DL_bar
DL_bar = (Do-Di)/log(Do/Di); //[ft]
//From Table 11.1
hi = 180; //[Btu/ft^2-h-F]
ho = 300; //[Btu/ft^2-h... |
a0c14d8e86f7d2d8b3b9ed305459f53d86d9becc | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH3/EX3.5/example3_5.sce | cc8198804f4100dbaf2c613df99781e311204515 | [] | 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,240 | sce | example3_5.sce | clear;
clc;
printf("\t Example 3.5\n");
Kg=2.72*10^-4; //overall gas phase mass transfer coefficient in kmol/m^2*S*atm
r_gas=0.85*(1/Kg); //given that gas phase resisitance is 0.85 times overall resistance
kg=1/r_gas;
m=9.35*10^-3; //henry's law constant in atm*m^3/kmol
k... |
617f12da9522c201491816f2b1b7b35b45521c80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.14/ex1_14.sce | 611c5bfff25f9e1c60288d84cf606e00e6c7103b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sce | ex1_14.sce | // Exa 1.14
clc;
clear;
close;
// Given data
disp("Part (a) Analysis using approximate diode model")
V_D = 0.7;// in V
disp(V_D,"The value of V_D in V is");
E = 30;// in V
V_R = E-V_D;// in V
disp(V_R,"The value of V_R in V is");
R = 2.2 * 10^3;// in ohm
I_D = V_R/R;
I_D = I_D * 10^3;// in mA
disp(I_D,"Th... |
50fc2fa3313a6e7fe952645965ee262652cd2a2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH6/EX6.3/example6_3.sce | ae7b5846c32218db472c556d56a862aeea765384 | [] | 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 | 520 | sce | example6_3.sce | //Chapter 6
//Example 6_3
//Page 110
clear;clc;
kw=[20 100 50];
pf=[1 -0.707 0.9];
tkvar=0;
for i=1:3
kva(i)=abs(kw(i)/pf(i));
printf("kVA %i = %.2f kVA \n", i,kva(i));
kvar(i)=kva(i)*sin(acos(pf(i)));
printf("kVAR %i = %.2f kVAR \n", i,kvar(i));
end;
tkvar=kvar(1)+kvar(2)+kvar(3);
tkva=sqrt(sum(kw)^2+(tkvar... |
988687c6bdcf1af60b716865c3070849cddff5c4 | 19ba35741abeefce1e69482bfe706700a7c4fe54 | /kdelta.sci | c19fb502d234a2585e80860f5096b4206f5bef59 | [
"MIT"
] | permissive | swarlesbarkely/SciLab_Functions | 3c3be10d2025c06aa59bdc985d31239d59860d96 | f97d45ee7c2e574041a7b2845e6aad3bfbb76dad | refs/heads/master | 2021-01-17T11:28:57.829853 | 2017-06-06T01:20:01 | 2017-06-06T01:20:01 | 33,019,021 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sci | kdelta.sci | //***********************************
// Returns the Kronecker Delta function
// where kdelta [n] = 1 for n = 0 and 0 for all other n
//***********************************
function y = kdelta (n)
y = zeros (n) + bool2s (n == 0)
endfunction
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.