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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ef666a5218c3695d75d761c7b349de5b41475146 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH6/EX6.15/Ex6_15.sce | 11b0324392f619b087e8dbf618f86a6975403360 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sce | Ex6_15.sce | // Given:-
P1 = 1.00 // pressure of entering air in bar
T1 = 293.00 // temperature of entering air in kelvin
P2 = 5.00 // pressure of exit air in bar
n = 1.3
R = 8.314/28.97
// From table A-22
h1 = 293.17 ... |
81226fa19933c5b2a069adb565f0ef37b8ad1c13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH3/EX3.4.2/3_4_2.sci | 31158953de76934702124b5f952022f01a3e99c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sci | 3_4_2.sci | //page 175
clear;
close;
clc;
disp('Any permutation matrix is an orthogonal matrix.The columns are certainly unit vectors and certainly orthogonal-because the 1 appears in a differnt place in each column')
P=[0 1 0;0 0 1;1 0 0];
disp(P,'P=');
disp(P','inv(P)=P''=');
disp(P'*P,'And,P''*P=');
//end |
56ffb2f2a2794c8d3aa906cf1b7aa0f540775f10 | d110546d747d7e3865ce5742d5fca09f404623c0 | /tests/integration/files/file/base/validate-saltcheck/saltcheck-tests/check_all.tst | 18821ad40686fd7d9137cf09b13edc4c4ae69c57 | [
"Apache-2.0",
"MIT",
"BSD-2-Clause"
] | permissive | saltstack/salt | 354fc86a7be1f69514b3dd3b2edb9e6f66844c1d | 1ef90cbdc7203f97775edb7666db86a41eb9fc15 | refs/heads/master | 2023-07-19T20:56:20.210556 | 2023-06-29T23:12:28 | 2023-07-19T11:47:47 | 1,390,248 | 11,026 | 6,296 | Apache-2.0 | 2023-09-14T20:45:37 | 2011-02-20T20:16:56 | Python | UTF-8 | Scilab | false | false | 138 | tst | check_all.tst | check_all_validate:
module_and_function: test.echo
args:
- "check"
kwargs:
assertion: assertEqual
expected_return: 'check'
|
94a94b6cd988c0fa5c9b8c3130492c51d072c546 | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH3/EX3.13/example3_13.sce | 09d75526db3a18e045bc3f49c8f1bf3d440267fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sce | example3_13.sce |
//Given Data
clc;
Im=100e-6;// FSD=100 micro amps
e=1;// specified accuracy
//calculation
for n=1:2
I=Im/n;//indicated current
Ie=(e/100)*Im;//error current
Imax=I+Ie;//actual measured maximum current
Imin=I-Ie;//actual measured minimum current
eI=(Ie/I)*100;//Percentage error in the measured curr... |
b31ba9df86628c1ca2ea92b7f2414bf2b65c2cca | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 2/FirstQuestion.sce | fab6b7cc2c22b390dd8e31cadb5c1128eeabf5f8 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 793 | sce | FirstQuestion.sce | // José Augusto Câmara Filho - Matemática Industrial
function FirstQuestion()
xdel(winsid())
//comando pra limpar tela
clear
//limpar variáveis
clc
//comando para limpar console
x= linspace(0.5,5.5,50);
// espaço de x
y= x.^5-15*x.^4+85*x.^3-225*x.^2+274*x-120;
// função y
scf(1);
clf(1);
plot(x,y);
//pl... |
1684383d1655e5c343bc4344b7a1672ffb367066 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH14/EX14.35/example14_35.sce | 56137be93d339bea99ccce77d3b9fd94de85a07b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 878 | sce | example14_35.sce |
//example 14.35
//design the distributory using Laecey theory
clc;funcprot(0);
//given
f=0.85; //silt factor
AR=3600; //area for rabi
AK=1400; //area for kharif
delta_r=0.135; //kor depth for rabi
delta_k=0.19; //kor depth for kharif
tr=4; //kor period for rab... |
f2ea26caf947ebf8f6dca99b09c7c47fe81afa21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH6/EX6.2/Example6_2.sce | 14aa16f8f7c5fddde8699825a84b8146e64e96bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example6_2.sce | //Exa 6.2
clc;
clear;
close;
format('v',8);
//Given data :
Z=200*expm(%i*80*%pi/180);//ohm
Y=0.0013*expm(%i*90*%pi/180);//S/phase
P=80*10^6;//W
pf=0.8;//power factor
VRL=220*1000;//V
VR=VRL/sqrt(3);//V
IR=P/sqrt(3)/VRL/pf;//A
fi=acosd(pf);//degree
IR=IR*expm(%i*-fi*%pi/180);//A
YZ=Y*Z;//ohm
Y2Z2=YZ^2;//... |
48f477610086436983d6590dec9cda95570bbdb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH4/EX4.27.ii/Ex4_27ii.sce | abca41f71044fb2fe5f228f04f00e96ee4875fe8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | Ex4_27ii.sce | //Caption: Bit transmission rate
//Example 4.27.ii
//page no 200
//Find bit transmission rate
clear;
clc;
fm=3*10^3;
v=8;
VH=5;
VL=-5;
q=2^v;
fs=2*fm; //Nyquist rate
r=8*fs;
disp("K bits/s",r/1000,"bit transmission rate");
|
17b6fd6e64184dbf0ebd982b7596ef03853fcc10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH2/EX2.8/ex2_8.sce | 4dae7c795f9a018f3e13f0e3404ad66998d1008a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex2_8.sce | // Exa 2.8
clc;
clear;
close;
// Given data
V = 220;// in V
f=50;// in Hz
N2byN1=1/4;
R_L = 1;// in kohm
R_L= R_L*10^3;// in ohm
V_o = 220;// in V
V_s = N2byN1*V_o;// in V
V_m = sqrt(2) * V_s;// in V
V_Ldc = (2*V_m)/%pi;// in V
disp(V_Ldc,"Average load output voltage in V is");
P_dc = (V_Ldc)^2/R_L;// in... |
89b0eb446548b7f5e651e9a54b84ed7a6f6adc62 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/percent/%lssar.sci | b9408b570cc95671a684b48d912e727063a214d8 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 384 | sci | %lssar.sci | //<s>=%lssar(s1,s2)
//<s>=%lssar(s1,s2) calcule la mise en parallele d'un systeme lineaire
//decrit par sa representation d'etat s1 et de la matrice de transfert s2.
//Le systeme resultant admet pour sortie la somme des sorties de s1 et s2.
// y= s1*u+s2*u
//Cette macro correspond a l'operation s1+s2
//!
// origine... |
d00b61cd8d1fd3724b0ecc52050e5cfd5a0b1d73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH23/EX23.2/example2.sce | 6b31b4560d2d7961ea81c456a2af8150e4ca3a82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | example2.sce | // find output voltage of oscillator
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 23-2 , page 897
clear;clc; close;
// Given data
R=10^3;// lamp resistance in ohms
V=2;// lamp voltage in volts
Rb=2*10^3;// feedback resistance in oh... |
46a25b9ea59010e77e30a0dafd484bc8592ad722 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH5/EX5.12/5_12.sce | 37e758cdb346a3ad358cb5307e98175af4522132 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,114 | sce | 5_12.sce | clc
//ex5.12
V_Y=1000; //line to neutral voltage
f=60; //frequency
L=0.1; //inductance
R=50;
W=2*%pi*f; //angular frequency
Z=complex(R,W*L); //complex impedance
phi=atan(imag(Z)/real(Z));
//Balanced wye-wye calculations
V_an=complex(1000*cos(0),1000*sin(0));
V_bn=complex(1000*cos(-2... |
6750f700e097dd064f4c0b0897515941d50d4570 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.8_18.tst | 20f1112a19fbb7be5a6c511968db11fc316dbd12 | [] | 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 | 520,820 | tst | 5.8_18.tst | 8 223:1 406:1 515:1 735:1 841:1 932:1 1205:1 1455:1 1491:1 1530:1 1644:1 1845:1 1943:1 2016:1 2045:1 2047:1 2282:2 2438:1 2457:1 2466:1 2468:1 2904:1 2925:1 2999:1 3045:1 3152:1 3183:1 3471:1 3562:1 3776:1 3963:1 4126:1 4161:1 4241:1 4429:1 4725:1 4873:1 4979:1 5145:1 5209:1 5354:2 5504:1 5506:1 5518:1 5530:1 5684:1 58... |
0f9ca2744a6884321f528798993ee4c4a5be0c66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH1/EX1.6/Ex1_6.sce | c11c4246be53c1cae81f9ea12b29ed7fec973ae2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | Ex1_6.sce | clc;
//page 19
//problem 1.6
//V1(t) = u(t) - u(t - 5)
t = [-5:0.1:5];
V1(t<=0) = 0;
V1(t>0) = 1;
xlabel('t');
ylabel('V1(t)')
subplot(121);
plot2d(t,V1);
//V2(t) = 2*t*(u(t) - u(t - 3))
t = [0:0.1:3];
V2 = 2*t;
xlabel('t');
ylabel('V2(t)')
subplot(122);
plot2d(t,V2);
//Autocorrelation R12... |
f936250ba266f74e890112f4204db7f8351de6a9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/square.man.tst | ccefadcaa49168177c5c9f7c8d99f4d91cc12586 | [
"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 | 120 | tst | square.man.tst | clear;lines(0);
t=[0:0.1:2*%pi]';
plot2d(sin(t),cos(t))
xbasc()
square(-1,-1,1,1)
plot2d(sin(t),cos(t))
xset("default")
|
c177b40b16e84d14778cd1214f06f99432afa54b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH6/EX6.9/Ex6_9.sce | a66b127dc869200961c00b855b2a0ad39dc60073 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,724 | sce | Ex6_9.sce | //Example 6.9
// Nyquist plot for a third order system.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//System transfer function
s=poly(0,'s');
g=syslin('c',1/(s*(s+1)^2));
//The bode plot of the system
fmin=0.01/2/%pi;
fmax=1... |
15e072fd521379df7dcd11b361a9bf5f67991697 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.37/ExampleA37.sce | 4655ca02384ba6e74f0378301ac712066085dae4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ExampleA37.sce | clc
clear
//Page number 486
//Input data
T1=6174;//The temperature of the black body in K
l1=4700;//The wavelength emitted by the black body in amstrong units
l2=1400;//The wavelength to be emitted by the black body in amstrong units
//Calculations
T2=(l1*T1)/l2;//The temperature to be maintained by the ... |
39539f59f2b09d62ab0a59939f3c8c0d5b3dd240 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.24/Ex19_24.sce | 1101cc5d7eb190f8ac3e4381d37501646f958534 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex19_24.sce | //Ex19_24 Pg-969
clc
x=bin2dec('11100') //1st input
y=bin2dec('11010') //2nd input
z=x+y //binary addition
add=dec2bin(z)
disp(" 11100 + 11010 = ")
disp(add)
|
80643a2056fc713153040751123e139c7b4f1a60 | b74b2ace796d50f1d2550b2ac8747b0c55e7faa7 | /macros/plotdeploy.sci | 622a502d24b0258f312a2e7f5b40ea09d6b5fe27 | [] | no_license | slevin48/plotdeploy | 2f1a5aea6b14b540b7890a86c588e8361e237152 | 2bbba304a9151beb4b01104746ea41f95d73bd78 | refs/heads/master | 2023-02-14T22:09:40.476472 | 2021-01-08T19:00:04 | 2021-01-08T19:00:04 | 263,965,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sci | plotdeploy.sci | function plotdeploy(f,herokuapp)
// f: figure to deploy
// name: name of the figure to save and URL to deploy
// f = gcf();
if type(f)==9
// check that f is a valid handle on a graph
if ~isdir(SCIHOME+'\plotdeploy\')
gitinit(herokuapp)
cd(SCIHOME+'\plotdeploy')
... |
87b9004945a47a339152f41844b8d45cb0eceb39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH5/EX5.8/Example5_8.sce | 8d22249b656416368d23305f501c98e3c5344654 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 860 | sce | Example5_8.sce | //Given that
g = 9.8 //in m/s^2
m = 72.2 //in kg
//Sample Problem 5-8a
printf("**Sample Problem 5-8a**\n")
scale_read_b = m *g
printf("The reading of the scale in case a is %f ", scale_read_b)
//Sample Problem 5-8b
printf("**Sample Problem 5-8b**\n")
//N - mg = ma
a_U = 3.2 //in m/s^2
scale_read_c_U =... |
7e8425596ff442015c2d37ebac7458c232d01689 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH7/EX7.19/Ex7_19.sce | bb35360ee1512adc304fa093ac0f56a6e53a260e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 984 | sce | Ex7_19.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 7 Example 19")
T=(200+273);//temperature of water in K
disp("clapeyron equation says,h_fg=T*v_fg*(dp/dT)_sat")
disp("from steam tables,vg=0.12736 m^3/kg,vf=0.001... |
a68e5aa59416a1fe325ba00823b81d0339ffedc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH9/EX9.5/Ex9_5.sce | 1e59f35015188086bd99c6264904f53fadcf7a1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 900 | sce | Ex9_5.sce | //Example 9.5: Reduction of state table
clc // Clears the console
disp("Given State Table")
disp("q | x=0 x=1 | x=0 x=1")
disp('-----------------------------------------')
disp("A | B D | 0 0")
disp("B | E D | 1 0")
disp("C | B ... |
d96350510b54604104a7fe0049ffbcd36279a018 | 1b3c63cb7f854378c5f1991637692ae2bf8265ac | /realp/realp.sci | 65c699e16575fb93aca80d432829d605e108d456 | [] | no_license | FOSSEE-Internship/FOSSEE-Control-Systems-Toolbox | 9900107267e5f508f77858d128e01293966e9e10 | 2878a38e4e55806b1777f9da2e0395f321e1c952 | refs/heads/master | 2020-12-02T18:20:34.659219 | 2017-10-26T12:26:57 | 2017-10-26T12:26:57 | 96,516,803 | 0 | 1 | null | 2017-10-26T13:44:56 | 2017-07-07T08:24:44 | Scilab | UTF-8 | Scilab | false | false | 4,439 | sci | realp.sci |
function [var] = realp(paramname,initvalue,maximum,minimum,free)
//real tunable parameter
//
//Calling Seqence
//P=realp(name,initialvalue)
//P=realp(name,initialvalue,max)
//P=realp(name,initialvalue,max,min)
//P=realp(name,initialvalue,max,min,free)
//
//Parameters
... |
439809c2f9a37e039e5ad9b6999fb725abe8e636 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH1/EX1.10/Ch01Ex10.sce | 818b4ace0e66c87295779f7d1727374641691a99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | Ch01Ex10.sce | // Scilab Code Ex1.10: Page:30 (2011)
clc;clear;
c = 3e+008; // Speed of light in vacuum, m/s
tau0 = 2.5e-008; // Mean lifetime of meson at rest, m/s
v = 0.8*c; // Velocity of moving meason, m/s
tau = tau0/sqrt(1-v^2/c^2); // Mean lifetime of meson in motion, m/s
N0 = 1; // Assume initial flux of ... |
841fb042ce3565db8c7820a8bb795d987697b8eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/221.sci | 0d4779816f9d4f47821b6489c98b4c9f6862793f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 22 | sci | 221.sci | AcclInitial=1 //cm/s^2 |
c13d569b4dfe3a99ff3b32309ff74f2b1eb17fe6 | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/mathfnx.tst | 7b371ba643cf13bbdb8391a36ce237d5a10e03ce | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | tst | mathfnx.tst | (unwatch all)
(clear)
(set-strategy depth)
(open "mathfnx.rsl" mathfnx "w")
(dribble-on "mathfnx.out")
(batch "mathfnx.bat")
(dribble-off)
(load "compline.clp")
(printout mathfnx "mathfnx.bat differences are as follows:" crlf)
(compare-files mathfnx.exp mathfnx.out mathfnx)
; close result file
(close mathfnx)
|
21b7a5ade875ac343eed85f1afb0fb18bf6a338d | 1a679c5bea6f6f3d080ec52122a5c04f941f8e67 | /facedetection.sce | 7582eff9d76961fd41c327161e25aa17566afda8 | [] | no_license | Malay1998/Image-Processing-with-Scilab | c34c35d76d2db50f41c9b95b239a0f5e6d203a80 | 4ab83c92212d4fdbb9cb6f75ce06cfced34d0c7c | refs/heads/main | 2023-06-04T04:06:35.361106 | 2021-06-26T22:00:38 | 2021-06-26T22:00:38 | 380,540,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | facedetection.sce | a=imread('group.jpg');
b=detectfaces(a);
[m,n]=size(b);
for i=1:m,
a=rectangle(a,b(i,:),[255,0,0]);
end;
imwrite(a,'groupdet.png');
|
549f315ccebbd89447a13f3cb09b317aa66b655f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH6/EX6.3/6_3.sce | a1e1604b9055700cf695e27fd330496e11b230a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | 6_3.sce | clc
//initialisation of variables
clear
r=1.4
g= 32.2 //ft/sec^2
R= 53.3 //lbf ft/lbm
T1= 760 //R
p2= 2 //lbf/in^2
p1= 3 //lbf/in^2
//CALCULATIONS
V2= sqrt(2*r*R*g*T1*(1-(p2/p1)^((r-1)/r))/(r-1))
//RESULTS
printf ('Velocity in working section = %.f ft/sec',V2)
|
3eb289bf503a15483a505a9c33b84e2219d1ee28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH15/EX15.14/15_14.sce | 3fe55fa355d50e8c9106dd0c3dcf5576e5f3c1de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | 15_14.sce | //Example 15.14
//Second Order Runge Kutta Method
//Page no. 525
clc;clear;close;
deff('y=f(x,y)','y=x-y')
y=1;x=1;h=0.1;
//simple runge kutta method
K1=h*f(x,y);
K2=h*f(x+h,y+K1);
y1=y+(K1+K2)/2
printf('\ny(1.1) by simple runge kutta method = %g\n\n',y1)
//euler cauchy method
K1=h*f(x,y);
K2=h*f(x+h/2... |
02b48903704cd5d8f6e381f8f6b06f63845b5216 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH13/EX13.1/Ex13_1.sce | d9b158eb3f52f06ef80eb1b0133992cd06de57b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | Ex13_1.sce | //Ex13_1
clc
A = 100//amplification gain
A_Beta = 1//for sustain oscillation
Beta = A_Beta/A//feeback ratio
disp("A = "+string(A))
disp("A_Beta = "+string(A_Beta))
disp("Beta = "+string(Beta))
|
18486a6be17c74e4cc002d88c765d156f12e6cb4 | 9182a918c195a40e939d89161585e04a97513ad9 | /example2_nsga2.sce | a56acde09daf12e7b5daa5e3d71027cbcd117050 | [] | no_license | marcellorighi/haps_optimization | 996f7fbae18e8128a4e9d55ceafe0758ea513960 | 0ac1d1053350bbed2d747a1fe1b31b75f47e69a0 | refs/heads/main | 2023-01-02T11:27:55.854626 | 2020-10-21T11:03:08 | 2020-10-21T11:03:08 | 305,994,280 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,367 | sce | example2_nsga2.sce |
function f=induced_power(x)
cl = x(1);
u = x(2);
ar = x(3);
Lift = 1500.;
rho = 0.08; // kg/m^(-3)
nu = 1.5e-5;
powerdensity = 435.; // Wh/kg
q = 0.5 * rho * u^2;
Area = Lift / (cl * q);
span = sqrt( ar * Area);
chord = Area / span;
e = 1 / (1.05 + 0.007*%pi*a... |
fc1244951b329d08ad10730e0aa2b64876928186 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH5/EX5.6/ex5_6.sce | 69fbdc2bb9b68557b84b40849b6d8e8dc90cb214 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | ex5_6.sce | clc;
tS=-10; // initial temperature of ice in degree celcius
ts=0; // Melting temperature of ice in degree celcius
Cs=1.94; // Specific heat of ice in kJ/kg k
m=1000; // Mass of ice in kg
tF=10; // Temperature of water after 24 hours in degree celcius
tf=0; // Freezing temperature of water in degree celcius
Cf=4... |
54e2833e89038dcdec95584ba22088467ae6fe41 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /[MCA-2] Through Hole Tracking Sideways.sce | 977124d58b620a705916fd841947a768db41bac6 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 85,951 | sce | [MCA-2] Through Hole Tracking Sideways.sce | Name=[MCA-2] Through Hole Tracking Sideways
PlayerCharacters=THTS Challenger
BotCharacters=THTS Strafing Target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=THTS Challenger
AddedBots=THTS Strafing Target.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=through_hole_sideways.map
MapScale=1.0
Block... |
a74218784e8559745de9061709f78375146743af | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/GH93DPE/ATWM1_Working_Memory_MEG_GH93DPE_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | 08d4ec602e79fc40ce7b68a880cc85e838d74af7 | [] | 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,386 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#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_monitor... |
b4ba4838437790fbe5cd975089cb71ac9e3395dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH3/EX3.33/Ch03Ex33.sce | 0d2d292f0424640600962ad96d73d27be64a284f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch03Ex33.sce | // Scilab Code Ex3.33:: Page-3.50 (2009)
clc; clear;
N = 12000; // No. of lines on the grating per inch, lines/inch
a_plus_b = 2.54/N; // Grating element, cm
n = 2; // Order of diffraction spectra
theta = 39; // Angle of diffraction for maxima in second order, degrees
// But a_plus_b*sind(theta)=n*... |
0512b5cb44f8ec46e2d085f423f458e18953a16e | 78ff3e16a288175ff606f38ee5ee877d4844773e | /6_chapter/6_04_solution.sce | 7201ec25df2e144abaf31618740d0f956806645c | [] | 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 | 298 | sce | 6_04_solution.sce | //Solution 6-4
WD=get_absolute_file_path('6_04_solution.sce');
datafile=WD+filesep()+'6_04_example.sci';
clc;
exec(datafile)
F_R = beta1 * mdot * V_1 //momentum equation in direction of jet
printf("The force needed to prevent the plate from moving horizontally due to water stream is %1.0f N", F_R) |
9fb4096ec892756d3d519be1c33354c9478f5e88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.28/28.sci | 6e6100f18a7df4fc8095c8e10c3c28291549f8f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sci | 28.sci | clc;
clear all;
disp("Heat transfer flux")
L=0.2;//m
t1=1350;// degree C
tcf=40;// degree C
k=1.35;// W/(m*C)
//q=(t1-t2)/(L/k)=(t2-tcf)/(1/h)
//(1350-t2)/(0.2/1.35)=(t2-40)*(7.85+0.08*(t2-40))
//t2^2+102.5*t2-116231=0
t2=(-102.5+(102.5^2+4*116231)^0.5)/2;
q=(t1-t2)/(L/k);
disp("W/m^2",q,"rate of heat trans... |
a6c7a886002f9c939245f38f311ecaa8aa384e44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH3/EX3.11/Ex3_11.sce | eb34a609cb60b33da4b385ba2b955524e46b9780 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | Ex3_11.sce | //Example number 3.11, Page number 6.36
clc;clear;close
// Variable declaration
Tc1=4.185 // K
M1=199.5// unitless
M2=203.4// unitless
// Calculations
Tc2=Tc1*(M1/M2)**(1/2) // in K
// Result
printf("New critical temperature for mercury = %0.3f K",Tc2)
|
08717969cfb9ea253d0c46399add46b150e2fbed | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH9/EX9.1/9_1.sce | 6928788342ea3632083ae554233f72ba255e472f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 994 | sce | 9_1.sce | // example:-9.1,page no.-462.
// program to compute the propagation constant,phase velocity and bloch impedence.
Co=2.666*10^-12;
d=0.01;c=3*10^8;
Zo=50;f=3*10^9;
p=(Co*Zo*c)/(2*d); // constant of equation given below.
y=0:0.001:0.96;
x=acos(cos(y)-p.*y.*sin(y)); // x=ko*d; and y=beta*d;
subplot(2,1,1)
plot2d(x,y,style... |
1e6749fa2aba101f726934aa997c44225a9e042b | 04e4dfecf86c47abbad9ad721bcbc552300a8834 | /imc_controller/imc.sci | a0f782f62d6d860764ecec63997351d18c8819c1 | [] | no_license | rupakrokade/scilab_local_codes | 702f741a5cadc6da56e428f7379971818238ff22 | 4de8383487def7f18a1f19906397ed4eaf42480e | refs/heads/master | 2021-01-19T06:58:47.689324 | 2015-10-24T11:55:34 | 2015-10-24T11:55:34 | 26,806,574 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sci | imc.sci | mode(0)
function [temp] = imc(setpoint,fan,alpha)
global temp heat_in fan_in C0 u_old u_new e_old e_new e_old_old
global heatdisp fandisp tempdisp setpointdisp sampling_time m name
e_new = setpoint - temp;
b=((1-alpha)/0.01163);
u_new = u_old + b*(e_new - (0.9723*e_old));
u_old = u_new;
e_old = e_new;
heat = u_n... |
2ec6daa4d265a06bf40ef249a3f89e46c8647b92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH4/EX4.5/exp_4_5.sce | 96cd5fc1660e3fd918a74929809bfd5e5cb72e18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | exp_4_5.sce | clear;
clc;
phi=-36.87;
v=33;
l=1000;
pf=0.8;
r=20;
xl=50;
i=(l/(sqrt(3)*v*pf));
Vr=v/sqrt(3);
Ir=i*complex(.8,-.6);
Vs=(Vr+((complex(r,xl)*Ir)/1000))*sqrt(3);
reg=(((sqrt((real(Vs)^2)+(imag(Vs)^2)))-v)/v)*100;
loss=((real(Ir)^2)+(imag(Ir)^2))*r;
Ps=(l*1000)+loss;
eff=((l*1000)/Ps)*100;
mprintf("sen... |
2d1571955b45ffca6dd247509590f7a32f4cf367 | 59b742e36fbe9d77cb51ec949c6625f665133d2b | /Resultados/results_LocGlo_3/results/3/g20-4/result2s0.tst | 55224ce655d1006ab2af8977884abd12b219bf47 | [] | no_license | Tiburtzio/TFG | 3132fd045de3a0e911e2c9e23e9c46e1075a3274 | 864ce4dd00b7f8fe90eafa65b11d799c5907177e | refs/heads/master | 2023-01-03T12:44:56.269655 | 2020-10-24T18:37:02 | 2020-10-24T18:37:02 | 275,638,403 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 790 | tst | result2s0.tst | @relation unknow
@attribute age real[29.0,77.0]
@attribute sex real[0.0,1.0]
@attribute cp real[1.0,4.0]
@attribute trestbps real[94.0,200.0]
@attribute chol real[126.0,564.0]
@attribute fbs real[0.0,1.0]
@attribute restecg real[0.0,2.0]
@attribute thalach real[71.0,202.0]
@attribute exang real[0.0,1.0]
@attribute old... |
9b65550afc15a48db7e75dcf3c74bb4f1736a9b4 | cc2d34f24c651a9d4b81fc3ebd32ef5a23c5ef13 | /SCILAB5/test_manager.sci | 9b21df2bd75329b56829d5c16aa6d8a1365ee0f4 | [] | no_license | b4ss3k/D_DSP | 85cfacf4e948109faa33cbc424390b44f53cc197 | aabcc12fe0305e29713de6c0538428dd9ef323d3 | refs/heads/master | 2020-04-06T04:46:40.053395 | 2015-08-05T01:24:16 | 2015-08-05T01:24:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,157 | sci | test_manager.sci | //
//Example of how to use the fsfirlin macro for the design
//of an FIR filter by a frequency sampling technique.
//
//Two filters are designed : the first (response hst1) with
//abrupt transitions from 0 to 1 between passbands and stop
//bands; the second (response hst2) with one sample in each
//transition band ... |
b0642e62cee83500fbb9f07eb58ddbbbdde40948 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/ATWM1_Working_Memory_MEG_QV30CLT_Session2/ATWM1_Working_Memory_MEG_RestingState_EyesOpen.sce | e821e304f080e808493d4f0d090e27f03449d83b | [] | 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 | 1,659 | sce | ATWM1_Working_Memory_MEG_RestingState_EyesOpen.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_RestingState_EyesOpen";
#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;
active_butt... |
64a323fb4e3a02a9f28569f1298eca37ca1a61fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH3/EX3.2/exa_3_2.sce | e7c68c56e508cbd2473eabe336600e5946662122 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | exa_3_2.sce | //Exa 3.2
clc;
clear;
close
// given data
format('v',13);
d=3;// in cm
d=d*10^-2;//in m
h=20;// in W/m^2K
T1=140;// in degree C
T2=100;// in degree C
L=15*10^-2;// in meter
T_infinite=30;// in degree C
// Let at
x=0;T_0=T1;
x=15;//in cm
x=x*10^-2;// in m
T=100;// in degree C
rho=%pi*d;
A=%pi*d^2/4;
... |
0844c390f804ce906b955025839e62b15b62b99a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH2/EX2.3/exa_2_3.sce | 7b4aa1de666b9b84b93ddf62bb217e3dfcdb0362 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | exa_2_3.sce | // Example 2.3
clc;
clear;
close;
// Given data
P1= -4+101.3;// in kN/m^2
V1= 96+475;// in cm^3
V2= 96;// in cm^3
// Formula P1*V1 = P2*V2
P2= P1*V1/V2;// in kN/m^2
disp(P2,"Pressure at the end of the compression stroke in kN/m^2 is : ")
disp(P2*10^-2,"and in bar : ")
|
9c4ccd3bbb600f3ef4572c8e869eecdf59a88aae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH12/EX12.6/12_6.sce | 90ef0d666b24fb7fc55b014d4a35eb8b81f38cf9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12_6.sce | clc
//initialisation of variables
p1=27.0//psia
p2=90//psia
h1=23.90//Btu
h2=79.36//Btu per lb
h3=0.1720//Btu
h4=89.02//Btu per lb
w=18.03//lb per min
d=42.4//tond
//CALCULATIONS
W=w*(h4-h2)//Btu per min
H=W/d//hp
//RESULTS
printf('the horse power is =% f hp',H)
|
122c1c33c23088855ceefbd86f9ef33d23b91d10 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH2/EX2.17/ex17.sce | aa51e9fd8b957173584dfa6cb335f3790d53f94e | [] | 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 | 159 | sce | ex17.sce | errcatch(-1,"stop");mode(2);
A=[1 3 0;-1 2 1;0 0 2]
B=[2 3 4;1 2 3;-1 1 2]
disp("AB= ")
A*B
disp("BA= ")
B*A
disp("ly AB is not equal to BA")
exit();
|
b32f882e2f2cb595f46486437b7bc5f9440466a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH1/EX1.7/ex1_7.sce | d94f14d48cac656a8f701321d0a05a6f923efd00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | ex1_7.sce | //Example 1.7:
clc;
clear;
close;
//given data :
format('v',6)
//Nd1=Nc*exp^-(Ec-Ef1)/kT ...Formula Used
Nc=1;//assume
kT=0.03;//eV
EcEf1=0.5;//position of Fermi level in V
Nd=1;//assume
Nd1=3*Nd;//After tripling the donor concentration
EcEf2=(EcEf1-(kT*(log(Nd1/Nd))));//in eV
disp(EcEf2,"new position of Fermi-level i... |
00ca2b6c7c2be992c52b588516c15c91695137fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH5/EX5.6/exa5_6.sce | e3a283adfc75adfe2ab6ffff105c90434d562ba0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | exa5_6.sce | // Example 5-6
// Unit Ramp response of a second order system
clear; clc;
xdel(winsid()); //close all windows
// Please edit the path
// cd "/<your code directory>/";
// exec("plotresp.sci");
s = %s
G = syslin('c', 2*s + 1, s^2 + s + 1);
t = 0:0.05:10;
plotresp(t,t,G,'Unit ramp response of G = (2*s + 1) / (s^2 + s ... |
784743e68e5f4bf69a913ce4713123ebd5d5fc28 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/poly2lsf.sci | 69288f35ef78d6420f881cae30a5c79a4942512b | [] | 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 | 2,063 | sci | poly2lsf.sci | function lsf=poly2lsf(a)
//poly2lsf Prediction polynomial to line spectral frequencies.
// Calling Sequence
// lsf = poly2lsf(a)
// Parameters
// k: define the prediction polynomial.
// lsf: returns corresponding line spectral frequencies.
// Examples
//X = [0.5 0.3 0.8 0.9 0.4 0.05];
// lsf = poly2lsf(X)
// See als... |
e1c9eaf41c9a70557dd3598269e2eba6e71ec091 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH7/EX7.1/Ex7_1.sce | 9b386456b424bea7fcece87c5966b39a4d971320 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | Ex7_1.sce | clc;
close();
//page no 227
//prob no. 7.1
t=linspace(0,20);
function {theta]=theta(t) //function for instantanious phase
theta=3*%pi*t^2;
endfunction
function {fs]=frequency(t) //function for instantanious phase
Ws=6*%pi*t;
fs=Ws/(2*%pi);
endfunction
subplot(2,1,1)
plot(t,theta,1);
xt... |
fffded4ef59ab966996c9ad87915892f1e9e5a3e | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.7_5.tst | c8e70d98257193d96f06b011190c6aca0174ff6b | [] | 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 | 5,790 | tst | bow.7_5.tst | 7 1:0.16666666666666666 2:1.0 3:0.029411764705882353 5:2.0 8:0.3333333333333333 14:0.16666666666666666 43:0.2 46:1.0 50:0.75 51:0.3333333333333333 55:1.0 57:0.16666666666666666 73:0.2 84:1.0 96:0.6666666666666666 105:2.0 113:2.0 124:1.0 156:1.0 161:0.5 241:2.0 253:0.5 261:0.06666666666666667 276:1.0 282:0.25 302:1.0 30... |
ca714152037dc0e361339bf4416522a4693f8dce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH8/EX8.3/Ex8_3.sce | 5221ec15f1ac6f9b857af6626d6a38997ab1ac9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | Ex8_3.sce | //===========================================================================
//chapter 8 example 3
clc;clear all;
//variable declaration
T = 0.5; //time in hours
V = 220; //voltage in V
I = 5; //current in A
P = 525; //consumption registered in Wh
P1 =0.525; //consumptio... |
facfac3d76eccadd8dd390cae0d238ac12537f81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH6/EX6.10.13/exa6_10_13.sce | c6ceec01dd06df21ab0679a6079ddbe02e2f7b2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | exa6_10_13.sce | //caption:determine_K,ts,tp,Mp
//example 6.10.13
//page 184
clc;
syms K;
s=%s;
G=sym('K/(s*(s+6))');
H=0.2;
CL=G/(1+G*H);
CL=simple(CL);
Wn=sqrt(K/5)
zeta=0.7//(given) damping ratio
//2*zeta*Wn=6
Wn=6/(2*zeta);
K=Wn^2*5;
ts=4/(zeta*Wn);//settling_time
Mp=exp((-zeta*%pi)/sqrt(1-zeta^2))*100;//%_peak_over... |
fa6ac2fcee71b239aacdecce1e1095f8fd126730 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH11/EX11.1.i/I11_1.sce | ed47f8d04288dfc59c52da8a87962f54afb52c1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | I11_1.sce | clc
//Initialization of variables
kf=8.18*10^8 //L/mol s
kb=2*10^6 //s^-1
//calculations
K=kf/kb
//results
printf("Equilibriu constant for dimerization = %.1e ",K)
|
25efdf61ac866ba62499df8660f1aaa6057d3608 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.26/Ex7_26.sce | 7485ee2b10e259811f6054362c1b1b0edd379faa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,509 | sce | Ex7_26.sce | //Example 7.26
// A reduced order estimator design for pendulum
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space representation
w0=1;
F=[0 1; -w0^2 0];
G=[0 1]';
H=[1 0];
J=0;
n=sqrt(length(F));//order of the system
... |
83f24cea07774e9d218af75951438698b738e515 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH4/EX4.4/ex_4_4.sce | 343453e123d5c159fc03bcebd1597ad1e6710684 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_4_4.sce | clear;
clc;
syms N n z a;
x=a^n;
X=symsum(x*z^-n,n,0,N-1)
//pole zero map for N=8,a=2,
z=%s;
X1=%s;
X1=0;
for i=0:7
X1=X1+(2*z^-1)^i
end
plzr(X1) |
74e32541912ab7e2fc433d9f827048bcb7fd4c76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH2/EX2.11/11.sce | ff75c903275d724ab6b965fc167e0ee24d2d368a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,707 | sce | 11.sce | clc
clear
//Input data
M2=2 //Exit mach number
At=1000 //Throat area in cm^2
Po=0.69 //Stagnation pressure in bar
To=310 //Stagnation temperature in K
k=1.4 //Adiabatic Constant
R=287 //Specific gas constant in J/kg-K
Cp=1.005 //Specific heat capacity at constant pressure in kJ/kg-K
//Calculation
t1=... |
062f03f21afc3406d1c2d46ee6133bafc0dbc313 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH10/EX10.24/10_24.sce | a0950ab1de3da0bd67fd5f4d6e81d432664e2aa8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 765 | sce | 10_24.sce | //To find radii and axial thrust
clc
//Given:
n=2, mu=0.255
P=25*1000 //W
N=3000 //rpm
r=1.25 //Ratio of radii, r1/r2
p=0.1 //N/mm^2
//Solution:
//Calculating the angular speed of the clutch
omega = 2*%pi*N/60 //rad/s
//Calculating the torque transmitted
T=P/omega*1000 //N-mm
//Calculating the inner radius... |
d6ff218629351a767f87f72cc160373d80a1e46f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Electronic_Devices_J._B._Gupta_1787.zip/Fundamentals_Of_Electronic_Devices_J._B._Gupta_1787/CH6/EX6.13/Exa6_13.sce | 687433f8931766583032d79a2f61a4089a5692d5 | [] | 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 | 193 | sce | Exa6_13.sce | errcatch(-1,"stop");mode(2);//Exa 6.13
;
;
//given data
delVCE=10-5;//in Volts
delIC=5.8-5;//in mA
rin=delVCE/delIC;//in Kohm
disp(rin,"Dynamic output resistance in Kohm : ");
exit();
|
b50de7828a506baf7382c3032c51e69de9231ff0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH7/EX7.3/Ex7_3.sce | 00664b68fac856d89df2b014e3bd1d61cff3c0ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 998 | sce | Ex7_3.sce | clc
nbo = 2.25*10^3
disp("nbo= "+string(nbo)+"cm^-3")//inializing value of majority carrier densities for the base in npn transistor
peo = 112.5
disp("peo= "+string(peo)+"cm^-3")//inializing value of majority carrier densities for the emitter in npn transistor
pco = 2.25*10^4
disp("pco= "+string(pco)+"cm^-3")//in... |
5179fb7f8cde548c51856687aa1702893d3dfd84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH3/EX3.6/ex_3_6.sce | b9c824f799ed107de4537e6be02403c3bde80b5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | ex_3_6.sce | //example 3.6//
//how to convert exor gate to not//
clc
//clears all variables//
clear
//clears the screen//
disp('here if we look at truth table of ex-or gate we notice that if one of its input is tied to logic 1 then the reult is that of a not gate') |
eadba150e74db00b37c6ef44e170788acda7e0bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH10/EX10.8/Ex10_8.sce | 916e6bd9d547100b0012b0c6075d25f2a97c6741 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | Ex10_8.sce | clc
Ps=4.241 //in kPa
pw2=Ps
P=101.325 //in kPa
pa=P-pw2
w2=0.622*(pw2/pa)
mprintf("w2=%f kg H2O/kg dry air\n",w2)//ans vary due to roundoff error
hfg2=2430.74
hg1=2574.4
hf2=125.66
Cp=1.005
T1=40 //in celsius
T2=30 //in celsius
w1=(Cp*(T2-T1)+w2*hfg2)/(hg1-hf2)
mprintf("w1=%f kg H2O/kg dry air\n",w1)//an... |
667f6cd349e081faa35b5faf51ca8ba35f8fa4d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH8/EX8.4/8_4.sce | 0f8fea7bb275e0a07efe55b06373589fda048b9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | 8_4.sce | //clc();
clear;
//To calculate angle of acceptance
n1=1.563; //refractive index of core
n2=1.498; //refractive index of cladding
NA=sqrt(n1^2-n2^2);
theta0=asind(NA);
printf("angle of acceptance is %f degrees",theta0);
|
cdd00a2bf23c4d19820e50c9eb8d359632926c1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH14/EX14.8/Example14_8.sce | 84d0e2f111b126fb39679f2f5f127d54edbce003 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | Example14_8.sce | //No of poles p, No of slots 'slots', Number of coil sides per slot cps
//Number of turns in each coil nc
close();
clear;
clc;
p = 4;
a = p;
n = 720;
phi = 0.020;
slots = 144;
cps = 2;
nc = 2;
z = slots*cps*nc;
E = phi*n*z/60*(p/a);
mprintf('Inductor Voltage E = %0.2f V',E); |
de8a101eecc2a786b343c243ec550650591e5425 | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH11/EX11.11/example11_11.sce | 2583f265caa5b16d6b770e712a01c18f156cbe81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | example11_11.sce | disp('chapter 11 ex11.11')
disp('given')
disp('design a bandpass filter to have f1=10.3kHz f2=10.9kHz")
f1=10300
f2=10900
disp("select C1=C2=1000pF")
C1=1000*10^(-12)
C2=1000*10^(-12)
disp("fo=sqrt(f1*f2)")
fo=sqrt(f1*f2)
disp('Hz',fo)
disp("R5=R6=1/(2*%pi*C1*f1)")
R6=1/(2*%pi*C1*f1)
R5=R6
disp('ohms',R6)... |
ec556a3532911466a4f686c2e4fea10e11ebdf0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH9/EX9.6/Ex9_6.sce | fd38d2e94f3e563f019bdb3e3ba036aa7d3221db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | Ex9_6.sce |
//Exa:9.6
clc;
clear;
close;
//Given:
Ts=3;//in dB
fs=1/Ts;
printf("\n Ms(f)=p(f)[fs*sigma{M(f-Kfs)}]");
printf("\n 1/(1/30B)*integ(Ae^-j2*pi*f*t)dt from -60dB to 60dB");
printf("\n AsinC(2*pi*f/60B)"); |
4f7b2c39fd667ce992bdf827d52aa47341b593a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH2/EX2.5/Ex2_5.sce | 61e10018836497df8a8c76e406dae2feb6189ff1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | Ex2_5.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 2 : BESICS OF MAGNETIC CIRCUITS
// Example : 2.5
clc;clear; // clears the console and command history
// Given data
I = 15 // current through conductor in A
N = 10 ... |
5118c771903773ecff4bbe19a3dfd62f70f8828a | b4be5ed282b4c531c0d140038804106b52e5e9be | /frd.sci | 405212b0549f9629621460c9f2518f190172ea31 | [] | no_license | solothinker/compare | 9df946e9d40f0565d1eb3bcb18cb4891435d8fed | d0b4b633f47aaa2578d39f723c6becd1d3aa2359 | refs/heads/master | 2021-06-24T21:42:05.654744 | 2017-09-08T05:57:35 | 2017-09-08T05:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,315 | sci | frd.sci | function varargout = frd(varargin)
[lhs,rhs] = argn(0)
if rhs < 2 || rhs > 4 then
errmsg = msprintf(gettext("%s: input arguments must have either two or three input arguments."), "frd");
error(errmsg)
end
frequency = varargin(1)
freqUnit = 'rad/TimeUnit'
respData = varargin(2)
... |
7f76c61e66b61cd4c8460a230a25b3337bb58390 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH8/EX8.11/Exa11.sce | d103c3f21210888e0a9f824c480ff65e96168a43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,587 | sce | Exa11.sce | //Exa11
clc;
clear;
close;
disp("Dr. Process A A/c Cr.");
disp(" Amount Amount");
disp(" Rs. Rs. ");
disp("... |
4b4ac4843df4c03a6b798f4078e5f80eab25f02a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH13/EX13.9.1/13_9_1.sce | 1cd6a3a049150aeb9d9ccb967fe1751fe9b9e2b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 13_9_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 13
//Example 13.9-1
//Membrane Seperation Processes
//given data
rhow=997;//density of water in kg/m3
m=0.1/1000;
n=2*m;//NaCl gives 2 ions n in kg mol
Vm=1/rhow;//specific volume
R=82.057/1000;//gas constant
T=298.15;//25 deg C to K
pi=(n/Vm... |
1b7410ab77354ca80f977acdef371e41b3680184 | 1c2f14129944b4f9e630ade470cc86ae5affb4dd | /images/custombutton.sci | b206370088c4040bc6c7dbd41ca10745484d3ba6 | [] | no_license | ronaldoevangelista/geo-app-operation | 1aa7e035f01cab423e23b4da71392251888b80bb | 00941e9101efa26adaba41bfa9b16579a67d691f | refs/heads/master | 2020-07-02T09:51:19.242460 | 2016-11-28T20:40:34 | 2016-11-28T20:40:34 | 74,312,090 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 65 | sci | custombutton.sci | border.left:1
border.top: 1
border.bottom: 1
border.right: 1
|
a257ec9618b2a54c16c4c639119979ad59e16595 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.31/2_31.sce | 0545e0ac513bc08078b017cd350ef465154734c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 747 | sce | 2_31.sce |
clear;
clc;
//Example 2.31
//Calculate:(a) Heat loss per unit length
//(b)Reduction in heat loss
//Given
hi=10 //W/sq m.K
h0=hi //W/sq.m.K
r1=0.09 //m
r2=0.12 //m
t=0.05 //thickness of insulation [m]
k1=40 //W/m.K
k2=0.05 //W/m.K
T1=473 //K
T2=373 //K
Q_by_L=2*%pi*(T1-T2)/(1/(r1*hi)+log(r2... |
ecea83ca86f319532883bcebbf541a65cbe4ef5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH2/EX2.6/2_6.sce | a04b597636cb5ca78c36ef463cc7ef9f97f69a24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_6.sce | clc
//initialisation of variables
F= 100 //lb
x1= 6 //in
x2= 8 //in
x3= 2 //in
//CALCULATIONS
xab= sqrt(x1^2+x2^2)
d= x3*x1/xab
M1= F*d
Fx= F*x2/xab
Fy= F*x1/xab
M2= Fy*xab-Fx*x1
M3= Fy*x3
//RESULTS
printf ('M1 = %.f lb.in',M1)
printf (' \M2=%.f lb.in',M2)
printf (' \M3=%.f lb.in',M3)
|
2d7d9fbb3467a63cd82721b6c47eb31020ce8d80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH12/EX12.1/Ex12_1.sce | ee79b6a9e791b7b3191de2dce49ec583eda26727 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,522 | sce | Ex12_1.sce | //Ex12_1
clc
VEE=15
disp("VEE= "+string(VEE)+" volts") // voltage supply
VCC=15
disp("VCC= "+string(VCC)+" volts") // voltage supply
VHI=+5
disp("VHI= "+string(VHI)+" volts") // output voltage upper limit
VLO=-5
disp("VLO= "+string(VLO)+" volts") // output voltage Lower limit
Vo=-VLO
IZmin=1*10^(-3)
di... |
4eb0b9881d9a168abe808f75e2cf92b90eb06b6d | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testextractrecursive.sce | 31c52d0c3c86c46879a862d0f4842210470adaa6 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | testextractrecursive.sce | lines(10) //to delete
clf;
plot(); // figure with two plots
F=gcf() // handle Figure
A=gca() // handle Axes child of F
F.children(1) // equal to A
E=gce() // handle Compound child of A
F.children(1).children(1) // equal to E
|
99875aa6ed81af4cd489686d20da7f036cb2e63b | 83442a55d012795fa2b8297a6167eb1ee0fac51b | /TEST/all.tst | c801ab7c02008b07c6fe18b0a942507a290a14ca | [
"ISC"
] | permissive | navegador5/nv-task-flooding-promise | 8567ac924b3223ca0fa24f1ca7900460d7c4598e | e23b4344cef9cee66767ff0e1d02fb2b5a8d5dea | refs/heads/master | 2023-03-07T07:11:39.317035 | 2021-02-17T13:22:51 | 2021-02-17T13:22:51 | 337,974,644 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,134 | tst | all.tst | const child_process = require('child_process')
child_process.execSync("npm install ndtreejs")
child_process.execSync("npm install nv-facutil-basic")
child_process.execSync("npm install nv-facutil-cfg")
child_process.execSync("npm install nvjson")
const {FPromise} = require("../index");
const {Cfg} = require("nv-facut... |
d02f8a492bc0d84e32d2db33be6ad0e2df263a9b | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.18_2.tst | 693eaae6e80f001a2c54bb9ab27b7344cc8ef338 | [] | 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 | 4,497 | tst | bow.18_2.tst | 18 5:0.16666666666666666 6:2.0 9:0.5 12:0.058823529411764705 81:0.3333333333333333 511:1.0 777:1.0 1149:1.0 1179:1.0
18 3:1.0 5:0.16666666666666666 6:1.0 27:0.09090909090909091 50:0.14285714285714285 75:1.0 81:0.3333333333333333 84:0.14285714285714285 722:1.0 777:1.0 1541:1.0
18 3:1.0 9:1.0 12:0.11764705882352941 14:0.... |
3e8707d1c3ce5cdd52b0c4f4bbdfe0655b0733d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH6/EX6.4/example6_4.sce | 22b9c0a4e07e6798a6235f6acea4edf7b4e33662 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 779 | sce | example6_4.sce | disp('chapter 6 ex6.4')
disp('given')
disp("precision current sink to be designed")
disp("constant output current=100mA")
Il=.075
disp("maximum load resistance=50ohms")
Rlmax=50
disp("available supply voltage=+/-15V")
Vcc=15
disp("for 2N222N n-channel MOSFET Vdsmax=60 Idmax=150mA Rdon=7.5ohm")
disp("Vdsmax=Vc... |
0d36df8195e9fee999ccbc4e7b71ce8e610fa6c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH14/EX14.2/Ex14_2.sce | 8c94768d38a69c398be10a298a637cab6ecaea77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,051 | sce | Ex14_2.sce | //Ex14_2
clc
n=3
disp("n= "+string(n))// Number of bits
L=2^(n)
disp("L=2^(n)= "+string(L))// Number of quantization levels
VFS=1024*10^(-3)
disp("VFS= "+string(VFS)+" volts") // Maximum value of analog input voltage
disp("part(i)")// Part(i)
LSB=VFS/(2^n)
disp("LSB=VFS/(2^n)= "+string(LSB)+" volts") // L... |
4be4aadb14ed052dc40605e51029ce6698055f39 | bb44d6eb6adf8f21077f2a49f2eb44d2424b2a5b | /poly_val.sci | 10c17a4f96e978ddc8a2a17a57acbf1d9a51109b | [] | no_license | prasadovhal/Scilab-Codes | c8ccc49feba4243d092d8a1eba7a708eb95dc89e | 3af5566d62b1f1b6cf080ec20391c39b9d61897d | refs/heads/master | 2020-03-29T16:50:45.738023 | 2018-09-24T16:05:50 | 2018-09-24T16:05:50 | 150,130,310 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sci | poly_val.sci | function [p]=poly_val(c0,c,x) //c0 ,p ,x are scalars , c is vector
siz = size(c)
N = siz(2)
for (i = 1:N)
c0 = c0 + c(i) * x.^(i)
end
p = c0
endfunction
|
06c1f12b5efa02de4b8f12214c4bfbcd52827a57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.28/Ex9_28.sce | 7218fbb1eba2a697682a83654fedc4e0502f3172 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | Ex9_28.sce | clear
//Given
r=7
I=10
B=100*10**-4
//Calculation
//
A=%pi*r**2
t=I*A*B
//Result
printf("\n Magnitude of maximum torque is %0.2f *10**-3 Nm",t*10**-1)
|
7323590e26666f60285be48a4a164c1da8fb8cdc | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Principals_And_Applications_D._P._Leach_And_A._P._Malvino_45.zip/Digital_Principals_And_Applications_D._P._Leach_And_A._P._Malvino_45/CH5/EX5.8/example_5_8.sce | 5e2298b894145d124d2629ef8e4971364fa5c19a | [] | 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 | 705 | sce | example_5_8.sce | errcatch(-1,"stop");mode(2);//Example 5.8
// the command window
// the variables
a=input("Enter the hexadeci... |
77e6bf94a39a581fd107768f5d1f1631ba9b12d0 | 2401a7577bcc5810032c0c84fc650d841ffb1267 | /11/ConvertToBin/test.tst | c1f9ad1a23ec6c82a3a905783d2f8535d07b4663 | [] | no_license | hkws/nand2tetris | def5fb6742fcd80d27e645105fa046464e2f0ac1 | b340019a976627b9af4ad39cfe5f44082c1fd4a3 | refs/heads/master | 2020-05-17T13:03:24.782919 | 2019-05-25T10:38:41 | 2019-05-25T10:38:41 | 183,727,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 40 | tst | test.tst | set RAM[8000] 12;
repeat {
vmstep;
} |
4194fc2b59b81b375135228dc67e79cfcb6ce79d | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH10/EX10.4/exa10_4.sce | 814d5d882ef0e6ced5e0975545a2ece3d9ebd40a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | exa10_4.sce | // Example 10-4
// Design of servo system with integrator in the plant
clear; clc;
xdel(winsid()); //close all windows
mode(0)
// please edit the path
// cd "<path to dependencies>";
// exec("plotresp.sci");
s = %s;
Gp = cont_frm( 1, s*(s+1)*(s+2));
A = Gp.A
B = Gp.B
J = [-2 + %i*2*sqrt(3) , -2 - %i*2*sqrt(3), -10]... |
8bed2fac616215f904f44c0e766962b85212aec6 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/Self_tuning_controller/ConventionalTuning_Vikas/PIDControllersetpointchange/clientwrite.sce | efbedba213c444c22ae5cf945f4d79b17d828151 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 30,576 | sce | clientwrite.sce | 0.10000E+00 0.10000E+01 0.00000E+00 0.25100E+03
0.10000E+01 0.10000E+01 0.00000E+00 0.10000E+03
0.20000E+01 0.20000E+01 0.39000E+02 0.10000E+03
0.30000E+01 0.30000E+01 0.31309E+02 0.10000E+03
0.40000E+01 0.40000E+01 0.20981E+02 0.10000E+03
0.50000E+01 0.50000E+01 0.29331E+02 0.10000E+03
0.60000E+01 0.60000E+01 0.... |
b0bd0add4d78d7cca61c8e9859c4d3e5be21bd18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH6/EX6.4/Ex6_4.sce | 30a06d6be4875910260c95687c7a5204c40193b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | Ex6_4.sce |
clear//
//Variable Declaration
//The computation is mostly variable based hence values will be directly declared
C1=19.20*10**3 //lb.ft^2
C2=-131.6*10**3 //lb.ft^2
C3=14.7*10**3 //lb.ft^2
C4=-112.7*10**3 //lb.ft^2
EI=10**7 //Flexural Rigidity in psi
//Calculations
v=-(C2*12**3)/(EI*40) //Displacement in ... |
6bbccb18b4724cb90e9d1df9f85fbe70bbe39fd2 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_namedExpr.tst | f7c9d02a20c812395c3c215156ffb0182a109144 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 236 | tst | ok_namedExpr.tst | ; testing that named expressions are in scope
(set-logic QF_UF)
(declare-fun p () Bool)
(declare-fun q () Bool)
(assert (! p :named P))
(assert (! (and q P) :named PQ))
(assert (and (! p :named PP) (! q :named QQ)))
(assert (or PP QQ))
|
f79e74e1839c4da454f1d93f578c6b499c152a22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH20/EX20.6/C20P6.sce | 544798728cce5968ec5c0e5ac0556b145cd523b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 559 | sce | C20P6.sce | clear
clc
//to find momentum of proton
//Given:
//speed of proton
v = 0.86//times c
//speed of light
c = 3.00e8//in m/s
//mass of proton
m = 1.67e-27//in Kg
//Solution:
//appiying fomule for relativistic momentum
//momentum of proton
P = (m*v*c)/(sqrt(1-(v^2)))//in Kg.m/s
//value of pc
Pc = P*c*(6.... |
996cc8b804062b2c2a9c9af1e5b08fa4902f8bba | 6bd47868c9c7b3e9469b27f60a4757816a62060b | /Persamaan Differensial Biasa/RK4.sci | 31cd1108851d923eeaa02c5bb347e3ebc35d67a2 | [] | no_license | fahrioghanial/Program-Metode-Numerik | 555401132e47516ff38ab7d38e1056c16e45ab1a | 83cfe9144c72a3adbabbe71923f32ab6209b02e8 | refs/heads/master | 2023-02-28T16:14:24.353765 | 2021-02-04T08:04:46 | 2021-02-04T08:04:46 | 335,882,015 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 892 | sci | RK4.sci | /*
Nama : Mohamad Fahrio Ghanial Fatihah
NPM : 140810190005
Deskripsi : Program PDB Metode Runge-Kutta Orde 4
*/
clear;
clc;
printf('\nProgram PDB Metode Runge-Kutta Orde 4\n');
b=input('Masukkan nilai x yang akan dicari y(x) nya = ');
h=input('Masukkan nilai h = ');
x0 = 0;
y0 = 0;
x = x0;
y = y0;
n = (b-x0)/h;
fun... |
b752251dd59a73a8e085c0f295538dc98045afbe | d2e0afad774e415c5537ad59409743af8d99a21c | /src/FlexibleCell/test.tst | c1e8fff12cd2a5f2787e240fa7a83ba93fef178c | [] | no_license | alex-precosky/FlexibleManufacturingCell | c64a2de1d85150f294aab080e07e432ccc302d70 | 26e72218ce6e3eccae3da492b704c56b50d1882d | refs/heads/master | 2020-03-21T15:00:54.089989 | 2018-06-26T05:58:26 | 2018-06-26T05:58:26 | 138,689,306 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 55 | tst | test.tst | Item4 : 3.2
Item1 : 1.20
Item9 : 1.20
Item9 : 1.80
|
a2d4fe4b1c6e00fa43c7ab78ccc90c27a9ace0aa | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Devices_And_Circuits_G._S._N._Raju_2534.zip/Electronics_Devices_And_Circuits_G._S._N._Raju_2534/CH2/EX2.8/Ex2_8.sce | 86279512d35889dbe2c468b6515d3494539a2e43 | [] | 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 | 317 | sce | Ex2_8.sce | errcatch(-1,"stop");mode(2);//Ex2_8
C1 = 0.5*10^-6
C2 = 0.5*10^-6
CT = (C1*C2)/(C1+C2)
disp("C1 = "+string(C1)+"F")//capacitance 1
disp("C1 = "+string(C1)+"F")//capacitance 2
disp("1/CT = 1/C1 + 1/C2 = (C1*C2)/(C1+C2) = "+string(C1*C2/(C1+C2))+"F")//series capacitance
// proper ans. = 0.25*10^-6F
exit();
|
710eb19802e5806217a6782c1fb3a6803dbed6e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH15/EX15.9.1/EX15_9_1.sce | 0f6a53984f9770891015830c9716712e1cbd2fc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | EX15_9_1.sce | //Example No. 15.9.1
clc;
clear;
close;
format('v',7);
T=5;//milli-seconds(time period)
c=3*10^8;//m/s///speed of light
H=1/2*c*T*10^-3;//m(Virtual height)
disp(H/1000,"Virtual height in km : ");
|
7fcf93257f0adf53d7079a534b737a1755867c16 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /DANMAKU (Bullet Hell).sce | db5d105b1fe1e1af48bb0fef75eca96bb1419557 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 52,249 | sce | DANMAKU (Bullet Hell).sce | Name=DANMAKU (Bullet Hell)
PlayerCharacters=Quaker
BotCharacters=babbyrotation.rot;basicrotation.rot;bossrotation.rot;babbybot.bot;bossrotation.rot;mediumbot.bot
IsChallenge=true
Timelimit=600.0
PlayerProfile=Quaker
AddedBots=babbyrotation.rot;basicrotation.rot;babbyrotation.rot;basicrotation.rot;bossrotation.rot... |
8cd7afee3daffb551b6f341e2de37ed4e6336ec4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH4/EX4.3/Ex4_3.sce | dd26fcecab520b4ad32737b4052df62846508ee1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | Ex4_3.sce | //chapter 4
//example 4.3
//Find glancing angle
//page 75-76
clear;
clc;
//given
d=3.04E-10; // in mm (spacing constant)
lambda=0.79; // in Angstrom (wavelength)
n=3; // order
//calculate
// Since 2dsin(theta)=n(lambda)
// therefore we have
lambda=lambda*1E-10; //since lambda is in angstrom
theta=asind(n*... |
92bfec933c7743e0896610bad91ce3434a1f72e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH7/EX7.1/1.sce | ae3a7f75543dbcf5e67194a147231a705068e134 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sce | 1.sce | clc
clear
//input data
mp=12 //flow rate in kg/s
Ae=335*10^-4 //exit area in m^2
Ce=2000 //exhaust velocity in m/s
h=10 //altitude in km
Pe=1*10^5 //exhaust pressure in Pa
P0=1*10^5 //p0=atomspheric pressure in Pa at h=0.
P10=0.25*10^5 //atmospheric pressure in Pa using gas tables
//calculations
Fs=mp*Ce... |
6061f4a4573d455585d3af839032715ba69622c8 | 04235b80bb5ac43154dbceab7b2b952b54418bc8 | /planner/irl/entropy/atos.sce | 41ceb0bca347ebc1160e710a113702fb9d2b35c4 | [] | no_license | NO2/dmps | 4370cfc08f2796f8776543d5282efc4a997fadad | 9266714e5ffbc9d5f6109baac2da16651ea6fd4d | refs/heads/master | 2021-03-12T21:31:05.322501 | 2015-03-11T14:43:30 | 2015-03-11T14:43:30 | 32,451,046 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 94 | sce | atos.sce | plo=br(w);
s=zeros(size(plo,1)+1,1);
for j=1:size(s,1)-1
s(j+1)=s(j)+plo(j);
end
disp(s);
|
376e5ca74290ba05ab0b212de81dcae642236060 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH1/EX1.10/Example1_10.sce | 6e3f215fd21ac8ae4b98805da565e022c80faf46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | Example1_10.sce | //Inductance L, Current i, Time after which current reverses its direction T
close();
clear;
clc;
L = 0.05;//H
i = 5;//A
T = 25;//ms
vavg = L*(i-(-i))/(T*10^(-3));
mprintf('Average voltage induced in the inductance, vavg = %0.0f V',vavg); |
79db3c3870507d4c9aa4e0b32763b884b6c71232 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH14/EX14.5/exa14_5.sce | 26a8d80870b5b039fb02ad059b5108cb553e75a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sce | exa14_5.sce | // Example 14.5
// Y Parameters by the Direct Method
R=10;
C=1/40;
s=%s;
// From figure 14.16(b) ,V_2=0;
disp("I_1=(s*C)*V_1---equation(1)")
disp("I_2=2(s*C)*V_1--equation(2)")
// From equation 1 & 2 we get
y_11=s*C;
y_21=2*s*C;
// From figure 14.16(c),V_1=0;
disp("I_1=-(s*C)*V_2---equation(3)")
disp("I_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.