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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bdcf01857e685e34a95396163f46d575a3d0c268 | 74e16a3319b092caef1a70e3dd39e18601fd44c8 | /Simulation1.sce | 25b3f74e8d90a4434e742cb489246e26fcc878a5 | [] | no_license | renluqin/MathematicalModeling | f54e163cd38ae023614d088b9ec017b419407c57 | c5b6e98165cf113d64b0a51f040182af0093b7a8 | refs/heads/master | 2022-12-11T11:59:57.153853 | 2020-08-27T21:14:07 | 2020-08-27T21:14:07 | 290,882,622 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | Simulation1.sce | m = [1;2;3];
K = [2,1,3;1,4,-2;3,-2,8];
C = chol(K)';
Z = zeros(3,1);
i=1;
while i<4
U1 = rand();
U2 = rand();
Z(i,1) = sqrt(-2*log(U2))*cos(2*%pi*U1);
i=i+1;
if (i<3) then
Z(i,1) = sqrt(-2*log(U2))*sin(2*%pi*U1);
i=i+1;
end
end
X = C*Z+m;
|
5bdcbfd85f40b67a2ffc5a905b9bbbb22e6d179f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH7/EX7.23/exp7_23.sce | 6e05b0a243e6edf25300d0baa07640936e3da94c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | exp7_23.sce | //exmaple7.23
clc
disp("E_p(rms) = 230V, N2/N1 = 1/15, R_L=50 ohm")
disp("R_f = R_s = 0 ohm as ideal")
disp("Now, E_p(rms)/E_s(rms) = N1/N2")
e=230/15
format(7)
disp(e,"Therefore, E_s(rms)[in V] = N2*E_p(rms)/N1 = 230/15 = ")
e=15.333*sqrt(2)
disp(e,"Therefore, E_sm(in V) = ")
i=21.684/50
disp(i,"Therefore, ... |
d0c3138807078e6ba5345c75c51b56b6eb9b27b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH8/EX8.8/8_8.sce | ad23acd576eabef221adcdef97664080aef59deb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | 8_8.sce | //clc();
clear;
//To calculate angle of refraction at the interface
n1=1.6; //refractive index of medium
n2=1.55; //refractive index of core
theta1=60; //angle of incidence in degrees
A=sind(theta1);
disp(A);
theta2=asind(n1*A/n2);
printf("angle of refraction is %f degrees",theta2);
/... |
cd2034d2470f5762f8eb64fc636a609dcdce452c | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Newlength.sci | 9e0227e8cbe5d12a9e38b379b380accfd01866ee | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sci | Newlength.sci | function Newlength(varargin)
if length(varargin)==0
Kyorihensuu();
else
FL=varargin(1);
Kyorihensuu(FL);
end
endfunction
|
af2e4c1057bd900df047775da1ff460cb26a41a9 | 3b7b1545dcb8566ea401d03c4e8ecfd81eb452fe | /projects/08/ProgramFlow/BasicIf/BasicIf.tst | 5dc9e3cce0673cae63b85c1f633ff7a0d937470f | [] | no_license | tomatrow/nand2tetris | 8a3b896dded8ffc970c1a9a2ca0d4f06f6005384 | a3d198b448e1c3c7a0a64122f18fefb3240cd0e5 | refs/heads/master | 2021-01-18T14:29:04.799727 | 2015-04-11T23:35:18 | 2015-04-11T23:35:18 | 29,717,469 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | tst | BasicIf.tst |
load BasicIf.asm,
output-file BasicIf.out,
compare-to BasicIf.cmp,
output-list RAM[0]%D1.6.1 RAM[256]%D1.6.1;
set RAM[0] 256,
repeat 600 {
ticktock;
}
output;
|
6375a534a2680937d9f9bb966986bc536b63783f | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/SCHI/MR25NTY/ATWM1_Working_Memory_MEG_MR25NTY_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | 370b1cd72c6726eb9ed18345d8c84a9b7fef2061 | [] | 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 | 48,617 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_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_monito... |
72dd7306dba6cbf5a5c84ed7c2d108ea8d06f8ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH12/EX12.10/12_10.sce | 77461bffab20de23c563d53e6fd5d082e21cf12c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 655 | sce | 12_10.sce | clear
clc
disp('Exa-12.10(a)');
m40K=39.963999; //mass of various particles
m40Ca=39.962591;
c2=931.5; //value of c^2 in MeV
Qb1=(m40K-m40Ca)*c2; //Q value of the reaction
printf('The Q value for -VE beta emission is %.3f Mev \n',Qb1);
disp('Exa-12.10(b)');
m40K=39.963999; ... |
893fe29e5f94ed0c41f0f7b23c86f7d9412f284d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH9/EX9.11/Ex9_11.sce | 7efe34041c652de0fb985c52da2ddfed5a0a775c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,320 | sce | Ex9_11.sce | clc
//initialization of variables
clear
w=10 //cm
s=2.8 //m
P=1 //tonne
Ft=1.4 //cm
Wt=0.8 //cm
Ix=13989.5 //cm^4
Z=699.5 //cm^3
// calculations
BM= 2.8
T=P*1000*8.21
SF=P*1000
BS=BM*10^5/(Z)
sigmaXA=BS*18.6/20
K=w*Ft*19.3+18.6*Wt*9.3
tau_xy_C=SF/(Ix*Wt)*K
tau_xy_A=tau_xy_C*(w*Ft*19.3)/K
tau_xy... |
8166e5886a365a8fcf1b5a080401188b65c72487 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH3/EX3.5/Ex3_5.sce | 2ff383b515d0156d37fcf5a11c81b1c02ef18f70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | Ex3_5.sce | //Initilization of variables
F1=-100 //lb
F2=200 //lb
F3=-200 //lb
F4=400 //lb
F5=-300 //lb
//Distance with respect to point O
x1=0 //ft
x2=2 //ft
x3=5 //ft
x4=9 //ft
x5=11 //ft
//Calculation
R=F1+F2+F3+F4+F5 //lb
M_O=(F1*x1)+(F2*x2)+(F3*x3)+(F4*x4)+(F5*x5) //N-m
//Result
clc
printf('The resultant of t... |
3fe96bae9aa8c7de0d65fb37fc7ea401e41ec33f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.29/Ex5_29.sce | 3aa0e3fac163efb62af9a312a673fc75575e685d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex5_29.sce | clc;
Ef=1.4; // p.u excitation EMF
xs=1.2; // p.u synchronous reactance
p=0.5; // p.u synchronous power being delivered
i=1; // percentage increment in prime mover torque
vt=1; // rated per phase voltage
de=asind((p*xs)/(Ef*vt)); // load angle
dp=(i*p)/100; // increase in p.u real power
ip=(dp/p)*100;
printf... |
876df1443beb3e808283a8ebd8bbaf9266420f45 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH5/EX5.26/Ex5_26.sce | c5b8a12ef1b6062c7eee50079b7b400948178f7d | [] | 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 | 662 | sce | Ex5_26.sce | // Variable declaration
Mean = 50 // Mean of normal distribution
std_dev = 5 // standard deviation of normal distribution
// Calculation
// Computer generates 2 values 0.253 and 0.531 from uniform distribution(can be obtained by reading 3 digits at a time in TABLE-7
u1 = 0.253
u2 = 0.531
// As we know z... |
9bf6a91e5a29d42c2862785d8fe64fb83fd5ad77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH3/EX3.2/Ex3_2.sce | 7fe9cebb4070c993f447fa4a74d5077408bd4c06 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | Ex3_2.sce | clc;
clear all;
//variable declaration
Am = 25.34; //measured value in watts
dA = -0.11; //absolute error in watts
//calculations
A = Am-dA; //True value in wtts
//result
mprintf("abslotue error = %3.2f watts",A);
|
72ad3319310275b1cd63b098ca3ea08159f6cb4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH7/EX7.8/7q8.sce | 644a094a2175daa6b8649becfaff63cc1b2b6c62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | 7q8.sce | clc
//initialisation of variables
e= 0.6
D10= 0.09 //mm
//calculations
k= 2.4622*(D10^2*(e^3/(1+e)))^0.7825
//results
printf ('hydraulic conductivity = % 4f cm/sec ',k)
|
2a139a98e32faf2b71c505a0453cded3b97d8d10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH16/EX16.12/Example16_12.sci | 4aea010494cae251e9a70869a2629b58c0c0754e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,100 | sci | Example16_12.sci | //Chapter 16_Bipolar and MOS Digital Gate Circuits
//Caption : NMOS operating region
//Example 16.12: A NMOS transistor with K=20uA/V^2 and Vth=1.5V is operated at Vgs=5V and Ids=100uA. Determine the region of the operation on I-V characteristics and find Vds.
//Solution:
clear;
clc;
K=20*10^-6;
Vgs=5;
Vth=1.5;... |
e659c65daa498bebf863037eb199820c1fb374f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH8/EX8.6/Ex8_6.sce | 935aed26f52fc70b4a4931d59a7a2e451a501561 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,377 | sce | Ex8_6.sce | clear all; clc;
disp("Scilab Code Ex 8.6 : ")
//Given:
P = 40; //kN
l_ab = 0.4; //m
l_bc = 0.8; //m
//Stress Components:
//Normal Force:
A = l_ab*l_bc;
sigma = P/A;
//Bendng Moments:
M_x = P*l_ab/2;
cy = l_ab/2;
Ix = (1/12)*(l_bc*l_ab^3); //I = (1/12)*(bh^3)
sigma_max_1 = (M_x*cy)/Ix; //sigma = ... |
395cbc46480b7a02464178a3d7c97c1ab5c14d0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH8/EX8.5/Example8_5.sce | b0c48fa9aff0cc2a9fe7ad649bc16a8fe1a0504e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | Example8_5.sce | //Example 8.5
//Program to find the Gain of the Amplifier
clear;
clc ;
close ;
//Given Circuit Data
gm=3000*10^(-6); //S
Rl=22*10^3; //Ohms
rp=300*10^3; //Ohms
//Calculation
//A=-(gm*Rl/(1+(Rl/rp))), For rp>>Rl we get
A=gm*Rl; //with Phase of 180 degrees
//Displaying The Results in Command Window
printf("\... |
2396428c919ce3cee57112e01bf391fb7de74ab4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH13/EX13.4/example13_4cpp.sce | e7179fe77fb29bbc132ea443b6f886cbccf54575 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | example13_4cpp.sce | clc
clear
disp('example 13.4')
pa=50;xgb=0.5;xb=0.1;//given power,reactance of generator
x1=xgb+xb;
x=x1*x1*xgb/(x1*x1+x1*xgb+x1*xgb)
f=pa/x
printf(" total reactance %.4f.p.u \n fault MVA %.1fMVA",x,f) |
71f36a35c9466dfdbf3a1a2569661c25f0a5915f | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH16/EX16.3/ex16_3.sce | f81eeff075ccc85c6a7829ea6b2d8c7b37bf7598 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | ex16_3.sce | clc
//Example 16.3
disp('Given')
disp('R=10 ohm L=2mH C=200 nF w=48 krad/s vs=100*cos(wt) mV')
R=10; L=2*10^-3; C=200*10^-9; w=48*10^3;
vsamp=100;
w0=1/sqrt(L*C)
printf("w0= %3.1f krad/s \n",w0*10^-3);
Q0=w0*L/R
printf("Q0=%d \n",Q0)
B=w0/Q0
printf("Bandwidth= %3.1f krad/s \n",B*10^-3);
//Number of half ban... |
ec08a9ecf650d8744940b2907ef88581b56a5cf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH6/EX6.12/6_12.sce | ec1e21f87f81384f2074a3fed480a743eb6f04a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,405 | sce | 6_12.sce | clear;
clc;
printf("\t\t\tExample Number 6.12\n\n\n");
// heating of liquid bismuth in tube
// example 6.11 (page no.-305-6)
// solution
m_dot = 4.5;// [Kg/s] flow rate of bismuth
d = 0.05;// [m] diameter of steel tube
Ti = 415;// [degree celsius] initial temperature of bismuth
Tf = 440;// [degree celsius]... |
9ef0c5de3d506d09989eb22e476fc727d702797e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/falltime/falltime14.sce | cc1b7e4f66e99f657fe91c6050e7e76597f90468 | [] | 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 | 279 | sce | falltime14.sce | //check o/p when i/p is an empty null vector
x=[0 0 0 0];
[d]=falltime(x);
disp(d);
//output
////!--error 10000
//BOUNDS must be strictly increasing.
//at line 173 of function statelevels called by :
//at line 51 of function falltime called by :
//[d]=falltime(x);
|
954531e150e61a9755691efe3a825fcac29754fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH9/EX9.5.1/9_5_1.sce | 5fcee6b6c6ee593e8a11f83d646e65b20e82ad17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | 9_5_1.sce | clc
pathname=get_absolute_file_path('9_5_1.sce')
filename=pathname+filesep()+'951.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
function[Cp]=fun(T)
Cp=29.50*10^(-3)+ T*0.8188*10^(-5) - T^2 * 0.2925 *10^(-8) + T^3 * 0.... |
012572eb4ed868fd4ef849a52f30eac61b0ff527 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH29/EX29.2/Ex29_2.sce | 6fed74ca3363451062d9d8a8a978c6233a2b0c93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 163 | sce | Ex29_2.sce | clc;
//e.g 29.2
R1=2*10**3;
R2=20*10**3;
C1=0.01*10**-6;
C2=0.05*10**-6;
T=0.69*(R1*C1+R2*C2)
disp('ms',T*10**3,"T=");
f=1/T;
disp('kHZ',f*10**-3,"f=");
|
b063c33e893443d3cdfda6e13a1e3e683c3dca0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH7/EX7.7/Exa7_7.sce | b110fc38810b0b6ad223a39bf2a4cf31188f5bfb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | Exa7_7.sce | //Exa 7.8
clc;
clear;
close;
//Given data :
format('v',5)
L=0.3;//in mm
L=L*10^-3;//in meter
n=3.6;//Refractive Index(unitless)
c=3*10^8;//speed of light in m/s
lambda=0.82;//in um
lambda=lambda*10^-6;//in meter
deltaNEU=c/(2*n*L);//in Hz
disp(deltaNEU*10^-9,"Frequency spread between longitudinal modes in ... |
1223a3b1044ff605b8719c4748181397d64a8118 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH23/EX23.12/ex_23_12.sce | 58821e7c11c8ea91d63ace2d1dba076ea1f2608d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | ex_23_12.sce | //find
clc
//solution
//given
U=1000//N-m
D=0.100//m
d=0.02//m
n=30
G=85*10^9//N/m^2
C=D/d
K=(4*C-1)/(4*C-4)+(0.615/C)
V=(%pi*D*n)*[%pi/4*d^2]//volume//m^3
t=(U*4*K^2*G/V)^(0.5)//N/m^2
printf("max shear stress acting is,%f N/m^2\n",t)
dx=%pi*t*D^2*n/(K*d*G)
printf("deflection produced is,%f m",dx)
|
bff7b5275f0024b9ff0aa58b53578a3150c32670 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH5/EX5.6/Ex5_6.sce | db9daecd9569e1a80136c15b9e5ed73c9ccde1d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | Ex5_6.sce | //problem 6 pagenumber 5.100
//given
c=10e-6;//farad
w=6;format(6);
//determine R
r=w/(1.11*c);
format(6);
disp('R = '+string(r/10^3)+' Kohm');
disp('C1 = '+string(c*1e6)+' μfarad');
|
5c55af7bb1dc8b1b14230723cb30956be53fa29c | 19ab1125bc636cc70f042f43473be7b74961928f | /activities/readme.tst | d75df5f0427a234064d13dc40d7fed6a22db1a32 | [] | no_license | jytesaluna19/progcon | 243d9eb7008225842380f98b5b680e9992ee9740 | 4ddde984fc29cde417fd6441a55458d99346e7f0 | refs/heads/master | 2020-08-29T22:23:43.473593 | 2020-01-23T04:48:16 | 2020-01-23T04:48:16 | 218,189,037 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | tst | readme.tst | welcome to my activities:
A1 - Flowcharts & Pseudocodes
A2 - Flow-charting Exercise
A3 - Pseudo-code Exercises
|
503aa390fcbcf4f209d652a5bec4588bfe58cd3e | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.15_4.tst | 161f6ebce12748fc93a173ee499232ea3868ba14 | [] | 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 | 3,736 | tst | bow.15_4.tst | 15 6:0.5 12:0.5 16:0.04878048780487805 18:1.0 28:1.0 69:2.0 70:0.5 186:1.0 244:1.0 668:1.0 699:1.0 850:1.0
15 18:1.0 33:0.05555555555555555 67:1.0 90:1.0 112:0.25 138:1.0 146:1.0 502:0.5 958:1.0 1057:1.0 1118:1.0
15 1:0.2 4:0.5 12:2.0 18:3.0 24:1.0 33:0.05555555555555555 35:0.25 44:1.0 59:4.0 63:0.25 68:1.0 70:0.5 90:1... |
132d0dd8d0c475d4da49ed05be55a1fa02e14be1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH7/EX7.12/Chapter7_Example12.sce | b2b81abba536d402f6f687792a41b2911c70f732 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,169 | sce | Chapter7_Example12.sce | //Chapter-7, Example 7.12, Page 302
//=============================================================================
clc
clear
//INPUT DATA
n=7;//Number of rows of tube
Ta=15;//Temperature of air in degree C
v=6;//Velocity of air in m/s
ST=0.0205;//Transverse pitch in m
SD=0.0205;//Longitudinal pitch in m
D... |
50b6b96a4b7d336847d3a1394810b919905b8acd | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH3/EX3.2.1/Example_3_2_1.sce | 496a07b7582e960930422470ce90877d6f80a9f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,981 | sce | Example_3_2_1.sce | //Example 3.2.1 Page 51
//Non-Linear Dynamics and Chaos, First Indian Edition, Print-2007
//Steven H. Strogatz
clear;
clc;
close;
// General INTRODUCTION
disp("To show their is Transcritical Bifurcation show :")
disp("1. Their are always two fixed points ,")
disp("And they change their Stability around Bif... |
6c425395332da8969f72cf869f290db9c379b668 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH4/EX4.11/4_11.sce | f2b2bb098867317dfe659ce3fd0c71a33f75e228 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | 4_11.sce | disp("Ei=((Ec+Ev)/2)+((3*K*T/4)*log(mh/me))");
disp("me=(0.328)m0 & mh=(0.55)mo");
b=1.12; //say b=(Ec+Ev)=1.12eV
c=0.0259; //say c=(K*T)=0.0259
d=1.6768; //say d=(mh/me)
a=((b)/2)+(((3*c)/4)*log(d));
printf('\n The value of Ei = %f eV',a);
disp("Ef=Ei+((K*T)*log(Nd/ni))");
e=10^17; //say e=Nd
f=10^10; //... |
7da21acb7196f69354c22e578f2150de9bd8ec54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH10/EX10.3.2/Ch10Ex5.sci | 277900801f38b228f348c5473a741139d9a4b8ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | sci | Ch10Ex5.sci | // Scilab Code Ex10.3.2 Energy released in the fusion of deuterium: Pg:220 (2008)
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
Q = 43; // Energy released in fusion of six deuterium atoms, MeV
N = 6.023e+026; // Avogadro's number, No. of atoms per kg
n = N/2; // Number of atoms contained in 1 kg of d... |
5ef0e51ed6c7c83226d736bd567c487f203663bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH14/EX14.18/Ex14_18.sce | 40bbf8e274d3389823bdd5e588abf0512e471204 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_18.sce | // Initilization of variables
M_1=10 // kg // mass of the 1st block
M_2=5 // kg // mass of the 2nd block
mu=0.25 // coefficient of friction between the blocks and the surface
g=9.81 // m/s^2 // acc due to gravity
// Calculations
a=g*(M_2-(mu*M_1))/(M_1+M_2) // m/s^2 // from eq'n 5
T=M_1*M_2*g*(1+mu)/(M_1+M_2) //... |
440394d5814a327f110e7d1ed43fca802eff6443 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3622/CH4/EX4.4/Ex4_4.sce | a6d8ce752eef124322536b47728ea70a22413e1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | Ex4_4.sce | //Initialisation of variables
clc
Z=2
m=9.11e-31//kg
e=1.6e-19//coulomb
o=8.85e-12//farad per metre
h=6.625e-34//joule sec
V=Z^2*m*e^3/(8*o^2*h^2)
printf('second ionization potential is %f volts \n',V)
|
48d1be8e5d236c3fb09375c667d2d32ac522d07d | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/branchdelete.tst | 6429c6a24d422a40939b3f839e2df08d7eb36cad | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 88 | tst | branchdelete.tst | ## Test the branch delete command
read <deleteall.fi
branch samplebranch delete
write -
|
7a1e8d9fb9aabcf209deaa909a9c2eb3f29a89e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH8/EX8.6/exa8_6.sce | 5977e24556afe6ce3267a7ea2214ccd0ac3b7cb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | exa8_6.sce | // Example 8.6
// Comparison of a real and ideal Transformer
// form figure 8.21
omegaL_1=100;
omegaM=490;
omegaL_2=2500;
Z=200;
N=sqrt(omegaL_2/omegaL_1)
// since omegaL_2>>|Z| and k=0.98 the transformer will act almost like an ideal transformer
k=omegaM/sqrt(omegaL_1*omegaL_2);
// Let us denote I_out/I_in =... |
f710d5dbda0bfbdb7ee56af019036dd6e3c994c3 | 948c6e0314c1822f872350cf63aaceb3d28fa497 | /tests/test-strip-004.tst | abca490230f1bfccdeead4f1878f72de1a38f467 | [
"Apache-2.0"
] | permissive | archiecobbs/bom | 832eb815b40f4955e6551496bdd2598cb4f00442 | 0bab1a015bb5e53345e5422902e16f802bd4c07f | refs/heads/main | 2023-08-25T05:43:51.470221 | 2021-11-04T16:12:49 | 2021-11-04T16:12:49 | 417,213,171 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | tst | test-strip-004.tst | # The input is truncated after 2/3 of a rightwards arrow U2192 -> e2 86 92
FLAGS='--strip --expect UTF-8 --utf8'
STDIN='\xef\xbb\xbfpartial arrow: \xe2\x86'
STDOUT=''
STDERR='bom: invalid UTF-8 byte sequence at file offset 18\n'
EXITVAL='3'
|
a3b0cfcf32dae6ef3837c45baf9a905cf0083da0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH6/EX6.10/Exa6_10.sce | 4c22bbf748a21b8e5ce6eb527c59bb138fb39f88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sce | Exa6_10.sce | //Exa 6.10
clc;
clear;
close;
//given data
VP=-6;//in Volt
IDSS=8;//in mA
disp("We have ID=IDSS*[1-VGS/VP]^2");
disp("Mutual conductance, gm=(delID/delVGS)=IDSS*2*[1-VGS/VP]*(-1/VP)=(-2*IDSS/VP)*[1-VGS/VP]");
//For VGS=0
VGS=0;//in Volt
IDSS=1:8;//in mA
for i=1:8
gm(i)=-2*IDSS(i)/VP
end
title('gm ver... |
d32e0c9e8b95dc419dc5c4e05daa88808ec6a87c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH5/EX5.17/Ex5_17.sce | 117be29e9c04a1646913627a81a89348a376d34c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | Ex5_17.sce | //Initilization of variables
L=14 //feet
W=18 //lb
theta1=60 //degrees
theta2=30 //degrees
L1=10 //ft
//Calculations
//Taking moment about point B
Rd=(W*(L/2)*cosd(theta1)*cosd(theta2))/L1 //lb
//Summing all the forces in the horizontal direction
T=Rd*cosd(theta2) //lb
//Result
clc
printf('The value of Rd ... |
ad7ee00fcd3162575463475e89ba27dd0765fef3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH14/EX14.9/Ch014Ex9.sce | d050d1409c821529e353a0aed571fb234a36e4fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sce | Ch014Ex9.sce | // Scilab code Ex14.9 : Pg:723(2011)
clc;clear;
R_L = 1000; // Load resistance across HWR, ohm
V_rms = 200; // Rms value of voltage supply, V
V0 = sqrt(2)*V_rms; // Peak value of voltage, V
I0 = V0/(R_L*1e-03); // Peak value of current, mA
I_dc = I0/%pi; // Average value of current, mA
I_rms = I0/2; // ... |
245bf6ee3d75f99e70161f2f515eb97a313772e9 | d0a39c16a0e6e4e550ffcc7b30c890307078643c | /scilab/mota_motp.sce | 55d8f2dcadda149a166e61243ebf3cdd7875d9bd | [
"MIT"
] | permissive | Dryuna/pipol_tracker | 3dcd342239f2625ef75e712b41aefb8f148acfdf | 12fd43c6dd7d8bba2bcf8ff6c5d54adfdca7cb72 | refs/heads/master | 2020-12-25T00:28:50.289599 | 2015-03-09T06:03:35 | 2015-03-09T06:03:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,401 | sce | mota_motp.sce | // clear all
xdel(winsid());
clear;
//mclose('all');
//opens file
fd_gt=mopen('/home/andreu/dataSets/people_tracking/reem/ground_truth/20140925_twoPeople.txt','r');
fd_tracks=mopen('/home/andreu/dataSets/people_tracking/reem/tracker_results/20140925_twoPeople_1_tree_all.txt','r');
//GROUND TRUTH PARSING
gt = list()... |
3f7ce9b0985396601f8cc8de281f802ce4bc4c45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH7/EX7.11/ex7_11.sce | a6e1a2d52eb4e2dc78d83432ca47183e522ad9d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | ex7_11.sce | // exa 7.11
format('v',5);clc;clear;close;
// Given data
Rin = 2;//resistance in Mohm
Cin = 50;//capacitance in pF
Cin = Cin * 10^-12;// in F
// (R1+Rin)/Rin = 10;
R1 = 9*Rin;//resistance in Mohm
disp(R1,"The value of R1 in MΩ is");
R1 = R1*10^6;// in ohm
Rin = Rin * 10^6;// in ohm
// While balance equation ... |
89f9f89f3d2fea496de145431da293f3b5faedb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.30/Ch05Ex30.sce | 407954716a21aefd1439f8f54355dcfe8f26f89b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | Ch05Ex30.sce | // Scilab code Ex5.30: Pg:236 (2008)
clc;clear;
L_1 = 5e-05; // Limit of resolution of microscope, cm
l = 25; // Least distance of distiinct vision, cm
theta_1 = 1.5; // Angular limit of resolution of eye, minute
theta_2 = theta_1/60*%pi/180; // Angular limit of resolution of eye, radian
L_2 = l*theta... |
abd5ec8e341bc25ae4f8468dd524f56cff1ac4f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH10/EX10.2/example10_2.sce | 6edbe89ec6e03615ec2399a59becab7ddd97fcfb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | example10_2.sce | //Chapter 10
//Example 10_2
//Page 235
clear;clc;
area=0.775;
pr=200;
pf=1;
v=3300;
n=0.9;
sr=1.725*1e-6;
ps=pr*1000/n;
loss=ps-pr*1000;
i=pr*1000/v;
r=loss/2/i^2;
l=r*area/sr;
printf("Sending end power = %.0f W \n\n", ps);
printf("Line losses = %.0f W \n\n", loss);
printf("Line current = %.1f A \n\n", i);
printf("... |
b56766ba5b8d031a2842516dacddea5b81203c63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH7/EX7.1/7_1.sce | 007544335bcffbb6be172ea3b90a8728fc09de4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,567 | sce | 7_1.sce | //Example 7.1
//Gauss-Jordan Two Array Method
//Page no. 254
clc;clear;close;
A=[2,6,1;3,9,2;0,-1,3]; //matrix
C=eye(3,3); //Unit Matrix
for i=1:3 //interchange of row 1 and 2
B(1,i)=A(1,i);
A(1,i)=A(2,i);
A(2,i)=B(1,i);
B(2,i)=C(1,i);
C(1,i)=C(2,i);
... |
7f657b65a4de7592ec4238737e552b379b818e33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH12/EX12.2/Chap12_Ex2_R1.sce | e8a30bf67a17a8fb8e04150d0050377c969389c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,491 | sce | Chap12_Ex2_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-12,Example 2,Page 427
//Title: van Laar parameters and t-x-y data
//================================================================================================================
clear
clc
//INPUT
//For co... |
acd136071ed8b056489a6502ed3f51a8d30b4706 | f5f41d427e165a46b51c8b06f6c2010b4213033a | /Scilab/vel_vs_time2.sce | 53869564325f671ab808caede59549ddcd07b009 | [] | no_license | rissuuuu/IT_LAB | a40f6ea5311f5d8012364cfa3d3ad37d83be3afd | 8d0f44a2b8b20ed1101c34a5cb263e6229c200cc | refs/heads/master | 2021-01-03T05:06:49.877644 | 2020-02-12T07:42:44 | 2020-02-12T07:42:44 | 239,934,733 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | vel_vs_time2.sce | //19MCMI07
//Rohan Yadav
x = 0:5;
y = [0 10 25 36 52 59];
x_new = 0:.01:5;
y_new = interp1(x,y,x_new,'spline');
plot(x,y,'d')
legend off
plot(x_new,y_new)
title('Velocity versus Time','fontsize',5)
ylabel('Miles per Hour','fontsize',5)
xlabel('Time, seconds','fontsize',5)
legend('Data Points','Cubic Spline Interpolati... |
eae11fbcc6aace073c14b7d20eae1c4e7a8bb807 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH8/EX8.2/Ex8_2.sce | 156edff4fb6ab0b94edb16455eb11ba52a0db694 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | Ex8_2.sce | clc();
clear;
//Given :
h = 1.05*10^-34; //planck's constant in Js
m = 9.1*10^-31; //electron rest mass in kg
c = 3*10^8; //Speed of light in m/s
b = 1.7*10^-15; // range of nuclear force in m
m_pi = h/(b*c); // rest mass of a pion in kg
t = m_pi/m; // times the rest mass of an electron
printf("Rest mass of a ... |
4260fb9756c876331d015dcf348dbfe22747a62d | 0b723790e0b9a96d140e3d5d5c309a627aa5eefb | /program6_PES2UG19CS301.sce | a0b661fdca065cdb6faf330ea2a7134767041269 | [] | no_license | Priya2410/Scilab-Assignment | 89e7e3cd1a5e7ebcb9321aa037d5882131533e39 | 103a4441b637e37dc1309a62da3000155056e99f | refs/heads/main | 2023-04-16T19:55:26.248164 | 2021-04-29T16:38:59 | 2021-04-29T16:38:59 | 361,316,782 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | program6_PES2UG19CS301.sce | clc;clear;
A = [1 0;0 1;1 1];
b = [1;1;0];
disp("The given matrix A is:")
disp(A);
disp(b, "b: ");
x = (A'*A)\(A'*b)
C = x(1,1);
D = x(2,1);
disp(C,"C: ");
disp(D,"D: ");
disp("The best fit line is b = C+Dt")
|
85af893174377fe49b2fa7001faaa40970ad629e | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/do_compile_superblock_rt.sci | e71a160621a99aaff771515ffbef44c19d616363 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 109,159 | sci | do_compile_superblock_rt.sci | //** INRIA / SCILAB / Roberto Bucher / Simone Mannori / Paolo Gai
//** 16 Jan 2008
//**
// Modified by Roberto Bucher roberto.bucher@supsi.ch from the original
// CodeGeneration_.sci
//
// Input editor function of Scicos code generator
//
//
//** 10 Set 2007 : cleaner startup code by Simone Mannori
//** 15 Aug 2009 : H... |
b12985bd7b88bc0197caaa1f7197754e9817d317 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/cmd/test/compHSFlash.tst | ea898c9da5391156ff93483bc5e018b15094956f | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 896 | tst | compHSFlash.tst | units VMG
/LiquidPhases = 2
$thermo = VirtualMaterials.Advanced_Peng-Robinson
/ -> $thermo
commonproperties VapFrac T P MoleFlow MassFlow Energy H S MolecularWeight MassDensity Cp ThermalConductivity Viscosity molarV ZFactor
displayproperties VapFrac T P MoleFlow MassFlow Energy H S MolecularWeight MassDensity Cp ... |
1e8896cae969fb4d62e597020e38c2668fa9ee5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH6/EX6.13/ex13.sce | b28e7e13e20eed7c800a60612456d6686a546c62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,004 | sce | ex13.sce | //example 13
//Calculating mass flow of steam in tank
clear
clc
vf1=0.001725 //in m^3/kg
vf2=0.0016 //in m^3/kg
uf1=368.7 //in kJ/kg
uf2=226 //in kJ/kg
vg1=0.08313 //in m^3/kg
vfg2=0.20381
ug1=1341 //in kJ/kg
ufg2=1099.7 //in kJ/kg
Vf=1 //initial volume of liquid in m^3
Vg=1 //initial volume of vapor in m^... |
54e5485b354cdb502191d95aa7cc5f3c547578b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH9/EX9.2.1/9_2_1.sce | e412c365f4e3833b7c38fe0f8e2968009fbdcfda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | 9_2_1.sce | clc
//initialisation of variables
S= 5 //ft
F= 70 //lbf
a= 4 //degrees
l= 1 //ft
d= 0.002378 //slug/ft^3
u= 120 //ft/sec
//CALCULATIONS
L= F*cosd(a)
D=F*sind(a)
S1= S*l
p= 0.5*d*u^2
Cl= L/(p*S1)
Cd= D/(p*S1)
//RESULTS
printf (' coefficient of lift= %.2f',Cl)
printf (' \n coefficient of drag= %.4f',Cd)
... |
1832decdedd2668957417f6facfe3292b8d357a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH4/EX4.1.3/example4_3.sce | 8fc57a6c07c977852debb5d166c86e9d59354811 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 609 | sce | example4_3.sce |
//exapple 4.3
clc; funcprot(0);
// Initialization of Variable
pi=3.14;
Cd=0.61;
rho=999;
rhoo=877;//density of oil
g=9.81;
h=75/100;
d=12.4/100;//dia of orifice
d1=15/100;//inside diameter
nuo=1/rhoo;//specific volume of oil
//calculation
//part1
delP=h*(rho-rhoo)*g;
A=pi*d^2/4;
G=Cd*A/nuo*sqrt(2*n... |
382216a54fd8453bf71816c4481234eb73077257 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH12/EX12.11/Ex12_11.sce | 7f05c6ca2a896794d04bd5f4c203ea974b1530c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | Ex12_11.sce | // Example 12_11
clc;funcprot(0);
// Given data
T_DB1=35.0;// °C
phi_1=80/100;// The relative humidity
T_DB3=20.0;// °C
phi_2=40.0/100;// The relative humidity
// Calculation
h_1=110;// kJ/kg dry air
h_3=35;// kJ/kg dry air
Qbym_a=h_3-h_1;// kJ/kg dry air
printf("\n The heat transfer rate per unit mass flo... |
bbebf41ed7f1d660fab846a853489985aebb2f15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH6/EX6.11/6_11.sce | d4ebe45f29bf3f9c0ba2d3194791d3738c08219f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | 6_11.sce | //Problem 6.11: What capacitance must be connected in series with a 30 μF capacitor for the equivalent capacitance to be 12 μF?
//initializing the variables:
C1 = 30E-6; // in Farads
Cs = 12E-6; // in Farads
//calculation:
// in Series
C2 = 1/[(1/Cs) - (1/C1)]
printf("\n\nResult\n\n")
printf("\n (a)Capaci... |
1a2a4291d6b624f0b629cd675989bc91396b342e | 59b742e36fbe9d77cb51ec949c6625f665133d2b | /Resultados/results_LocGlo_1/results/1/l20-2/result4s0.tst | 45769d3ca9094e7261a7da6024612a682b864c72 | [] | 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 | 9,828 | tst | result4s0.tst | @relation banana
@attribute At1 real[-3.09,2.81]
@attribute At2 real[-2.39,3.19]
@attribute Class{-1.0,1.0}
@inputs At1,At2
@outputs Class
@data
1.0 1.0
-1.0 -1.0
1.0 -1.0
1.0 -1.0
-1.0 -1.0
-1.0 -1.0
-1.0 -1.0
-1.0 -1.0
1.0 1.0
-1.0 -1.0
-1.0 -1.0
-1.0 -1.0
1.0 1.0
1.0 1.0
-1.0 -1.0
-1.0 -1.0
1.0 -1.0
1.0 1.0
-1.0 -1... |
ab3462e7cf554c485ca652e527ca30ead8a5cc4f | 4a9f190afee555b0b80b83855ab62d9c529f5b34 | /Assignment4/task1/task1.sce | e952f57fb1eac96028b54748c7f1d0d2312e5606 | [] | no_license | imajou/IU-S20-DSP-Assignments | 5ab41f331f996d9764be41a56fb2eee9e7cd5267 | e518c52a1ef988a6871cb078b25e64e75ed0fc95 | refs/heads/master | 2022-10-22T09:24:33.601398 | 2020-06-12T21:24:23 | 2020-06-12T21:24:23 | 271,892,319 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,911 | sce | task1.sce | function [filter] = create_lowpass_filter(N, cutoff, thres)
N = (N - modulo(N, 2)) / 2
cutoff = floor(2 * N * cutoff)
filter = ones(1, N) * thres
filter(1, 1 : cutoff) = 1.0
filter = [1. filter flipdim(filter, 2)]
endfunction
function [filter] = create_highpass_filter(N, cutoff, thres)
N = (N -... |
863be5982a4eb16e21f3b478ae8345c237a71685 | a1f93c5ed7f19ec2dc6e698a305960c7eaacb3fd | /Practica5.1/Ejercicio2.sci | 536d25b2ba6635dddfcd20de659f91631f56870f | [] | no_license | hectoregm/numerico | 813c74b87c976c2af4fe83adf59561a80141ea2f | ca0e16875746ad9d9c17da7ce0635669fc2410ed | refs/heads/master | 2021-01-21T07:53:31.701526 | 2014-12-02T04:42:40 | 2014-12-02T04:42:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,396 | sci | Ejercicio2.sci | function c = interpnewton(x,f)
// Autores: Hector E. Gomez Morales
// Funcion que realiza la interpolacion de Newton dado un conjuntos de puntos y sus imagenes.
//*****************************************************************************
//->Entrada
// x (Vector Real) - Vector columna que contiene los numeros x(i)
/... |
6436e1c270f03111c41886d7af51fb0527186487 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH7/EX7.7/EX7_7.sce | a54cbd232f7626ee0965b912f13a86914d2d753a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | sce | EX7_7.sce | //Example7.7 // to design an active high pass filter with cut-off frequency 25KHz
clc;
clear;
close;
fc = 25 ; // KHz
C = 0.1 ; //nF // we assume
// the cut-off frequency of active high pass filter is given by
// fc = 2*%pi*R3*C;
// R3 can be calculated as
R3 = (1/(2*%pi*fc*C));
disp('The resistance R3 is =... |
ea6f40c21a122d8a9561291beeff526163fd4efe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH13/EX13.3/CH13Exa3.sce | 92d276e0772d000e7c894466313ba30650feb4ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 807 | sce | CH13Exa3.sce | // Scilab code Exa13.3 : : Page-600 (2011)
clc; clear;
N_0_235 = 1; // Number of uranium 235 per 238
N_0_238 = 20; // Number of uranium 238 for one uranium 235
sigma_a_235 = 683; // Absorption cross section for uranium 235, barn
sigma_a_238 = 2.73; // Absorption cross section for uranium 238, barn... |
314d5125123ef0e919835486176ba8c63892541c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH8/EX8.15/8_15.sce | 699c63a1e5ab822fff514df366b1086f660e87d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | 8_15.sce | clc
//Initialization of variables
p1=100 //psi
p2=10 //psia
pa=14.7 //psi
T2=468 //R
T2r=528 //R
R=1.986
M=29
//calculations
disp("From air tables,")
phi1=0.06657
phi2=0.03762
ds=phi1-phi2
phi11=0.19569
phi12=0.06657
ds2= phi12-phi11 - R/M *log(p2/p1)
//results
printf("In case 1, change in entropy = %... |
7c4457ec2ac90e91491f0632c995e47e551d6fe6 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-DataMining/SP_LinRegrSW-NZ-01TMP.tst | c8bc14ef421d2c5471b7914fb0e93781d1856d39 | [] | 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 | 8,001 | tst | SP_LinRegrSW-NZ-01TMP.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- 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.
-... |
ac829a6c85da821ee8019c476ecc19fbc21d7527 | 2875b7a7a87e6280e5aac1fb50dc04dfbcc23d3f | /lec/kalman/scilab/KBF.sci | 957533db64d98e6cba1139160208811eaaed7eff | [] | no_license | ktysd/ktysd.github.io | eb8946c877a6cb209960be57bfbcc1fe429abedd | 1e29a628e63ea476b4891da5c12276d1ae11c4a7 | refs/heads/master | 2021-04-26T15:07:02.322758 | 2020-11-02T07:33:51 | 2020-11-02T07:33:51 | 123,993,111 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,212 | sci | KBF.sci | // Transformation between vector and matrix
function v = mat2vec( mat )
v = mat(:);
endfunction
function mat = vec2mat( v, n )
mat = matrix(v,n,n);
endfunction
// KBF differential equation
function dX = KBF_de(t,X,ndim,y,A,D,C,Q,R,A2)
xMean = X( 1:ndim ); //推定値(期待値)成分
xCov = X( (ndim+1):$ ); //共分散成分
... |
660994dc1336981e1c6ee48d02c3681e4453c075 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH7/EX7.10/7_10.sce | 1d72239321c77f6748addcab55550d670102eaa2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_10.sce |
clc
//initialisation of variables
Cd= 0.95
m= 300 //ft
V= 8 //ft/sec
d= 6 //ft
n= 6
s= 40 //ft
g= 32.2 //ft/sec^2
dh= 0.11
//CALCULATIONS
h= (V^2/(g+(d/3)))*(1.1*(m/(s*n))^2-1)
h1= (V^2/(2*g))*(1.1*(m/(s*n))^2-(d/(s/n)))+dh
//RESULTS
printf ('afflux upstream= %.2f ft',h1)
|
71266ba209334cc6fa6995dde797de94c395ebfe | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CFA.prev.tst | 24bf6a574bbda3f83b864d48e269cd15a694c565 | [
"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 | 2,022 | tst | CFA.prev.tst | sqrt(2^3): 2;1,4,*...4
sqrt(3^3): 5;5,10,*...10
sqrt(4^3): 8;
sqrt(5^3): 11;5,1,1,/...22
sqrt(6^3): 14;1,2,3,2,*...28
sqrt(7^3): 18;1,1,11,1,5,3,1,17,1,*...36
sqrt(8^3): 22;1,1,1,2,6,11,6,*...44
sqrt(9^3): 27;
sqrt(10^3): 31;1,1,1,1,1,6,2,2,15,2,*...62
sqrt(11^3): 36;2,14,10,2,1,4,1,1,6,1,2,1,35,1,*...72
sqrt(12^3): 41... |
30e16dabeabb44746a5ac38cd086c7cdab051f31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH7/EX7.2f/eg7_2f.sce | 9df5c49631337a68d8f3de4e06cc6ff0f612ad30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | eg7_2f.sce | X= [2.2 3.4 1.6 0.8 2.7 3.3 1.6 2.8 2.5 1.9]
upperlimX = 3
lowerlimX = 2;
upperlimlogX= log(upperlimX);
lowerlimlogX = log(lowerlimX);
logX = log(X)
samplemean= mean(logX)
samplesd= sqrt(variance(logX))
//disp(samplemean)
//disp(samplesd)
prob = cdfnor("PQ", upperlimlogX, samplemean, samplesd) - cdfnor("PQ"... |
b0de13966b57a59e1662a498df75e28b586bbf33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH10/EX10.33/10_33.sce | c7472491118fb46dfc463ff8bf52c37bd59f5e70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10_33.sce | //Example 10_33
//Find the inverse Z-transform
clc;
clear;
z=poly(0,'z');
x=ldiv((z+1),(z-1/3),4);
disp(x,'x[n]=');
|
20857d451cb31964e820011fc4df7f26aedae744 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH2/EX2.3/Ex2_3.sce | 13b3ab78236f93e545391d4f2b0349bb011a8467 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 665 | sce | Ex2_3.sce | //Variable declaration
Vbb=5 //base voltage of bipolar transistor(V)
Vbe=0.7 //base emitter voltage drop(V) in active region
Rb=50 //base resistance(ohm)
beeta=50 //current gain
Re=1.8 //emitter resistance(k ohms)
Vcc=10 //su... |
349209a735742858ff968251fae06a2b844d78c1 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH12/EX12.8/ex_12_8.sce | 8f46529d67e73124911b2e08da2c52a742ccc157 | [] | 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,004 | sce | ex_12_8.sce | //design knucle joint
clc
//solution
//given
P=70*10^3//N
ftur=420//N/mm^2//for rod//ultimate point stress
ftup=510//N/mm^2//for pin
tu=396//N/mm^2
Fs=6
ftr=ftur/Fs//N/mm^2//yeild
t=tu/Fs//N/mm^2
pi=3.14
//let d be dia of rod
//P=(pi/4)*d^2*ftr=55*d^2
//d=sqrt(P/55)//mm
printf("the diameter of bolt is,%f... |
e1b5bae5454c903da6ddda475f145821150772d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH5/EX5.2/Exa_5_2.sce | 21139c67df2167453135293a358f84ccf14d2f31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | Exa_5_2.sce | //Exa 5.2
clc;
clear;
close;
format('v',6);
//Given Data :
m=2;//Kg
T1=300+273;//Kelvin
T2=150+273;//Kelvin
T0=20+273;//Kelvin
Cp=0.45;//KJ/KgK
deltaQ=m*Cp*(T1-T2);//KJ
deltaS=m*Cp*log(T1/T2);//KJ/K
A=deltaQ-T0*deltaS;//KJ
disp(A,"Reversible work or Available energy in KJ : ");
UA=T0*deltaS;//KJ
disp(... |
132cc65868c7632cd216fd97d228783658505373 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH8/EX8.3/8_3.sce | e01200906d7dea9754a9ad599c794dfbb95eb788 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | 8_3.sce | clc;
h1=3442.6;
h2=2713;
h6=3487;
h7=2535;
h3=112;
TW=(h1-h2)+(h6-h7);
Q=(h1-h3)+(h6-h2);
Ceff=TW/Q;
disp(Ceff,"cycle efficiency is:");
ssc=1/TW;
disp("kg/kW h",ssc,"specific steam consuption is:")
|
f911351d874c7360f639670c1f119c9cce6d1d4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH26/EX26.6/example26_6.sce | c7e0ba8598297ca5d3ce50db6dbc89227f40c067 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | example26_6.sce | r=300;
x_l=400;
i=2.6;
disp("Part a");
p=i^2*r;
disp("the true power (in W) is"); disp(p);
disp("Part b");
q=i^2*x_l;
disp("the inductive reactive power (in VAr) is"); disp(q);
disp("Part c");
s=sqrt(p^2+q^2);
disp("the apparent power (in kVA) is"); disp(s*10^(-3));
|
7a2166d5daa3b30a3a1693dcb1421dd0b2f99753 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH19/EX19.5/ex19_5.sce | 8fc51b2bed3605989600a08b2c3af150fc187539 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 111 | sce | ex19_5.sce | //Example 19.5
clc
q=1.6*10^-19
B=.35
r=14*10^-2//in m
m=1.67*10^-27//kg
v=(q*B*r)/m
disp(v,"Velocity in m/s=") |
95b0de9851ddb1440a1f371aa6c8a385f2ad10df | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH6/EX6.9/example9_sce.sce | 8d9280fc89aa483ca6282694ad5d4bbc1503d7b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | example9_sce.sce | //chapter 6
//example 6.9
//page 267
printf("\n")
printf("given")
hie=2.1*10^3;hfe=75;R1=10*10^3;R2=10*10^3;Re=4.7*10^3;Rl=12*10^3;rs=1*10^3;
disp(" Rl is not connected")
hic=hie
hfc=1+hfe
Zb=hic+hfc*(Re)
Zi=(R1*R2*Zb)/(R1+R2+Zb)
Ze=(hic+(R1*R2*rs)/(R1+R2+rs))/hfc
Z0=(Ze*Re)/(Ze+Re)
disp(" when Rl is conne... |
985ee80ea04cd341571929185d3f96cbe9f1cab8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH9/EX9.4/9_4.sce | 4034c01b58d9aca05c5225f0ce6fea8a896fd099 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | 9_4.sce | clc
//Initialization of variables
g=32.2
A=0.0218 //ft^2
P1=25.6 //psia
T1=540 //K
k=1.4
R=1715
//calculations
G=g*A*P1*144/sqrt(T1) *sqrt(k/R *(2/(k+1))^((k+1)/(k-1)))
//results
printf("Flow rate = %.2f lb/s",G)
|
2eed4e08ed3cbb9c5e7ae083991c000085dfa06f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH11/EX11.7/ex_11_7.sce | d7524c6e909809dfd7e90160fc2cf2a6e2530bf9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | ex_11_7.sce | //Example 11.7: potential drop and capacity if booster
clc;
clear;
close;
//given data :
format('v',8)
ix=250;//amperes
vb=2;//in volts
r=0.02;//in ohms
x=poly(0,"x");
p=-27.6+16*x+0*x^2;//
y=roots(p);//km
pc=vb+(ix*r*(1.6)^2)/2;//in volts
pd=((ix*r*(y^2))/2);//in volts
tcurr= (1.6*ix)+((ix*(3.2-y)));//in amperes
vnf=r... |
b9f978b39375da36d53ca2b26962ed7ce8dcc340 | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/c-wsp/0013.tst | 90dee6066c1ddce2a3673b477e0fbee91f2cf41e | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6 | tst | 0013.tst | ;>x
|
3029d1a6b7af71a9d931c978b1a1a01589b7221b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH9/EX9.6/ex_9_6.sce | ab75024e3a634ab3d37b7b7bc858ffaf24ad2b34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | ex_9_6.sce | //Example 9.6 //find ampere-hour capacity of a batery
clc;
clear;
close;
I=20;// in amperes
t=15;// in hours
Ah=I*t;// ampere hour capacity of the battery
disp(Ah,"ampere hour capacity of the battery in A-h")
|
a3520531a8fb0c5c16f4d88f606c67bbe4c375bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH11/EX11.1/Ex11_1.sce | 622620cf3f1fc47392a6a5db3f0c83a86d5d5a87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Ex11_1.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 11 Oscillators and Multivibrators Pg no. 355 and 356
clear;
clc;
//Given
//Figure E 11.1
L=20D-3;//colpitts inductance in henry
C1=0.2D-6;//colpitts capacitor C1 in farads
C2=0.02D-6;//colpitts capacitor C2 in farads
//Solution
Ce=C1*C2/(C1+C2);//equival... |
e4e77b53231937a454f4baf5cad648eb7a7bfc27 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.8_20.tst | 2a2ea45f229575e84c530206312922a6e184ec6d | [] | 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 | 23,130 | tst | bow.8_20.tst | 8 13:0.2 24:0.5 25:0.4 40:0.2 49:4.0 65:1.0 76:1.0 77:1.0 88:0.5 90:0.6666666666666666 106:0.14285714285714285 123:0.013333333333333334 156:0.5 162:1.0 187:1.0 303:1.0 331:1.0 420:1.0 639:1.0 700:1.0 798:1.0 991:1.0 1167:1.0 1216:1.0 1217:1.0 1315:1.0 1318:1.0 1398:2.0 2135:1.0 2418:1.0 2581:1.0 3196:1.0 3447:1.0 4383:... |
51e193c5ed10d904c0169fd4c6d8168f4f6d54a5 | 584105ff5b87869494a42f632079668e4c3f82de | /wrapppers/help_files/calibrateCamera.sci~ | 3247e2b403d5812c199b066d9b1910f1a035e223 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | calibrateCamera.sci~ | function [rvecs tvecs] = calibrateCamera(list_size,obPts,impts,width,cols,camera1,dist)
[rvecs tvecs] = opencv_calibrateCamera(list_size,obPts,impts,width,cols,camera1,dist)
endfunction
| |
0a673261c17c5b0e5df65af13144663b4fd4a752 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /LDDH Goated.sce | 650be442888989649664e0055c1508cce81e658d | [] | 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 | 55,839 | sce | LDDH Goated.sce | Name=LDDH Goated
PlayerCharacters=EGODEATH
BotCharacters=WHW.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=EGODEATH
AddedBots=WHW.bot
PlayerMaxLives=0
BotMaxLives=1
PlayerTeam=1
BotTeams=2
MapName=boxer.map
MapScale=6.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=false
InvincibleBots=false
Time... |
21928cae320d790e02430c532257392848626ff4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH4/EX4.57/EX4_57.sce | 7e517198504b8468f4ff41eff953262b87bc2b22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | EX4_57.sce | //EXAMPLE 4-57 PG N 265-266
Z1=[200 +%i*4;0 5+%i*10];
Z2=[2+%i*5 %i*4;%i*4 5+%i*10];
I1=det(Z1/Z2);
disp('i) Current (I1) is = '+string (I1) +' A ');
Z3=[2+%i*5 %i*4;%i*4 5+%i*10];
Z4=[2+%i*5 %i*4;%i*4 5+%i*10];
I2=det(Z3/Z4);
disp('ii) Current (I2) is ... |
6eff2c6bbaca4373a7c36282f88a4773451ee506 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH16/EX16.1/Ex16_1.sce | bc1c629d235f7e870c90236f63fd3bd1b295aa7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex16_1.sce | // Ex16_1 Page:306 (2014)
clc;clear;
n1 = 1.43; // Refractive index of core
n2 = 1.40; // Refractive index of cladding
theta_c = acosd(n2/n1); // Propagation angle, degree
NA = sqrt(n1^2 - n2^2); // Numerical aperture
theta_a = asind(NA); // Acceptance angle, degree
printf("\nPropagation angle = %... |
c1e1cabcecfe1210fc0b7fc59c50fadfb3388976 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH1/EX1.2/Ex1_2.sce | 09b56551cbaa0fad063fe4dc5abaabd5b9cf1c0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | Ex1_2.sce | //Chapter 1: Structure and Bonding
//Problem: 2
clc;
//Declaration of Constant
c = 3 * 10 ** 8 // speed of light,in m/sec
//Declaration of Variable
f = 5 * 10 ** 16 // frequency,in cycles/sec
// Solution
v = f / c
mprintf("The wave number is %.2e cycles/m",v)
|
b7d8ef44eb0d20c08e7e0661f16798590361bebe | 46ffb5fda9448453eba4d6787a1568028b241d88 | /ABMLangangen/calibration/calibSimplexMeanSquares_04:01:41.170 PM 07-juin-2013.sci | ca662033a28f4aade7cd221977a397a28e72bbf5 | [] | no_license | JusteRaimbault/Models | f81f886dc050445dae68e933e0c052c7f9c0b59c | 52f9c28fe20c8e491fb83e22ef162256eb966d32 | refs/heads/master | 2016-09-10T23:23:05.419418 | 2013-07-30T22:02:34 | 2013-07-30T22:02:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,442 | sci | calibSimplexMeanSquares_04:01:41.170 PM 07-juin-2013.sci | ms=[];incomemean=[];bref=[];bnorm=[];
ms(1)=5.404009726410362E7;
incomemean(1)=17000;
bref(1)=12000;
bnorm(1)=30000;
ms(2)=4.734768931743491E7;
incomemean(2)=17000;
bref(2)=13000;
bnorm(2)=30000;
ms(3)=5.385240457007288E7;
incomemean(3)=17000;
bref(3)=12000;
bnorm(3)=31000;
ms(4)=1.7077150873775084E7;
incomemean(4)=180... |
16d2c52a904e34af83b2f17e8d13fca3467dbdfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.4/Ex9_4.sce | ae69a9fdf8306d60f03fa121194e5bf25b9be5b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | Ex9_4.sce | clear
//Given
m=9*10**-31
v=3*10**7
q=1.6*10**-19 //C
B=6*10**-4
//Calculation
//
r=m*v/(q*B)
f=q*B/(2.0*%pi*m)
E=(0.5*m*v**2)/1.6*10**-16
//Result
printf("\n Energy is %0.2f Kev",E*10**32)
|
c503a1073afc77b22d971344c6620987326f2a5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.29/29.sce | 69fc2489112bafff2497dd6926fc7ad0654a1381 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,170 | sce | 29.sce | clc
T1=303; //K
p1=1; //bar
rc=9;
re=5;
n=1.25;
D=0.25; //m
L=0.4; //m
R=287;
cv=0.71;
cp=1;
num=8; //no. 0f cycles/sec
disp("(i) Pressure and temperatures at all salient points =")
p2=p1*(rc)^n;
disp("p2=")
disp(p2)
disp("bar")
T2=T1*(rc)^(n-1);
disp("T2=")
disp(T2)
disp("K")
//T4=1.8*T3
//... |
088bd36dbcf5d6e60b49546c62e903d8cb1c704b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH16/EX16.8/Ex16_8.sce | 6e3562bc86f447859398e60bd01dc007d98364e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Ex16_8.sce | clear
//Given
R=30 //ohm
u=-10.0
h1=5
//Calculation
f=R/2.0
v=1/((1/f)-(1/u))
h2=(-v*h1)/u
//Result
printf("\n Position of the image is %0.3f cm", v)
printf("\n Size of the image is %0.3f cm",h2)
printf("\n The image is virtual")
|
04b7f58a010370838c90bb92d9fde8373b81c1f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH2/EX2.1/Ex2_1.sce | e8d242dcb3861fe08f17aff816121c5318f94f39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,692 | sce | Ex2_1.sce |
clc
//a) INELASTIC
//for sphere 1 ,mass=m1 and initial velocity=u1
//for sphere 2 ,mass=m2 and initial velocity=u2
m1=100//lb
u1=10//ft/s
m2=50//lb
u2=5//ft/s
v=(m1*u1+m2*u2)/(m1+m2)
//change in kinetic energy
//initial kinetic energy = ke1
ke1=(m1*(u1^2)+m2*(u2^2))/(2*32.2)
//Kinetic Energy after inelas... |
1f449ae8ce92a47435405149cadfc4470f04c631 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH3/EX3.2/3_2.sce | 957727b2fc0918ae0dff75e05a96f0945c7e2bcb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 891 | sce | 3_2.sce | pathname=get_absolute_file_path('3_2.sce')
filename=pathname+filesep()+'3_2data.sci'
exec(filename)
clear
J= (%pi*a^3 *b^3)/(a^2 +b^2);
twistrate= T/(G*J);//rate of twist
x=poly(0,"x");
y=poly(0,"y");
deff("[Tzy]=f(x)","Tzy=2*T*x/(%pi*b*a^3)");//τzy
deff("[Tzx]=f1(y)","Tzx=-2*T*y/(%pi*a*b^3)");//τzx
function ... |
3cfdff80a30e29f0957f6ed804442a13c7186df4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH5/EX5.6/Ex5_6.sce | 9df6c1ac39c9ac8d28edf7da59ce0780a7e1dbb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | Ex5_6.sce | //Example 5_6
clc();
clear;
//To calculate the interplanar spacing and wavelength
n1=1
theta1=23 //units in degrees
n2=3
theta2=60 //units in degrees
lamda1=97 //units in pm
lamda2=(n2*lamda1*sin(theta1*(%pi/180)))/(sin(theta2*(%pi/180))) //units in pm
d=(n2*lamda1)/(2*sin... |
c109573bca8cdbf61451c8b7d2bc0c65a9884367 | 8baa4268cc19995abb706bcc05c80afb319e1669 | /test/rate.tst | 2d759d9d5a9fa0e7143dd96a6055311b57cd2f47 | [] | no_license | nicoloison/CPSC471-Project | 53c3362e0251f3c37edf0ab9769277d15670dc21 | db0db7d7be776d6d6958d920596bc708d3347e82 | refs/heads/master | 2020-04-18T13:42:30.599190 | 2014-12-26T10:58:19 | 2014-12-26T10:58:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | tst | rate.tst | curl "localhost/recipes/rate.php?username=lmitchell&author_name=nloison&recipe_name=mac%20and%20cheese&rating=5"
|
afdc3f7a8edbb1afe56f43bb8e2d66c056be31c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH18/EX18.05/18_05.sce | 1df26bb384b6876703707628bb9cc930864561de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 18_05.sce | //Problem 18.05: The op amp shown in Figure 18.6 has an input bias current of 100 nA at 20°C. Calculate (a) the voltage gain, and (b) the output offset voltage due to the input bias current. (c) How can the effect of input bias current be minimised?
//initializing the variables:
Ii = 100E-9; // in Amperes
T = 20; ... |
2ae8ede99fd9bef1da9b44bc097d62eb9159f994 | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH17/EX17.1/ex_17_1.sce | 9ac6122834f6fa9ec5cb6b8a084b85444543eccd | [] | 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 | 408 | sce | ex_17_1.sce | //determine dia of the wheel
clc
//solution
//given
d=50//mm
p=12.5//mm
W=10000//N
D=60//mm
R=30//mm
u=0.15//tan(q)=u
u1=0.18
P1=100//N
//tan(a)=p/(%pi/d)=b=0.08
b=0.08
//P=W*tan(u+a)
//P=W*[(tan(a)+tan(q))/(1-tan(a)*tan(q))]
P=W*[(b+u)/(1-(b*u))]//N
T=(P*d/2)+(u1*W*R)//N-mm
//let D1 be dia of wheel
... |
1fe5fa8d8b662aca40888f4fba81b270f45477ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH8/EX8.8.a/8_8a.sce | 616d48ac17a7b9a39f7d2e33e4e691ff904eee6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sce | 8_8a.sce | clc
clear
//Initialization of variables
k=1.4
R=53.3 //lb-ft/lb R
p0=100 //psia
T0=534.6 //R
g=32.2 //ft/s^2
d=0.5 //in
Nm1=1
A=2/144 //ft^2
//calculations
disp("Exit mach number is found using trial and error")
Nme=2.44
rho0=p0*144/(g*R*T0)
G= A*sqrt(k*p0*144*rho0) *(2/(k+1))^((k+1)/(2*(k-1)))
pe=p0*(1... |
91241785b21e444e7ab618fba1dc9ebac2e550ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH3/EX3.16/Ex3_16.sce | e33f2180a16adf274d26b30ed19bcc0a4554294f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Ex3_16.sce | //Chapter 3: Thermodynamic and Chemical Equilibrium
//Problem: 16
clc;
//Declaration of Constant
R = 8.314 //in J per K mol
//Declaration of Variables
n = 5 // moles
T = 27 // C
V1 = 50.0 // L, Initial Volume
V2 = 1000 // L, Final Volume
//Solution
T = T +... |
f684c144a2d5638e6e58db54b549cd19e42e4af2 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.13_19.tst | 3c4c8f43a32ceed7639ef4fc0b451b7351b823b7 | [] | 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 | 239,734 | tst | 5.13_19.tst | 13 23:1 373:1 620:1 1009:1 1102:1 1351:1 1406:1 1754:1 1957:1 2008:1 2036:1 2262:1 2772:1 3837:1 4721:35 4748:1 4816:1 4909:1 5428:1 5567:1 5912:1 6646:1 6849:1 7197:1 7846:1 8160:1 9127:1 9255:1 9360:1 9580:1 9785:1 9955:1 9971:1 10198:1 10367:1 11286:1 11602:1 11891:1 13106:1 14448:1 14945:1 15400:1 15458:1 15507:1 1... |
2e1d4b79a413da191fb439c362650d9dd881a86a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH8/EX8.16/exa_8_16.sce | 98d31d492d7d6bffbe79cded82acc2a3a1e3baf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | exa_8_16.sce | // Exa 8.16
clc;
clear;
close;
//given data
Vin= 2;//in volt
Vout= 10;//in volt
R=100;// in kohm
R=R*10^3;//in ohm
C=0.1;// in micro F
C=C*10^-6;//in F
// Formula Vout = -1/(R*C)*integrate('Vin','t',0,t) = -Vin*t/(R*C)
t= Vout*R*C/Vin;// in sec
disp(t,"The maximum time upto which the reference voltage can... |
b319e4ed3aa47b960dcc79e7ce0b81df0d1d2ac8 | 717ddeb7e700373742c617a95e25a2376565112c | /806/DEPENDENCIES/22one.sci | 7bcb5f913eb93d699fc20576a25ee522d6a0bfe3 | [] | 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 | 128 | sci | 22one.sci | S1=0.86//specifc gravity of liquid in pipe A
S2=1//Specifc gravity of manometric liquid
h1=150//mm
h2=90//mm
H=720//mm of Hg |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.