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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8f923c87b75c0989360c07fb0271523c803aca4d | 002b6230874dea6e4d76defafc1ae293b5744918 | /library/Demos/StdRegions/Tests/StdProject_Diff1D_Seg_Mod_P6_Q7.tst | b5d7f1874e43d194c2a8cc70c5339a633b229a71 | [
"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 | 467 | tst | StdProject_Diff1D_Seg_Mod_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>StdProject_Diff1D Segment Modified basis P=6 Q=7</description>
<executable>StdProject_Diff1D</executable>
<parameters>4 6 7</parameters>
<metrics>
<metric type="L2" id="1">
<value tolerance="1e-12">1.32975e-14</value>
... |
9d7f50a532955783089fb0afcef63bf6858c3bdb | dc1af20bca10db33d1adcbf61d5fe874eb6eab07 | /PluginTesting/environment/COMPOUND_FAILS/COMPOUND_FAILS.tst | 68e7d1559d726cd8a8e5525b197584862d096289 | [] | no_license | TimSVector/PointOfSales_v2 | 2d1130516cfc5d77f2e5d0f60adcde96374f6fc2 | ef630f05850715568725cf94cc0e497146a049d4 | refs/heads/master | 2023-08-04T10:51:50.031346 | 2023-08-03T20:50:28 | 2023-08-03T20:50:28 | 133,404,783 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,760 | tst | COMPOUND_FAILS.tst | -- VectorCAST 20.sp1 (05/27/20)
-- Test Case Script
--
-- Environment : COMPOUND_FAILS
-- Unit(s) Under Test: manager
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:REMOVED_CL_PREFIX
TEST.S... |
b3b15cf4077ed6d5c052adde52f9ce8bcfa5830f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH9/EX9.4/Ch09Ex4.sce | 65bbc3019556921303c310f42ac9cf538bc414b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | Ch09Ex4.sce | // Scilab Code Ex9.4: Page-9.26 ; (2004)
clc;clear;
ni = 2.4e+19; // Carrier concentration at room temperature
mu_e = 0.39; // Mobility of electron; m^2V^-1s^-1
e = 1.6e-19; // Electronic charge, C
mu_h = 0.19; // Mobility of holes, m^2V^-1s^-1
sigma = ni*e*(mu_e+mu_h); // Conductivity, mho.m^-1
r... |
9212616bfb6251886ff26d2a3597f9f7e065fe41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH3/EX3.12/3_12.sce | 8bfaecafc9082a8c742fa899d2cbbe6731b948cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 499 | sce | 3_12.sce | clc
//initialisation of variables
p=120//lb/in^2
ts=264//degree C
T1=(273+130.6)//F
v=0.0171//ft^3/lb
L1=518.4//lb
T2=(273+171.9)//F
L2=487.4//lb
Cp=0.48//lb
L=0.0894/Cp//lb
Ts=T2*1.205//degree
ta=536-273//Degree C
T=649.9//C.H.U
S=131.2//C.H.U
w=(144*40)/1400*(10.49-v)//C.H.U
C=T-S//C.H.U
I=C-w//C.H.U... |
2262a985934ab07b326dfeb097cbe77e2a2cb08f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH5/EX5.28/Ex5_28.sci | 64e45a9dd9fd061b5e81e838ba61b839e049ff0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sci | Ex5_28.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 5.28
clc;
clear;
s=poly(0,'s')//defines s as poly nomial variable
h=syslin('c',(1/(s*(s^2+6*s+10))))//the given transfer function assigned to variable h assume K=1
scf(... |
0c797dafb3649d4a264dad084ffcd9e93d2d6dce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH11/EX11.5/EX11_5.sce | 2efd834d56ab2bcba7acb663fcf86e734a3ee405 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 884 | sce | EX11_5.sce | clc;funcprot(0);//EXAMPLE 11.5
// Initialisation of Variables
afr=15;.....................//Air fuel ratio
p1=1;.........................//Atmospheric pressure in bar
p2=0.8;.......................//Pressure at venturi throat in bar
pd=30;....................//Pressure drop to air cleaner in mm of Hg
rhohg=13600;... |
3418e512b2f33ec2fb74c0ac7305faecd77af28c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH1/EX1.14/14.sce | 8bc8113d5811735388377d78234be76b8843034a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sce | 14.sce | clc
clear
//INPUT DATA
V=475//volume of hall in m^3
a1=0.025//absorbtion coefficient for wall in O.W.U
a2=0.02//absorbtion coefficient for the ceiling in O.W.U
a3=0.55//absorbtion coefficient for the floor in O.W.U
S1=200//The wall area of the room in m^2
S2=100//The floor area of the room in m^2
S3=100//The c... |
8ef521d741b8b37ef7468d9812968f06895e9d11 | f4d3c7f7e8954cdeb6eb0c7b54a056242b07da22 | /BCPST UTT/Old/carte.sce | 76ee54c75b04f336dff893577bae29268b6193be | [] | no_license | ThibaultLatrille/Slides-Sciencework | bfdf959dbbe4a94e621a3a9a71ccbcd06c5fc338 | 84b53f3901cbdb10fab930e832dc75431a7dce05 | refs/heads/master | 2020-04-27T07:53:52.313720 | 2019-03-06T16:17:57 | 2019-03-06T16:17:57 | 174,151,758 | 0 | 0 | null | null | null | null | WINDOWS-1252 | Scilab | false | false | 6,928 | sce | carte.sce | function [F1]=crossover(Pa1,Pa2,a,b) //crossing over de deux individus
n=length(Pa1);
F1=zeros(1,n);M=zeros(1,n);
for i=a:b do t=Pa1(1,i); M(1,t)=t; end; //matrice M d'arret pour la boucle while
for k=a:b do F1(1,k)=Pa1(k); end; // liste F1 contenant la sequence de Pa1 entre a et b
cont=1;
f=findeur(Pa2,Pa1... |
1edc5a44792477bbcb47a3f6a39b922b460d1b1d | 8b71d45e2ad969008eefeaf925d555ea6472f9a1 | /Scilab/roby_tmp.sce | 44e42f5edec7048a139c63c0959f6f2f1d4e24b9 | [] | no_license | Rossano/Self_Bal_Robot | cb251b14f40b1934ee38ecbb86cd13762454675b | 9fd6af2e9f8f528cffd4e38faa7c1c4ff4a97136 | refs/heads/master | 2020-04-06T05:10:44.220409 | 2016-10-11T06:44:12 | 2016-10-11T06:44:12 | 36,401,038 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,608 | sce | roby_tmp.sce | // Complex variable
s = poly(0, 's');
//
// System values
//
M = 0.02; // Kg
// Gravity
g = 9.81; // m/s¨2
// Wheels
r = 0.021; // m
m = 0.019; // Kg
Jw = 1/2*m*r^2;
// Motor
Max_speed = 260; // rpm
gear_ratio = 50;
Istall = 0.36; // [A]
Vstall = 6; // [V]
Tstall = 5*10*... |
1ebd83f49290bba953ec39b0337ddc7d17db8c8b | 3ab7c3ba0b53c896747be95b21d2a39dc0ba021a | /Poli.sci | 3681d26b1d5647305cef3997de9a8d62c81643f1 | [] | no_license | Farber98/MetodosNumericos | 0752f090eb596926f05bff0730a088eb70e77033 | 5c1be0d0e8274d204b41d0b91778847e6469e6bb | refs/heads/master | 2021-04-23T12:58:07.339435 | 2020-03-25T08:41:32 | 2020-03-25T08:41:32 | 249,926,955 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sci | Poli.sci | //X: Abscisas.
//Y: Imagenes f(x).
//P: Polinomio de Newton.
//n: Numero de puntos.
//n-1: Grado del polinomio.
function[P]=newton(X,Y)
n=length(X);
for j=2:n,
for i=1:n-j+1,Y(i,j)=(Y(i+1,j-1)-Y(i,j-1))/(X(i+j-1)-X(i)); //Realizo las diferencias divididas
end
end
x=poly(0,"x"); //Defino un poli... |
a4b120e097637b29e24f40bebc2f2343370b2a34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH3/EX3.1/example_3_1.sce | 7192354a3a15a0cd1cdd7938d8abb40fa1270a11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | example_3_1.sce | //example 3.1
clc;
clear;
disp("we can minimize the given equation as:");
disp('Y = AB'' + AB = A(B'' + B)');
disp('Therefore, Y = A(1) = A');
disp('this says that output Y equals to A, so all we hve to do is connect a wire between input A and output Y.'); |
68ca20f1a184160214d218bc69a056fccba10b5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /293/CH7/EX7.10/eg7_10.sce | 8471961a296543c4ce2a5c1be9333e1f590700d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | eg7_10.sce | V1 = complex(10);
V2 = complex(10*cos(-%pi/3),10*sin(-%pi/3));
Z1 = complex(1,1);
Z2 = complex(1,-1);
Z3 = complex(1,2);
//By appling the nodal analysis we get the following equation:
//Va((1/Z1)+(1/Z2)+(1/Z3)) = (V1/Z1) + (V2/Z2)
Y = (1/Z1)+(1/Z2)+(1/Z3);
Va = (1/Y)*((V1/Z1) + (V2/Z2)); //voltage of node a
... |
86d6a3de84efb34f0d2d22aa87ab5ee3c604fc7d | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_xcorr.sci | 86db6850343f2ad77a4d620c5a5dea09a61adae2 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,328 | sci | moc_xcorr.sci | function [R, lags] = moc_xcorr (X, Y, maxlag, scale)
// Compute correlation R_xy of X and Y for various lags k:
// Calling Sequence
// [R, lag] = moc_xcorr (X [, Y] [, maxlag] [, scale])
// Description
//
// Compute correlation R_xy of X and Y for various lags k:
//
// R_xy(k) = sum_{i=1}^{N-k}{x_i y_{i-k}}/(N... |
ebbd4366fd613f9fac2568cd86358b87386f0cdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH3/EX3.7/ex3_7.sce | 941c1e9dba52669f70110494ae770b8fb60661fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | ex3_7.sce | // Example 3.7, page no-165
clear
clc
//(a)
R1=120
R2=120
R3=120
R4=120
Rg=100
C=(R1*R2*R4)+(R1*R3*R4)+(R1*R2*R3)+(R2*R3*R4)+(Rg*(R1+R4)*(R2+R3))
C=C/10^7
printf("(a)\nC=%.3f*10^7",C)
E=10
F=E*R3*R1*2*10^3/(C*10^7)
printf("\nF = %.1f *10^3 A/mm = %.1f mA/mm",F,F)
//(b)
Fe=2*10^-4
E=10
DeltaE=Fe*E/... |
68e5faed376e742d156c82d9dd5dbcb4a0f9d874 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH10/EX10.1/exm10_1.sce | 03436e088b8aacae69cfa47bd50f6ac6ba6c31b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exm10_1.sce | // page no 310
// example 10.1
// BCD TO BINARY
// BCD into its binary equivalent.
// given BCD no is 72
clc;
a=72;
x=modulo(a,10); // seperating the units digit
printf('Unpacked BCD1 ')
disp(dec2bin(x,8));
a=a/10; // seperating the tens place digit
a=floor(a);
printf('\n \n Unpac... |
b97095d6b0a2dd729ab21c829e65e04b382c4190 | e1527120156f72705816c6f6071227e65c579308 | /kernel/sme.sci | 42d5953c13efac2d84646a4d8ebf8039634000de | [] | no_license | bhuepping/scilab_collaborative_filtering | 583e0a7b01ca9d53fe0e5f9346947bccd03b9229 | 39966976b862196c836e7d04bca26ebe27e25632 | refs/heads/master | 2021-01-22T12:13:02.121309 | 2012-05-31T21:41:08 | 2012-05-31T21:41:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sci | sme.sci | function value = sme(ratings,users,items)
nr = size(ratings,1);
value = 0;
for i = 1:nr
value = value + (ratings(i,3) - users(:,ratings(i,1))'*items(:,ratings(i,2)))^2;
end
endfunction
|
cbbb73e6c7673ce5c59fa22a243760ac3854887f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH3/EX3.2/Ex3_2.sce | c09e12bbd52fa98abcaa06f8d0e7c30365b5e909 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | Ex3_2.sce |
clc
//initialisation of variables
t=240//F
p=4//lb
R=53.35//f
t1=460//F
l=0.6931//ft lb
//CALCULATIONS
W=p*R*(t1+t)*l//ft-lb
//RESULTS
printf('the work done=% f ft-lb',W)
|
64e12c8b7d9068d8cbd13a04b2dd78cc3ec7854d | 5c808b0f55fefd29b91c7cb73f2f3a08093c5033 | /Code/Scilab Code/PrepAudioForProcessing.sci | 61ad0eef81125ea1c73c9aecc636324045b3484b | [] | no_license | JOfTheAncientGermanSpear/Filter-Bank-Guitar-Note-Chord-Detection | a01e2ce521561dfea555a588d6bb1e0f1deca18e | cb0d54c74275a990dcb984c4ec349e6ca4e72a1a | refs/heads/master | 2021-01-20T12:00:42.472605 | 2013-06-14T03:04:33 | 2013-06-14T03:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sci | PrepAudioForProcessing.sci | function signal =PrepAudioForProcessing(signal, SamplingFreq)
signal = DownSampleTo3675(signal, SamplingFreq);
endfunction
function signalat3675 = DownSampleTo3675(signal, SamplingFreq)
select SamplingFreq
case 44100, signalat3675 = DownSample(signal, 12);
case 22100, signalat3675 = DownSample(s... |
7508ee11fee7ea9497d740d6ca234e3c53c21185 | e2f1cd4bf054393b04c3e30ca2bcdd4667395efc | /testLDV5.tst | c44feed1e5cdea6f12a93044f3b42533920c3c2e | [] | no_license | unsegnor/BT | 37203462f8672b89b82cf025c5f05c67515263fb | 9051eb4b002f68041578bd581668bcc7959bda56 | refs/heads/master | 2021-01-10T02:05:05.487349 | 2014-07-04T17:56:31 | 2014-07-04T17:56:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 304,960 | tst | testLDV5.tst | mapaSBT
50
50
0
2
255
0
False
False
False
0
False
False
False
False
False
False
False
False
False
False
False
False
1
2
255
0
False
False
False
0
False
False
False
False
False
False
False
False
False
False
False
False
1
2
255
0
False
False
False
0
False
False
False
... |
41af84202448127b508d001217d10eca56b8467a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.1_2.tst | ad86193f322d66d3ae7602f910a5bf4d95f75fd0 | [] | 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 | 28,498 | tst | bow.1_2.tst | 1 12:0.015873015873015872 13:0.2 27:0.125 36:0.05263157894736842 41:0.3 50:1.0 58:0.2 67:1.5 70:0.18181818181818182 82:0.125 85:0.1111111111111111 98:0.25 109:0.5 113:1.0 176:0.5 197:0.16666666666666666 230:2.0 341:1.0 381:1.0 405:1.0 438:1.0 473:1.0 497:1.0 500:1.0 506:1.0 522:0.3333333333333333 535:1.0 619:0.5 708:1.... |
3a669ee046efa6ad62e3dc018a0de66bb9c43f8f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH11/EX11.13/Ex11_13.sce | df3cafa42f17bd00aaab418248859abae73c4f94 | [] | 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 | 931 | sce | Ex11_13.sce | errcatch(-1,"stop");mode(2);//Caption:Find (a)Equivalent rotor current (b)Stator current (c)Power factor (d)Stator input (e)Rotor input (f)Efficiency
//Exa:11.13
;
;
V=440//Voltage supplied(in volts)
f=50//frequency(in hertz)
Z_s=1.5+(%i*3)//Stator impedance per phase(in ohms)
Z_r=1.6+(%i*1)//Rotor impedance p... |
f30fc9c9d442ecef29266902c1d6215d4cde5dc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH7/EX7.11/example_7_11.sce | 8d59e1fe4b9364a15deb0456a76871642a4bec91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | example_7_11.sce | syms s
TF=8/(s^2+4*s+8)
Mp=25 //given
omegaN=sqrt(8)
disp(omegaN,"omegaN = ")
zeta=4/(2*omegaN)
disp(zeta,"zeta = ")
omegaD=omegaN*(sqrt(1-zeta^2))
Tp=%pi/omegaD
disp(Tp," Tp = ")
disp(%e^(-%pi*zeta/sqrt(1-zeta^2))," Mp = ")
disp(4/(zeta*omegaN)," Ts = ")
|
576132324337547f5b538a2e81af1f856966e157 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH14/EX14.5/Ex14_5.sce | 52fb55ba89c53ed0e2929949dfd6711b670950de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_5.sce | clc//
//
//
//Variable declaration
V=20*15*5; //volume(m^3)
T=3.5; //time(s)
A=950; //surface area(m^2)
//Calculation
sigma_as=0.165*V/T; //total absorption in the hall(OWU)
ac=sigma_as/A; //average absorption coefficient
//Result
printf("\n total absorption in the hall is %0.3f... |
48cd2a0e7aa288ec62cd36dad53304e4163abf8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH3/EX3.2/3Ex2.sce | c9f73aa12c90a27c681fafe380570a604b3b8955 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3Ex2.sce | //chapter 3 Ex2
clc;
clear;
close;
n1=5/8; n2=7/12; n3=13/16; n4=16/29; n5=3/4;
V=[n1 n2 n3 n4 n5];
V=gsort(V,'lc','i');
mprintf("%.2f < %.2f< %.2f < %.2f < %.2f",V(1),V(2),V(3),V(4),V(5));
|
2b58996ad05ac37687585919a2c6132c69024697 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH5/EX5.8/ex5_8.sce | 699f197baef5abf2b0571e3760c39d45646c7972 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 835 | sce | ex5_8.sce | //Find current and voltage of sending end and percentage regulation
clear;
clc;
//soltion
//given
R=0.1425*200;//ohm//total resistance
X=0.49*200;//ohm//reactance
Y=8*10^-4;//S//total susecptance
Vrl=132*1000;//V
pf=0.8;//power factor
P=50*10^6;//MVA
Vr=round(Vrl/sqrt(3));
Ir_=(P/(sqrt(3)*Vrl));
Ir=Ir_*com... |
fdf9507a4a4c2acb6f134b3ac71702fcb44f37c9 | d5bd4b5a4760efd0a3d16d7c39c7b495c5874d28 | /AnalogDigtitalCommunication/HammingEncode.sci | 74dc6201d306ca0175246619d871f44ece051638 | [] | no_license | APU-PhasedArrayBeamForming/Array-Based-Beam-Forming | 27a61bc3cf93e544364121e508dc4d140b7e0cb1 | 4cde46b7aa3f4e995297ac72fc5038fa0cdf083d | refs/heads/master | 2021-01-25T08:01:17.468481 | 2017-06-15T18:47:40 | 2017-06-15T18:47:40 | 93,699,808 | 1 | 1 | null | 2017-06-15T18:47:40 | 2017-06-08T02:36:01 | Scilab | UTF-8 | Scilab | false | false | 1,373 | sci | HammingEncode.sci | function [C,b,m]= HammingEncode(m3,m2,m1,m0)
//Caption:Hamming Encoding
//H(7,4)
//Code Word Length = 7, Message Word length = 4, Parity bits =3
//function for XOR gate
function [value] = xor(A,B)
if(A==B)
value = 0;
else
value = 1;
end
endfunction
//Getting Messa... |
5fb32e748623051de893034e5b2706f5f51c1008 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH16/EX16.4/16_4.sce | ae4e908076a66a4b9dfb59606d0301de95512efb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,087 | sce | 16_4.sce | clc
//ex16.4
V_T=240; //dc supply voltage
R_A=0.065; //armature resistance
R_F=10; //field resistance
R_adj=14; //adjustable resistance
n=1200; //speed in rpm
P_rot=1450; //rotational power loss
T_out=250; //hoist torque
I_F=V_T/(R_F+R_adj); //field current
//E_A at I_F... |
c9250afbdb4ca905223652c32ee282fa3cc8b4e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH4/EX4.30/ex4_30.sce | 78674001ed80b02ba511266e59a296abfb124416 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | ex4_30.sce | // Exa 4.30
clc;
clear;
close;
format('v',6)
// Given data
R = 4;// in ohm
L = 0.5;// in H
V = 100;// in V
f = 50;// in Hz
X_L = 2*%pi*f*L;// in ohm
X_C = X_L;// in ohm
// X_C = 1/(2*%pi*f*C);
C = 1/(X_C*2*%pi*f);// in F
C = C * 10^6;// in F
disp(C,"The value of capacitance in µF is");
I = V/R;// in A]
... |
1c84f006247d6d19364d6d05777726f702eb5c71 | 351fe6e47b1edc4fa8b9333340ba914299fa1b64 | /rd7/ss/shipper.tst | 889f0e9212c32266868b449f56dadf1f66ae655e | [
"MIT"
] | permissive | ssavitzky/Silvermine-Resources | 80ebba26f94a746da700e99320d06f7c629f7611 | 703375ba302929ad94ebe8326e0afecd6c06d633 | refs/heads/master | 2020-03-19T13:08:45.067855 | 2018-06-08T04:17:05 | 2018-06-08T04:17:05 | 136,563,434 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 43 | tst | shipper.tst | sn1
customer name 1
sn2
customer name 2
|
9ca1d7194a11f71ead73310835506eb3e42e8504 | 786b8b062cc8e4ad6a2a39294d02777c4ec4cb78 | /FreeEDA/LPCSim/LPCSim/support/atof.sci | 2933af180c0b71d77d68ff22b49608a65a91ca38 | [] | no_license | FOSSEE/FreeEDA | fc379b9927e63f0b29e66f69284beddff07d43c8 | 0c9f3b3885338be0420773ac2007d8ac54aa7412 | refs/heads/master | 2021-01-18T15:16:58.922680 | 2014-12-09T10:59:41 | 2014-12-09T10:59:41 | 23,788,370 | 6 | 3 | null | 2014-09-26T09:05:17 | 2014-09-08T11:29:52 | Python | UTF-8 | Scilab | false | false | 149 | sci | atof.sci | function value=atof(tempStr)
value=sscanf(tempStr,"%e");
endfunction
function value=atoi(tempStr)
value=sscanf(tempStr,"%d");
endfunction
|
84602ef3b0ee022c1b9b3e0942da0b96b9a3495e | 052cd7bca09cd17948fb23a8fc19429573da9cab | /Scilab/Electrical Systems/Buck Boost Converter/BuckBoost-200919-175210.sce | 436f2c94b28f1e127e8b9c97d5951edf17e2aad5 | [] | no_license | akshay-pathak/extra | 41ef3aaa2036afe0945ec8923bd7e55090a1d554 | d297576711c9de7e693b8279ff0b6d3ee465fc0c | refs/heads/master | 2022-12-25T12:09:28.973876 | 2020-10-05T07:27:03 | 2020-10-05T07:27:03 | 278,586,094 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sce | BuckBoost-200919-175210.sce | //Buck Boost Converter Script File
Rm=5.1; //Resistance
L=2.2e-04; //Inductance
C=8200e-06; //Capacitance
Fsw = 200e03; // Switching Frequency
|
b15dbe025d95f8a46edd12af1240a7e0fcad09fc | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH23/EX14.23.7/Ex14_23_7.sce | 87f2a4e84a7f35a899854bc5676377dace6159a8 | [] | 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 | 271 | sce | Ex14_23_7.sce | //Section-14,Example-1,Page no.-PC.80
//To calculate K_p at 1000 K
clc;
T_1=925
T_2=1000
K_p925=18.5
dl_H=-71.09*10^3
R=8.314
//ln(K_p1000)/(K_p925)=(dl_H/R)*((1/T_1)-(1/T_2))
K=((dl_H)/R)*((1/T_1)-(1/T_2))
K_p1000=(%e^(K))*18.5
disp(K_p1000,'K_p at 1000 K')
|
8814f9da83b517a4770ca391e15f12b62e46d768 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH2/EX2.2/2_2.sce | bf8d1cba7b8e30dae281f6c39765074665a10dc7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_2.sce | //ques-2.2
//Calculating percentage of hydrogen and Higher calorific value
clc
C=90;//Percentage of Carbon in coal
O=3;//Percentage of Oxygen in coal
S=0.5;//Percentage of Sulphur in coal
NCV=8490.5;//Net calorific value (in kcal/kg)
//HCV=NCV+0.09*H*587;
//HCV=(8080*C+34500*(H-O/8)+2240*S)/100;
//Solving for ... |
df68f5fc6bcdec292676b05480c137bd0d2593ca | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/MA15.prev.tst | 708c250b92521af31362085dc880fa2d9d4adc92 | [
"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 | 306 | tst | MA15.prev.tst | -chain [[-2,-1,3,1],[-3,0,6,1],[-3,-2,4,2],[-3,-1,6,2]] [3,4,5,6] 3 1
[[-2,-1,3,1],[-3,0,6,1],[-3,-2,4,2],[-3,-1,6,2]],det=1 [3,4,5,6], chain 8 => [11,27,15,29] => [25,86,31,88] => [45,199,53,201] => [71,384,81,386] => [103,659,115,661] => [141,1042,155,1044] => [185,1551,201,1553] => [235,2204,253,2206]
|
f180c0cb07b4ba68b7e1ce342ea7bad8a016a64b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH7/EX7.6/ex7_6.sce | 444a5507e6542a7f5be574f798e8ef2ad55dc37b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | ex7_6.sce | // Exa 7.6
format('v',7);clc;clear;close;
// Given data
verticaltangencies = 2;// vertical tangencies
horizontaltangencies = 5;// horizontal tangencies
f_H = 1;// frequency in kHz
// f_V/f_H = horizontaltangencies/verticaltangencies;
f_V = (horizontaltangencies/verticaltangencies)*f_H;//unknown frequency of vert... |
2d8a712244e68a0fc44a1bfeaf626200a9b8132e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH13/EX13.5/13_5.sce | a884efb6682f4d466871f633d80df38f82e5fd53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | 13_5.sce |
clc
//initialisation of variables
Q= 140 //cuses
w= 62.4 //lb/ft^3
l= 140 //ft
P= 70 //percent
k= 1.6
v= 3*10^8
//CALCULATIONS
rv= k*v
HP= Q*l*w*(P/1000)/550
//RESULTS
printf ('Required size of reservoir = %.1e ft^3 ',rv)
printf ('\n horsepower = %.f h.p ',HP)
|
5d43a4eb398a3a8f0d36cabec9e4075ee6655bcf | fe84eced9b04743dd2df16e206f112bfee1196a0 | /eeg_media.sce | b67c43aa0f892d0c705d1cfc448ff691ef5a9f1e | [] | no_license | Darkisda/SCILABcodig | ec89cbfcb200b60983b2d4e7632d43adea92c7ba | 3ee22dd7002a5872196f6810260aaa0a66ae2d58 | refs/heads/master | 2020-09-21T03:29:27.668120 | 2019-11-29T15:12:38 | 2019-11-29T15:12:38 | 224,665,581 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | eeg_media.sce | load('data')
fs=128
t=0:1:6000-1
t=t/128
m1 = ( data(:,1)-mean( data(:,1) ) )
m2 = ( data(:,2)-mean( data(:,2) ) )
for(i = 33:6000)
mm1(i) = mean(m1(i-32:i))
mm2(i) = mean(m2(i-32:i))
end
figure
subplot(3,1,1)
plot2d(t, mm1)
subplot(3,1,2)
plot2d(t, mm2)
subplot(3,1,3)
plot2d(t, da... |
7769e5e338b95fc07371f66a7202a79793eae046 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/xdess/sgrid.sci | e36889d44a7f3409e1998ebd9cca8ebd92808322 | [
"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 | 1,414 | sci | sgrid.sci | function [] = sgrid(zeta,wn,col)
// sgrid()
// sgrid(Z,Wn)
// sgrid('new')
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs < 3 ; col=3;end
if rhs==0 then
[a,limits]=xgetech()
wmax = 10 .^(floor(log10(max(abs(limits)))));
wn= 0:1:10;
zeta = linspace(0,1,10);
end
if rhs==1 then
if type(zeta)<>10 then
write(%io(2),... |
e17c9a1c2756feb9ff4fee70a2bf5d2f2db5e259 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH1/EX1.4/Ex1_4.sce | 80061116d4f1a44867638a40184b433051b24933 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | Ex1_4.sce | //Example 1.4
vol_stack=6*3*0.5;//Volume of a stack of 100 bills(in^3)=length(in)*width(in)*height(in)
n_stacks=(1*10^12)/(1*10^4);//Number of stacks=(1 trillion $)/(dollars in a stack of 100$ bills)
area=100*50*(3/1)*(3/1)*(12/1)*(12/1);//Area of football field (in^2)=length(yards)*width(yards)*conversion sq.yards ... |
4c4902e878909e2f30f6991c12a78592966ad9db | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH17/EX17.16/Ex17_16.sce | 25c9ba475ea7e466e08253d366c4474c293bc117 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | Ex17_16.sce | //Example 17.16//
Ic=5;//mA //Collector Current
Ve=5;//mV // Emitter Voltage
Ic1=50;//mA //Collector Current
Ve2=25;//mV //Emitter voltage
a=log(Ic1/Ic)//(Taking antilog to remove the exponential term)
//mprintf("a = %f mV",a)
b=(Ve2-Ve)//(Subtracting the terms)
//mprintf("b = %i ",b)
B=b/a //(Dividing the ... |
449a0ed9c9507a1806d90ed786025f604b44c84d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH18/EX18.34/Ex18_34.sce | 39e5d57c0374ed19d9220595631a4316fa46a409 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | Ex18_34.sce | //Initilization of variables
//Here the integration is indefinite hence it will be computed manually and entered
W=10 //lb
l=4 //ft
w=2 //rad/s
g=32.2 //ft/s^2
//Calculations
//Part (a)
wf=1.5 //rad/s
t=sqrt(((W/g)*(l*w*l))-((W/g)*(l*wf*l))) //s
//Part (b)
//Applying conservation of angular momentum
r=((W/g... |
0a32b20a3b7f0358b5bdecab612ae36b14934423 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH12/EX12.4/Ex12_4.sce | a07b203fc2a0fbadc2eb8762bb653eb3ade00bcd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | Ex12_4.sce | clc;
Vgs=-5;
Vgg=Vgs;
Idss=0.016;
Vgsoff=-8;
Id=Idss*(1-(Vgs/Vgsoff))^2;
Vdd=10;
Rd=2200;
VDS=Vdd-Id*Rd;
disp('V',Vgs,"Vgs=")
disp('mA',Id*1000,"Id=")
disp('V',VDS,"VDS=")
|
ab2ef4bd7f7253aee9c61f524194ebcb4af05706 | 52240bb861a2376a293189aea64b43507acb61f0 | /math.tst | cc1bd62a06cf5ffd80d74c90e29e7deddd3547d8 | [] | no_license | vishnureddy997/Devops | 78ee8838d445fecb83b837d096f4d4433cb65747 | 1402365652c53ae2ec24746526135eb0cd0f8b45 | refs/heads/main | 2023-06-23T03:33:44.808591 | 2021-07-22T05:03:49 | 2021-07-22T05:03:49 | 388,110,214 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 18 | tst | math.tst | This is my system
|
fdb14826270047edae70774d21c180a88c3950e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH3/EX3.6/Example_3_6.sce | e616802f27ddf1d7fbaf81399e48412d98d76f16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 809 | sce | Example_3_6.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 3.6
//Caption : Program To find (a)Kinetic energy Change (b)change in temperature
//Given values
n=1;//Molar Rate(mol/s)
D=5;//inner Diameter(cm)
R=83.1... |
a1fbab5bd8c54875b877deca3327207517d440d5 | dd08d64a0cac1a918103cd234b1f6c60cc1a3e97 | /Scilab/OraclePH.sci | ef64d02a4634ff118dd3a082fd9dfb4f9a028745 | [] | no_license | adrienlina/optimisation | abdd4989d24a2bd53f00c91217fde24663baacac | fac2882270c41fb9b0d6a771712bd0c323f94a04 | refs/heads/master | 2016-08-12T07:38:12.705712 | 2016-04-26T17:58:44 | 2016-04-26T17:58:44 | 53,654,613 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,086 | sci | OraclePH.sci | function [F,G,H,ind] = OraclePH(qc,ind)
//AdTInv = inv(AdT);
//B = [-AdTInv*AdC;eye(n-md,n-md)]
//q0 = [AdTInv*fd;zeros(n-md,1)]
v = q0+B*qc;
u = r.*v.*abs(v);
F = %nan;
G = %nan;
H = %nan;
if ind==2 then
F = 1/3*sum(u.*v)+sum(pr.*(Ar*v));
elseif ind==3 then
G = ... |
716d3aa75a1e37fb6f8c1dbf86a5a395724f8fcf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH10/EX10.4/Ex10_4.sce | 2aac74e0c3dc8c4ed98e31e847e03f44163bca4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,130 | sce | Ex10_4.sce | // Chapter 10 example 4
//------------------------------------------------------------------------------
clc;
clear;
// Given data
f = 10*10^9; // operating frequency in Hz
f_us = 100*10^3; // upsweep freq
f_ds = 100*10^3; // downsweep freq
Tus = 5*10^-3; // u... |
18473ac7911db3f44554829b13bd7365b81e7498 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.3/ExampleA3.sce | f0a19ebbc070ba3982b98b036bb32fde4fa95d92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | ExampleA3.sce | clc
clear
//Page number 470
//Input data
t=0;//The given temperature in degree centigrade
E=5.64*10^-21;//The mean kinetic energy of molecules of hydrogen in J
R=8.32;//Universal gas constant in J/mole-K
//Calculations
T=t+273;//The given temperature in K
N=(3/2)*(R/E)*(T);//Avogadros number
//Outp... |
de7c74ccb48e2e904ec52d9f0a8ba197021a29f4 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_S._L._Kakani_And_A._Kakani_1085.zip/Material_Science_S._L._Kakani_And_A._Kakani_1085/CH15/EX15.4/ex15_4.sce | 525fcb8a2c3de03886c9d15d6a7e85ddb216a6a4 | [] | 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 | 254 | sce | ex15_4.sce | errcatch(-1,"stop");mode(2);//Exam:15.4
;
;
N_a=1.1*10^20;//acceptor density in atoms/m3
n_i=2.5*10^19;//concentration of majority carrier per m3
n_p=(n_i^2)/N_a;//intrinsic density
R=n_p/n_i;//Ratio of n_p and n_i
disp(R,'n_p/n_i=');
exit();
|
b5c813d159169bf5ffe1009f1fe29fb0093493f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH9/EX9.21/9_21.sce | dd8dfbf39d9e209f389feb6d15063600a130d9eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | 9_21.sce | clc
//initialisation of variables
R= 1.987 //cal mole^-1 K^-1
T= 2000 //K
dH= 117172 //cal mole^-1
H= -43 //cal mole^-1
n= 2
H1= -56.12 //cal mole^-1
//CALCULATIONS
K= 10^(-(1/(2.303*R))*((dH/T)+n*H-H1))
//RESULTS
printf ('equilibrium constant= %.1e ',K)
|
77f9a8f502b4ea0efda6b11d339b2b1a1c35a1dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.19/Ch05Ex19.sce | 8a41400bb174f919d16d8d42c617398cd10632db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | Ch05Ex19.sce | // Scilab code Ex5.19: Pg:229 (2008)
clc;clear;
t = 5; // width of the base of the prism, cm
Lambda = 5000; // wavelength, angstrom
D = 200; // Rate of change of refractive index with wavelength, per cm
RP = t*D; // Resolving power of a prism
d_Lambda = Lambda/(D*t); // Smallest difference in wavel... |
9f598db70a7676e9d68333893658bebf95363f2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH6/EX6.16/Ex6_16.sce | c4b285d421bcb3a6cf3efa09aa0b0d4642edb891 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | Ex6_16.sce | clc
// Given that
d = 200 // Diameter of focussed laser beam in micro meter
T_m = 3400 // Melting temperture of tungsten in °C
k = 2.15 // Thermal conductivity of tungsten in W/cm-°C
p_a = 10 // Percentage of beam absorbed
// Sample Problem 16 on page no. 401
printf("\n # PROBLEM 6.16 # \n")
H = 2*k*T_m/(d*10^-4)
I = H... |
30462ced66b838120d7dbeedd60d063b2fd5d30c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106.zip/Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106/CH1/EX1.2/ex1_2.sce | 4fc3b7b33f8aa183f1b73ab4ac00db7e63958208 | [] | 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 | 209 | sce | ex1_2.sce | errcatch(-1,"stop");mode(2);// Example 1.2, page no-23
Rs=30
R=1000
luponw=R/Rs
printf('L upon W =100/3')
printf("\n1kohm resistor can be fabricated by using a pattern of 100 mil* 3 mil")
exit();
|
111f3ea830e306e0edec2a361caba6fd5e0ea782 | 08ee8059476493a308f8e13adcbace48d7bcfc92 | /Scilab_packetTracer_codes/dc/adit/prac4.sce | f0d2ee1c16ef07c3bd6b9a9406f650dad83cd3a0 | [] | no_license | Rushi-Bhatt/Self-Study | 7ed44b7821154b7906c7d532255ea648ec9d6299 | 90cc75440328ba21769ffac878f46feadeb2f06f | refs/heads/master | 2021-01-11T15:29:31.739065 | 2017-02-08T22:17:57 | 2017-02-08T22:17:57 | 80,360,471 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | prac4.sce | p=1010011;
r=1;
figure;
//plot (10,y);
x=length(p);
for y=1:7
if(z==1) then
plot((r*5):(r*5)+5,2,"*");
else
plot((r*5):(r*5)+5,1,"*");
end
r=r+5;
end |
74b37eef207ca4cda59e705c3b8dd00f0ef58cff | c286e0d134f6b0f1de09157ea8436a9a1ab9fa9f | /balans TmYAP.sci | c1a2c69ddc63646ee731a9bd45bb3db88dea1e81 | [] | no_license | john27328/laser_dynamics | 210752f865472a2c575d7ddf4a2191895ae23d3b | 6233a2a36a8afc1807efd32e1c439ff73d8eecda | refs/heads/master | 2020-04-11T23:21:26.880166 | 2019-03-08T18:57:31 | 2019-03-08T18:57:31 | 162,164,283 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,304 | sci | balans TmYAP.sci | clear
stacksize('max')
//K= ? //коэффициент кросс релаксации // ?
N=7.8e+26;//концентрация активных ионов //?
beta0 = K*N0; //K*N0 // c //?
W31 = ?; // A31 //см^-3 //?
W32 = ?; // A32 //см^-3 //?
W21 = ?; //см^-3 //ок?
h = 6.62e-34; //постоянная планка//?
c=3e8; //скорость света //ок
//sigma_a_pump = ?;//поглощение на... |
3e7aea5d452bc1125a986d2582e0450adebf3e7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3515/CH4/EX4.4/Ex_4_4.sce | b15a1cd7ca506ef3a99ef100be3e75e3d5ae544e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Ex_4_4.sce | // Exa 4.4
format('v',7);
clc;
clear;
close;
// Given data
format('v',11)
V_A= 20;// in V
R_D= 5;// in kΩ
R_D= R_D*10^3;// in Ω
I= 0.8;// in mA
I=I*10^-3;// in A
i_D= I/2;// in A
unCox= 0.2;// mA/V^2
unCox= unCox*10^-3;// in A/V^2
WbyL= 100;
// Formula i_D= 1/2*unCox*WbyL*V_OV^2
V_OV= sqrt(2*i_D/(unCox... |
10fad679f1b026ad529d4a20b21e12f30c313d47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH13/EX13.4.3/13_4_3.sce | c49dc499bcd9199c980c7764d27c7e61512ef3d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | 13_4_3.sce | //Transport Processes and Seperation Process Principles
//Chapter 13
//Example 13.4-3
//Membrane Seperation Processes
//given data
//nomenclature similar to previous problem
xf=0.5;
theta=0.2;//fraction cut
p1=20;//pressure selected for use
ph=80;//pressure selectred for use
alphas=10;
xom=(xf*(1+(alphas-1)*... |
90137a1a6008b87d74a0294137d3574ff173dd59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH4/EX4.3.a/ch4ex3a.sce | cffac094446f06dc9fdff8b5e09d543b272aabb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | ch4ex3a.sce | //signals and systems
//Inverse Lapalce Transform
//(a) X(S) = (7s-6)/s^2-s-6 Re(s)>-1
s =%s ;
syms t ;
[A]=pfss((7*s-6)/((s^2-s-6))); //partial fraction of F(s)
F1 = ilaplace(A(1),s,t)
F2 = ilaplace(A(2),s,t)
//F3 = ilaplace(A(3),s,t)
F = F1+F2;
disp(F,"f(t)=")
|
a56955e0d008c9ecdf737ea76c1c869b2065e27e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH15/EX15.8/Ex15_8.sce | 9141234206dca06254edd693484200d8acfc5f41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | Ex15_8.sce | //Example 15_8
clc();
clear;
//To show using lines of force that a charge suspended with in cavity induces an equal and opposite charge on surface
printf("Lines of force come out of positive charge q suspended in cavity.\nCavity \nsurface must possess a negative charge since lines of force go and terminate on q.\nT... |
ae2b08e525aaf00f768f260a905d7a7781f6e9f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH20/EX20.9.1/Ex20_1.sce | bde3b1c6a2d35c520a3a9a20fb899d491370be4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,118 | sce | Ex20_1.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 20 Cathode Ray Oscilloscope
clc
clear
e=1.6*10^-19//e=charge of an electron
Va=1000//Va=potential difference in volts
m=9.11*10^-31//m=mass of an electron
v=sqrt((2*e*Va)/m)//v=axial velocity of an electron
l=2*10^-2//l=axial length of deflecting plates in ... |
12bf91b5a64a88d8992e640a1bd091d9c84625e6 | dc628e7d8425aa0bb1460d2583f04c9969b4ec9c | /dlog-server/examples/happy/happy.tst | 9e6c788608cdd17a3283137cc689bb6fb8c34bc0 | [] | no_license | logicmoo/DLog | bc2c43523ccbc3747c381f2eb0e25960cfc8d6e1 | 855774c38c1eea119405fde0057cfdb1032006f0 | refs/heads/master | 2021-05-28T14:03:35.596790 | 2015-01-12T22:49:56 | 2015-01-12T22:49:56 | 27,461,790 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | tst | happy.tst | %Generated from '../examples/happy/happy.dig'.
query(instances(aconcept('Happy')), [i1]).
concept('Happy').
concept('Pretty').
concept('Clever').
role(hasChild).
implies(some(arole(hasChild), and([some(arole(hasChild), aconcept('Clever')), some(arole(hasChild), aconcept('Pretty'))])), aconcept('Happy')).
... |
b8a830a02e181c48a07ac73d1556424e82369440 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/sizet_runme.sci | 11702497327c324ba82f2f8c4148e2054dac7eb9 | [
"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 | 171 | sci | sizet_runme.sci | exec("swigtest.start", -1);
s = 2000;
s = test1(s+1);
s = test2(s+1);
s = test3(s+1);
s = test4(s+1);
if s <> 2004 then swigtesterror(); end
exec("swigtest.quit", -1);
|
e57ef6a10db825195bea8a20889c332ee3729944 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH6/EX6.4/Ex6_4.sce | cf3c2519ce3b6fb1ca35cdf76697a67b9c6b3dd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 772 | sce | Ex6_4.sce |
// Example 6.4
B=0.9; // Megnetic Flux Density
N=4000; // No.Of turns
mo=4*%pi*10^-7; // Permeability of free Space
Hc=820; // Megnetic Field Strength for Core
lc=0.22; // Length of Circuit
Ac=50*10^-6; // Area of Circuit
Fc=Hc*lc; ... |
56e607374be82468577da679c2cabc533e7d842d | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassbpc2bpc/test_4.sce | c9796b124b3ca1267d8c3988d3a5d4544c02e5a3 | [] | 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 | 332 | sce | test_4.sce | // Test # 4 : When either Input Argument #1 or #2 is of complex type
exec('./allpassbpc2bpc.sci',-1);
[n,d]=allpassbpc2bpc([0.4*%i,0.7],[0.2,0.5]);
//!--error 10000
//Wo must be real, numeric and must contain only 2 elements
//at line 36 of function allpassbpc2bpc called by :
//[n,d]=allpassbpc2bpc([0.4*%i,0.7],... |
b31a6d5447206cfbab36ac4e4b5d88e143ea3726 | dc43d2d07e54764662d2629492544cc614c391a7 | /Lagrange_Interpolation.sce | 098673a01233bed23493a6fa7cd45dd520917394 | [] | no_license | CaptainLazarus/Scilab | 6634ea1774f00e1a25b5b05c622429bfc51f9abf | 3af1504ebbdb784e6493a8c4b264e6994c45a02b | refs/heads/master | 2020-04-16T19:27:39.496867 | 2019-02-26T05:53:48 | 2019-02-26T05:53:48 | 165,860,221 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | Lagrange_Interpolation.sce | //a is a collection of points
function lagrange(a)
[row,col] = size(a);
for i = 1:row
l(i) = 1
end
for i = 1:row
for j = 1:row
if j~=i
l(i) = l(i) * poly(a(j,1) , "x")/(a(i,1) - a(j,1))
end
end
end
out = []
P = 0
for i ... |
fbb2d20617092e2689f9f8a5cc19e696b21d77ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH5/EX5.5.c/47ex4_c.sce | 70ccfa8ec51e05b38fbb324c7a69617568f11285 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 130 | sce | 47ex4_c.sce |
// 2(n^2+5)
clear;
clc;
close;
mprintf("the first five terms of the sequence are: \n");
for n=1:5
disp(2*(n^2+5))
end
|
120cbaff1212ff0c26cc9c7a0e7cb6f74b5f3852 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH3/EX3.1/Example3_1.sce | fe120a9c00659e940cac92bdffa0e225c15917a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example3_1.sce | //Example 3.1
//Program to Compute the DFT of a Sequence x[n]=[1,1,0,0]
//and IDFT of a Sequence Y[k]=[1,0,1,0]
clear;
clc ;
close ;
x = [1,1,0,0];
//DFT Computation
X = fft (x , -1);
Y = [1,0,1,0];
//IDFT Computation
y = fft (Y , 1);
//Display sequence X[k] and y[n] in command window
disp(X,"X[k]=");
di... |
d3413ff5c74eb07c30b20ec1eb210fc89fca90c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH1/EX1.10/Example110.sce | 6e676efbb7ca8e5132701152a750e514a8e38f3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 711 | sce | Example110.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 1 Example # 1.10 ")
//diameter of pipe in m
d = 0.5;
//Epsilon is given as
epsilon = 0.9;
//sigma(constant) in SI units is
sigma = 0.000000... |
fd99b9846c70818820ef3c938675c463b71c20f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH4/EX4.28/Ex_4_28.sce | a085f045a25fcc689880755188163b4eca94f679 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | Ex_4_28.sce | // Example 4.28;//Pulse Spreadning
clc;
clear;
close;
L=100;// Length in Km
Tpmd=0.5*sqrt(L);// pulse broadning in pico second
disp(Tpmd,"pulse broadning in pico second is ")
|
51622d82353823948306709b2a3149d91f9dadd1 | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test3-0.tst | 691f18b119d8a2f80ec468187db44545cbeca23d | [] | 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 | 168 | tst | test3-0.tst | main
array[2] a;
var i;
{
let i <- 0;
while i < 2 do
let a[i] <- call inputnum();
let i <- i + 1
od;
call outputnum(a[0]);
call outputnum(a[1])
}.
|
fbbe1b0811a5f8bfce525f373369bb3edc77dc6a | 6b778fe7ce057aaef2abb8bcf50d716047b597b0 | /test/issue10.tst | 6327ad8257d16869d874073b98428b0834d98e70 | [
"Apache-2.0"
] | permissive | grobian/carbon-c-relay | a9cfa93e51afca31df8fbb3f0115e4678e0502ca | 741937387d08e877d3c28583a7c453c99bf506f1 | refs/heads/master | 2023-07-04T23:29:37.333774 | 2023-01-26T15:27:39 | 2023-01-26T15:27:39 | 15,357,351 | 368 | 132 | Apache-2.0 | 2022-09-16T07:03:46 | 2013-12-21T10:33:29 | C | UTF-8 | Scilab | false | false | 156 | tst | issue10.tst | servers.cloud.int.foo42
bla.protocol_counter.foo
tcpconns.42-remote.foo
servers.cloud.int.foo.bar.apps.events.meh
foo.bar.whatever-average
abLaH
bFoO
|
d25f28529290139065e82662d04f109e6b5d4134 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH4/EX4.1/Ex4_1.sce | 6aba41ee5253128141252c5e72021f8532e0abab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | Ex4_1.sce | //example 4.1
clc; funcprot(0);
FS=4;
q=110*2;
Nq=90;
Ny=50;
Gamma=110;
m1=0.34;
B=2.5;
L=2.5;
H=1.5;
phi=35;
m2=0.45;
Fqs=1-0.34*B/L;
Fys=1-0.45*B/L;
qu=q*Nq*Fqs+1/2*Gamma*Ny*Fys*B;
Qall=qu*B^2/FS;
disp(Qall,"bearing load in lb");
|
7dd97f9877e1f16246d6e6ba1a6e35c45bd93c67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH7/EX7.9/Ex_7_9.sce | 4919f97959b7b0f7d2fbf4625a70f82a04b45bf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | Ex_7_9.sce | //Example 7.9 // NEP and specific detectivity
clc;
clear;
close;
//given data :
h=6.63*10^-34;
c=3*10^8;
Id=9*10^-9;// in A
e=1.6*10^-19;
eta=60/100;
lamda=1.3*10^-6;// in m
A=100*50*10^-12;// in m^2
NEP=(h*c*sqrt(2*Id*e))/(eta*e*lamda);
disp(NEP,"NEP,(W) = ")
D=sqrt(A)/NEP;
disp(D,"Specific detectivity,(MHz^(-1/2) W^-... |
a4a72c8a1aaf6bec876b12acea345ce7d3fdcdf3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH2/EX2.4/2_4.sce | 301a4dd3156bff455418ab3a6d261e24bf7831a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,385 | sce | 2_4.sce | clear;
clc;
// Illustration 2.4
// Page: 99
printf('Illustration 2.4 - Page: 99\n\n');
// solution
// Mass Transfer into a Dilute Stream Flowing Under Forced Convection in a Circular Conduit
n = 6; // [number of variables]
// Variables Symbols Dimensions
// Tube diameter ... |
71bddc5ed23fb765f1ab9eb17066cae6d3aee9c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH4/EX4.7/4_7.sce | 32a5b70ca7909694b5918853a63f6f0b6a7efde6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | 4_7.sce | clear; clc; close;
R1 = 39*10^(3);
R2 = 3.9*10^(3);
Re = 1.5*10^(3);
Rc = 4*10^(3);
Vcc = 18;
Vbe = 0.7;
Beta = 140;
Rth = R1*R2/(R1+R2);
Eth = R2*Vcc/(R1+R2);
Ib = (Eth - Vbe)/(Rth + (Beta+1)*Re);
Ic = Beta*Ib;
Vce = Vcc - Ic*(Rc+Re);
disp(Ic,'Collector current(Amperes) in :');
disp(Vce,'Vce(Volts)... |
0edd7980481768d31ade09897470d4de87e00025 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH33/EX33.1/Ex33_1.sce | 0dac9e87ce63ab8f36f2993687cd9035c3ad6d10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | Ex33_1.sce | //Example 33.1
d=10^-15;//Range of the strong nuclear force (m)
c=3.0*10^8;//Speed of light (m/s)
delta_t=d/c;//Time during which the pion exists (s)
h=6.63*10^-34;//Planck's constant (J.s)
delta_E=h/(4*%pi*delta_t);//Energy uncertainity from Heisenberg uncertainty principle (J)
delta_E=delta_E*1/(1.6*10^-13)//E... |
2e108fa37c9b6915a6090fd352989169b1113785 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH13/EX13.3/13_3.sci | e45c485fe3623d112093b111e538a196c5e96e23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sci | 13_3.sci | clc();
clear;
//To determine the number of guided modes
NA=0.25; //numerical apperture
lambda=0.75; //wavelength in micro metres
a=25; //core radius i.e 50/2=25
f=(2*%pi*a*NA)/lambda; //normalised frequency
Ng=(f^2)/2 ... |
fd7a12ba1abf71906987a959798f04be7cd8db3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH20/EX20.5/Ex20_5.sce | 5f8ee86b8c86081d2cfff607730449a5636e4744 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Ex20_5.sce | //example-20.5
//page no-597
//given
//area of plate
A=10*10*10^-6 //m^2
//capacitance
C=10^-9 //F
//distance between the plates
d=2*10^-3 //m
//contant
E0=8.854*10^-12 //F/m
//dielectric constant
Er=C*d/(E0*A)
printf ("the cielectric constant of the crystal is %f",Er)
|
ca39f7e1a300ff37d944f1b9ca8ff5a721db1742 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH21/EX21.4/Ex21_4.sce | a125015c1893acff5c446b9ad944be584912bc40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | Ex21_4.sce | //chapter21
//example21.4
//page468
R=10d3 // ohm
C=2.2d-6 // F
V1=0 // V
V2=10 // V
t1=0 // sec
t2=0.4 // sec
Eo=R*C*(V2-V1)/(t2-t1)
printf("output voltage = %.3f V \n",Eo)
|
80cfd02e271082ef157ecd9be8af20a367e972ed | 4e7aac39f36916a964f4664f3198d7c87e762253 | /scilab/test.sce | 69ad9c21656c8a9d25d99289bd5dd4682e3150ba | [] | no_license | kirillin/manipulator_dynamics | 349c01fd5aef8b42734edc497a7d48ee49aced9c | a773091ea5a62493b77885a0e2df6491282faa4c | refs/heads/master | 2021-10-22T13:15:09.489858 | 2019-03-10T23:00:56 | 2019-03-10T23:00:56 | 108,987,774 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,164 | sce | test.sce | clear;
Q1 = [0.1:0.1:300, 300:-0.2:0.2, 0.2:0.02:10, 10:0.1:400, 400:-1:293];
Q2 = [0:0.1:899.9];
Q3 = [exp(-Q2/100+4.5)];
Q4 = [sin(-Q2)];
Q5 = [0.1:0.1:100, 100:-0.1:0.1, 0.1:0.1:100, 100:-0.1:0.1,0.1:0.1:100, 100:-0.1:0.1,0.1:0.1:100, 100:-0.1:0.1,0.1:0.1:100];
bigX = zeros(5*9000, 15);
for i = 1:9000
q1 =... |
dc72c65866442e88b3cb8700736d0d34b174b5d3 | 45a93944a52f35e5601f5eebc0ff0e0c885849fd | /scripts/genererRandNormale.sci | 7982e8770d3ea46a54ccaa16f92b8195ea5c13ac | [] | no_license | madox35/Simulations-numeriques | ae32655f213f5a1dc04de86387652264a5b56aa0 | 11d59864210370b2524ad533bf864d0968053131 | refs/heads/master | 2020-03-17T13:32:10.082544 | 2018-05-21T21:14:09 | 2018-05-21T21:14:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sci | genererRandNormale.sci | function Xi = genererRandNormale(moyenne,sigma, iter)
Xi = grand(iter,1,'nor',moyenne,sigma);
endfunction
|
2e214718ae5490acd6ebb46a2a40a61199d6719f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH23/EX22.9/EX22_9.sce | 25b20ef6e3bd58fbeef2f10ab280b26838b8bc11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | EX22_9.sce | // Grob's Basic Electronics 11e
// Chapter No. 22
// Example No. 22_9
clc; clear;
// An RC circuit has a time constant of 3 s. The capacitor is charged to 40 V. Then C is discharged. After 6 s of discharge, how much is Vr?
// Given data
RC = 3; // RC time constant=3 Sec
t = 6; // Discharge time=6 Se... |
61bb3d87d3ec027b234da3bb95a58e3d84ab5f44 | b808630822f6b2b1ba4719c9f33ebb55c33b839b | /tests/data/config_loader/packages.tst | c8f128da3f17728079e7e818fd2911b011c644e2 | [
"MIT"
] | permissive | raptor-mvk/php-migration-helper | b6c7b576a6b631a49bf7d585d2fb83bda7ef24b5 | a5663d3094e3d6a7d10e08a2d708bc282a7d0a39 | refs/heads/master | 2020-07-25T19:40:49.206336 | 2019-10-05T11:01:42 | 2019-10-05T11:01:42 | 208,404,459 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | tst | packages.tst | {
"config1.yml": "version: '1.1'\n\npackages:\n package1: '1.1'\n package2:\n version: '1.1'\n message: 'use'\n\n package3: '1.1'",
"config2.yml": "version: '2.2'\n\npackages:\n package1: '1.2'\n package3:\n version: '1.5'\n message: 'err'\n\n package4: '2.2'",
"config3.yml": "version: '3.3'\n\n... |
68ae5c2a32b5083277b7a7442a2913b2b308eb8b | 78ff3e16a288175ff606f38ee5ee877d4844773e | /6_chapter/6_05_example.sci | f92e2200798235fe0800f312bf2cb1231377fcff | [] | no_license | rngalvan/fluid-mech-cengel | 16c12ed8f71f25c812700be4322328c5663b71cf | ee45f924e73cbb8b5716fac43504dac15ffd1f64 | refs/heads/master | 2021-05-27T20:52:22.586023 | 2013-04-17T04:25:37 | 2013-04-17T04:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sci | 6_05_example.sci | //Example 6-5 Power Generation and Wind Loading of Wind Turbine
D = 9 //diameter of wind turbine blade [m]
V_1 = 11 //minimum speed for power generation [m/s]
Wdot_act = 0.4 //Actual power generated by turbine [kW]
beta1 = 1 //momentum flux correction factor
rho = 1.22 //density of air [kg/m^3] |
f5ab6eb61f1112ab790d3b0711efeba5d159b728 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH8/EX8.1/TL_Ex_8_1.sce | 44cffaa54ebcd6b1fc6e1284c39c12309f92ee87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | TL_Ex_8_1.sce | clc
//Chapter8
//Example8.1, page no 313
//Given
//a
L=1.2*10^-3//distributed inductance
C=0.05*10^-6//distributed capacitance
Zo=sqrt(L/C)//Characteristic Impedance
mprintf('The characteristic Impedance is Zo= %f ohm',Zo)
Wo=1// Assumedfor ease of calculation
G=%i*sqrt(L*C)*Wo
mprintf('\nPropagation consta... |
757f14395d6f7ec316a2230fb36a02a254b6bf2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH7/EX7.1/Ex7_1.sce | 8fc6040e4910495aaceba0e69d9c2326ec5bf282 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | Ex7_1.sce | // Example 7_1
clc;funcprot(0);
// Given data
T_L=70.0;// °F
T_H=4000.0;// °F
// Solution
n_T_max=(1-((T_L+459.67)/(T_H+459.67)))*100;// The maximum possible thermal efficiency of this engine in %
printf('\nThe maximum possible thermal efficiency of this engine,(n_T)_max=%2.1f percentage',n_T_max);
|
02828578257ae41d92484c6e1154e44087f72f3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH4/EX4.6/Exp4_6.sce | 2ebc158f5318727bf96e2ded973869cf85ee5c52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,193 | sce | Exp4_6.sce | //Example 4.6
clc
disp("kVA = 1200, V_L = 6600 V, R_a = 0.25 ohm, X_s = 5 ohm")
disp("Now kVA = sqrt(3)*V_L*I_L*10^-3")
il=1200/(sqrt(3)*6600*10^-3)
format(7)
disp(il,"Therefore, I_L(in A) =")
disp("Therefore, I_aph = 104.97 A ... as star connected.")
disp("This is its full load current")
vph=... |
a6ccdc91f71f7adc99269dc090cb4e12fc72810f | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.14_11.tst | 1c8c8f0d3f8b0ca9fcb64acd47fdb955d4c07200 | [] | 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 | 691,385 | tst | 5.14_11.tst | 14 173:1 225:1 936:1 1232:1 1326:1 1767:1 2174:1 2402:1 3016:1 3216:1 3525:1 5025:1 5146:1 5785:1 5881:1 6008:1 6501:1 6529:1 6662:1 6962:1 7300:1 7846:1 7854:1 7873:1 8202:1 8300:1 8747:1 8870:1 9017:2 9085:1 9132:1 9477:1 10201:1 10904:1 11716:1 12067:1 12131:1 12582:1 12899:1 12930:1 13434:1 13459:1 13545:1 13566:1 ... |
3c57c5d26da8d03329078512e6cac3d5b4d6ff3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH12/EX12.2/12_2.sce | c1796b3aa6aa0e1e2e15ccaff40cd6134564f1e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | 12_2.sce | clc
//Intitalisation of variables
clear
Ma= 153.8 //gms
Mb= 169.9 //gms
pa= 114.9 //mm
pb= 238.3 //mm
//CALCULATIONS
xa= (1/Ma)/((1/Ma)+(1/Mb))
xb= 1-xa
Pa= pa*xa
Pb= pb*xb
Pt= Pa+Pb
//RESULTS
printf ('PA = %.1f mm',Pa)
printf ('\n PB = %.1f mm',Pb)
printf ('\n Total vapour pressure = %.1f mm',Pt)
|
5f5c12b0bd14f1e9054e673c1341c2dacdfc0475 | 1b1d3c88b623d396d13bce71f01c1b125dac0432 | /main.sce | c8e0ae765a236a557f8e6cd85bdcd67bfd2f46dc | [] | no_license | htailfer/trois_corps | e0f15658912dd72c18153af8660248b3a260c87b | 14f305d1df1f0803b9c75dc4b85418b13c2355d0 | refs/heads/master | 2022-04-20T10:02:09.619699 | 2020-04-15T08:56:19 | 2020-04-15T08:56:19 | 255,859,662 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,070 | sce | main.sce |
function y = troiscorps(t,r,m)
x1 = r(1:2);x2 = r(5:6);x3 = r(9:10);
d1 = (x3-x2) / norm(x3-x2)^3;
d2 = (x1-x3) / norm(x1-x3)^3;
d3 = (x2-x1) / norm(x2-x1)^3;
y(1:2) = r(3:4);
y(5:6) = r(7:8);
y(9:10) = r(11:12);
y(3:4) = m(2) * d3 - m(3) * d2;
y(7:8) = m(3) * d1 - m(1) * d3;
y(11:12) = m(1) * d2 - m(2) * d1;
end... |
79b239012e16a96157778a9bb89379e02789e039 | b32474ae2727233775f44c71edfe1f10b6a3430f | /falsaposicao.sci | c08bcf8bb29413ca8ae72c2dd93d4bc4a3c43555 | [] | no_license | lucaslyon96/scilab | 8400b98c25dafa13069dd64bd391c15218323575 | 8fe45fd3bd27ab21490682874f72f9c20c8717e1 | refs/heads/master | 2020-03-18T12:25:20.253687 | 2018-05-24T14:49:08 | 2018-05-24T14:49:08 | 134,725,468 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sci | falsaposicao.sci | function [x,iter] = falsaposicao(a, b, p, n)
x=a
iter=0;
Er=10;
while (Er>10^(p)) & (iter<n)
xold = x
x=a-(fx(a)*(b-a))/(fx(b)-fx(a))
Er= abs((x-xold)/x)
if (fx(a)*fx(x)<0) then
b=x
else
a=x
end
iter=iter+1
end
endfunction
|
b1fe730aa15d77a4d9cf8147cd3c49ab2294bbc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH8/EX8.21/8_21.sce | 47994474b1515dc8991fc75dd06b95eb831b1716 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,462 | sce | 8_21.sce | clear;
clc;
printf("\t\t\tExample Number 8.21\n\n\n");
// influence of convection on solar equilibrium temperature
// Example 8.21 (page no.-455)
// solution
T_surr = 25+273;// [K] surrounding temperature
sigma = 5.669*10^(-8);// [W/square meter K^(4)]
h = 10;// [W/square meter] heat transfer coefficient
/... |
80e1078862c4d3d0dc365e10aa07adef7dd432ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH14/EX3.C/ExampleC_3.sce | cd350fd5a6fe19c7522f5714f6686b6fe6d8ff87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,688 | sce | ExampleC_3.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// APPENDIX C : REVIEW OF BASICS
// EXAMPLE : C.3 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
X_pu = 12/100 ; // Leakage reactance in pu
kV_B_HV = 345 ; // HV ... |
c82ebcd2600459dcdb0167a6f4f55c4148227f39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH8/EX8.1/Ex8_1.sce | f91c1baa5ce0ec391bd4a46d2fa3a7377e5bc054 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 945 | sce | Ex8_1.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 8.2.1\n')
//given data
E=1.96*10^11//youngs modulus in N/m^2
m=5//mass of rotor in kg
d=0.01//dia of shaft in m
I=(%pi/64)*d^4///moment of area in m^4
l=0.4//bearing span in m
e=0.02//distance of CG away from geometric centre of rotor in mm
N=30... |
85038da8aefcd96f0f7bea25cd451579b88d58ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH6/EX6.9/69.sci | a851b15c88359a2adfc973f1c5c604ec1ef5dbf9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sci | 69.sci | //chapter 6 example 9//
clc
clear
//electron transit time=tf,bandwidth=Bm,photoconductive gain=G,//
tf=8*(10^-12);//in seconds//
G=60;
Bm=(1/(2*%pi*tf*G))*(10^-8);
printf("\n maximum 3dB bandwidth=%f MHz\n",Bm) |
9ba8ec06445a901a71a06118d9662dd4f73bca1a | 389bd4af3bf5a0f54f51e8aafea5035f568ba445 | /iz_ders_3010.sce | a4bd821435c9da66754034bff7d4707cb93f23ec | [] | no_license | esraatlici/Bilgisayar-Destekli-Matematik | d47f057d9cb7ee987e367c67f8923cfcf02342d8 | dae1079f60fc7e0d3b54802b4cbed9182b52fcd7 | refs/heads/main | 2022-12-25T11:14:25.575530 | 2020-10-05T15:09:58 | 2020-10-05T15:09:58 | 301,447,895 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 138 | sce | iz_ders_3010.sce | function out=iz(x)
d=size(x);
u=min(d);
tr=0;
for k=1:1:u;
tr=tr+x(k,k);
end
out=tr;
endfunction
|
91efdf381b784fee2a2e792bfc71d4bfed78e661 | afc50254b2af7f235fea22b2288edf5c48d24300 | /Scilab/Task_1/move_bgi_2.sce | b48964b9da4c7ba8265c626df3be3800c5001966 | [] | no_license | kartofun/ITMO | 323d0b993842d6b09a5560af5e59c83298b3fa20 | c5d69c6d2c9980ab7e79b32b3f7145f83d0299c9 | refs/heads/master | 2020-12-08T10:02:24.328398 | 2016-10-30T22:54:47 | 2016-10-30T22:54:47 | 66,733,126 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,081 | sce | move_bgi_2.sce | function c=cvet()
n=getdate(); rand("seed",n(10)); c=round(1+rand(1)*15); if c==4 then c=5; end
endfunction
xg=[0 0 3 3 5 5 6 6 8 6 6 8 8 6]; yg=[0 5 5 0 5 0 0 5 5 5 3 3 0 0];
x=0; y=0; xs=1; ys=1; xm=10*max(xg); ym=10*max(yg); vx=0;
//n=getdate(); rand("seed",n(10)); c=round(1+rand(1)*8);
f=figure(); f.figure_p... |
30f96ae532c1a1c59348b90f41d8a6aac5b3ae21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH8/EX8.10/P8_10.sce | bfda78cc473ad14a21075e2cba1a7bea45254604 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | P8_10.sce | //Example 8.10
//Cascaded lattice realization of IIR Transfer Function
clear;
clc;
z=%z;
P3z= -0.2 + 0.18/z + 0.4/(z^2) + 1/(z^3);
D3z= 1 + 0.4/z + 0.18/(z^2) - 0.2/(z^3);
A3z=P3z/D3z;
p1=coeff(numer(P3z));
p=mtlb_fliplr(p1);
disp(mtlb_fliplr(p),'The coefficients ofnumerator are = ');
d1=coeff(numer(D3z-1));
d=mtlb_fl... |
61b56ae9507de5ab4e5715bd778225ada5e75fc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH2/EX2.14/Ex2_14.sce | 1474bd31dea2ee121c0735c3549f02ab3be8e835 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Ex2_14.sce | // Exa 2.14
clc;
clear;
close;
// given :
f=100 // frequency in MHz
f=100*10^6 // frequency in Hz
v_0=3*10^8 // speed of light in m/s
// formula : Gamma=%i*omega*sqrt(mu_0*epsilon_0)=%i*omega/v_0 =(%i*2*pi*f)/v_0
Gamma=%i*2*%pi*f/v_0 //propagation constant
disp(Gamma,"propagation constant in m^-1:")
funcprot... |
730c1c92721e74a2167df5cdc3637225bf0c248b | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.5.b/solution10_5.sce | 9120d2444cf481f27fb5ac1454ded29d6730618f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,054 | sce | solution10_5.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution10_5.sce')
//Obtain path of data file
datapath = path + filesep() + 'data10_5.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the permissible shear stress for the spring tau (N/mm2)
tau = (50/100)*Sut
//Calculate the Wahl fa... |
dc77866e3211a4dc09534a38844a7ae9b0d04007 | 5887829f5a0a005033807cf7dc4fb7231eb280ec | /Listing/chapter 3/Listing3326.sce | ad13e2f186b5ee5af154febdd8fe4e9a7b2b6a07 | [] | no_license | joaolrneto/learning_scilab | 78ecc0019f167b57bc35647c4ac785ece01e443e | 9624c9a6736860a8a836b0f801256b6224756585 | refs/heads/main | 2023-03-17T22:17:51.853368 | 2021-03-15T20:58:34 | 2021-03-15T20:58:34 | 344,478,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 111 | sce | Listing3326.sce | clc
clear
for k=1:10
K=k
if k>2 & k<=8 then
continue//pass control to line 2
end
disp(K)
end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.