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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
279f10e1fd49e60ed97314c1fa9382c703fc89e1 | 82cdcedaf3c5229da7560895cc713520e3413f39 | /Códigos/Códigos Funcionais Scilab/Modelagem - Marcus/Modelagem.sci | 1d1b43883310f02648dfec31f1d77514e5cbb61e | [] | no_license | mpsdantas/cpg | 9b1ae66eeefb7f4cab970eab271ada56a673865c | aabd8a621131218d0ae68d5433caf70110c7b9e7 | refs/heads/master | 2021-03-22T04:40:28.689371 | 2018-03-12T22:58:25 | 2018-03-12T22:58:25 | 76,735,862 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,108 | sci | Modelagem.sci | //A seguinte função recebe uma matriz dr 1xn.
//Onde n é um número n>0 e corresponde ao número de osciladores
//A função devolve m onde m = dr.
function m = f(dr)
m = dr
endfunction
//A seguinte função recebe uma matriz dr 1xn.
//Onde n é um número n>0 e corresponde ao número de osciladores
//A função devolve m ond... |
55dda90adaee407a3a31b1b9566486d139456fdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/5_16data.sci | 10100b565771e69d078caf5764481ab6ce01c7e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sci | 5_16data.sci | S=206;//wing area in m^2
AR=10;//aspect ratio
e=0.95;//span efficiency factor
W=7.5*10^5;//weight of the airplane in newton
Hd=3;//density altitude in Km
D=0.909;//density at density altitude of 3 Km(Kg/m^3)
V=100;//flight velocity(m/s)
//lift is equivalent to weight,so
Cl=W/((D*V^2/2)*S)//lift coefficient
Cdi... |
aa4bfa45339445230405ea99865452420bd135d9 | f96fc2d511ab1716c3a3236f0fcb6ab1657e797c | /SCILAB/time_series_covid19_confirmed_global.sce | 2641b2198a9a483365459aac9099e6284e0215f3 | [] | no_license | moueza/covid19-corona-virus-scilab | 1d26509caa092285d41c4cd1035cdb562af8565b | 033ae4ac3258b1ddf793711651e4060717537172 | refs/heads/master | 2023-01-31T01:25:20.337942 | 2021-02-22T01:20:46 | 2021-02-22T01:20:46 | 249,275,159 | 1 | 0 | null | 2023-01-06T18:58:36 | 2020-03-22T21:24:41 | Python | UTF-8 | Scilab | false | false | 2,405 | sce | time_series_covid19_confirmed_global.sce | //from https://data.humdata.org/dataset/novel-coronavirus-2019-ncov-cases
//filename = fullfile( 'D:\Telecharg\time_series_2019-ncov-Confirmed.csv');
//filename = fullfile( 'time_series_2019-ncov-Confirmed.csv');
filename = fullfile( '../time_series_covid19_confirmed_global.csv');
MATRIXX = csvRead ( filename,",","dou... |
d8185127363a8b575a68dc1cfe9353f57c6005d0 | 377a111fb7585caf110377625ad0e261a44e93ed | /herbie/writting/publish/codes/lockwood/aim_optimization/Lockwood/PATO_PLUS/tst/input1.tst | b1df2332d36a81fd0d06c89ea7997bfc7ff53fa2 | [] | no_license | gasduster99/theses | ba385499ea0a502b9067c243f7100d82ff1ef4ce | 9c5f8b5d7564292e2e36547ed8d5563a8639f158 | refs/heads/master | 2023-08-25T18:14:09.741032 | 2023-08-22T05:33:06 | 2023-08-22T05:33:06 | 217,375,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 54 | tst | input1.tst | 12
1
1
1
1
0
1
353
6003
13526
2472
777
600
|
8a854171cf9ebeee687e7ace0ce45d82bec0ba0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH9/EX9.2/ex9_2.sce | 18ba7f359f88d980cb133ff15417465b48ca6f45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | ex9_2.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
a=600000//lbf in
b=%pi*(4)^4/32//in^2
q=4000//in^2
//CALCULATIONS
D=sqrt((a)/q)*2/b*10//in
//RESULTS
printf('The shaft diameter=% f in',D)
|
4232b2296882eaa82ebe55437b4afca930eca70f | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH3/EX3.4/3_4.sce | fdcaecbfe6150cd58482a3ab55a5e63a21ab8bec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 749 | sce | 3_4.sce | //All the quantities are expressed in SI units
rho = 1.23; //freestream density of air along the streamline
v = 50; //operating velocity inside wind tunnel
rho_hg = 13600; //density of mercury
ratio = 12; //contraction ratio of the nozzle
g = 9.8; //accelerati... |
d1bc774691d7c18c7521c93e116cdd2bf385da8f | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.8_17.tst | 544e5806db9e05ea2b5fdffc96d4a087673583eb | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 519,859 | tst | 5.8_17.tst | 8 222:1 438:1 571:1 782:1 918:1 1054:1 1383:1 1660:1 1689:1 1747:1 1876:1 1998:1 2087:1 2183:1 2246:1 2275:1 2278:1 2508:2 2650:1 2671:1 2678:1 2680:1 3135:1 3154:1 3233:1 3277:1 3385:1 3416:1 3691:1 3772:1 3961:1 4159:1 4328:1 4363:1 4425:1 4603:1 4906:1 4959:1 5042:1 5158:1 5299:1 5351:1 5486:2 5627:1 5629:1 5641:1 5... |
a55cba9a177d5ccd0acbfa3b2c8fdb1cdd5c8213 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH2/EX2.5/ex2_5.sce | 8b7a7719156319af5294581c966798a72a56b81c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | ex2_5.sce | clc;
disp("Example 2.5");
l=10; //length in centimetres.
Y=20*10^11; //Young's Modulus in dyne/cm square.
R=8; //Density in gram/cc
n=(1/(2*l))*sqrt(Y/R); //calculating frequency of vibration using
//young's modulus.
disp(n,"Frequency of vibr... |
04e579f2cefa62ace6f45c2240b8ad436176f7dc | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 1/Setima.sce | 2d04dc2f811d394b45134ee80e714cfc494f24bc | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | Setima.sce | // José Augusto Câmara Filho - Matemática Industrial
function A=Sexta(v,k)
//Essa função insere os elementos de um vetor que o usuário cadastra previamente junto com um k previamente escolhido deixando a dimensão k(n+1). Com o porém de inserir de forma que a matriz fica sendo a transposta do resultado da matriz d... |
c3fdfb9a97c28334a0d89d107db711b3bc9b7aa2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH9/EX9.5/Example9_5.sce | 39e911282cc3d1f4dcd37c50536b8c86a9eb8034 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,502 | sce | Example9_5.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 2: CONSTANTS OF OVERHEAD TRANSMISSION LINES
// EXAMPLE : 2.5 :
// Page number 103-104
clear ; clc ; close ; // Clear the... |
33352660f5b6dd9fa7c4f99eb08005471834ae3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH18/EX18.19/ex18_19.sce | bac8fcf989ce5c642a897fe4de8c4cc1a7492cfc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | ex18_19.sce | // Example 18.19, page no-472
clear
clc
epsr=1.0000684
N=2.7*10^25//m^-3
eps=8.854*10^-12
alfe=eps*(epsr-1)/N
printf("The electronic polarisability of He atoms at NTP is %.3f *10^-41 F.m^2",alfe*10^41)
|
0d31ff0b23ab204c2f54f3fd642cf3b56267b943 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH4/EX4.11/ex4_11.sce | f9dc7b0ec5fc681c1dbb5242b855d2ab6b813a2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | sce | ex4_11.sce | // Exa 4.11
clc;
clear;
close;
format('v',7)
// Given data
V = 230;// in V
f = 50;// in Hz
L = 0.06;// in H
R = 2.5;// in ohm
C = 6.8;// in µF
C = C * 10^-6;// in F
X_L = 2*%pi*f*L;// in ohm
X_C = 1/(2*%pi*f*C);// in ohm
Z = sqrt( (R^2) + ((X_L-X_C)^2) );// in ohm
disp(Z,"The impedance in ohm is");
I = ... |
c1770a8dd959fc2491e753cca80352d201a992b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /10/CH4/EX6/cha4_6.sce | e92d03e382e8621a5f4b613fdffe095f8116390f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | cha4_6.sce | Vt=100;Ra=0.1;Ia=6;If=0.99;Rfw=80;
Ia1=5;Iarated=120;N=1000;
Afl=0.95;Prot=497.5;
Eanl=Vt-(Ia*Ra)
Ea = Eanl;
Ifar = 0.16;
Rf=Vt/If
Rfc=Rf-Rfw
Prot=Ea*5
Eanl=Vt-(Ia*Ra)
Eafl=Vt-(Iarated*Ra)
Wfl=(Eafl/Eanl)*N
Wm=(Wfl/60)*2*%pi
T=(Eafl*Iarated)/Wm
Pout=(Eafl*Iarated)-(Prot)
Pin=(Vt)*(Iarated+If)
Eff=(P... |
0f27626de482cbe84175063384fbda718fad1394 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH16/EX16.15w/16_15w.sce | b43b5af5f25fed2164c09bbe40325fa4189eb58c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | 16_15w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 16.15w
//calculation of the fundamental frequency if the air is replaced by hydrogen
//given data
nu0=500//fundamental frequency(in Hz)
rhoa=1.20//density(in kg/m^3) of air
rhoh=0.089//density(in kg/m^3) of hydrogen
... |
bd24d6b5e2acab1edbdd38b64b05937813e561a9 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.9_15.tst | ceba53684fd3091e786ffe9d3a37a03dd0adcd96 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 802,615 | tst | 5.9_15.tst | 9 203:1 223:1 389:2 435:1 553:2 578:1 755:1 817:1 1102:1 1148:3 1161:1 1470:2 1620:1 1868:1 1893:1 1981:1 2009:1 2089:1 2173:1 2373:2 2460:1 2471:1 2704:1 2706:1 3036:2 3344:1 3442:1 3503:1 3541:1 3940:1 4044:1 4170:1 4195:1 4246:1 4314:1 4351:1 4453:1 4525:1 4576:1 4629:1 4827:1 4930:1 5110:1 5511:1 5552:1 5651:1 5681... |
fc249e2c75f1fd909f58b7311830c5f0882de315 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/112.tst | 8850fbbd818467c572d340e8c106ebab653dd3ec | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 39 | tst | 112.tst | void main(void)
{
int x;
x+1=x;
}
|
ab9405f7a76238166c924472bc131777a2f3192b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH26/EX26.5/Ex26_5.sce | 41c627ca28306dc1d791cb4a0252e34cca794eac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | Ex26_5.sce | // 1 APPENDIX. Ex no 5. Page no 642
//initilization of variables
A=[2,-6,-3]
B=[4,3,-1]
//Calculations
AdotB=A(1)*B(1)+A(2)*B(2)+A(3)*B(3)
magA=sqrt(A(1)^2+A(2)^2+A(3)^2)
magB=sqrt(B(1)^2+B(2)^2+B(3)^2)
theta=acosd(AdotB/(magA*magB)) //degrees
//Result
clc
printf("The product of both the vectors is %f\n",AdotB)
pri... |
49ff4400c3762e4ad2d9d54967381e3f83bdfbf4 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /CostDistanceKCD/Justin/JustinHri/verre_a_droite.sce | cf7a80a49ccc700efedde9659f2b3f7953ffbdb3 | [] | 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 | 1,533 | sce | verre_a_droite.sce | #************************************************************
# Scenario of Test
#
# date : Wed Nov 12 19:28:26 2008
#************************************************************
p3d_sel_desc_name P3D_ENV Test
p3d_sel_desc_name P3D_ROBOT justin
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0... |
9af1ba46667610cd283e88fe678112770860c5b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH7/EX7.23/Example7_23.sce | 97b9aca67a22005d34aecacca9812d590467cb8a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | Example7_23.sce | //Chapter-7,Example7_23,pg 7-66
I=5
V=220
Pf=1
K=3275
t=1/60//in hr
E=V*I*Pf*t
E=E/10^3//in kWh
Rev=E*K//no. of revolutions
printf("speed of disc\n")
printf("s=%.2f r.p.m\n",Rev)
//at half load
I=I/2
t=59.5
Et=V*I*Pf*t
Et=Et/(3600*10^3)//in kWh
N=30
Er=N/K
err=(Er-Et)/Et
err=err*100
printf("percenta... |
a2758ed2b7bd007acd8c862cc77cc31fc30e06dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH14/EX14.4/Ex14_4.sce | 1b9abc7dde8dc47223cd2e8d994803bf1e5146de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_4.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 2 : AC Circuits
// Chapter 14 : Frequency Response
// Example 14 - 4
clear; clc; close;
//
w=poly(0,'w')
h=syslin('c',(w+10)/(w^3+10*w^2+25*w))
clf();bode(h,0.01,100);... |
9fee6e50f0f17d73251e647e54838f0904362ed4 | a76fc4b155b155bb59a14a82b5939a30a9f74eca | /ProjetTomEval/tomeval/carat5.tst | 129b43588bf8e7393ef68bc097456adc753738d4 | [] | no_license | isliulin/JFC-Tools | aade33337153d7cc1b5cfcd33744d89fe2d56b79 | 98b715b78ae5c01472ef595b1faa5531f356e794 | refs/heads/master | 2023-06-01T12:10:51.383944 | 2021-06-17T14:41:07 | 2021-06-17T14:41:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,704 | tst | carat5.tst | Plan Carat 5
20,CSPI+
101
-1
1
1
0
1,B198,101
f:\source\SFR01
8860000
1
1
2,0750,16,1,0,1.2, 30/01/98,1
2,2047,16,1,0,9.1, 30/01/98,1
2,2240,16,1,0,2.0, 30/01/98,1
3,1915,16,1,0,5.1, 30/01/98,1
3,2055,16,1,0,8.7, 30/01/98,1
3,2156,16,1,0,2.7, 30/01/98,1
3,2235,16,1,0,2.6, 30/01/98,1
11,2000,16,1,0,5.0, 30/01/98,1
12... |
74a30e5fdb46da8abe79dbdc9d6cd0a156cc660f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH7/EX7.5/Ex7_5.sce | 5b497dc3deed6d5faa1043ceddf29276f4f603f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sce | Ex7_5.sce | //Ex7_5
clc
VBE = 0.6
beta = 100
disp("beta = "+string(beta))//current gain
disp("VBE = "+string(VBE)+"V")//voltage across base and emitter
//according to given circuit;
VCC = 12
RC = 5*10^3
disp("VCC = "+string(VCC)+"V")//collector supply voltage
disp("RC = "+string(RC)+"ohm")//collector resistance
// optim... |
d907ee1c553a7caa1b69a0a5514ba2590bcbd887 | d4e77af84a9eba1cc0b4e9fc79c0d42ec8729c27 | /tests/rnd15.tst | 8fa383da5ad1d88d43f291a56eb96eee65dac46d | [] | no_license | fericss/super-secret-avalg13-project2 | 94e9ab7e4a4106f3f68ede9e7402edd54d137ced | 9e9d062e1702f6adda56439394a4f3ec704d0637 | refs/heads/master | 2021-01-06T20:41:43.350335 | 2013-12-06T17:35:25 | 2013-12-06T17:35:25 | 32,411,892 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 568 | tst | rnd15.tst | 15
7.694580970521125 46.280277910220555
41.31681660407911 19.337107590820256
49.52961284724885 6.149969798216192
50.186737167002484 94.48748556967696
45.93277229084157 53.81817456383422
4.027036257021033 58.86502326585633
70.53407436149567 34.389647888932664
70.65244697384793 42.946345640914565
83.2546264527524 79.6197... |
7cb80703d5fcda5afac620275f014d1541492b9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH8/EX8.20/ch8_20.sce | 0f331686dd70f1aa39af007393a8e979800ee675 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 939 | sce | ch8_20.sce | clear;
clc;
V_s=220;
V_p=sqrt(2)*V_s/3; printf("rms value of phasor voltages=%.2f V",V_p);
V_L=sqrt(3)*V_p; printf("\nrms value of line voltages=%.2f V",V_L);
V_p1=sqrt(2)*V_s/%pi; printf("\nfundamental component of phase voltage=%.3f V",V_p1);
V_L1=sqrt(3)*V_p1; printf("\nfundamental component of l... |
49a0fa07f4e2d08242e6a1d8121a761b87ce7aa7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH2/EX2.02/2_02.sce | d8126d82e38b018d998ad36d2db854f01b57f783 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | 2_02.sce | //Problem 2.02:
//initializing the variables:
f1 = 55; // in °F
c2 = 55; // in °C
//calculation:
r1 = f1 + 460
c1 = (f1 - 32)*5/9
k1 = (f1 + 460)*5/9
r2 = 1.8*c2 + 492
f2 = 1.8*c2 + 32
k2 = c2 + 273
printf("\n\nResult\n\n")
printf("\n (a) Rankine = %.0f°R, (b) Celsius = %.1f°C and (c) Kelvin = %.0f K... |
496c53d72738502cb0ad333f3b3d418b594a1c1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH5/EX5.2/ex_5_2.sce | 4e45ee8cb03eae186e692141734fd892ac98a46a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | ex_5_2.sce | //Example 5.2
clc;
// 1st part // V number
NA=.22;// Numerical aperture
a=50/2;// radius of core
w=.850;//wavelength in um
V=2*%pi*a*NA/w;// V number
disp(V,"V number")
// 2nd part // number of modes
N=(V^2)/4;// number of modes
disp(N,"number of modes")
|
28ebaea41bbaf9c1f337716d934363a26d6bdfad | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /Achile/SCENARII/HeraklesBioStompIK.sce | 6f6811ae92b83471b207908fdb800b4129e885a1 | [] | 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 | 3,767 | sce | HeraklesBioStompIK.sce | #************************************************************
# Scenario of humanTestEnv
#
# date : Wed Jan 13 21:14:57 2016
#************************************************************
p3d_sel_desc_name P3D_ENV humanTestEnv
p3d_sel_desc_name P3D_ROBOT HERAKLES_HUMAN2
p3d_set_robot_steering_method Linear
p3d_set... |
96ac271befb5dfe45819ecd04f233d58e1b5d172 | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualProcessComm_V4/macros/vpcBDReadTranslated.sci | 28bd52754df7757fced225bd799e95f6089f151c | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,087 | sci | vpcBDReadTranslated.sci | function ret = vpcBDReadTranslated(idVar)
trmsData = bdVpcGet(idVar,'value');
DataType = bdVpcGet(idVar,'type');
if type(trmsData)== 10 then
if part(trmsData,1) == '$' then
ret = hrtTypeFunc(trmsData);
return;
end
end
select DataType
case 'UNSIGNED' th... |
ebc888d447bdb5805697b68e7dcee6f4df063692 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH5/EX5.23/Example_5_23.sce | a2b3470ec4bcd6efc9fe4f185ec43227526b41ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,587 | sce | Example_5_23.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 5
//Some Applications of the Laws of Thermodynamics
//Example 23
clear;
clc;
//Given:
r = 15; //compression ratio
P1 = 100; //pressure in the beginning (kPa)
T1 = 300; //temperature in thebeginning (K)
Q1 = 500; //heat transfer rate (kJ/kg)
M = 29; //mol... |
86fd4a9a7feefad53c29dcc210459c48d9b238bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH14/EX14.13/example13.sce | d598ddd6dc928daca717431adf9501d10a2e92b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 801 | sce | example13.sce | // find the constant k value and drain current of E-MOSFET
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 14-13, page 506
clear; clc; close;
// Given data
// 2N7000
Idon=600*10^-3 ;// in amperes
Vgson=4.5;// from data sheet in volts ... |
ed790d5b4539191d4a43290f695c383fb8708f0c | 75bbd82f0bfa2040e92161597c5e36931ff7767b | /Seno.sce | 939c3d3e66a36652aa28b0c0f16a7f0befcf5546 | [] | no_license | v0ltmx/scilab-MAT | d7da8e73b9d7551c2a00be04d2a2d64e80346c1d | b2f7cdc994ad49d77f90c24393769a5fdcac0568 | refs/heads/master | 2022-01-20T10:00:26.830030 | 2019-07-20T02:42:56 | 2019-07-20T02:42:56 | 197,870,163 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 43 | sce | Seno.sce | A=[1,2;3,4]
sin(asin(A))
plot(x,sin(x))
|
e2c88bef17356ae1116d6ff982764e03fa85bb2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH10/EX10.5/prob_10_5.sce | c6e93edf6cf3bab03fdf6011b07305b9a7c81284 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | prob_10_5.sce | // page no 440
//problem no 10.5
clc;
a=52; // total no of cards in a deck
b=input ("enter the no of cards to be drawn = ");
pA1= b/a;// probability of getting first red ace =pA1
//the cards are drawn in succession without replacement, therefore the probability that the 2nd card will be the red ace = pA2
pA2=1/(... |
ce8b0fdc1469051073bdebf51e9d2e1a8ecd3148 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH9/EX9.8/9_8.sce | 2f01e1cbfd259e7ec662a57441511b62f7f49f20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | 9_8.sce | //9.8
clc;
a='0001 1111';
disp(a)
disp('Since the MSB is 0 so this is a positive number and its 2 s complement representation is')
b=bin2dec(a);
disp(b)
a='1110 0101';
disp(a)
disp('Since the MSB is 1 so this is a negative number and its 2 s complement representation is')
c=bin2dec(a);
xc= bitcmp (c ,8);
b=... |
cf9bfbe61c30756555ff77c020fdfd744459973e | c9e04373e33a2721547c7ae2be20ee84f115be1c | /evaluationData/revenuecost.sce | 6334cc467302035bef467689ed06d6c1d2eebcbe | [] | no_license | lspxian/junsp | f944ce163267608cb9cdb939a0ac809f724fb396 | ca1571bbc30e6a9a183fa8d675567e169288acf4 | refs/heads/master | 2021-01-23T14:10:34.141815 | 2017-10-06T17:03:10 | 2017-10-06T17:03:10 | 34,068,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | sce | revenuecost.sce | revcost= read("RevenueCost.txt",-1,2);
time = revcost(:,$-1);
revcost= revcost(:,$);
plot2d(time,revcost);
|
fa444f85080f4960211e35a8209f7ab07f37ba4d | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/overload_copy_runme.sci | 6d163ffa7714d2f6acab20df00f5c9150943e6ac | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 120 | sci | overload_copy_runme.sci | exec("swigtest.start", -1);
f = new_Foo();
g = new_Foo(f);
delete_Foo(f);
delete_Foo(g);
exec("swigtest.quit", -1);
|
21311b98dad0c309e8124ec287b1dd03db132056 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH4/EX4.2/Ex4_2.sce | dedaaf852c0088bb1b639cf7119af2add528050e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | Ex4_2.sce | //Ex4_2
clc
IDSS=10*10^(-3)
disp("IDSS = "+string(IDSS)+" ampere") // maximum drain current
VP=(-4)
disp("VP= "+string(VP)+" volts") // pinch off voltage
VGS=(0)
disp("VGS = "+string(VGS)+" volts") // gate to source voltage1
RDS=1/[(2*(IDSS/(-VP)))*(1-VGS/VP)]//formula for JFET
disp("RDS = 1/[(2*(IDSS/(-VP)... |
bbeb8520ba1fdf8001d337ebc5c54404454135e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH9/EX9.8/9_8.sce | 2a07de6344938bd6320fff7112d80fec8eeacc98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_8.sce | //Example 9.8
//Recurrence formula
//Page no. 292
clc;clear;close;
x=poly(0,'x')
n=2;
f=x^(n)-5*x^(n-1)+6*x^(n-2);
z=roots(f)
disp(z,f)
printf('\n\n')
printf(' n n\nf(n) = ')
for i=1:n
printf('c%i(%g)',i,z(i))
if i~=n then
printf(' + ')
end
end |
4f176e03ca1b7eb4e9f7fca1b4bfeeafeee9ffc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH6/EX6.5/Exa6_5.sce | ab99d439330f26e15e27b876bd96912dc854410a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | Exa6_5.sce | // Exa 6.5
clc;
clear;
close;
// given data
fc=1;//in KHz
AF=2;//unitless
// let C=0.01 uF
C=0.01;//in uF
R=(1/(2*%pi*fc*1000*C*10^-6))/1000;//in Kohm
disp("AF=1+RF/R1=2 gives RF=R1=Rdash")
//For Bias compensation
//Rbc=R1*RF/(R1+RF) ohm
disp("Bias compensation :R=R1*RF/(R1+RF)=Rdash/2 ohm");
//Rdash=R1=... |
8b39315f13aae898459f3200cf955812ada5a9bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH5/EX5.9/sadiku_5_9.sce | 5e10dd01ec8ec4d1d568dde69ac91b5fb266ad6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | sce | sadiku_5_9.sce | clear;
clc;
format('v',6);
an=[0 0 1];
E1=[5 -2 3];
er1=4;
er2=3;
e=(10^-9)/(36*%pi);
e1n=E1*an';
E1n=[0 0 e1n];
E2n=[0 0 E1n*[0;0;1]];
E1t=E1-E1n;
E2t=E1t;
E2n=(er1*E1n)/er2;
E2=E2t+E2n;
disp(E2,'E2=');
theta1=atand(((E1t(1,1)^2+E1t(1,2)^2+E1t(1,3)^2)^0.5)/e1n);
alpha1=90-theta1;
disp(alpha1,'Angle of E1 with interfac... |
8773b2281bda7692ab5d32dc340df8df724498dd | 72bdc6d649588b61192529e7d1420ddc18d1a67a | /graphics-demos/basic_functions/basic_functions.dem.gateway.sce | d47077e747aef50dc0bed51a4d1a8094b83b750a | [] | no_license | jgpATs2w/scilab-examples | c3fcff648f720a8e909b2af0ec9ab70fb90dfcd2 | 59522a5ae1abbadf6f62bff16095f4b74c707918 | refs/heads/master | 2020-09-27T23:41:06.927931 | 2020-02-11T08:54:24 | 2020-02-11T08:54:24 | 226,637,785 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,197 | sce | basic_functions.dem.gateway.sce | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) ????-2008 - INRIA
//
// This file is released under the 3-clause BSD license. See COPYING-BSD.
demopath = get_absolute_file_path("basic_functions.dem.gateway.sce");
subdemolist=[ ... |
c798f4f8f0ea5199be8a099fa6e1405ea6ea0aef | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/levinson/levinson6.sce | 46452c6a697dba8644ea3f493ed81d6f9697e706 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | levinson6.sce | //i/p arg r is of type char
r=['char'];
[a,e,k]=levinson(r,2);
disp(a);
////output
// !--error 4
//Undefined variable: v_f
//at line 67 of function levinson called by :
//[a,e,k]=levinson(r,2);
|
d792538c97f68f2308b76c836c2626f76fa7467f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH9/EX9.3/Ex9_3.sce | c2d7c7c90b46ac343a3231c8cda33d699037c9fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sce | Ex9_3.sce | //Example number 9.3, Page number 203
clc;clear;
close;
//Variable declaration
e=1.6*10**-19; //charge(c)
ni=1.5*10**16; //particle density(per m**3)
mew_e=0.13; //electron mobility(m**2/Vs)
mew_h=0.05; //hole mobility(m**2/Vs)
ND=5*10**20; //density(per m**3)
//Calculation
sigma=ni*e*(mew_e+m... |
9b962cafef82f2b6389b4be4a0c6d931c0da77e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH8/EX8.11/ex8_11.sce | 7de1eed3ca1d9d528f4a2e9d1b7407e9a313bb48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | ex8_11.sce | clc;
w=200; //weight in lb
ds=64; //weight density of seawater in lb/ft cube
dg=480; //weight density of iron in lb/ft cube
V=w/dg; //calculating V using dg=w/V in ft cube
w1=ds*V; //calculating weight of seawater displaced by anchor in lb
bf=w-w1; //calculating net force in lb
disp(bf,"Net Force to... |
55dd58780d629eedb54ccb570346007647594101 | 449d555969bfd7befe906877abab098c6e63a0e8 | /668/CH4/EX4.8/eg4_8.sce | c0868b1e41f22095e31d23e250ee555ad6a49384 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 589 | sce | eg4_8.sce | V1 = 1;
nqr = 0.5;
A = 10^-2;
Dn = 30;
Dp =15;
Na = 5*10^16;
Nd = 5*10^17;
q = 1.6*10^-19;
tn = 10^-8;
tp = 10^-7;
ni = 1.84*10^6;
np = ni^2/Na;
pn = ni^2/Nd;
Ln = (Dn*tn)^0.5;
Lp = (Dp*tp)^0.5;
kT = 26*10^-3; //in eV
In = A*q*Dn*np/Ln*(exp(V1/kT)-1);
disp(In,"The electron current injected into the p-r... |
450a61dc2dc55b15775f501c79c04a5a22a1bc64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH2/EX2.41/Ex2_41.txt | 45ff84b5467dfc46e81845429a7748c8016bb1d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | txt | Ex2_41.txt | //Ex:2.41
clc;
clear;
close;
Pt=120;// transmitting power in Watt
Pd=160*10^-6;// power density in W/cm^2
d=10*100;// distance in cm
Gt=(Pd*4*%pi*d^2)/Pt;// the antenna gain
printf("The antenna gain = %f ", Gt); |
210a81a4c69d09e98d983bee19aaabdf0737cbaf | 22bd6c89dcdc417a9dca420462ab79dcba3d9bd2 | /Chapter2/AddSub.tst | e880cbc059fb418742395cb57111efbf6176b953 | [] | no_license | johnbmerry/Nor2Tetris | b4f1b1387a50560adde600f22cdd357722b7eab0 | 61e06d77c4a5942d9f7931d8218d8a3b1a6932c6 | refs/heads/main | 2023-01-12T09:56:57.004111 | 2020-11-15T17:39:26 | 2020-11-15T17:39:26 | 309,255,129 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | tst | AddSub.tst | load AddSub.hdl,
output-file AddSub.out,
compare-to AddSub.cmp,
output-list a%B1.4.1 b%B1.4.1 sel%B2.1.2 out%B1.4.1 c%B3.1.3;
//TODO: add more cases for adding (a+b) or subtracting (a-b) negative number(s)
set a %B0001,
set b %B0001,
set sel 0,
eval,
output;
set a %B0001,
set b %B0001,
set sel 1,
eval,
output;
set a... |
99dc26c9af368969805d93bf356b003cb6688fad | 002b6230874dea6e4d76defafc1ae293b5744918 | /tests/Examples/regex_example.tst | 6de52a7559ebdcc0d1f454d94688bd5cf8228669 | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 1,519 | tst | regex_example.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Channel Flow P=2</description>
<executable>IncNavierStokesSolver</executable>
<parameters>Channel_Flow_3modes.xml</parameters>
<files>
<file description="Session File">Channel_Flow_3modes.xml</file>
</files>
<metrics>
<m... |
9701a0c8f5615087fedbc45f930e700b6ab222ff | 7d3ee32048043b78e0e5100dd4c7ab9dd6dbe666 | /test_output/simple_yield.tst | 68dfc9b6bc5d53a01bb54a47b26b521da77b30e7 | [
"MIT"
] | permissive | lopesivan/mruby-c-example | 91dd8846734dcb92f8330031f31b071e08ff93a6 | d66bc3831779424ab923ce7aa7e92821ac293bd4 | refs/heads/master | 2021-01-01T06:06:31.166901 | 2016-12-01T12:02:47 | 2016-12-01T12:02:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 42 | tst | simple_yield.tst | Before block
After block
in foo.bar block
|
af16ae6cb9a8c73583eb02fb2d5403e7f4984629 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH6/EX6.2/6_2.sce | f0451ba92f8392efb3d0124410fb37f664ff7218 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | 6_2.sce | // Determine the EMF generated
clc;
clear;
phi=40*(10^-3);
A=8; //Lap Winding
P=8;
N=400;
Z=960;
E=P*N*Z*phi/(60*A); // EMF equation of a DC machine
printf('The EMF generated = %g volts \n',E)
|
6c5e76b5b9408eba071cafbb284a8f439d60ec9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH19/EX19.7/Example19_7.sce | e4595a48ae6350552d04725a95d863fe904386bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example19_7.sce | //Given that
R = 2*10^-2 //in meter
n = 500 //number of bees
t = 20*60 //in sec
e = .80
T1 = 35 + 273 //in K
T2 = 47 + 273 //in K
sigma = 5.67*10^-8 //in W/m^2
//Sample Problem 19-7
printf("**Sample Problem 19-7**\n")
A = 4*%pi*R^2
Eaddi = sigma*e*A*(T2^4 - T1^4)*t //for n bees
E = Eaddi/n
printf(... |
1834162ab604a2cb361c5e714fe21e7ef9249350 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH1/EX1.5/Ex1_5.sce | 15138a0aa6a2c19d5cad99f5af9549a3cbf0a2d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_5.sce | clc
a=1
disp("a= "+string(a)) //initializing value of lattice constant(a)=1.
r=(sqrt(3)*(a^2/4))
disp("Radius of the atoms,r=(sqrt(3)*(a^2/4)) = "+string(r)) //initializing value of radius of atom for BCC.
v=((4*%pi*(r^3))/3)*2
disp("Volume of two atom,v=((4*%pi*(r^3))/3)*2 = "+string(v)) //calcuation.
V=a^3
di... |
e8161f80f4b5f78c7afcaff28bf98d786a5e28ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH16/EX16.4/EX16_4.sce | eef8ad7d168c5ef81968c0df3cf3dfdcb9464f7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | EX16_4.sce | //Chapter 16, Example 16.4
clc
//Initialisation
i=0.2 //current in ampere
c=0.01 //capacitance in farad
t=20*10**-3 //time in sec
//Calculation
dv=i/c //change in voltage w.r.t time
vc=t*dv //peak ripple... |
285472695faa390d891465f10f434b4b62c3ed4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH20/EX20.1/EX20_1.sce | 70af83e46015c709960f0ca7e2c849d338f1aa8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | EX20_1.sce | //Finding of theoretical discharge ,Coefficient of Discharge ,Slip
//Given
N=30;
Qac=0.012;
d=0.25;
L=0.5;
//To Find
A=(%pi/4)*d^2;
Qth=(A*L*N)/60;
S=Qth-Qac;
Cd=Qac/Qth;
S1=((Qth-Qac)/Qth)*100;
disp("Theoretical Discharge ="+string(Qth)+" m^3/sec");
disp("Co efficient of Discharge ="+string(Cd)+" No Units... |
7864b5d473dd6778936634597595d4405e0cce80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH14/EX14.2/example_14_2.sce | 6d7b95d2713b9db54f033ba0abffd171ccda82d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 976 | sce | example_14_2.sce | //Chapter 14
//Example 14.2
//page 534
//To estimate the values of the random variables x1 and x2 using WLSE
clear;clc;
w=diag([0.1;1;0.1]); //assumed matrix
H=[1 0;0 1;1 1]; //given matrix
k=inv(H'*w*H)*H'*w; // from eq 14.12b
y=['y1';'y2';'y3'];
Px=k*k';
k=string(k);
x=[k(1,1)+y(1,1)+k(1,2)+y(2,1)+"+"+k(1,3)+y(3,1)... |
ad265e802c33cfa6b293280ef8a09cc78e8392c8 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Run and Gun.sce | 7d119b4bc231f3c7f27d4c7dd78ef1d02b666e63 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 18,223 | sce | Run and Gun.sce | Name=Run and Gun
PlayerCharacters=Player
BotCharacters=Counter-Striker Bot PEEKER.bot;Counter-Striker Bot PEEKER.bot
IsChallenge=false
Timelimit=60.0
PlayerProfile=Counter-Striker
AddedBots=Counter-Striker Bot PEEKER.bot;Counter-Striker Bot PEEKER.bot
PlayerMaxLives=0
BotMaxLives=0;0
PlayerTeam=1
BotTeams=1;1
MapName=L... |
1861e19068fce380100db198a74b4883399826fd | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/standard_draw.sci | 35e40803c1bc3ad0a94b60d9998e5fd39cc2fa13 | [
"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 | 1,778 | sci | standard_draw.sci | function standard_draw(o)
//
graphics=o(2);label=graphics(4)
model=o(3);nin=model(2);nout=model(3);clkin=model(4);clkout=model(5)
[orig,sz,orient]=graphics(1:3)
thick=xget('thickness');xset('thickness',2)
// draw box
xrect(orig(1),orig(2)+sz(2),sz(1),sz(2))
// draw input/output ports
//------------------------
if orie... |
d86bb6618f7995215c4365bfcc7d55dbfe8e2d2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH8/EX8.4/Exa8_4.sce | 378d8812d7c7b20b2681579accc4677abbd7ce9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | Exa8_4.sce | //Exa 8.4
clc;
clear;
close;
//given data
Vrms=66;//in KV
gmax=40;;//in KV/cm
V=sqrt(2)*Vrms;//in Volt
//Part (a) :
d=2*V/gmax;//in cm
disp(d,"The most economical diameter in cm : ");
//Part (b) :
PeakVoltage=sqrt(2)*Vrms/sqrt(3);//in Volt
V=PeakVoltage;//in Volt
d=2*V/gmax;//in cm
disp(d,"The most eco... |
e01c311d83b6c3f35ad297252f45d9c2a87a528a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.36/Ex1_36.sce | 9d1b43a365041fbf7e6416578b4cdc6107bb785c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_36.sce | // Ex 36 Page 379
clc;clear;close;
// Given
p=4;//pole
I1=143;//A
Z=492;//armature conductors
theta=10;//degree
I2=10;//A
Ia=I1+I2;//A
Iw=Ia/2;//A for wave sound
Il=Ia/4;//for lap sound
//part(a)
ATw=Z*Iw*theta/360;//AT
nw=ATw/theta;//turns
printf("(a) extra shunt field turns required = %d",nw)
//part(b)
ATl=Z*Il*t... |
3767232afdb02f93ae4d622dea7afa730d204713 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.19/ex4_19.sce | 8da4d645b3e3ea805f7b64591dc6b5e6656dbf6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | ex4_19.sce | // Exa 4.19
clc;
clear;
close;
// Given data
R1 = 47;// in kohm
R1= R1*10^3;// in ohm
R2 = 10;// in kohm
R2= R2*10^3;// in ohm
R_E = 1.1;// in kohm
R_E = R_E * 10^3;// in ohm
R_C = 2.4;// in kohm
R_C = R_C * 10^3;// in ohm
V_CC = -18;// in V
V_B = (R2*V_CC)/(R1+R2);// in V
V_BE = -0.7;// in V
V_E = V_B... |
6abb07e5b617066731734cef9122eb46a8b16679 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH1/EX1.51/Ex1_51.sce | 1f2832df36b18187604cdde6d1a38c1fe2dac998 | [] | 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 | 256 | sce | Ex1_51.sce | errcatch(-1,"stop");mode(2);//Example 1_51
;
;
//To find the refraactive index of the liquid
D12air=1.45 //units in cm
D12liq=1.25 //units in cm
u=(D12air)^2/(D12liq)^2
printf("Refractive index of the liquid is %.4f",u)
exit();
|
a3106b9de93a879a498164c0dc96b1b398bcb6a3 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/E02.prev.tst | 47e845379f98227bcabd8e2dc9818e96e5ccea25 | [
"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,224 | tst | E02.prev.tst | EEC run k=2
[3,4,5]
[3,4,5]
[5,12,13]
[3,4,5]
[8,15,17]
[3,4,5]
[7,24,25]
[3,4,5]
[5,12,13]
[20,21,29]
[3,4,5]
[8,15,17]
[3,4,5]
[12,35,37]
[5,12,13]
[3,4,5]
[9,40,41]
[3,4,5]
[7,24,25]
[3,4,5]
[8,15,17]
[5,12,13]
[28,45,53]
[3,4,5]
[20,21,29]
[3,4,5]
[11,60,61]
[16,63,65]
[5,12,13]
[33,56,65]
[3,4,5]
[8,15,17]
[3,4,5]... |
de5f94de951bbea209576881879bd9f72a3a81a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH6/EX6.6/Ex6_6.sce | f228e94a95394d9b767fe9abb7feb55e9c5a024b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | Ex6_6.sce | clear
//Given
a=-3
b=4.0
c=3
//Calculation
I1=a/(b+(c**2))
I2=-1-c*I1
I3=-(I1+I2)
//Result
printf("\n Current through each cell is %0.2f A %0.2f A and %0.2f A",I1,I2,I3)
|
07d2894d4aeb1ffb6dd14cf8b8e168043c0a370a | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH16/EX16.11/example11_sce.sce | cc954440d6a911f516cc70ea559b5bba94a4e049 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | example11_sce.sce | //chapter 16
//example 16.11
//page 705
printf("\n")
printf("given")
f=100*10^3;Rs=1.5*10^3;
R1=2*Rs
R1=2.7*10^3;//use standard value
R2=R1+Rs
C1=1/(2*3.14*f*R2)
R4=R2;
R3=2*R4 |
60b502865a242e8342046b71637a369e9e7ab391 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_S._K._Srivastava_And_R._A._Yadav_2780.zip/Engineering_Physics_S._K._Srivastava_And_R._A._Yadav_2780/CH2/EX2.22/Ex2_22.sce | 305fa14a0eadaeabe2d47eb24aec24145fa388b6 | [] | 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 | 308 | sce | Ex2_22.sce | errcatch(-1,"stop");mode(2);
//to calculate wavelength of light
theta=10*%pi/(60*60*180) //angle of wedge in radians
omega=5*10^-3 //distance between the successive fringes in cm
mu=1.4 //refractive index
lambda=2*mu*theta*omega
disp("the wavelength of light is lambda="+string(lambda)+"m")
exit();
|
7d06f4e15513bc75b69737379b9cdaf1ec6ff271 | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /ExactCure/Uzawa/internet/uzawainternet2.sce | 1f2566cbb84279a43e0ef70e70c385b998856dbb | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | uzawainternet2.sce | N=4;
h = (1/(N-1));
A = zeros(N,N);
for i = 1:N
for j = 1:N
if (j==i) then
A(i,j)=2;
end
if (j== i+1) then A(i,j)=-1; end
if (j== i-1) then A(i,j)=-1; end
end;
end;
disp ('afficher la matrice', A);
A = (1/h)*A;
F=h*ones(N,1)
B=zeros(2,N);
B(1,1)=1;
B(2,2)=1;
B(1,N)=-1;
B(2,N-1)=-1;
T=zeros(1,N+... |
b74a81f1a5cebe0af08409b16df4a4053b3a0933 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /aa.sce | 28a1d9a5c0ed65c7b4c02e20a91201545d1e455b | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 74,561 | sce | aa.sce | Name=aa
PlayerCharacters=Apex Legend
BotCharacters=Apex Blue Shield.bot;Apex White Shield.bot;Apex Purple Shield.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Apex Legend
AddedBots=Apex White Shield.bot;Apex Blue Shield.bot;Apex Purple Shield.bot
PlayerMaxLives=0
BotMaxLives=1;1;1
PlayerTeam=2
BotTeams=1;1;1
MapNam... |
263721ebfe36b10e093679acb9c68c15c3e6e0f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.17.a/data8_17.sci | 37eb1d73f637e65cbae5d6d23a55697f8e786467 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sci | data8_17.sci |
//(Welded and Riveted Joints) Example 8.17
//Plate thickness d (mm)
d = 25
//Reversed axial load acting on the plates P (kN)
P = 100
//Throat of the weld t (mm)
t = 25
//Ultimate tensile strength of the weld material Sut (N/mm2)
Sut = 450
//Factor of safety fs
fs = 2
reliability = 90
//Operation
//No... |
c6c2253a325eae1c1fad3364e4087be2d84af6aa | a10c4fe2abd80779cead05e17d7b4508d5816c2b | /projects/04/Divide.tst | 579eb5f2e26e9fec7e28bf1463ece4515a5dad7e | [] | no_license | MichaelCohenHUJI/NAND2TETRIS | ebf808f93a3fdae4c5424a1af1aec08ad4cc44de | 36acc5a43f604ddc8197ad3e006cc8d43b99f800 | refs/heads/master | 2020-09-01T13:50:45.006520 | 2020-01-19T09:10:20 | 2020-01-19T09:10:20 | 218,971,878 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 848 | tst | Divide.tst | // This file is part of www.nand2tetris.org
// written by Oded Wertheimer
// File name: projects/04/divide/Divide.tst
load Divide.asm,
output-file Divide.out,
compare-to Divide.cmp,
output-list RAM[13]%D2.6.2 RAM[14]%D2.6.2 RAM[15]%D2.6.2;
set RAM[13] 100, // Set test arguments
set RAM[14] 5,
repeat 500 {
ticktoc... |
438e592b9a72c96b2356a4eeb9791260aebb9ada | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH7/EX7.6/Example7_6.sce | 6c1cf6a183b31c8578e3d77ad32cd5eb28c93416 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,110 | sce | Example7_6.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 7: PARALLEL OPERATION
// Example 7-6
clear; clc; close; // Clear the work space and console.
// Given data
E = 220 ; // Voltage generated in volt
E_1 = E ; // Voltage generated by alternator 1 in... |
61dfc5cd3436e61842580500fbd75bd76f0daf89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH3/EX3.4/Example3_4.sce | 171334f9e79858f2e987a771419833e8cb24b0db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 547 | sce | Example3_4.sce | //Example 3.4
clc;
clear;
close;
format('v',7);
//Given data :
Hwater=6;//m(Pressure head of water)
S_oil=0.70;//(specific gravity of oil)
H_oil=Hwater/S_oil;//in m(Pressure head in terms of oil)
disp(H_oil,"Pressure head of water in terms of oil in meter : ");
S_oil=0.825;//(specific gravity of oil)
S_mercu... |
ea6bcfbbd4f25508613362f7399bd88ba17f744c | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH6/EX6.10.4/exa6_10_4.sce | 3c76418ccd0faf2acc2f276059bc7eab1cb51b91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sce | exa6_10_4.sce | //Caption:time_response_for_unit_step_function
//example 6.10.4
//page 172
s=%s;
syms t;
a=(s+4);
b=1/(s*(s+2));
c=(a*b); //in series
d=0.5;
e=c/.d
f=1;
g=e/.f;
disp(g,"C(s)/R(s)=");
disp('for unit step response R(s)=1/s, so');
h=g*(1/s);
disp(h,"C(s)=");
[A]=pfss(h);
A(1)=(1/s)
F1=ilaplace(A(1),s,t... |
dfd1823857094b647ccca65880ccdb659a4fa252 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH9/EX9.1/9_1.sce | aafd156601933610dea1227f48ed6ec0f10e4f73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | 9_1.sce | clc;
clear;
//the equations are:
//3*x1 + 2*x2=18 and -x1 + 2*x2=2
//equation 1 becomes,
//x2=-(3/2)*x1 + 9
//equation 2 becomes,
//x2=-(1/2)*x1 + 1
//plotting equation 1
for x1=1:6
x2(x1)=-(3/2)*x1 + 9;
end
x1=[1 2 3 4 5 6];
//plotting equation 2
for x3=1:6
x4(x3)=(1/2)*x3 + 1;
end
x3=[1 2... |
20586b76c01b39800484fd522192d8aae0b34930 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/tests/AIO_COMPLEX_TEST/scan_stream1_test.sce | a6618e81ba6d5f927b8cbeefd8699a8303abfdfd | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 1,633 | sce | scan_stream1_test.sce | function test()
disp("------------ STREAM SCAN TEST -------------");
aiData = [];
channels = [1 2 3]
scanFrequency = 1000;
scanDataSize = 1000;
duration = 5;
expValue = -3;
sineBias = 2.5;
sineBase = sin(linspace(0, 2*%pi, scanDataSize));
expWave = exp(linspace(expValue, expValu... |
7c61b51261ac21191fb0aca13b9d070452867efc | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH5/EX5.16/5_16.sce | 23062367ecd31d4f06f2a020e5afad49424c1253 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | 5_16.sce | pathname=get_absolute_file_path('5_16.sce')
filename=pathname+filesep()+'5_16data.sci'
exec(filename)
Dt=(Cd+Cdi)*S*(D*V^2/2);disp(Dt,"Dt=","Dt=(Cd+Cdi)*S*q","total drag Di:")
printf("\Answer:\n")
printf("\n\Totl drag: %f N\n\n",Dt) |
2f7266b1101ce76ad60c1b5cedc017ab15f600a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH5/EX5.12/Ex5_12.sce | 755716ee5d0e3ecd3c6b18c183e5dbdd60e52670 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,677 | sce | Ex5_12.sce | clear
//
//
//Initilization of Variables
L_AC=2 //m //Length of AC,CD,DB
L_DB=2
L_CD=2
F_C=40 //KN //Force at C
w=20 //KN/m //u.d.l
L=6 //m //span of beam
//Let E*I=X
X=15000 //KN-m**2
//Calculations
//Let V_A & V_B be the reactions at A & B respectively
//V_A+V_B=80
//Taking Moment B,M_B
V_A=(F_C*(L_CD+L_DB)+w*... |
f7b41155beec092e4cbf758e0d23119b351d616f | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH16/EX16.25/16_25.sce | 3a3e59725a4dfb9a34b885ca2753bda310d8180f | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | 16_25.sce | clc;
eta=0.8;
F1_2=5.67*10^-8;
T1=533;//K
T2=293;//K
alpha=eta*F1_2*(T1^2+T2^2)*(T1+T2);
A=%pi*0.6*0.9;
Q1=alpha*A*(T1-T2);
alpha=8.8;
A=5;
Q2=alpha*A*(T1-T2);
Q=Q1+Q2;
disp("total heat loss is:");
disp("kW",Q/1000)
|
5e94e2b6e549927253d2aed56fe80d6397ed5a71 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RPS1.prev.tst | 8e802638a8b3ac6c2951feaeeaf6e94988a2e3b6 | [
"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 | 14,691 | tst | RPS1.prev.tst | # 3^0*(108*r^2 + 20*r + 1) = 2 * m^2 + n^2 ?
0 1
1 3*43 = 2 * (2)^2 + (11)^2 proper representation by 2^2 + 11^2
2 11*43 = 2 * (2^2)^2 + (3*7)^2 proper representation by 4^2 + 21^2
= 2 * (2*7)^2 + (3^2)^2 proper representation by 1... |
2bb179cbe37825a29ddd30022ec0432898a8b3f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH9/EX9.8/Chapter9_example8.sce | 55498aebd277e055ffad19cdd3661b5c850a2243 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 753 | sce | Chapter9_example8.sce | clc
clear
//Input data
A=14.5;//The air fuel ratio
p2=0.825;//The pressure at the venturi throat in bar
p1=1.013;//The atmospheric pressure in bar
pd=37.5;//The pressure drop to the air cleaner in mm of Hg
ma=260;//The mass flow rate of air in kg/h
//Calculations
pa=p1-p2;//Without air cleaner the depressio... |
8e0bb5607916e4f45b433d5f2b70bf3c194db0c1 | bd9df8a33f36defa7e5b50d18f8bd6eb365ad9e2 | /Stage/Bibliotheque_Canada/modpn/cumodp/tst/.svn/text-base/fast_solve2_c.tst.svn-base | a69d2cc568f55a561fcbc47845f86dd7f0cf5988 | [] | no_license | Lexriel/M2_Calcul_Scientifique | ef5c168ab3d2f9a4a45f728b7b3c7ad6fa11f005 | 5747a7bcf0c39de6d99f784b44f6e836bda41243 | refs/heads/master | 2021-08-07T19:16:54.459640 | 2017-11-08T19:22:11 | 2017-11-08T19:22:11 | 110,019,502 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | fast_solve2_c.tst.svn-base |
#Test function:
#- BivariateSolve
#test 500
with(modpn):
with(TestTools):
## y > x in a modpn poly. ring
p := 962592769;
R := PolynomialRing(p, [y, x]):
F := randpoly([x, y], degree=60, dense) mod p:
G := randpoly([x, y], degree=60, dense) mod p:
## solve the bivariate system
EnableCUDA(false);
Try[testnoerror](10,... | |
d3ff786e83a88a27d7b8e4a6c09ce3f30129955e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH3/EX3.18/Ex3_18.sce | 759bdfe03d71a46e666c3941741d7935d3e4141f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 868 | sce | Ex3_18.sce | clc();
clear;
//Given :
lambda = 5500; // Wavelength in A
mu_f = 1.38; // refractive index for MgF2
mu_f1 = 1.48; // refractive index for lucite
//The minimum thickness
t = lambda/(4*mu_f) ; // thickness in A
printf("The minimum thickness = %.1f A\n\n",t);
// Resultant reflected intensity = I = 2*I_0*(1 + cos... |
9cee601fd247056284021929bd15328dfc1cda2a | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_DOS.sci | 7a263f87cbb97c90b906e9730b1e88517bd7d995 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,080 | sci | PIL_DOS.sci | // **** Purpose ****
// It counts the energy levels for a specific energy interval, so you
// can plot DOS.
// **** variables ****
// [E_level]: nx1, real
// <= the energy levels
// [E_interval]:1x1, real
// <= the energy interval
// [E_point]: nx1, real
// => the energy points
// [E_DOS]: nx1, integer
// => The DOS ... |
fbd4f545278cec47eec8abb2a2bd7e524c6165e5 | af7cd799acb90ee773382c3b1b8630e092971cd8 | /tp-cn/test_opMat.sce | 7fc3d27124fcd138c3535525dbb7282334df95fe | [] | no_license | Souad742/my-repo | 1e080b1a593aa1f8f24edd2ed4a766680344510f | 3c0df0e0cf230cbd6160d8e9a08ca7b51bdbf324 | refs/heads/main | 2023-02-03T05:06:47.269245 | 2020-12-18T23:32:27 | 2020-12-18T23:32:27 | 305,127,993 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sce | test_opMat.sce | n=3
A=rand(n,n);
B=rand(n,n);
t=zeros(1,20);
t1=zeros(1,20);
t2=zeros(1,20);
t3=zeros(1,20);
step=1;
for i=1:10;
n=n+10;
A=rand(n,n);
B=rand(n,n);
for j=1:10;
tic();
C3= matmat3b(A,B);
t(step)=t(step)+toc();
tic();
C2= matmat2b(A,B);
t1(step)=t1(step)+toc();
tic;
C1= matmat1b(A,B);
t2(step)=t2(step)+to... |
ac4328fbc867d6a43a4ec9fd16ef01a69d4dcdd0 | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/kNN/normNoSqrt.sci | b36eb792a02dfac43cc43fc1c08c524f08d7bdd9 | [] | 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 | 434 | sci | normNoSqrt.sci | function n = normNoSqrt(p1,p2)
//Author : Maxens ACHIEPI
//Space Robotics Laboratory - Tohoku University
//Description:
//Computes the squared norm of the vector defined by p2-p1.
//INPUT
//OUTPUT
//----------------------------------------------------------------------------/... |
5e38b2aa6db214890ce9d5e374a6674e228cf32b | f7504f79f76645f7f3f70e05ac9b2e319779cdb5 | /tests/example angtest.tst | 2ebaedaacfcbf59e0d3a919ad70c41561529fab3 | [] | no_license | Zeftax/Test-Me | 4ec4acd7c82756dec666af1a59898f30a950ae1d | e5467ba459f12829663bb3493a43f97305627406 | refs/heads/master | 2020-07-12T11:14:34.339908 | 2019-10-21T14:47:23 | 2019-10-21T14:47:23 | 204,803,337 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | tst | example angtest.tst | 0.0
apple/jablko
car,automobile/auto,automobil
chopper,helicopter/vrtulník,helikoptéra
pear/hruška
tea/čaj
drugs/léky,drogy
banana/banán
candy/sladkost
tooth brush/kartáček na zuby,kartáček,zubní kartáček
badge/odznak
razor/žiletka,břitva
book/kniha,knížka
vitamins/vitamíny
instrument/nástroj
|
86382edc6ba901149fcf20be7894c7449f7acaea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH45/EX45.2/Example45_2.sce | a6cc5dffe8bbf5ca7ddea1dd2a16e449aa2bc1b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,151 | sce | Example45_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 7: CONTROL OF MOTORS
// EXAMPLE : 7.2 :
// Page number 798
clear ; clc ; close ; // Clear the work space and console
// Gi... |
6705213523578eba11ec5b208ecf83a8e137a1a0 | 3cebec609a7a9400f632d5c0cfb6261beb898ba4 | /QPSK.sce | 49947204486db4bcda4b817aed265fce2722e215 | [] | no_license | dikshitakambri/scilab-programs | 93cb5aea24bd53377f73cd394cb742294382796e | 61172a7301fd49b5e69f2da53280a1a22a34ee1d | refs/heads/master | 2023-01-09T06:47:38.704641 | 2020-10-31T12:44:12 | 2020-10-31T12:44:12 | 308,216,078 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,135 | sce | QPSK.sce | clear;
clc;
close;
T=2;//One symbol period
t=0:0.01:T;//sampling matrix for one symbol period
f=1;//carrier frequency(cycles per period)
I=[0,0,1,0,1,1,0,0];
I_PNRZ=[]
for n=1:length(I)
if I(n)==0 then
I_PNRZ=[I_PNRZ,-1]
else
I_PNRZ=[I_PNRZ,1]
end
end
I_Carrier=sqrt(2/T)*s... |
e3ecfd5980784de129cdc95069ed310d53578216 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH2/EX2.1/ex2_1.sce | 94f1b8c5d35f7b175fe446ce9515136fa2344062 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | ex2_1.sce | // Exa 2.1
clc;
clear;
close;
format('v',6)
// Given data
I_C = 15;// in mA
I_CbyI_E= 0.995;
I_E= I_C/I_CbyI_E;// in mA
I_B= 0.005*I_E;// in mA
I_CBO = 3;// in µA
I_CBO = I_CBO * 10^-3;// in mA
alpha_dc= I_C/I_E;
disp(alpha_dc,"The value of Alpha_dc is");
// I_C = Alpha_dc*I_E + I_CBO;
I_E = (I_C-I_CBO)/... |
b9a2a55e4d76ce1389cf7a392b94bc9db9e65162 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/bartlett/bartlett11.sce | a7251864d1062471d7f3142fb9911f222e655937 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | bartlett11.sce | //random i/p
w=bartlett(7);
disp(w);
//output
// 0.
// 0.3333333
// 0.6666667
// 1.
// 0.6666667
// 0.3333333
// 0.
|
8ae0cbeb27041fde08367d8f86e2289625e9c022 | 56938bc67f1727ac61cf330ce0ff113a40babdb4 | /TP3/TP33.sce | 2f5f5bb04e3eeb56da7500af0664ab07deb49412 | [] | no_license | royceda/Math-finance | a3b1e54bf3311514760d3d025eb55a94c0d53965 | f9a28b6cd5baf2ded9cb2eed8ec6c94e0ec738fa | refs/heads/master | 2021-01-10T04:22:52.831869 | 2015-11-25T22:06:16 | 2015-11-25T22:06:16 | 43,753,795 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,930 | sce | TP33.sce | //Exercice 3
t = 0;
x = 1000;
T = 100;
K = 1000;
r = 0.005;
sigma = 0.1;
n = 10000
y = [10:100:n];
X = grand(n,1,'nor',0,1);
//We use the previous Call compute with Monte Carlo
function [p] = eval_PutVC(X, x, t, T, K, r, sigma, n)
I = x*(1-exp(-r*T));
p = I - eval_Call(X, x, t, T, K, r, sigma, ... |
86739dbca74a1751169020cf1ed5462733781d28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH14/EX14.7/example7.sce | 5c797bfef91aa8e3fb7824625903676b8bf680fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 855 | sce | example7.sce | // calculate output voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 14-7, page 496
clear; clc; close;
// Given data
Vdd=10;// supply voltage in volts
Rd=2*10^3;// resistance in ohms
Rdson=500;// static drain-source on-resistanc... |
c58fe2bbe3b2e183a75a5a4c1881e592333d5f33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH5/EX5.19/Ex5_19.sce | 019ba7a74de9ff7adb57d6c9bfd4215dcbf7d526 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | Ex5_19.sce | //Example 5.19
clc;clear;close;
format('v',6);
Tp=10;//sec
Tg=0;//sec
Tt=0;//sec
Kp=100;//Hz/p.u.MW
R=3;///Hz/CuMW
delPD=0.1;//p.u.
Ki=0.1;//constant
f=50;//Hz
s=poly(0,'s');
delFs=-Kp/Tp*[delPD/(s^2+s*{(1+Kp/R)/Tp})+Ki*Kp/Tp];
n=1;//cycle
time_error=n/f;//sec
disp(time_error,"Total time error(sec)");
|
1b7f233021479619695123bb84ad3e8b2a8adc44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH4/EX4.5/example4_5.sce | 0bc0fa542f58e10e50190cc15342b43b49b2e13a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | example4_5.sce | disp("Part a");
r1=0.511;
l=10;
r=r1*l;
T_C1=20;
disp("the resistance (in Ω) at 20 °C is"); disp(r);
disp("Part b");
T_F2=100;
T_C2=(T_F2-32)*5/9;
a_1=0.00393;
r2=r*(1+a_1*(T_C2-T_C1));
disp("the resistance (in Ω) at 100 °F is"); disp(r2);
disp("Part c");
T_F3=-40;
T_C3=(T_F3-32)*5/9;
r3=r*(1+a_1*(T_C3-T... |
80f37dfb85b5b8c2cfaa5e29b13be73661d97c6d | 048b7c76423fe27dee2e31a52bae93c95883614e | /macros/durbinlevinson.sci | cd56e48d1c8189bc4ac4925add8cf0daefb5dc68 | [] | no_license | vu2swz/FOSSEE-Signal-Processing-Toolbox | aa5f283d050be62418dddbf41552f197b9949c4c | d97a4b7e2f0f25fb5cd94bd90a3b822592179d1e | refs/heads/master | 2021-08-19T20:06:19.346872 | 2017-11-27T09:57:21 | 2017-11-27T09:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sci | durbinlevinson.sci | function y= durbinlevinson(C, varargin)
rhs=argn(2);
if(rhs<1 | rhs>3)
error("Wrong number of input arguments");
end
select(rhs)
case 1 then
y=callOctave("durbinlevinson",C);
case 2 then
y=callOctave("durbinlevinson",C, varargin(1));
case 3 then
y=callOctave("durbinlevinson",C, varargin(1), varargin(2));... |
58cd9c4d33c68dd0077a8ee4a2c15f5fcba72fae | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/arity_03.tst | cc875722c8554f3a5df003c2b1555eb17b320e3d | [] | 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 | 256 | tst | arity_03.tst | // @Harness: verifier
// @Purpose: "Test for arity mismatch in subroutine calls"
// @Result: "ArityMismatch @ 9:12"
architecture arity_03 {
external subroutine a(x: int): void;
instruction "I" {
execute {
a();
}
}
} |
7118a25dfd9e6939657d21e0e637be9b5cd7a3d2 | 090aefac4d8d48efba8d30891bd37b7b82b2ad91 | /LP/haskell-project/tests/7.tst | 69dcf5ed3baa9a52d32ad309a334acf80f4ca69e | [
"MIT"
] | permissive | landlockedboat/fib | 04a3818091eeffcdb734c8db968024ac76e70e70 | 5b6c3d3029a49b06740a5ea6be81c39be3ff5173 | refs/heads/master | 2022-05-08T23:25:46.868058 | 2018-08-20T15:04:33 | 2018-08-20T15:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | tst | 7.tst | let seq = (Seq [(Input ("X")), (Empty ("P")), (Loop (OR (Gt (Var "X") (Const 0)) (Eq (Var "X") (Const 0))) (Seq [(Input ("Y")), (Push ("P") (Var "Y")), (Assign ("X") (Minus (Var "X") (Const 1)))])), (Assign ("S") (Const 0)), (Size ("P") ("L")), (Loop (Gt (Var "L") (Const 0)) (Seq [(Pop ("P") ("Y")), (Assign ("S") (Plus... |
c5f2279ce4700169e642b77cbe9a5cf1bcaa705d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH9/EX9.3/Ex9_3.sce | 17adf993df9b6455917d855f81fb25f22a033750 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | Ex9_3.sce | //Example 9.3, Page Number 474
//The Function fpround(dependency) is used to round a floating point number x to n decimal places
clc;
n1=2.286 //The Ordinary Refractive Index
d=6*(10**-3) //Refractive Index Change
n2=n1-d //Difference of the Two
NA=sqrt((n1**2)-(n2**2))
first=1/(4*NA)
first=fpround(first,2... |
ba51dc443f835a550f5e148ebaf10ec05324ffbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH11/EX11.5/11_5.sce | 635c7fc779d71a042f7212ad4a85b66d258e4402 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | 11_5.sce | clc
//initialisation of variables
clear
rt= 0.5 //ft
rr= 0.16 //ft
dv1= 88.3 //ft/sec
b= 150 //degrees
a= 5 //degrees
v1= [-0.933 -0.311]
i= [1.0 5.0 6.7]
//CALCULATIONS
b1= b+a
A= %pi*(rt^2-rr^2)
Va= -dv1*tand(b1)
Q= Va*A
a1= atand(v1)+180
//RESULTS
printf ('Velocity = %.2f ft/sec',Va)
printf ('\n ... |
491e8a2dcf1776bd6d419e26b486e7ae906fae75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.11/Example6_11.sce | bb6853b36afdb012e5b60b4f6b837e3c4baf3d98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | Example6_11.sce | //Example 6.11
clc
format(6)
IB=100*10^-6
IC=2*10^-3
beta=IC/IB
disp("(a) To find beta of the transistor ")
disp(beta,"beta = IC / IB =")
alpha=beta/(beta+1)
disp("(b) To find alpha of the transistor")
disp(alpha,"alpha = beta / (1+beta) =")
IE=IB+IC
IE1=IE*10^3
disp("(c) To find emitter current, IE")
dis... |
fcb00330d35255c8e66f97a1be443ce9212a88d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH26/EX26.18/EX26_18.sce | a9236207d7708d14b709c65cb407f2e8df995dea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,481 | sce | EX26_18.sce | //EXAMPLE 26.18
//4-POLE LONG SUNT GENERATOR
clc;
funcprot(0);
//Variable Initialisation
N=900;.................//Speed of the generator in rpm
P=4;....................//Number of poles
Rse=0.02;.............//Series field resistance in Ohms
Rsh=100;...............//Shunt field resistance in Ohms
Phi=0.07... |
bf7e1d4c62c439095e9828cd3b86ead3f7b64235 | 449d555969bfd7befe906877abab098c6e63a0e8 | /20/CH3/EX3.16.161/example3_16_pg161.sce | 6b086191a34635d63a91e6f772e3151a1e22a9c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 794 | sce | example3_16_pg161.sce | // Example3_16_pg161.sce
// To find radial force due to current
// Theory of Alternating Current Machinery by Alexander Langsdorf
// First Edition 1999, Thirty Second reprint
// Tata McGraw Hill Publishing Company
// Example in Page 161
clear; clc; close;
// Given data
va = 200e+3; // Volt Amperes of transformer, V... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.