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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
57e56cb9c9319ad3838147c8f0f1c4d1606b60f3 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/LG82ZTE/ATWM1_Working_Memory_MEG_LG82ZTE_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 2902024a11c6c4195293753e551d99414985db55 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,600 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
99197087e9846e7edfa2fa15c8e7b82c0ef411e6 | 46e52b7010c1dc6beb86c615f0d59494c00e6554 | /tp3/src/tests/test12.tst | efb0e2ac33f5e07a92feba448b505c7ee4f0e6f9 | [] | no_license | impronunciable/so2015 | 22bd1cf0831c29d091a3f94bc36342ebb51b7aed | 8bdabf28dc17ca4c92a264036c0fbe9c31430de3 | refs/heads/master | 2020-04-14T12:25:47.123488 | 2015-11-10T22:00:51 | 2015-11-10T22:00:51 | 41,392,542 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | tst | test12.tst | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
cccccccccccccccccccccccccccccccccccccccc
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa... |
99c3dee9d54a96f889613b500cd0d7fd968d640e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH1/EX1.47/Ex1_47.sce | 66f69f4eb72132c8bd586d95df3f6cb30093bd3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | Ex1_47.sce | clear
//
//
//
//Variable declaration
lamda=5000*10**-8 //wavelength(cm)
mew=1.5 //refractive index
beta1=1 //assume
S=6*beta1
//Calculation
t=S*lamda/(beta1*(mew-1)) //least thickness of glass plate(cm)
//Result
printf("\n least thickness of glass plate is %0.0f *10**-4 cm",t*10**4)
|
cccd4bbc9aac2ab1fa382e4446091917d75de7d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH4/EX4.10/4_10.sce | 570dcc96e3e093dcb2531f6cb4148d8fd4132d3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | 4_10.sce | disp("∆Ed=13.64*(me/mo)*(1/(Єr^2)) eV");
disp("me = (0.015)*m0");
a=0.015;
c=18; //say Єr=c
d=13.64*(a)*(1/(c^2));
printf('the value of the ∆Ed = %f eV',d); |
539b40df6184dcd8d384c1d2dc525ba10a70cdc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH17/EX17.2/example17_2.sce | eedda2d39bdb5731b21552809db2d5e8b8e445ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | example17_2.sce |
//example 17.2
//design a submerged pipe
clc;funcprot(0);
//given
q=0.04; //discharge through outlet
D=100.0; //F.S.L of distributing canal
wc=99.90; //F.S.L of water course
dep=1.1; //full supply depth distributing canal
C=0.7; //average value of coefficient of discharge
... |
f30b21638a7710578087d17359e8798c9609b0b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH11/EX11.17/Ex11_17.sce | c20aab08720b9c91b57cf548109fc0880079e852 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | Ex11_17.sce | //chapter11
//example11.17
//page222
del_Vbe=200 //mV
del_Ib=100 // micro ampere
Ri=del_Vbe/del_Ib
printf("input resistance = %.3f kilo ohm \n",Ri)
|
2ab8731dae9d7c1476a743eee0d35c07526224b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH6/EX6.2/Example6_2.sce | 45b9b5133028c2c5624bb5a797363ae61eee0fed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 823 | sce | Example6_2.sce | clear;
clc;
// Example: 6.2
// Page: 205
printf("Example: 6.2 - Page: 205\n\n");
// Solution
// *****Data******//
density_water = 0.998;// [g/cubic cm]
density_ice = 0.9168;// [g/cubic cm]
Hf = 335;// [J/g]
T = 0 + 273;// [K]
//*****************//
V_water = 1/density_water;// [cubic cm/g]
V_ice =... |
ddcc3a6f08f50faad017d20a3011a359b4160991 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH4/EX4.3/Ex4_3.sce | 97c27c353b9d877956b07b0615a7d85b091d5e62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Ex4_3.sce | //example 4.3
clc; funcprot(0);
k=0;//B/L;
c2=30;
Gamma=17.5;
H=1.5;
Df=1.2;
H=1.5;
B=2.0;
Ks=2.5;
phi=40;
pi=%pi;
qu=(1+0.2*k)*5.14*c2+(1+k)*Gamma*H^2*(1+2*Df/H)*Ks*tan(phi*pi/180)/B+Gamma*H;
Qu=qu*B;
disp(Qu,"bearing capacity in kN/m");
disp("there is slight variation due to rounding off error")
//soi... |
d4b7f3cb1d9e8d01729ef20e32920eb8e657587b | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/4_08data.sci | 4b72a187bafc5a03a2f8d965fa6765cfa380c931 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sci | 4_08data.sci | //The flow conditions are assumed to be isentropic in nature.
P1=20; //pressure of burned gas in combustion chamber in atm unit
T1=3500; //temperature of the burned gas in combustion chamber in degree kelvin
P2=0.5; //pressure of the gas at exit in atm
y=1.15; //specific heat ratio for the gas
|
6776c893b179bfe3859bab5790446e1bd3a69879 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH9/EX9.24/EX9_24.sce | 0d582d76c8a60367bd045658297433b1fcf9e2ad | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,833 | sce | EX9_24.sce | clc;funcprot(0);//Example 9.24
//Initilisation of Variables
A=25;...//Total surface area of furnance in m^2
V=10;...//Volume of furnance in m^3
Tw=500;....//Constant temparature in K
Tg=1250;.....//Gas temparature in K
Pg=2;....//Total pressure in atm
Pco2=0.2*Pg;...//Carbondioxide Pressure containing in furnan... |
fedb0f22cb4bedd6b0ea7e37119b3b2854a3d835 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH10/EX10.5/Ex10_5.sce | cc540d0af3f5e635870204ae7414bcfb10291f3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | sce | Ex10_5.sce | clc
//initialisation of variables
clear
V1= 1800 //ft/sec
a= 14 //degrees
p= 0.75 //in
h= 2 //in
e= 0.02 //in
vc= 0.89
v= 650 //ft/sec
l= 9 //in
P= 80 //psia
T= 320 //F
J= 50000
rh1= 7.6 //Btu/ per lb
v1= 5.632 //cu ft per lb
//CALCULATIONS
VR1= sqrt((V1*cosd(a)-v)^2+(V1*sind(a))^2)
VR2= vc*VR1
rh=... |
4c0301d554061e8cdcb8d97a60888317aa017a73 | 0778f91e335afef58ae45c5a33184587cee76088 | /CN-Jacobi.sce | d8290aa39de32831c3fd528acbe98c7710ed5939 | [] | no_license | LtavaresII/CN | b38e6f5531a3597f8705bdf163f4cec49f49d51e | 0dcfb182692dee3ecf71d62162f986f816b3d687 | refs/heads/master | 2020-03-25T23:35:53.410172 | 2018-12-05T14:17:32 | 2018-12-05T14:17:32 | 144,282,768 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | CN-Jacobi.sce | A=[8 -4 2;5 10 2;3 -1 7]
b=[-22;-44;-53]
D=A.*eye(A)
InvD=inv(D)
B=eye(A)-InvD*A
g=InvD*b
x=zeros(b)
xOld=x
x=B*x + g
Er=max(abs(x-xOld))/max(abs(x))
Betas=ones(b)
Bt=abs(B)
Betas(1)=Bt(1,:)*Betas
Betas(2)=Bt(2,:)*Betas
Betas(3)=Bt(3,:)*Betas
Bi=abs(spec(B))//Autovalores de B
|
f926a107ff366a03b660cf91d2c875793998339d | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PI2.prev.tst | 5497802b16741824502910cedb7141717c65bc1a | [
"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 | 35,289 | tst | PI2.prev.tst | 0 - 42*v - 32*v^2 - 8*v^3 - 16 - 21*v - 16*v^2 - 4*v^3 - 8
1 - 34*v - 32*v^2 - 8*v^3 - 17*v - 16*v^2 - 4*v^3
2 - 26*v - 32*v^2 - 8*v^3 + 24 - 13*v - 16*v^2 - 4*v^3 + 12
3 - 18*v - 32*v^2 - 8*v^3 + 56 - 9*v - 16*v^2 - 4*v^3 + 28
4 - 10*v - 32*v^2 - 8*v^3 + 96 - 5*v - 16*v^2 - 4*v^3 + 48
5 - 2*v - 32*v^2 ... |
cca8b5d198e73835dd9a7a597c2bf795c6ae5baf | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH4/EX4.6/ex4_6.sce | 27894f859769a9197999a3842cb1636b91888553 | [] | 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 | 172 | sce | ex4_6.sce | errcatch(-1,"stop");mode(2);// Example 4.6, page no-211
c0=25
x0=0.5
x1=0.05
c1=c0*x0/(x0-x1)
c2=c0*x0/(x0+x1)
printf("C1=%.2f pF\nC2=%.2f pF",c1,c2)
exit();
|
a5ea099ea95c26c68fd88886e6f6d0e1b699d3fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH3/EX3.19/19.sce | 8186ab2b2baa8578af4e087d1155a7a037c8b658 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | 19.sce | clc
clear
//INPUT DATA
n=2//no.of atoms in BCC structure
d=7.86*10^6//density of iron of FCC structure in kg/m^3
AW=55.85//atomic weight of Fe
N=6.023*10^23//Avogadro's Number per Kg mol
//CALCULATION
a=(((n*AW)/(d*N))^(1/3))/10^-10//The lattice constant in m
r=((a*sqrt(3))/4)//The atomic radius of Fe which ... |
be4153dc46529cfcc04aaef46dac003d976a667c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1325/CH12/EX12.3/12_3.sce | 67f54f1ecca4757b9b63c00b9980909e5870d2a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sce | 12_3.sce | //Find the torque exerted on the crankshaft
clc
//given
D=9//in
stroke=24//in
d=2//in
l=60//in
CP=l
N=120
theta=40//degrees
x=theta*%pi/180
P1=160//lb/in^2
P2=32//lb/in^2
OC=stroke/2
F=%pi*(D/2)^2*P1-%pi*(D/2)^2*P2+%pi*(d/2)^2*P2
//Ft*Vc=F*Vp; Where Vc and Vp are velocities of crank and pin respectively
... |
4efdf8c3b6f46aa7a66c5e5b2b381eb6c23b1049 | 05ac16985ed247964c257764b2c14776a4cd6771 | /make-tests/make05.tst | 53eb66c42e7d4018df060a80905ee4fd3e606420 | [] | no_license | felixitous/Graphs | e7887a194429cdbf073c6e41d0d1b9969e2e8ec7 | 395364c7bac49812d28a72dc8862e41ab39651ca | refs/heads/master | 2021-01-22T10:01:56.943976 | 2014-01-15T22:45:23 | 2014-01-15T22:45:23 | 15,950,368 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 62 | tst | make05.tst | java make.Main -f make-tests/make05.mk -D make-tests/file05 C
|
dc6d90f9e25f73c137e91b35245833661f07580f | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Adv-StringAndUtilityFunctions/FLDLevenshteinDist-NZ-01.tst | eb46e27fc565a28265c7606d60408af63ef97819 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,863 | tst | FLDLevenshteinDist-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
... |
e381acd3a85f24baf947d0b45bab2ae020301eb2 | 0ab8e580a87c1665dccb3a89160444447bc1df78 | /wykresy.sci | 8e02cf5eb1d12c17052f6cff4c88ec353f194032 | [] | no_license | montsigur/PAMSI-lab05 | 24b6b3335183e723d4eeef5ef54c5a452dd14fea | 92e70a03aa498a975eb21db37c910161c2455cfe | refs/heads/master | 2016-09-13T21:08:52.877778 | 2016-05-05T12:44:34 | 2016-05-05T12:44:34 | 57,230,751 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,165 | sci | wykresy.sci | clear;
LK25 = fscanfMat("./pomiary/pomiar_LK_25.0%.txt");
LK50 = fscanfMat("./pomiary/pomiar_LK_50.0%.txt");
LK75 = fscanfMat("./pomiary/pomiar_LK_75.0%.txt");
LK100 = fscanfMat("./pomiary/pomiar_LK_100.0%.txt");
LS25 = fscanfMat("./pomiary/pomiar_LS_25.0%.txt");
LS50 = fscanfMat("./pomiary/pomiar_LS_50.0%.txt");
LS75... |
679eae310f788410cbd944a2a5071c16459de885 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH26/EX26.7/26_7.sce | 4a8561d0c04c2d43b66f4d44ee5b2b42690abc1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 26_7.sce | clc;
p=0.263*10^5; //Pascal
v=120; //volume in m cube
t=223; //Kelvin
R=8.31; //constant
n=(p*v)/(R*t); //calculating n
disp(n,"n = "); //displaying result
m=n*4; //cal mass of He
disp(m,"Mass of He = "); //displaying result
|
978b7ea78ebb3588926dd9319cbacf6ef0967206 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH3/EX3.11/Chapter3_Example11.sce | 4e5d99df578914cf0eca7553ed3015b4981495ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | Chapter3_Example11.sce | clc
clear
//Input data
V=25;//Volume of gasoline consumed by an engine in litres/hour
cv=6*10^6;//The calorific value of gasoline in calories/litre
P=35;//The output of the engine in kilowatts
//Calculations
h=V*cv;//Total heat produced by gasoline in one hour in calories
H=h/3600;//Heat produced per se... |
61ed471fa8c17db660f2ab7f1b08e1bbe9215743 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH4/EX4.5/ex_4_5.sce | 35eab7fae421ce940ea1ab6d83cb98e3af7d51f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | ex_4_5.sce | //Example 4.5: Resistance
clc;
clear;
close;
//given data :
l=65;// in cm
V=0.1;// in V
V1=5.5;// in V
R=20;// in ohm
E=V*l;
I=V1/R;
Ri=(E-V1)/I;
disp(Ri,"Internal resistance,Ri(ohm) = ")
|
5ce522e404de085edb1487fcbc85a25f0fa3468f | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/cheb1ord.sci | 713f81262cd856b10a09719166820aab74ffb026 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,948 | sci | cheb1ord.sci | <<<<<<< HEAD
// Copyright (C) 2018 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Li... |
0e5f278009aee827b9d09e45a4f00ebb0551ff45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH5/EX5.12/5_12.sce | 0fc0e5a246653321682c14195b3f515b135f6829 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | 5_12.sce | clear;
clc;
close;
disp("Example 5.12")
gm=1.1
M0=2.5
g1=[]
z0=[0:0.1:4]
i=2
for gm=1.1:0.1:1.4
gc1=1
for M=0:0.1:4
p0=(1+(gm-1)/2*(M^2))^(gm/(gm-1))
p20=.4*p0-.5*p0
M=3
p42=0.37
NPR=p20*p42
g1(gc1)=p0
gc1=gc1+1
end
plot2d(z0,g1,i)
xgrid
title("Total-to-static pressure ratio")
xlabel("Fli... |
8c877d336103cdf6a44a00a84b604e1df610374c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH8/EX8.21/8_21.sce | 02eca0373c43e5612cb5b91b9ae26236e3493a51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | 8_21.sce | clc
//initialisation of variables
T1=1100//k
T3=200//k
r=0.5
//CALCULATIONS
T=(T1-(T3*r))/(1+r)
//results
printf(' \n value of T= % 1f k',T)
|
8044cb20aff55a636caeeda029da1938f7ea411a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH15/EX9.15.27/Ex9_15_27.sce | c82a7ba6a2c0e197bf93635a5bfbc1cdd5fee41b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | Ex9_15_27.sce | //Section-9,Example-2,Page no.-E.57
//To find the transport number of copper ion.
clc;
L=0.420 //Loss of Cu in anode compartment{=(Y-X)}
W=1.058 //Total weight of Cu deposited in voltmeter(=Z)
t_no=L/W
disp(t_no,'Transport no. of copper ions')
|
816cf6447dec04845467b28830bc51cd6328d4bb | be2d2a8f4f52eaee8321843e3982b31822f8eb00 | /model_lorenza.sce | 6779d92c80ae3c3acc6af9a105ee9f894bf92113 | [] | no_license | betacord/SK | dbe99f8e767a225fffac30935084d001a12facbb | 8ac1f424f85f595285db0f2f47f8a0fb3afa4033 | refs/heads/master | 2020-03-31T21:35:18.805098 | 2018-12-13T13:16:13 | 2018-12-13T13:16:13 | 152,585,930 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | model_lorenza.sce | // Chaos deterministyczny - modelowanie i prognozowanie rozkladu temperatury
// Model Lorenza - wersja stabilna
//Parametry
sigma = 5;
rho = 20;
betta = 3;
N0 = [1;0;0];
t = [0:0.1:10];
// Definicja modelu
function Ndot = lorenz(t, N)
Ndot = [sigma * (N(2) - N(1));
N(1) * (rho - N(3)) - N(2);
... |
d5dbdd710021e9e3f360108b4aa7db93cfbb2ba6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /116/CH7/EX7.3/exa7_3.sce | d9527962ab3c0ba1dd89982de2efbdc238fd4914 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | exa7_3.sce |
//Example 7.3
//Page 354
disp("The maximum information rate per channel is determined as")
Imax=[(6.312*288)/1176]
disp('The minimum information rate per channel is determined as')
Imin=[(6.312*287)/1176]
disp('Since there are three possible combinations of two errors in the C bits, the probability of mis... |
04a38ab7f3fbe96a78d61b8a4358d7bed3434dc2 | 6a3c1facc5f8cd5998cafed28a483e35c08b805a | /GLGame/TestScene.sce | 1591f0a07f738bb49cb0c0cb81602b4246ccc1b2 | [
"MIT"
] | permissive | PanAMD/GLGame | 063cad37512712cfb91c306acaacc78fda5a754f | 17309cd3e8b90fbb4606b2748caacdf7995fba45 | refs/heads/master | 2023-06-02T06:54:08.985460 | 2021-06-17T17:24:38 | 2021-06-17T17:24:38 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 432 | sce | TestScene.sce | %GLGAME_SCENE_FILE_V01%BG_!!!!!!!0@@@@@@@@@@@0###########0$$$$$$15Test Background)#¾álÖ®OBJ!!!!!!!0@@@@@@@@@@@0#########448$$$$$$13@#$*#Object_1RIññ»éëOBJ!!!!!!!0@@@@@@@@@320#########320$$$$$$13@#$*#Object_2³¦Û<>OBJ!!!!!!!0@@@@@@@@@448#########576$$$$$$13@#$*#Object_2$^
·GÞOBJ!!!!!!!0@@@@@@@@@@@0#########128$$$$... |
059a9ef146315e878f7f0e631e42027726f5e945 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH3/EX3.24/3_24.sce | e6b49559eac5cf679822e1000dfea63704b4e4f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,488 | sce | 3_24.sce | pathname=get_absolute_file_path('3_24.sce')
filename=pathname+filesep()+'3_24_data.sci'
exec(filename)
//Efficiency of Otto cycle
notto=1-(1/r^(y-1))
//Heat supplied(in kJ/s)
qs=P/notto
//No of cycles per second
Nc=N/(2*60)
//Net work output per cycle per cylinder(in kJ)
W=P/(k*Nc)
//Mean effective pressure(... |
7e79bd9a55164c89afdce172cb46f0c4308ac04d | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/io.tst | 9a53dad2d80899bc34854150156808ee426d882f | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 80,116 | tst | io.tst | ## Copyright (C) 2006-2017 John W. Eaton
##
## This file is part of Octave.
##
## Octave is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or (at
## your option) any later vers... |
bced716e54ea104ecb7092ab7143ae3463b3f5b8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuits_J._B._Gupta_1850.zip/Linear_Integrated_Circuits_J._B._Gupta_1850/CH2/EX2.6/exa_2_6.sce | 0fbe94dd21b180017f4b7e699538cadf3d830f9b | [] | 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 | 175 | sce | exa_2_6.sce | errcatch(-1,"stop");mode(2);// Exa 2.6
;
;
// Given data
Ad= 100;
Acm= 0.01;
CMRR= Ad/Acm;
CMRR_desh= 20*log10(CMRR);// in dB
disp(CMRR_desh,"CMRR in dB")
exit();
|
059cbbba0fc8224ecc9b0417ae7ad69fa8ce4268 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH2/EX2.1/Ex2_1.sce | 898f7df1cb4473274026e9ba54206b1a3249206c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | Ex2_1.sce | // Example 2.1
// Calculation of core diameter
// Page no 31
clc;
clear;
close;
// Given data
n1=1.5; // Refractive index of core
n2=1.48; // Refractive index of cladding
N=1000; // No of modes
lambda=1.3; // Light wavelength
V=sqrt(2*N); // Mod... |
bbe1cb56ef24c871b8808cf49740660b5f2fc5d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH8/EX8.4/Ex8_4.sce | 3219b328215abe6cc3cb93814899ccf6ebcd6c83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 991 | sce | Ex8_4.sce | clear all; clc;
disp("Scilab Code Ex 8.4 : ")
//Given:
y_c = 125/1000; //m
x_c = 1.5; //m
y_b = 1.5; //m
x_b = 6; //m
udl = 50; //kN/m
l_udl = 2.5; //m
l = 250/1000; //m
width = 50/1000; //m
//Internal Loadings:
N = 16.45; //kN
V = 21.93; //kN
M = 32.89; //kNm
//Stress Components:
//Normal ... |
33cb89ffcf6c3d048a11e4d8ec1340be79fee9da | 04ebc1029c20752e734a1d83b49a31329d5283fd | /trust_game_2/frame7.sce | e5ab107013dc4467790e4a4e40467d822ae44e95 | [] | no_license | jangwoopark/presentation-trust | a1293e481da417c914534a30b1969f092f08e115 | 31621ef8b534bca19d4b9d4a5d57792ff8bb058d | refs/heads/master | 2020-06-27T14:50:42.294466 | 2017-09-12T01:51:08 | 2017-09-12T01:51:08 | 97,063,115 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,636 | sce | frame7.sce | scenario = "frame";
scenario_type = fMRI_emulation;
#scenario_type = fMRI;
scan_period = 3000;
response_matching = simple_matching;
no_logfile = false;
sequence_interrupt=false; #default
active_buttons = 2;
button_codes=0,1;
default_font="arial";
default_font_size=30;
default_text_color=255,255,255;
default_background_... |
f76efe60ad18823be3629dc4dd10709a642e866e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH15/EX15.7/Ex15_7.sce | 9e7311f614516b879b2fe1e214e4a95c1aa2627c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 24 | sce | Ex15_7.sce | //Example 15.7, page 547 |
af4dfc75b4b0d7fcbdbf8494a8eb94782efab834 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH19/EX19.19/Ex19_19.sce | 33b016880a7e9e043a1967148cac6afaf2c3e230 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | sce | Ex19_19.sce | clear
//Given
M=-20
R=-120
//Calculation
f0=R/2.0
fe=f0/M
//Result
printf("\n Focal length of eyepiece is %0.3f cm", fe)
|
8f18a1831adea6bc578441e6bd75860fd4c363f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH1/EX1.3/ex3.sce | d4cd1d46a7f3b90ab1aed9f233b737d0f7bd1529 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,037 | sce | ex3.sce | // Example 1.3 : Overall voltage gain of cthree-stage amplifier
gainloss_in=10^6/(1*10^6+100*10^3); // fraction of input signal is obtained using voltage divider rule , gainloss_in= v_i1/v_s
A_v1=10*100000/(100000+1000); // A_v1 = v_i2/v_i1 is the voltage gain at first stage
A_v2=100*10000/(10000+1000); // A_v2 = v_... |
8e43db14378b77ec2b99c898df2f35802ac1bde7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH5/EX5.12/5_12.sce | 4f431998d61c436e8c6939c57f4b782667b8a077 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 889 | sce | 5_12.sce | // To determine all day efficiency
clc;
clear;
p=15*(10^3);
t1=12;
t2=6;
t3=6;
pf1=0.5;
pf2=0.8;
pf3=0.9;
x=poly([0 1],'x','c');
nm=0.98; // Max Efficiency
y=(nm*(p+(2*x)))-p;
x=roots(y); // To find the iron loss or copper loss at unity p.f for maximum efficiency
Pil=x; // Iron loss
Pc=... |
aa8d37f7852423dea982adffe19c73e02bea2a1d | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/course/scilab/basics_whileandfor/twhile1.sci | 706d65c3138b0029aaa314b93677c442eaf618ff | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sci | twhile1.sci | % example while loop with a break
%
try1 = 1;
while try1
n = input( ' Enter a number: ' ) ;
if n < 0.5
disp 'Too small !'
elseif n > 100
disp ' Too big !'
else
disp ' It will do.'
% break
% the below line will also work for terminating the loop
try1 = 0;
end
end
|
2434508f920623d5308fe720865bbe29dc47038c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH6/EX6.10/ex6_10.sce | 59a3d222ce3c694c0c5c0217a4a683fc96915767 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | ex6_10.sce | // Example 6.10, Page No-286
clear
clc
fh=2500
fL=250
B=fh-fL
printf('Bandwdth B= %d Hz', B)
fr=sqrt(fh*fL)
printf('\nResonant Frequency fr= %.2f Hz', fr)
fc=(fL+fh)/2
printf('\nCenter Frequency fr= %d Hz', fc)
printf('\nHence, resonant frequency is always less than center frequency')
|
632d13ece72dcd2a07ebc9a1f5c04c4c6d9caca7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH25/EX25.4/25_4.sce | e2ef29404032fe4a3bd2fc27a8b9dcd0d086f7d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | 25_4.sce | clc;
clear;
m=68.1;
g=9.8;
c=12.5;
a=8.3;
b=2.2;
vmax=46;
function yp=f(t,v)
yp=g-c*v/m;
endfunction
v0=0;
t=0:15;
x=ode(v0,0,t,f);
disp(x)
plot(t,x,'.-')
function yp=f1(t,v)
yp=g-(c/m)*(v+a*(v/vmax)^b)
endfunction
x1=ode(v0,0,t,f1);
plot(t,x1)
xtitle("velocity vs time","t (s)","v (m/s)")... |
3fa807793e3196acc8286a48c06e915ed20c5510 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH4/EX4.6/4_6.sce | d9d99cae848fd3bebffc3de6b1377ba0b6cde98a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_6.sce | // Process 1-2
Q12 = 235; // in KJ/Kg
W12 = 0 ;
U12 = Q12-W12;
// Process 2-3
Q23 = 0;
U23 = -70 ;
W23 = Q23-U23;
// Process 3-1
Q31 = - 200;
U31 = -U12-U23;
W31 = Q31-U31;
//
W = W12 + W23 + W31;
Q = Q12 + Q23 + Q31;
disp("KJ/Kg",Q,"Heat trasfer in the cycle is")
disp("KJ/Kg",W,"Work done during the ... |
63127c785cfd54d3780dd16558d72c28dd9129ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH10/EX10.1/10_1.sce | d5ee25a1b86825549d7f20ccbf0ecd8eccb4d879 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,158 | sce | 10_1.sce | //To Determine the necessary realy and recloser coordination
//Page 542
clc;
clear;
//For Recloser
InstT=0.03; //From Curve A //Instaneous Time
TimeD=0.17; //From Curve B //Time Delay
//For Relay
PickU=0.42; //From Curve C //Pick Up
Reset=(1/10)*60; //Assuming a 60 s reset time for the relay with number 10 ... |
e7037b94f592439f6209599a0b2fcc0b3b32f616 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH7/EX7.15/7_15.sce | 8b8eab0a30e5db110a8fd1efe27e6bd640ac3dca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 574 | sce | 7_15.sce | //Chapter 7, Problem 15, Figure 7.6
clc;
u0=4*%pi*10^-7;
ur=1;
B=0.80; //flux density
H=750; //field intensity from B-H curve
l1=25*10^-2; //length of cast steel core
l2=1*10^-3; //air gap
A=2*10^-4; //cross-sectional area
... |
ac4ef803c11c25c97c48cabaa9b60c5133f06444 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH14/EX14.10/ex14_10.sce | 81569e23c76e649c001a5de2793b99c2baee269b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | ex14_10.sce | clc;
K=2*10^-7; //constant in N/A square
I=8; //current in Ampere
s=5*10^-2; //distance in m
B=(K*I)/s; //calculating magnitude of field
disp(B,"Magnitude of field in Tesla = "); //displaying result
disp(2*B,"Total field in Tesla = "); //displaying result |
a2f0d8bc9ef0be554f32f3d844a30b4d183756b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH9/EX9.10/Ex9_10.sce | b443c691c1bb0ceabcebafed47ae046e36deb4e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | Ex9_10.sce | clear;
clc;
//page no. 305
Q = 90;//gpm
d = 3;//in
l = 3000;//ft
V = Q/(60*7.48*0.25*%pi*(d/12)^2);
R_h = (d/12)/4;
C_hw = 140;
S = (V/(1.318*140*R_h^0.63))^(1/0.54);
h_L = S*l;
printf('The loss of head = %.1f ft of water',h_L);
//there is a minute error in the answer given in textbook
|
fb3c4a642e181cf1a4d17855c36937dfffe2a21a | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH5/EX5.29/5_29.sce | 7a860acdf673711e9c3b9c46d9006223e4969d57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | 5_29.sce | clear; clc; close;
Vee = 20;
Vbe = 0.7;
R1 = 5.1*(10^(3));
R2 = R1;
Re = 2.2*(10^(3));
Vb = (R1/(R1+R2))*(-Vee);
Ve = Vb - Vbe;
Ie = (Ve-(-Vee))/Re;
disp(Ie,"Constant current :");
|
118c2a04593a77a0cc968cab4e362426b2deefdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH1/EX1.7.b/ex_1_7_b.sce | 30eaf0661a8d9e97c76e28b4508b3b898f7511f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | ex_1_7_b.sce | // example 1.7(b) //
//conversion of binary to hexadecimal //
clc
//clears the screen //
clear
//clears already existing variables //
x= bin2dec ('1011001110' )
// binary to decimal conversion //
a= dec2hex (x)
//decimal to hexadecimal conversion //
disp ('conversion of given binary number to its hexadecimal ... |
f946dd6a07dd86e38753a22d6a0b0a10007dbd11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH2/EX2.6/example6.sce | 89793b6ad75bbf9b79e6e7a4feb79bc4f493a780 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | example6.sce | //Chapter-2 example 2.6
//=============================================================================
clc;
clear;
PW = 2*10^-6; //pulse width in sec
PRF=800; //pulse repetition frequency in KHz
V0=3*10^8; //velocity in m/s
//Calculations
Ru=V0/(2*PRF); //unambigious range in mts... |
65485e053eae3f0792343326be09440d3a939d32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.1/3_1.sce | 12e938423d1d4a52fd0764b75e1aaa6722a9c81f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 784 | sce | 3_1.sce | clc;
clear;
//Example 3.1
mu=10^-3 //N.s/m^2
//At distance y from surface
//ux=a+by+cy^2+dy^3
//At y=0,ux=0 therefore a=0
//i.e tao=0
//At edge of boundary layer,ie y=del
//ux=u_inf
//At y=o,c=0
//At y=del,ux=b*del+d*del^3
//Therefore, b=-3*d*del^3
//d=-u_inf/(2*del^2)
//b=3*u_inf/(2*del)
//Fo... |
3316238eb6fd4e329653edf49d48da1c751d099c | e806e966b06a53388fb300d89534354b222c2cad | /macros/blur.sci | 4b3bcd038b8dd8676fc9a3cfa1274456b78abf16 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sci | blur.sci | function [out]=blur(input_image ,ksize_width,ksize_height,anchorX,anchorY)
input_image1=mattolist(input_image);
a=opencv_blur(input_image1, ksize_width,ksize_height,anchorX,anchorY);
dimension=size(a)
for i = 1:dimension
out(:,:,i)=a(i);
end
endfunction;
|
da5d1af0a617c4954feac936591ea04abb5d38b4 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2bs/test_4.sce | 3182dd59fdc1e608a6d41d62d8eeee16a49727c1 | [] | 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 | 315 | sce | test_4.sce | // Test # 4 : When either Input Argument #1 or #2 is of complex type
exec('./allpasslp2bs.sci',-1);
[n,d]=allpasslp2bs(0.3,[0.4,0.2*%i]);
//!--error 10000
//Wt must be real and numeric and must contain only 2 elements
//at line 43 of function allpasslp2bs called by :
//[n,d]=allpasslp2bs(0.3,[0.4,0.2*%i]);
|
78c31739b9f886d1414a6505ba646500fa6478a8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/util/readc_.sci | 540a955298a53627611692e6f68f7258910c3ff8 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sci | readc_.sci | function [c]=readc_(unit)
//Syntaxes : c=readc_(unit)
// c=readc_()
//
//readc_ reads a character string
//This macro allows one to interrupt an exec file without pause;
//the exec file stops until carrige return is made.
//!
//
[lhs,rhs]=argn(0);
if rhs<=0 then unit=%io(1); end;
c=read(unit,1,1,'(a)');
|
a95484eeb6df98f876b3928ce53a3197b24db6a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.7/ex_3_7.sce | 2a678b7c98d77baff8a30d1251d451de4d24404f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | ex_3_7.sce | //Example 3.7: Unknown resistance
clc;
clear;
close;
//given data :
s=0.5;//Mega ohms
g=10;//killo ohms
d1=41;//divisions
d2=51;//divisions
r=(((s*10^6)+(g*10^3))*(d1/d2))-(g*10^3);//ohms
disp(r*10^-6,"unknown resistance is,(Mega-ohm)=")
|
17710015aeccd66e68a51f791d2dc7c9a904265d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH20/EX20.10/Ex20_10.sce | f3e62de5fe73eda49eab31446776ffc3759bb414 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | Ex20_10.sce | //Example 20.10
P_ave=100*10^6;//Average power (W)
V_rms=200*10^3;//Rms voltage (V)
I_rms=P_ave/V_rms;//Rms current (A)
printf('a.Current required = %0.1f A',I_rms)
R=1;//Resistance (ohm)
P_ave_b=I_rms^2*R;//Power dissipated (W)
printf('\nb.Power dissipated by transmission lines = %0.1f kW',P_ave_b/1000)
percen... |
d38f954708255ce4234322443b00db0c129c297d | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rc2ac/rc2ac1.sce | fa5df4f208897d83a2e3dd86d462ba9ba228f2cc | [] | 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 | 232 | sce | rc2ac1.sce | //check o/p for vector i/p
k = [0.3090 0.9800 0.0031 0.0082 -0.0082];
r0 = 0.1;
a = rc2ac(k,r0);
disp(a);
//output
//
// 0.1
// - 0.0309
// - 0.0790948
// 0.0786627
// 0.0293629
// - 0.0950000
//
//
|
89633521f6cbc3867fa8f4cc842d7774dfc81908 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.39/Ex13_39.sce | 67e398a5193e03ce46e9908393a320189093d647 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex13_39.sce | //EX13_39 Pg-21
clc
clear
printf("8''s complement (346)_8 is : ")
x=['346'];
y=oct2dec(x);//octal to decimal conversion//
z=bitcmp(y,9);//one's complement of the number//
z=z+1;
z2=dec2oct(z)//8's complement of the number//
printf("%s",z2)
|
2fa8ef36929a10030e01f13d14b76a0cbb1b94b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH2/EX2.27/2_27.sce | 8085a8bcaad22ffc2981fd794aa8f97059dce325 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 586 | sce | 2_27.sce | //Chapter-2,Example 2_27,Page 2-49
clc()
//Given Data:
m=2 //order
lam1=5.77*10^-7 //Wavelength of light
lam2=5.791*10^-7 //Wavelength of light
GE=1/6000*10^-2 //GE=(a+b) grating element
//Calculations:
//We know, (a+b)*sin(theta)=m*lam
t... |
b528825f465cb5ff4113a760f7c1d3b175be7464 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH6/EX6.9/c6_9.sce | c163410a032bd693f71d5a4ea0d117fc5eb0a65c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 980 | sce | c6_9.sce | // (6.9) Air undergoes an isentropic process from p1 = 1 bar, T1= 300K to a final state where the temperature is T2= 650K.,Employing the ideal gas model, determine the final pressure p2, in atm. Solve using (a) pr data from Table A-22 (b) Interactive Thermodynamics: IT, and (c) a constant specific heat ratio k e... |
93f81ca5e5ca9edfb7af6de6c3efd902b6209d69 | 20253970b7dd99e615215029609de822e2bf855d | /judge/tests/52063/39.tst | f598857380f471301cfd1012ded1bd3104f651db | [] | no_license | B-Rich/CATS | d26d6c85cfc1dbdc78fa16f691adbfccc615df03 | d299e328f9e7498ecd9f58f64069fcd57536db00 | refs/heads/master | 2021-01-01T06:10:11.322262 | 2011-06-21T15:06:06 | 2011-06-21T15:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,196 | tst | 39.tst | 1000 1000
100
51 50 49
51 148 49
51 246 49
51 344 49
51 442 49
51 540 48
51 638 49
51 736 49
51 834 48
51 932 48
149 50 46
149 148 48
149 246 47
149 344 46
149 442 47
149 540 48
149 638 47
149 736 47
149 834 48
149 932 46
247 50 46
247 148 47
247 246 46
247 344 46
247 442 46
247 540 47
247 6... |
8cda37f346d80ef5b3d52fb52c01d236a9c55c9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH14/EX14.10.a/14_10_data.sci | 2c2fbeb24ed40c5874fa14de827d88c5f2d76d6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sci | 14_10_data.sci | // Aim:Refer Example 14-7 for Problem Description
// Given:
// diamter of hydraulic cylinder:
D=152; //mm
// cylinder extension:
L=2.54; //m
// duration of cylinder extension:
t=10; //s
// time between crushing stroke:
t_crush=5; //min
// gas precharge pressure:
p1=84; //bars abs
// gas charge pressure when pump is tur... |
fc7174e97c311e672bfc08cd3a968771e02bd422 | a32457bc76e1a5fe9898d7f84b937381d3bcb80d | /experiment6.sce | f321661cb6cd46732602b9021616b11e0da186e5 | [] | no_license | kunalsparkx10/signal-and-systems | 90d80c4b279b3c44ddd328fbf088ddbbc1ca9b5f | 97164f97bd59b1d8b302efeab6a7f6a2640c0a57 | refs/heads/main | 2023-01-14T10:44:22.315838 | 2020-11-25T18:24:57 | 2020-11-25T18:24:57 | 316,021,693 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | experiment6.sce | clc;
figure;
n=0:2:100;
fs=0.002;
fm=5
A=1;
x=A*cos((2*%pi*fm*(n/fs)));
subplot(2,2,1)
plot2d3(n,x);
//figure;
n=0:2:100;
fs=0.04;
fm=45
A=1;
x=A*cos((2*%pi*fm*(n/fs)));
subplot(2,2,2)
plot2d3(n,x);
//figure
n=0:2:100;
fs=0.4;
fm=55
A=1;
x=A*cos((2*%pi*fm*(n/fs)));
subplot(2,2,3)
plot2d3(n,x);
|
0d1652307dd88c1a397a1338888ea8979f9c4ff9 | 349b0dbeaccc8b9113434c7bce7b9166f4ad51de | /src/eco/ramsey.sci | 16008101fb48806086223e23be8cf601c3a4d018 | [] | no_license | jbailhache/log | 94a89342bb2ac64018e5aa0cf84c19ef40aa84b4 | 2780adfe3df18f9e40653296aae9c56a31369d47 | refs/heads/master | 2021-01-10T08:55:43.044934 | 2020-01-09T02:57:38 | 2020-01-09T02:57:38 | 54,238,064 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,343 | sci | ramsey.sci |
A=8.0
alpha=0.3
rho=0
mu=0.1
psi=0.05
function r=cobbdouglas(x)
r=A*x^alpha;
endfunction
function r=ces(x)
r=A*(alpha*x^(-rho)+1-alpha)^(-1/rho);
endfunction
eps=0.00001
function r=dcobbdouglas(x)
r=(cobbdouglas(x+eps)-cobbdouglas(x))/eps;
endfunction
function r=dces(x)
r=(ces(x+eps)-ces... |
f8c6850f50f370b38ba3c2f2031c8ebe4fac8db0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /46/CH16/EX16.2/Example16_2.sce | 5dcd03dbb92bfb1512a196efe83f0524e7a8342d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | Example16_2.sce | //Example 16.2
clc
syms tau s zeta w;
j=%i;
n=1;
d=tau^2*s^2+2*zeta*tau*s+1;
G=n/d
s=j*w;
G=1/(2*s*tau*zeta+s^2*tau^2+1)
[num den]=numden(G)
d=abs(den)
cof_a_0=coeffs(den,'%i',0)
cof_a_1=coeffs(den,'%i',1)
AR=1/d
theta=AR*atan(-cof_a_1/cof_a_0);
disp(theta,'Phase angle=') |
9a749228f7472f02a94306986260e3ed7f17752f | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH1/EX1.13/1_13.sce | 6a9c5db4e3a78957b26486ffe538f7c5a1128ecd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,779 | sce | 1_13.sce | clear;
clc;
// Illustration 1.13
// Page: 36
printf('Illustration 1.13 - Page:36 \n\n');
// Solution
//*****Data*****
// acetic acid-1 water-2 ethyl alcohol-3
T = 298; // [K]
// The data required data for water at 298 K
u_2 = 0.894; // [cP]
V_c1 = 171; // [cubic cm/mole]
// From equation 1.48
V_b... |
4b0fd05ae78670b40332efc2a8ffb59d7d549e81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH25/EX25.9/Ex25_9.sce | 18d87afe444b01ad224b21b2eeaaa0ab8524adfb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex25_9.sce | //chapter25
//example25.9
//page556
fh=1000 // Hz
// case (i) :- ratio of fv to fh = 1:1
fv1=1*fh
// case (ii) :- ratio = 2:1
fv2=2*fh
// case (iii) :- ratio = 6:1
fv3=6*fh
printf("for case1 i.e. fv/fh = 1/1, fv = %.3f Hz \n",fv1)
printf("for case2 i.e. fv/fh = 2/1, fv = %.3f Hz \n",fv2)
printf("f... |
ec7776c94077d54c1132355ff50fd3edec645c14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH23/EX23.5/23_5.sce | 38834594c49b3065126f4dc2f567438ed32519ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 23_5.sce | clc
//initialisation of variables
h= 6.625*10^-27 //ergs/mole
f= 2.65*10^-5 //sec^-1
c= 3*10^10 //cm/sec
t= 2
N= 6*10^23 //molecules
M= 382 //gms
E1= 750 //ergs
//CALCULATIONS
E= h*c/f
n1= E1/E
m= n1/(t*7)
G= m*M/N
//RESULTS
printf ('number of quanta = %.2e ',n1)
printf ('\n number of quanta = %.2e mole... |
fe62178a78657adfb0b74d4b4b60b612c1047d80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.24/ex2_24.sci | 00fab4501f03244bf03dab60cc0eef4d4533dc02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sci | ex2_24.sci | //Chapter 2,Example 2.24,Pg 2.30
clc;
disp("Refer to the diagram shown in the figure")
A=[4 -2 -1;-50 71 -20;-5 -4 10]
B=[-24;0;180]
V=A\B
printf("\n Va=%.2f V\n",V(1))
printf("\n Vb=%.2f V\n",V(2))
printf("\n Vc=%.2f \n",V(3))
printf("\n Voltage across 5 ohms resistor=%.2f \n",V(3)-V(2))
|
e9087afc396b9727d47614c8323637dd14a181d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH6/EX6.7/6_07.sce | 3476ba64a4956e8afd96e190e64c99b144b80db4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | 6_07.sce | //Chapter 6, Problem 7
clc;
Q=1.2*10^-6; //Charge
A=4*10^-4; //Area of plates
d=0.1*10^-3; //Distance between plates
e0=8.85*10^-12;
er=100;
C=(e0*er*A)/d; //Calculating capacitance
V=Q/C; //Calculating potential di... |
fe1803ef4bc8bb1e1f78ecc2dd5e330324818338 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3487/CH6/EX6.5/Ex6_5.sce | 03462f8f82e44722766dbc33b82feb42780f1b88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_5.sce | //Chapter 6,Example 6.5 Page 200
clc
clear
Ca = 50 // pF
C = 190 // pF
loss = 0.0085 // loss angle of electrodes
Er = C/Ca
tang = 0.0085
Er1 = Er*tang
E0 = 8.854*10^-1
E1 = E0*Er
jE1 = E0*Er1
printf (" The dielectric constant = %f \n ",Er)
printf (" tan δ = %f \n ",tang)
printf (" E = (%f - j %f ) * 10^-11 F/m \n ",E1,... |
3e716cdba9dd6dd414c7be7ddefbf018a012594e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH4/EX4.8/ex4_8.sce | f32a729c2724e642918ad56f95d6f7fa191286ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | ex4_8.sce | //Page Number: 198
//Example 4.8
clc;
//Given
a=5;//cm
a1=a/100;//m
b=4;//cm
b1=b/100;//m
c=10;//cm
c1=c/100;//m
sig=5.8D+7;
u0=4D-7*%pi;
er=3;
eet=377;
ur=1;
spl=3D+8;
tandel=2.5D-4;
//TE101 mode
m=1;
n=0;
p=1;
fr=(spl/(2*sqrt(er*ur)))*sqrt((m/a1)^2+(n/b1)^2+(p/c1)^2);//hz
disp('Ghz',fr/10^9,... |
220d3ed59e58a1408bf60d38a43b12186e9c8fe7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH14/EX14.4/Ex14_4.sce | 44249d9387694cebfe6784a639b8beda3d082847 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | sce | Ex14_4.sce |
// Variable Declaration
kv = 11.0 //Voltage rating(kV)
MVA = 5.0 //MVA rating
R = 10.0 //Resistance(ohm)
per_a = 0.15 //Armature winding reactance
per_trip = 0.3 //Relay trip for out-of-balance
// Calculation Section
x_p = per_a*kv**2/MVA //Winding Reactance(ohm)
V = k... |
a629f09cc8cd53549ac07582304a3b295fce9327 | 4af7d26a4959553d9a2cee1a78878ee960599382 | /test_cases/test1.tst | 41cb231955c58b66c7ce52667b2916ae5ba2cf02 | [] | no_license | CJ8664/chord_protocol | f61168ceea224e47785e56a3263eda89da7dc3df | 30b57463cfd190e9dd5f057629b69ffbb6edb7b2 | refs/heads/master | 2020-04-11T06:07:46.875416 | 2018-11-02T03:06:34 | 2018-11-02T03:06:34 | 161,571,340 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | tst | test1.tst | # Just adding and joining nodes but no explicit stabilize or fix
# predecessor is None and successor is valid and finger table is stale
add 0
add 1
add 2
add 3
join 1 0
join 2 0
join 3 0
list
show 0
show 1
show 2
show 3
end
|
2fa43e924d9942acbbea61e841f080d86db9af51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH2/EX2.6/example2_6.sce | 76bc848a6e8163c3ae543363c6ee7796681265ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | example2_6.sce | //example2.6
clc
disp("Consider a short shunt generator as shown in the fig 2.32")
disp("R_a=0.04 ohm, R_sh=90 ohm, R_se=0.02 ohm")
disp("V_t=225 V , I_L=75 A")
disp("I_a = I_L + I_sh")
disp("Now, E=(V_t)+[(I_a)*(R_a)]+[(I_L)*(R_se)]")
disp("and drop across armature terminals is,")
disp("E-[(I_a)*(R_... |
33cc912499af5b78a4a4b9fa76ee626d78787fad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH5/EX5.1/Example_1.sce | aa4ffc6d99930f720def5887c27cf4243e315cb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | Example_1.sce | //Chapter-5,Example 1,Page 121
clc();
close();
//for 1st order reaction
//k = (1/t)*log(a/(a-x))
a= 46.1 //time value
//time intervals
t=[ 5 10 20 30 50]
x=[ 37.1 29.8 19.6 12.3 5.0]
k = (1 ./t).*log(a./(x))
printf('value of k are ' )
disp(k)
printf('since k values are fairly constan... |
56b7830cd93759db3949bd1e5dd2df8a00da504f | 22ebb77444925f738e01f4ceeae89fac1b2ca711 | /Single-phase transformer/PermeanciasSecundario220R.sce | 15b3e67e557f5c7382ea06b92f0bd53a317d7a81 | [] | no_license | jacometoss/Transformer | 4e4b4d39f370b162afd6364a229efc81a5c4ea8d | d9bd077b3fbc45dca52dd3367f40a4289b812e54 | refs/heads/master | 2021-06-21T14:57:12.644937 | 2020-12-03T19:23:20 | 2020-12-03T19:23:20 | 146,820,465 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,204 | sce | PermeanciasSecundario220R.sce | //****************************************************************//
// .Rutina: Permeancia Devanado Primario 127V ...//
// .Autor: Marco Polo Jacome Toss ...//
// .Version : 1.0 ...//
// .Plataforma : Scilab (https://www.sc... |
35e6691ce898fca8bd478a143f250c267f32df05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH3/EX3.27/Ex3_27.sce | 28da83a33aadbdee73fababe89cddb5b920cf1da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | Ex3_27.sce | //Ex:3.27
clc;
clear;
close;
n1=1.47;// core refractive index
n2=1.46;// cladding refractive index
y=1.3;// wavelength in um
dl=(n1-n2)/n1;// fractional refractive index diff
NA=sqrt(n1^2-n2^2);
v=2.405;
a=(v*y)/(2*3.14*(sqrt(n1^2-n2^2)));// largest core radius in micrometer
n_eff=n1-(NA/(2*3.14*(a/y)));// ... |
d773eb6669ba4b77558361c529ccad7b18b25754 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/genfac3d.man.tst | f9cd4675dc4e16c344ab6a2523525e8e7e8675f6 | [
"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 | 97 | tst | genfac3d.man.tst | clear;lines(0);
t=[0:0.3:2*%pi]'; z=sin(t)*cos(t');
[xx,yy,zz]=genfac3d(t,t,z);
plot3d(xx,yy,zz)
|
543fb84d5401dc08af82b20c824a25085506464c | c206e3f57b0a6f75bd1feefefecd29398746c358 | /scripts/mediana.sci | 39acc3c8ca1188b0495acf407cda5709556ca729 | [] | no_license | danielfcollier/scilab-image-processing-scripts | e092a7c1a6a0ade906c020218a9571290245e40f | 43d78cb06dc6c27ab8663f351e4c172d038280ce | refs/heads/main | 2023-04-12T20:05:52.840157 | 2021-04-27T18:56:06 | 2021-04-27T18:56:06 | 362,219,761 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 747 | sci | mediana.sci | function M = mediana(M, v)
// MEDIANA_
// M: imagem em tons de cinza
// v: vizinhança do tipo v x v, 3 ou 5
//
// Uso:
// I = imread('figura.jpg');
// M = mediana(I, 3);
// imshow(M)
//
[m n] = size(M);
// análise do tamanho da vizinhança
if (v==3)
d = 1;
elseif (v==5)
d = 2;
end
//
m1 = m + 2*d; ... |
22a465e0e3526ef2c16221e2204f9a9b0551fc21 | bbdc72de6d7eef74128eaf52b1f040053943de38 | /Code/TP7/TP7.sce | a4bc00100d84814e64d8eac5e649deee6c452958 | [] | no_license | Abdel-BHPC/Numerical-analysis | 46bb4dbcd26e00d6c4f405fe59a1ba433b8b72e0 | 2bcdb80d9ab8890d036eac3cce92b595abb88784 | refs/heads/main | 2023-03-02T14:11:06.939206 | 2021-02-08T08:40:07 | 2021-02-08T08:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | TP7.sce | /*
Créateur: Jinshan GUO et Anais Debureaux
*/
exec(fullpath(pwd() + '\TP7.sci'),-1);
a = [2;-2];
t0 = 0;
T = 15;
Nptmil = 100;
Neul = 100;
Node = 100;
Nrk4 = 100;
tracevdp(a, t0, T, Neul, Nptmil, Node, Nrk4);
//tracevdp(a, t0, T, 1000, 1000, 1000, 1000);
//===========Exo5 ===========
T = 10;
[TV, TE... |
5f05661f8015935db66ae3776aee902eabea10a9 | 67a252961f6616fc6db89eb11c1c83abf4d41468 | /CS4110Design3/CS16B032Register8.tst | c327e155e7a4bae0fef9f2a5bf335660a17fe966 | [] | no_license | ramyavelaga9/CS4110 | 5a45497cd7ef28d4472a57a257dad8e5f4a3d17b | 4a3cd82916820e4f7a4930a0efce14def8268dfc | refs/heads/master | 2020-07-17T23:41:12.196500 | 2019-11-20T04:24:32 | 2019-11-20T04:24:32 | 203,223,619 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | tst | CS16B032Register8.tst |
load CS16B032Register8.hdl,
output-file CS16B032Register8.out,
compare-to CS16B032Register8.cmp,
output-list time%S1.4.1 in%D1.6.1 load%B2.1.2 out%D1.6.1;
set in 0,
set load 0,
tick,
output;
tock,
output;
set in 0,
set load 1,
tick,
output;
tock,
output;
set in 120,
set load 0,
tick,
output;
tock,
output;
set i... |
47ac9743021769794b7faf8b0e4167c67e5a18ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH17/EX17.9/17_9.sce | dd7a335368e6a5a2f12cc49e7d41b669135f4578 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 470 | sce | 17_9.sce | pathname=get_absolute_file_path('17_9.sce')
filename=pathname+filesep()+'17_9_data.sci'
exec(filename)
//Brake specific energy consumption(Power remains same as in the previous problem)
bsec=(mf/bp)*CV*10^-3
//Indicated specific energy consumption(mechanical efficiency remains same as in previous problem)
isec=bs... |
5718178bb276bf7ec837ef342b3a24cd5fc70db6 | 31cc146b7597c1571ad100fc4dd888898b1b4eb0 | /io/read_off.sce | 7682812f7d8efd47912cd0d442126b7c671aac6e | [] | no_license | rigid1980/gpp_scilab | a525ae046722e7ba52ebea6003ce712b51631ff6 | fadb75dea26cf341e6dc60874efd88c016df4f3b | refs/heads/master | 2016-09-11T08:37:44.538715 | 2014-03-26T08:37:35 | 2014-03-26T08:37:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,670 | sce | read_off.sce | //// read_off
// Read mesh data from OFF file
//
//// Syntax
// [face,vertex] = read_off(filename)
// [face,vertex,color] = read_off(filename)
//
//// Description
// filename : string, file to read.
//
// face : double array, nf x 3 array specifying the connectivity of the mesh.
// vertex : double array, nv ... |
0ba36335e85cc8b122a0b73f46d6024523eb5423 | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/test_functions/test_buck_subsampling_dual.sci | 037179cd18776eda838770926bb05bfefa6ae22b | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 707 | sci | test_buck_subsampling_dual.sci |
//Test the functions for the Buck
//REactive elements and switching frequency
L=1e-6;
rl=5e-3;
rc=10e-3; //Parasitic element values are needed, but not very important
C=200e-6;
f_switch=1e6;
tctrl=400*1e-9;
Po=9;
Vo=1.8;
Io=Po/Vo; //The model requires the output current
Rl=Vo/Io;
Vin=5; //Input voltage range
//... |
a990208afbee2495d309c3cbc1ce936ccb2a6a9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.18/Ex1_18.sce | 4dcbbda5dac60e87ae5853cb6a2c82ecdf8eb843 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,222 | sce | Ex1_18.sce | clc;
P=20000; // rated power of transformer
E1=2500; // primary side voltage
E2=500; // secondary side voltage
r1=8; // primary resistance in ohm
x1=17; // primary leakage reactance in ohm
r2=0.3; // secondary resistance in ohm
x2=0.7; // secondary leakage reactane in ohm
k=E2/E1; // turns ratio
re2=r2+r1*k^2;... |
22203f4d0739860542de4f522902c9f65921c5f3 | 46881586c922b14b8f940ebc1696d0f1703ba9fb | /monte-carlo-method.sci | 7a958cdc19bf7ca776b7510197f76b4ac6295c81 | [
"MIT"
] | permissive | louisfisch/monte-carlo-method | 9519f1e48da334bb6131caecf999bd8ca66eb0f8 | c52b46d242610017646a0a69f32b5bbdbb5c9b46 | refs/heads/master | 2019-08-09T09:56:17.239346 | 2018-01-20T16:10:07 | 2018-01-20T16:44:40 | 118,258,484 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,428 | sci | monte-carlo-method.sci | // Clear already defined variables
clear;
// funcprot(0) prevents from getting a warning message about already defined/loaded functions
funcprot(0);
function new_graphic_window()
AllCurrentFiguresId = get('figures_id');
if isempty(AllCurrentFiguresId) then
NewFigureId = 0;
else
CurrentFigure ... |
af329e5548ffc2eaa3f50f4f22c5748a5197e1bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH13/EX13.16/example13_16.sce | ed406a82a6cffc01e2b3c6e90b1840db422136c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | example13_16.sce | clc
// Given that
lambda = 1.4 // wavelength of x-ray in angstrom
x1 = 1 // coordinate on x axis of plane
y1 = 1 // coordinate on y axis of plane
z1 = 1 // coordinate on z axis of plane
a = 5 // lattice parameter of of crystal in angstrom
// Sample Problem 16 on page no. 13.30
printf("\n # PROBLEM 16 # \n")
printf(" S... |
e22f9162fd42f987ea0a10204156cf0fd18920c6 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Aula 5/Questao_7.sce | 78ecf7154852ef850d72b1d07ba93e37df27ae02 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 642 | sce | Questao_7.sce | n = 405
A = eye(n,n)
for j = 1:n
for i = 1:n
if(abs(i - j) > 1)
A(i,j) = 0
else
A(i,j) = 1
end
end
end
function [L,A,C] = fatoraLU(A)
n = size(A,1)
L = eye(n,n)
C = 0
for j = 1:n-1
for i = j+1:n
L(i,j) = A(i,j)/A(j,j)
... |
c19b0f14968c5d5456d1140612a72fede64957fa | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.5_3.tst | ba200e0ff863a9146c74bbc8791d032b46594b6d | [] | 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 | 37,222 | tst | bow.5_3.tst | 5 5:0.5 6:0.11764705882352941 15:0.2222222222222222 24:1.0 34:0.3 37:0.3333333333333333 42:0.2 56:0.3333333333333333 64:0.5 73:1.0 82:0.16666666666666666 97:0.5 140:0.5 173:2.0 191:0.3333333333333333 261:0.019230769230769232 320:2.0 373:0.3333333333333333 399:1.0 488:1.0 489:2.0 583:1.0 587:1.5 671:1.0 775:2.0 908:1.0 ... |
8ad1bdc00a763a92a125619164a209a630d6f24c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH16/EX16.1/Ex16_1.sce | 7b56d47d4788ef65c11545ec172e5bbae5136445 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | sce | Ex16_1.sce | //example-16.1
//page no- 484
//given
//atomic radiii of gamma-iron having FCC lattice
rFCC=1.26 //A
//atomic radius of alpha-iron having BCC lattica
rBCC=1.24 //A
//as we know that FCC and BCC has effective no of atoms 4 and 2 resp
//so
aBCC=4/sqrt(3)*rBCC //A
aFCC=2*sqrt(2)*rFCC //A
//volume of lattice... |
2bf4b882db6ea823f3ddab47e4f8af44b73d9652 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH5/EX5.9/Ex5_9.sce | f5419fd5c16d0bfbcf5c1c36163b0e717f701e2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | Ex5_9.sce | clear
//
//find the total weight and airfuel ratio
//given data
O2=409.9
lb=0.231
w=409.9
W=w/lb
AFR=W/120.
printf("\n \n total weight %.2f ",W)
printf("\n \n air fuel ratio %.2f ",AFR)
|
122ca233c1714df563cbbddc3ffd133372cc3898 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH12/EX12.7/C12P7.sce | 741ebc0276fc752d43bb2178d1d532a036137199 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | C12P7.sce |
clear
clc
//to find speed of ball
// GIVEN:
//refer to problem 9-10
//mass of disk
M = 2.5//in kg
//distance of fall
y = 0.56//in meters
//mass of block
m = 1.2//in kg
//acceleration due to gravity
g = 9.8//in m/s^2
// SOLUTION:
//applying conservation of mechanocal energy principle
//speed of blo... |
5b055ed978b658207cf3a019cf52b9c442661436 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.4.b/solution7_4.sce | d9a2ee3c36cefa4c2d1e9f53f46d1b1805e2acab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,010 | sce | solution7_4.sce |
//Function to standardise the given bolt-size
function[v] = standard(w)
v = ceil(w)
rem = pmodulo(v,10)
if (rem ~= 0) then
v = v + (10 - rem)
end
endfunction
//Obtain path of solution file
path = get_absolute_file_path('solution7_4.sce')
//Obtain path of data file
datapath = path + fi... |
ec1d511d0a671b9608771faf6827ced6547e2105 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH6/EX6.2/Ex6_2.sce | 7ec6d54ff0e4798f412aeee6a965204916e7eb7b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | Ex6_2.sce | clc;
clear;
lambda=6000*10^-10 //wavelength in m
myu_0=1.554 //refractive index
myu_e=1.544 //refractive index
//calculation
d=lambda/(4*(myu_0-myu_e))
mprintf("The thickness of the quarter wave plate is = %1.1e m",d)
|
6c124e644c4818615eae871ff726546f0927779a | 93640402789b9a9d07c82958f433765f1e2a8397 | /part 1/ALUcore.tst | 98acb2e1b7f505655f62aef480f5165b8e67d921 | [] | no_license | Slayingripper/Z80-CPU | 7a6b71f9e59850c3d4492a7f1867f4e81be278ba | 451873966cf071f8088407300629994a8d33f13c | refs/heads/master | 2020-05-04T02:42:27.419333 | 2019-04-01T19:27:22 | 2019-04-01T19:27:22 | 178,932,396 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,710 | tst | ALUcore.tst | // This file is adapted from part of www.nand2tetris.org
// and the book "The Elements of Computag Systems"
// by Nisan and Schocken, MIT Press.
load ALUcore.hdl,
output-file ALUcore.out,
compare-to ALUcore.cmp,
output-list a%B1.4.1 b%B1.4.1 carryIn%B3.1.3 sums%B3.1.3 ands%B3.1.3 xors%B3.1.3 ors%B3.1.3 out%B1.4.1 carr... |
bfac6e478a776beede232232da106c2d5e5a6ff9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3866/CH10/EX10.2/Ex10_2.sce | fa676b449862a0022e53e402423f785aec2fb77f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 818 | sce | Ex10_2.sce | clc; clear; close;
Ceff=1;//in fF/um
Cint=0.2;//in fF/um
Cg=2;//in fF/um
Wn=0.8;//in um
Wp=0.4;//in um
Lwire=20;//in um
reff=12.5/2;//in kiloohm
rsq=0.054;//in ohm
Cfan=4*Cg*(Wn+Wp);
disp(Cfan,'Fanout Capacitance(in fermifarads)=');
Cself=Ceff*(Wn+Wp);
disp(Cself,'Self Capacitance(in fermifarads)=');
Cwi... |
565e650142d8d82d4e2ccffbfd46058151409b8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH8/EX8.15/15.sce | 2f0573645fdcefb19b3732c3f2fd7d19f5907676 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | 15.sce | clc
clear
//input
v=14 //voltage
//calculation
v0=v*sqrt(2)//rms value
//output
printf("rms value of ac is 14 V")
printf("\n the peak value of ac is %3.3f V",v0)
|
a86de30943d1fcf8d031c5875dd84ca4cd7aef50 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-TimeSeries/FLARIMAUdt-NZ-01.tst | 368701a61eb3779ffd97cadeb53461582a999efb | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,191 | tst | FLARIMAUdt-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
... |
cbed5c6f650a9ca9dfa921935d4ebea818407cb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH2/EX2.3/2_3.sce | ebe340860a8861e6aa77b6fac0793f33ec8ed8bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,094 | sce | 2_3.sce | clear;
clc;
printf("\t\t\tExample Number 2.3\n\n\n");
// heat transfer through a composite wall
// illustration2.3
// solution
// 1. heat transfer through studs for unit depth
l = 0.0413;// [m] length of wood studs
b = 1.0;// [m] unit depth
A = l*b;// [square meter] area of studs for unit depth
hi = 7.5;// ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.