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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cb5f58e9ef6e71dd0b6985fa6ab126f22eaa09bb | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introductory_Methods_Of_Numerical_Analysis_S._S._Sastry_1673.zip/Introductory_Methods_Of_Numerical_Analysis_S._S._Sastry_1673/CH7/EX7.10/7_10.sce | bbde336896533086fe13dd9612cccfea1d526a92 | [] | 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 | 232 | sce | 7_10.sce | errcatch(-1,"stop");mode(2);//ill condiioned linear systems
//example 7.10
//page 277
;;
A=[1/2 1/3 1/4;1/5 1/6 1/7;1/8 1/9 1/10]//hilbert's matrix
de_A=det(A);
if de_A<1 then
printf(' A is ill-conditioned')
end
exit();
|
24acdcfae532f7ba436c63b849449bd8534ed488 | 27be2dd7284eb8d71ea19e6b077993d7ff6afd16 | /questao_3_funcoes.sci | be971da23787f9c9cbba6dead72f052ba8b8fa69 | [] | no_license | mtxslv/numericalcomputation | 3b0ec7d1183c03c91c145de0fb1db9fff0a75e61 | 15ce639e5e370fb21fb1ce9878004270ee814e73 | refs/heads/master | 2020-03-26T06:10:14.116677 | 2019-11-14T11:41:38 | 2019-11-14T11:41:38 | 144,592,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sci | questao_3_funcoes.sci | function z = f(vector_x)
z = vector_x(1)*vector_x(1) -sin(vector_x(2)) + 1;
endfunction
function grad = del_f(vector_x)
grad(1) = 2*vector_x(1);
grad(2) = -cos(vector_x(2));
endfunctions
function H = hessian(vector_x)
H = [2 0;0 sin(vector_x(2))];
endfunction
function dot = inner(vector_x)
dot = ... |
53011d03efcff2b5d692a29fc3b2e6a21c4ca843 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Turbomachinery_W._W._Peng_3136.zip/Fundamentals_Of_Turbomachinery_W._W._Peng_3136/CH9/EX9.5/Ex9_5.sce | d6129333a9d143008989ed04b6269fd3ef2f8b90 | [] | 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 | 491 | sce | Ex9_5.sce | errcatch(-1,"stop");mode(2); all; ;
disp("To calculate the thermal efficiency,the units have to be consisitent. With hp=0.707 Btu/s=2545Btu/h, we have ETAth=Ps+Qe/Qin")
ETA_th=(2512*0.707+1259*7)/(7*1750)
printf(" Thus ETA_h= %0.3f",ETA_th)
ETA_th=2512*0.707/(7*1750)
printf("\n For the simple shaft power syste... |
3ff2f1ac1f305d2219837975b7f83f0b29da5dc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3506/CH9/EX9.2/Ex_9_2.sce | c310c23b01b56564e689f0494e310f2d5cb357b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | Ex_9_2.sce | //Optical Fiber communication by A selvarajan
//example 9.2
//OS=Windows XP sp3
//Scilab version 5.5.1
clc;
clear all;
PASE=1e-3;//amplified spontaneous emission power in W
Gdb=20;//optical amplifier gain in dB
G=10^(Gdb/10);//optical amplifier gain in normal scale
delta_newbynew=5e-6;//fractional bandwidth
h... |
685bb3ba730cd2e8f932d95091c946c16c0656da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH11/EX11.37/example11_37.sce | c53736985652c0865456bb90b58e27b5399adb81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | example11_37.sce | clc
// Given that
E = 900 // total relativistic energy of proton in Mev
m = 1.63-27 // rest mass of proton in kg
c = 3e8 // velocity of photon in meter/sec
// Sample Problem 37 on page no. 11.32
printf("\n # PROBLEM 37 # \n")
printf(" Standard formula used \n")
printf(" E = m*c^2 \n ")
m_ = (E * 1.6e-13) / (c)^2
print... |
ce415d5a966d8a1655e3faa8ef3550ca23c350f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH1/EX1.6/1_6.sce | 83bfba1f263b11c2b52f25019613efeed5e8dd18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | 1_6.sce | clear;
clc;
f=5000/(2*%pi);R=196;C=.09*(10^-6);L=.71*(10^-3);G=0;
//value of C as taken in solution
w=2*%pi*f;
Z=R+(%i*w*L);
Y=G+(%i*w*C);
Zo=sqrt(Z/Y);
printf('-Characteristic impedance is Zo = %f /_%f ohms\n',fix(abs(Zo)),round(((atan(imag(Zo),real(Zo))*180/%pi))*10)/10);
P=sqrt(Z*Y);F=fix(abs(P)*100)/100;
... |
da46c95a297740832bb63a1919ac1a2f7e854410 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3289/CH5/EX5.4/Ex5_4.sce | a3f74fc8e16c8081c232b69a2eef554c629161c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 820 | sce | Ex5_4.sce | clc
t=1.25 //mm
y=15.87 //mm
z=5.28 //mm
Iy=4765.62 //mm^4
Iz=21054.69 //mm^4
Iyz=3984.37 //mm^4
thetap=13.05 //degree
Iy1=3828.12 //mm^4
Iz1=21953.12//mm^4
s=12.5
//tau=(Vy/Iz1*t)*s*t(19.55+s*asind(13.05)/2)....equation 1
//F1=integrate((tau*t)ds)
x=integrate('(0)','s',0,1)
//F1=0.0912*Vy1 ... |
312caef5fabb804721126525511ca620e394c7c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH13/EX13.3/example13_3.sce | 6425d01ce48ee8d43c44461b0ec30502ac51c441 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,387 | sce | example13_3.sce | clc
// Given that
x1 = 3 // intercepts cut by the plane along vector a of crystallographic axes in first case
y1 = 3 // intercepts cut by the plane along vector b of crystallographic axes in first case
z1 = 2 // intercepts cut by the plane along vector c of crystallographic axes in first case
x2 = 1 // intercepts cut... |
f018c777e7ad6f28cc8dcf503d3601fb95c18a81 | 717ddeb7e700373742c617a95e25a2376565112c | /1760/CH1/EX1.27/EX1_27.sce | 75eb95e655c328d7de1abf78ebf96635a36a05d9 | [] | 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 | 353 | sce | EX1_27.sce | //EXAMPLE 1-27 PG NO27
L1=50*10^-3; // Inductar
L2=100*10^-3; //Inductar
X=(L1/L2);
disp('i) (L1/L2) = '+string (X)+' ')
Q1+Q2=600;
Q11=200; //flux
Q22=400 //flux
disp('ii) Flux Q11 = '+string (Q11)+' mWb');
disp('iii) Flux ... |
45bd42355e8f4ffd45b2eb7f6909d2fbc82a9706 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /prog_assembly/libs/scilab_code/target_program_graph.sce | 003b926aa5fb2dcb279dc57a9a3304df1270ee13 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 4,976 | sce | target_program_graph.sce | time_scale=1e-5; // Time unit : 10us
clear data_02; data_02=read_tar_pgm_result('data'+info_name+'2.hex',m_graph,time_scale);
clear data_03; data_03=read_tar_pgm_result('data'+info_name+'3.hex',m_graph,time_scale);
clear data_04; data_04=read_tar_pgm_result('data'+info_name+'4.hex',m_graph,time_scale);
clear data_05; d... |
245dfd9733bd4406fdd84e39c2d7bdb71bf4e48d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH3/EX3.2/Ex3_2.sce | 23ee5ab2ce17b911acb360eec7e372dc22546425 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | sce | Ex3_2.sce | //Chapter 03: Algorithms
clc;
clear;
//Linear Search is also known as Sequential Search
function []= linearsearch (a ,n , ie )
i =1;
j =0;
for i =1: n
if ( arr(i) == ie )
printf ( "\nElement:%d found at position %d\n " ,ie , i ) ;
j =1;
end
end
if ( j ==0)
disp ( "Element Not Found!") ;
end
endfunction
arr =[1 2 3 5... |
15a0794e5d3b31e1fb7bf424442cd5430ab75aed | ddc2bfc3e1d587ceef787a861dc69a929132cb2e | /cp/SCRNX.TST | 969bbe6bea1eefcc6305af687ef5e6717f61b887 | [] | no_license | bigwood177/smcSource | d01f46418e571486fc76b03894e2ff084e95d36d | 35c7250973a93a6e30498dd87cb805762bc91528 | refs/heads/master | 2023-03-15T10:08:52.898056 | 2021-03-10T12:50:43 | 2021-03-10T12:50:43 | 283,564,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 134,984 | tst | SCRNX.TST | ;scrnx.tst - in test for lighting up default key mod
;SCRNX.DBL ;isam
; 3-9-04 - RE_PRICE_ROUTINE in test
; 1/15/03 installed - note that material multiplier not activated!!
SUBROUTINE SCRNX
;
; 16-MAY-1997 SSQ: ADD QTY BREAK PRICING.
; 01-JUN-1998 SSQ: CHANGE "INCH" CHAR FROM "," TO "+"
; 11-Nov-1998 SSQ: ... |
ad9ed5bacb2cffa4a5179d7abba63017d639ab23 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/ReadOutData.sci | c1656b159e874ff9343945037bf515f433eaff46 | [] | 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 | 1,998 | sci | ReadOutData.sci | // 14.10.10
// 14.12.14 for 3d
// 15.01.03 changed ("start","end")
// 15.10.24 in case of list-length==1
function Out=ReadOutData(varargin)
global Fnameout
if length(varargin)==0 then
Fname=Rnameout;
else
Fname=varargin(1);
end
Fid=mopen(Fname,"rb");
Gstr=[];
Str="";
Flg=1;
Tmp=mgetstr(1,Fid... |
5f4713af078d81b976454171b41989c064a84831 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH4/EX4.5/ex4_5.sce | 0c08740a9bcc00e19e71cf1113196e8a2be4598e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | ex4_5.sce | //chapter 4
//broadside array
//part a
printf("\n");
n=8;
m1=1;
d=0.5;
lamda=1;
ph1=acos((m1*lamda)/(n*d));
m2=2;
ph2=acos((m2*lamda)/(n*d));
m3=3;
ph3=acos((m3*lamda)/(n*d));
printf("the direction of nulls are");
printf("\n%g %g %g radians",ph1,ph2,ph3);
|
5b1869bd5adafdcea14dc455a2f1b4f3f1715ee8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH5/EX5.21/EX5_21.sce | 3043602fcdabc529d2a3ae9899c85ba12eb54745 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | EX5_21.sce | // Exa 5.21
format('v',6)
clc;
clear;
close;
// Given data
k= 75*10^-3;//in mA/V^2
Vth= -0.8;// in V
R2 = 100;// in k ohm
R1 = 100;// in k ohm
R_S= 6;// in kΩ
R_D= 3;// in kΩ
V_SS = 10;// in V
V_G = (R2/(R1+R2))*V_SS;// in V
I_D= poly(0,'I_D');
V_S= V_SS-I_D*R_S;// in V
V_GS= V_G-V_S;//in V
I_D= I_D-k... |
87e3d63bc2fd599c14b7c1e7d5793d24eb4b67df | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_0905_path_resistance/graph.sce | 8bbda118621c25facc4fcaa8d2f20f8090086f02 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,934 | sce | graph.sce | clear data_00;clear data_01;clear data_02;
data_00 = [
// case 00
// Vin(V) Iout(A) R(ohm)
0.2 0.419E-06;
0.4 1.098E-06;
0.6 2.036E-06;
0.8 3.199E-06;
1.0 4.556E-06;
1.2 6.091E-06;
1.4 7.759E-06;
1.6 9.434E-06;
1.8 11.099E-06;
2.0 13.214E-06;
2.2 15.387E-06;
2.4 17.502E-06;
];
data_01 = [
// case 01 (indirect)
// Vin... |
a27fd70cabf7cbedbc4726b1709f04abaf16a6f6 | 3953ee8faa83677c4470242adc45315acd353eff | /examples/insulin/insulin_noise_s2.tst | 5d7db4405eba3cfc218836c4f2151f53f5fdde75 | [
"BSD-2-Clause"
] | permissive | zutshi/S3CAMR | 83be6ba820207273e6f4b81c55d737b48b097e2a | e7a354137729fcc1f87e647efc8d91e5cd40c83d | refs/heads/master | 2021-05-04T11:52:09.707263 | 2019-06-25T00:37:11 | 2019-06-25T00:37:11 | 51,499,986 | 4 | 0 | null | 2016-03-29T22:01:38 | 2016-02-11T07:22:38 | Python | UTF-8 | Scilab | false | false | 1,555 | tst | insulin_noise_s2.tst | inf = float('inf')
plant_pvt_init_data = None
T = 720.0
delta_t = 0.5
# HybridConfig initialConfig(initialSet, 2, 0, 0);
# Initial Mode
initial_discrete_state = [2]
# Interval init_Gp = init_Gs;
# init_Gp.mul_assign(1.9152);
# States
# idx 0 1 2 3 4 5 6 7 ... |
fc2d9534d4568f968e657eed2c1293bb81e3b67c | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH7/EX7.34/7_34.sce | 32199263e527070d2dd8d7a49a5f9876bd68bfbc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 791 | sce | 7_34.sce | clear;
clc;
//Example - 7.34
//Page number - 269
printf("Example - 7.34 and Page number - 269\n\n");
//Given
T_1 = 0.01 +273.15;//[K]
T_2 = 1 + 273.15;//[K]
P_sat_1 = 0.611;//[kPa] - P_sat at temperature T_1
P_sat_2 = 0.657;//[kPa] - P_sat at temperature T_2
Mol_wt = 18.015;//[g/mol] - Molecular weight of water
R = 8... |
0fd68480f48a536900767e87da417794cbf1aedb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH8/EX8.17/exa_8_17.sce | 525b063f7df1159f3552fec869b202ba6d02302f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_8_17.sce | // Exa 8.17
clc;
clear;
close;
//given data
C=0.1;// in nF
C=C*10^-9;//in F
V=5;//in V
t=1;// in micro S
t=t*10^-6;// in sec
// v= V*(1-%e^(-t/(R*C)))
// Since hold value does not drop by more than 0.5% or by 0.005 V, hold value is 0.995 V, Thus
// 0.995*V= V*(1-%e^(-t/(R*C)))
// or %e^(-t/(R*C))= 1-0.995... |
296e7ec226b5897b1f067085a3a48a4f8b3473e0 | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/cijfersom/edit-me.sce | 432eddceb9c43e17c8908b6c4c62d363351082a5 | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | edit-me.sce | function [sum] = solve(n)
rest = 0;
sum = 0;
while n <> 0
rest = modulo(n,10);
n = (n - rest)/10;
sum = sum + rest;
end
endfunction
|
20f6228c091abc1a2bb3012c5e193efef9b67eb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH18/EX18.11/Ex18_11.sce | 3701c9ad41eab25d59dd774a7ea507c12f83eef2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | Ex18_11.sce |
clc;
//e.g 18.11
Rb=100*10**3;
Vcc=10;
Rc=2*10**3;
beta1=50;
Vbe=0.7;
Ib=(Vcc-Vbe)/(Rb+(beta1*Rc));
disp('mA',Ib*10**3,"Ib=");
Ic=beta1*Ib;
disp('mA',Ic*10**3,"Ic=");
Ie=Ic;
disp('mA',Ie*10**3,"Ie=");
|
07554e4e1a1cc62b36cba91b5f1bd46d5135a7c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /380/CH6/EX6.8/Ex6_8.sce | 881d2d5e6af92385a9bf1d919d21ab16b00fc058 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | Ex6_8.sce | //Caption:Find the reading on the scale
//Exa:6.8
clc;
clear;
close;
P_o=5*746;//power output (in Watts)
N_m=1200;//speed of motor (in rpm)
L=0.4;//arm length (in meter)
w_m=(2*%pi*N_m)/60;
T_s=P_o/w_m;
F=T_s/L;//force reading on the scale (in Newton)
disp(F/9.81,'Reading on the scale (in Kg)='); |
0f32e4ddafb0b37c823a92a00238654928cfe063 | 31c6b1437c7dc52b977bf6790b1b24eff7f7b5f5 | /findallpeaks.sci | 47015fccc25074716bf7bd0f8c272664926b46a5 | [] | no_license | RobinEccleston/Scilab-Snippets | 4744c071ef891cc4905cbecc000a1f5bf667a8f7 | 7886058a25ec4821cfeba6d8e148a0a2aced330c | refs/heads/master | 2021-01-26T00:48:02.042794 | 2020-02-26T11:35:49 | 2020-02-26T11:35:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,196 | sci | findallpeaks.sci | ModuleName="findallpeaks";
Version="0.01";
DateModified="13-Feb-2015";
DateOfCreation="13-Feb-2015";
Author="Rob Eccleston";
Description="Find peaks in a vector of values, returns two arrays of peaks and troughs.";
mprintf("Loading " + ModuleName + " V" + Version + ", Last Modified: " + DateModified + "\n")
... |
f3c173916395f1231523d57cde3cbafe9ee9bbc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH25/EX25.6/25Ex6.sce | bf00c0da589409d7c185e7bf689abce4660eb84c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | 25Ex6.sce | //Chapter 25 Ex 6
clc;
clear;
close;
ExtVol=50*40*23; //given
IntVol=44*34*20; //given
Metal_vol=ExtVol-IntVol;
Weight=(Metal_vol*0.5)/1000;
printf("Weight of box is %2.2f kg",Weight);
|
2c2d011cf78c092f44641db9701e1500d484e6f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH2/EX2.5/example_2_5.sce | e8fe1dbf7b28d4a203435b4a108312ead5e16564 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | sce | example_2_5.sce | s=%s;
F=(s^2+3)/((s^2+2*s+5)*(s+2));
syms t s;
y=ilaplace(F,s,t);
disp(y,"f(t)=") |
50915eef5b6766cb8abfb61a3dc492f0516700db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH20/EX20.3/EX20_3.sce | 56cad5a96217ca6ca919c1cfa7b806aa92dc95a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 776 | sce | EX20_3.sce | clc;funcprot(0);//EXAMPLE 20.3
// Initialisation of Variables
p1=1;......//Suction pressure in bar
t1=293;.....//Suction temperature in K
n=1.2;......//Compression index
p2=10;......//Delivery pressure in bar
R=0.287;....//Gas constant in kJ/kgK
cv=0.718;...//Specific heat at constant volume in kJ/kgK
//Calcula... |
906160836e436077bba6e970b0d486fc4d9f1b77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH11/EX11.3/Ex11_3.sce | 1477a7062e6a8fa2a7cf5d7642f8b5e8dc0051d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | Ex11_3.sce | clc
T=300//K
M=3.64//Armstrong
Nx=(7.54*10^14)//cm^-2
P1=1//Pa
t1=(Nx*sqrt(M*T))/(2.64*10^20*P1)
disp(t1,"t1 at 1Pa in ms is= ") //textbook ans is wrong
P2=10^-4//Pa
t2=(Nx*sqrt(M*T))/(2.64*10^20*P2)
disp(t2,"t2 at 10^-4Pa in s is= ") //textbook ans is wrong
P3=10^-8//Pa
t3=(Nx*sqrt(M*T))/(2.64*10^20... |
fe162160d46fcbf2358467672f2feab9bbda6e70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.48/2_48.sci | 42c82ec3971048a803a9675fe48f6adb034d8091 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | sci | 2_48.sci | // 2.48
clc;
g=0.055;
t=1.5*10^-3;
Eo=100;
P= Eo/(g*t);
A=25*10^-6;
F=P*A;
printf("\n Force=%.0f N",F)
|
20aa2da38a685ae48ca3a0124f246f9bfacec9d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH2/EX2.29/Exa2_29.sce | b7fc82ac743e603cdca9ef092d33e274fc6ff527 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa2_29.sce | //Exa2.29
clc;
clear;
close;
//given data
//Take iron as metal A and copper as metal B with respect to lead
//For metal A:
p_A=16.2;
q_A=-0.02;
//For metal B:
p_B=2.78;
q_B=+0.009;
p_AB=p_A-p_B;
q_AB=q_A-q_B;
T2=210;//in degree C
T1=10;// in degree C
E=p_AB*(T2-T1)+q_AB/2*(T2^2-T1^2);
disp("Thermo-elec... |
3d8e424380315ea8784c4198bb2b663fe5b867f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH20/EX20.4/20_4.sce | bec0d78874971791dc90d8298f5c605f0a61ddaf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | 20_4.sce | clc;
// page no 759
// prob no 20.4
//A satellite transmitter operates at 4GHz with 7W & antenna gain 40dBi
//Receiver antenna gain 30dBi & path length is 4*10^7
Gt_dBi=40;Gr_dBi=30;Pt=7;d=40000;//in km
f=4000;//in MHz
Pr_Pt_dB=Gt_dBi+Gr_dBi-(32.44+(20*log10(d))+(20*log10(f)));
//Signal strength at transmitter ... |
25c3e51169fbbc2509a9b18d01db82e94edf6269 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH9/EX9.3/Example9_3.sce | 5baf5a94d150c0e21a3de447c731a361b7596a5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | Example9_3.sce | close();
clear;
clc;
Vgsq = 6.9; //V
//from drain characterstics of Fig 9.9(b),
Vt = 4; //V
Id_on = 5; //mA
Vgs_on = 8; //V
Idq = Id_on*(1-Vgsq/Vt)^2; //mA
mprintf("Idq = %0.2f mA",Idq); |
310278c5eaca28746d501c4475b33f1ec4a78cb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH11/EX11.7/7.sce | 668052168062d5db1fe1fa51a23c8ee291d89593 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | 7.sce | clc
p1=8*10^5; // N/m^2
p2=5*10^5; // N/m^2
f=0.006;
l=145; // m
m=0.32; // kg/s
R=287; // J/kg.K
T=288; // K
y=1.4;
d=(4*f*l*m^2*R*T/(%pi/4)^2/(p1^2-p2^2))^(1/5);
disp("(a) Diameter of pipe =")
disp(d)
disp("m")
rho=p1/R/T;
A=%pi/4*d^2;
u=m/rho/A;
a=sqrt(y*R*T);
M1=u/a;
M2=p1/p2*M1;
disp... |
8e3d72356ef1598bdc97796e14bcb0de6651ae20 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /dbt air rockets.sce | 50118a91519779c9ad200af06b95a8d3d0140451 | [] | 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 | 28,104 | sce | dbt air rockets.sce | Name=dbt air rockets
PlayerCharacters=QC no movement
BotCharacters=target_decay_midair.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=QC no movement
AddedBots=target_decay_midair.bot
PlayerMaxLives=0
BotMaxLives=100
PlayerTeam=1
BotTeams=2
MapName=boxernobounds.map
MapScale=3.5
BlockProjectilePredictors=false
BlockC... |
25aaaa85d8d15a3695973e33bebcb9a5624fd93d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH4/EX4.2/Ex4_2.sce | 601182b14f53ba7dd073ad627a9f0d06f00eb4ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_2.sce |
//given
//find the area of piston and displacement of that piston
a=3.
b=4.
A=0.785*3**2
printf("\n area of piston %.2f ",A)
D=A*b
//by using above results
printf("\n displacement of piston %.2f cu in",D)
|
ec5e17bdc936274bf2420a6677df530fd1e5ebad | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpklp2hp/test_10.sce | ad9aaee36977f62b362ac170016fd566ffe5fbe4 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 582 | sce | test_10.sce | // Test #10 : For complex vector inputs
exec('./zpklp2hp.sci',-1);
[z,p,k,n,d]=zpklp2hp([2*%i,0.4*%i],[%i,3*%i],1,0.2,0.7);
disp(d);
disp(n);
disp(k);
disp(p);
disp(z);
//
//Scilab Output
//d=1. - 0.2212317
//n=0.2212317 - 1.
//k=0.2830084 + 0.0950556i
//p=0.4218182 + 0.9066804i
// 0.2444835 + 0.3153042i ... |
0139e239e0800f4fe85aa810255f19688680782b | 8b2aadfe2dd241d882213436738542d3f65f4e17 | /ModuleTonalitéSynthèse/Module Synthèse/Scilab/sinus.sci | 4a7c9f60e990112bf8e424480c0a7e58c8f0bd73 | [] | no_license | ahmed-bensaad/FMTM | c764c3162ac6f24f7caa2d0fd99725d4c458efc6 | 66fd7a477e3addb5a0c3a4d7489daa09fb9c5042 | refs/heads/master | 2021-09-02T11:04:05.660173 | 2017-02-06T21:54:09 | 2017-02-06T21:54:09 | 115,977,485 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sci | sinus.sci | function [y]=sinus(f0,Fe,d) // f0 -> hauteur frequence d-> durée
Te=1/Fe; // temps echantillonage
x=[0:Te:d]; //axe temps
y=[0:Te:d]; // amplitude constante au cours du temps
n=length(y);
for i=1:n
y(i)= sin(2*3.14159*f0*x(i));
end
endfunction
|
cca4dee7a7e47e7955e68a13ee46bf4cdbdc0282 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH13/EX13.3.1/Ex13_3.sce | 0104a021e6e983365f09ade898adb51e76aeaf6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex13_3.sce | clc
clear
D1=0.3;
D2=0.2;
C=3;
L1=[(22/7)*(1/2)*(D1+D2)]+[((D1+D2)^2)/(4*C)]+(2*C);
L2=[(22/7)*(1/2)*(D1+D2)]+[((D1-D2)^2)/(4*C)]+(2*C);
L=L2-L1;
printf('The belt length is to be reduced by %2.4f mm',(0-L)*1000);
printf('\n');
|
5b264c37ea8ddaa107128a7ea4b3a5492557ad35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH6/EX6.2/Exa6_2.sce | 868146e83e574fff72817f623e6f168f2a5517ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 711 | sce | Exa6_2.sce | //Exa 6.2
clc;
clear;
close;
//Part (a): Given data :
disp("Part (a) : At the center frequency with a circumference of lambda, the directivity of an axial mode helix is, : D=12*n*Slambda");
n=20;//no. of turns
Slambda=0.472;//in meter
D=12*n*Slambda;//in meter
disp("Ae=(lambda^2/(4*%pi))*D");
disp("Ae="+strin... |
fe05521c87b6f183b2c1a47e0ec5bdb36bf35cd0 | e806e966b06a53388fb300d89534354b222c2cad | /macros/imimposemin.sci | 1d0d582e2ca6d7e62da374aa4f18fcc595277b78 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sci | imimposemin.sci | function[dstMat] = imimposemin(maskImg, markerImg)
out = opencv_imimposemin(maskImg, markerImg)
channel = size(out)
for i = 1: channel
dstMat(:,:,i) = out(i)
end
endfunction
|
2d835bcc1600bb28c8b99dd2178c3ce2054082a7 | 157fd7fe5e541c8ef7559b212078eb7a6dbf51c6 | /TRiAS/TRiAS/Extensions/Colors/Commands/Test/rgb2hsg.tst | 1066461474b9225b97f4066dd4ee8d9bb9e69a1a | [] | no_license | 15831944/TRiAS | d2bab6fd129a86fc2f06f2103d8bcd08237c49af | 840946b85dcefb34efc219446240e21f51d2c60d | refs/heads/master | 2020-09-05T05:56:39.624150 | 2012-11-11T02:24:49 | 2012-11-11T02:24:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 20 | tst | rgb2hsg.tst | 255,255,255
0,0,0
|
dcd36f3801b1b9c8e65f12627a50f07b98d3e603 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH5/EX5.7/Ex5_7.sce | e652ca10d5e4f231f8900577265670c80036be18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | Ex5_7.sce |
//
//
r1=2.550
r2=2.500
s=r1-r2
d=0.002
D=100
n=5
r=(n*d*D/s)
printf("\n R= %0.3f ",r)
alp=(s/(n*D))*206265
printf("\n sensitiveness of bubble is %0.3f seconds',alp)
|
a746f1a6da015527ed7907a16add7b715cb3da58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH10/EX10.13/1013.sce | bf6a0aad22f52c90b35fb17d4d0591f6ed097aab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | 1013.sce | // problem 10.13
Q=0.125
Hm=25
N=660/60
d2=0.6
d1=d2*0.5
a=0.06
y2=45
g=9.81
u2=3.142*d2*N
u1=u2*0.5
Vf2=Q/a
Vw2=u2-(Vf2/tand(y2))
n=g*Hm/(Vw2*u2)
Vf1=Q/(a)
y1=atand(Vf1/u1)
disp(y1,n*100,"manometric efficiency,vane angle at inlet")
|
5cd868fcc7e2a93cad8f88cc2c2fac870eb17c2f | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/macros/gl_stat_simu.sci | 5b85a933c8a2e9c3539652795da8a653e199a9a4 | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,616 | sci | gl_stat_simu.sci | function [MSim,VSim,MSSim,VSSim] = gl_stat_simu(S,N,maxp,Tr,b,bu,c,Nu_Ma,Nu_I,Nu_A,st_j,rt_a)
// Ouput variables initialisation (not found in input variables)
MSim=[];
VSim=[];
MSSim=[];
VSSim=[];
// Display mode
mode(-1);
// Display warning for floating point exception
//ieee(1);
//this function is to find mean a... |
c8b648827cb2554364272dd952edc00c42582890 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH10/EX10.3/10_3.sce | 57dde664e87c3e20303bb6222146f1b499d8fc42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | 10_3.sce | clear//
//Variables
n = 5.8 * 10**28 //number of free electrons (in per cubic-meter)
p = 1.54 * 10**-8 //resistivity (in ohm-meter)
q = 1.6 * 10**-19 //charge (in Coulomb)
m = 9.1 * 10**-31 //mass of electron (in kg)
//Calculation
sig = 1/p... |
239c06bbebacf72aa6e73859daf6c9cc4fe54b59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH28/EX28.6/example28_6.sce | f58960358ea6830e7f19b71aa52132f9bdc89e18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example28_6.sce | r=100;
c=1000*10^(-6);
vm=9;
vr=0.8;
disp("Part a");
vrms=vr/(2*sqrt(3));
disp("the r.m.s. value of the ripple voltage (in V) is"); disp(vrms);
disp("Part b");
vdc=vm-vr/2;
disp("the dc output voltage (in V) is"); disp(vdc);
disp("Part c");
rip=vrms/vdc;
disp("the ripple factor is"); disp(rip); |
56996ce8a4d2b5ebbb84bd599f67aa3ee766417d | 952f05b9b2293792559cddaf7ee402ccc22b0b8d | /icclim/test-cases/test-cases-read-the-docs/read-the-docs-example-10.tst | f6c66748a900f3098b0670b5fabfe61669152272 | [
"Apache-2.0"
] | permissive | ptrgast/icclim | a5c768bde9f5ce0562ef8250262ca1d70213c461 | 1c43cc7fc5d779f04fb72361a80bde3b232a9580 | refs/heads/master | 2020-05-18T18:44:15.153378 | 2020-02-04T07:46:40 | 2020-02-04T07:46:40 | 184,594,303 | 0 | 0 | NOASSERTION | 2020-02-04T07:46:41 | 2019-05-02T14:19:16 | Python | UTF-8 | Scilab | false | false | 531 | tst | read-the-docs-example-10.tst | [Read-the-docs-example-10] # Read the docs - example 10
user_indice: {'indice_name': 'my_indice', 'calc_operation': 'nb_events', 'calc_operation': 'max_nb_consecutive_events', 'logical_operation': 'gt', 'thresh': 'p85', 'var_type': 'p'}
in_files: ['pr_day_CNRM-CM5_historical_r1i1p1_19700101-19741231.nc','pr_day_CNRM-CM... |
fc5bd464e86b58704e33146212b0e84a8271c724 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH25/EX25.21/25_21.sce | 30dc95aeb717ab78facd590d6c59d4b713b58225 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | 25_21.sce | //ques-25.21
//Calculating pressure using van der Waals equation
clc
n=2;//moles of ammonia
T=300;//temperature (in K)
V=5*10^-3;//volume (in kL)
a=0.417;//(in N M^4/mol^2)
b=0.037*10^-3;//(in m^3/mol)
P=(n*8.314*T)/(V-n*b)-(a*n^2)/V^2;
printf("The pressure required is %.1f N/m^2.",P);
|
34c8743c7bc3d8df17eb5fa6b2c13ee0855a919a | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /CostDistanceKCD/3dof/dull2.sce | 4075ada9fed0ed126538fed611d679151e9d8fd7 | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 587 | sce | dull2.sce | #************************************************************
# Scenario of lydia
#
# date : Tue Jul 28 11:26:38 2009
#************************************************************
p3d_sel_desc_name P3D_ENV lydia
p3d_sel_desc_name P3D_ROBOT lydia2.robot
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.... |
1407c21a4ebcd509bef0d6f6497a6fe8c0739723 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH5/EX5.4/exa_5_4.sce | db27ddf473e3d4a0d12e3131dbc6278658ac616c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | exa_5_4.sce | //Exa 5.4
clc;
clear;
close;
//given data
rho=985;// in kg/m^3
k=.654;// in W/mK
Cp=4.18;// in kgJ/kgK
Cp=Cp*10^3;// in J/kgK
v= 0.517*10^-6;// in m^2/s
Pr=3.26;
V=1.2;// in m/s
t_s=85;// in degree C
t_i=40;// in degree C
t_o=70;// in degree C
Ax=15*35;// in mm
P=15+35;
de=4*Ax/(2*P);// in mm
de=de*10... |
ae03043bfe061227a19c1181b0b6f7340bcf1e39 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/scicos_blocks/LOOKUP_f.sci | d2828a6ce20079d9475d3973771c917f4e1719d8 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,453 | sci | LOOKUP_f.sci | function [x,y,typ]=LOOKUP_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1;
graphics=arg1(2... |
02a32076812cc7dc2a89ab9038799af38480252d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH5/EX5.15/Ex5_15.sce | e6ccfe2b552fc130f7d84120b0b36f4937ebbea4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 957 | sce | Ex5_15.sce | clear all; clc;
disp("Scilab Code Ex 5.15 : ")
//Given:
l_cd = 0.5; //m
l_de = 1.5; //m
h =60/1000; //m
w = 40/1000; //m
t_h = 3/1000; //m
t_w = 5/1000; //m
T_c = 60; //Nm
T_d = 25; //Nm
G = 38*10^9; //N/m^2
T1 = T_c - T_d;
//Average Shear Stress:
area = (w-t_w)*(h-t_h);
shear_a = T1/(2*t_w*area*... |
a66d1b79cc1cb8a1511ccb12a691adad5cb41834 | c565d26060d56f516d954d4b378b8699c31a71ef | /IEEE-Chile/pid/pi_4.sce | 5c85d7b3be55ac5473be058597bcfcb474d6dbb1 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 141,772 | sce | pi_4.sce | .10000E+00 .36000E+02 .30000E+02 .40000E+02 .78000E+01 .36000E+02
.50000E+00 .36000E+02 .29600E+02 .40000E+02 .60000E+01 .36000E+02
.90000E+00 .36000E+02 .29600E+02 .40000E+02 .64000E+01 .36000E+02
.13000E+01 .36000E+02 .29600E+02 .40000E+02 .64000E+01 .36000E+02
.17000E+01 .36000E+02 .29700E+02 .40000E+02 .64000E+... |
1db442f546070e0c235c9665cb7dcdd78d715125 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH2/EX2.9/ex_2_9.sce | f5d587ed567fbf7757de2ca570659f47e2024bd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | ex_2_9.sce | ////Ex 2.9
clc;
clear;
close;
format('v',5);
Beta=110;//unitless
VBE=0.7;//V
VT=26;//mV
VCC=10;//V
VEE=10;//V
RC=1.8;//kohm
R=3.9;//kohm
IExt=(VCC-VBE-(-VEE))/R;//mA
IT=IExt;;//mA
ICQ=IT/2;//mA
V1=0;V2=0;//V
VE=-2*VBE;//V
VC=VCC-ICQ*RC;//V
VCEQ=VC-VE;//V
Q=[ICQ VCEQ];//[mA V](Q point)
disp(Q,"Q poin... |
69ba83a2dfa8eb29d0f3fe1788c267c7f57c22da | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH7/EX7.6/Ex7_6.sce | 74a3499293092cf7898987aab20bd815db75af22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | Ex7_6.sce | //fiber optic communications by joseph c. palais
//example 7.6
//OS=Windows XP sp3
//Scilab version 5.4.1
clc;
clear all;
//given
Wg1=1.1//band gap energy of silicon pin diode in eV
Wg2=0.67//band gap energy of germanium pin diode in eV
//to find
lambda_c1=1.24/Wg1//wavelength in um
lambda_c2=1.24/Wg2//wavel... |
ecf664a6b08add03c61e2097b458e0ad266ae24d | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH14/EX14.9/14_9.sce | c1977dd1784f6a7f67b0819ffb1671f37a2d22f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | 14_9.sce | clc
//initialisation of variables
BeamL= 60 //mm
BeamB= 100 //mm
Load= 60000 //N
Stress= 150 //N/mm^2
//CALCULATIONS
sigmax= Load/(BeamL*BeamB)
stressmax1= sqrt((Stress/2)^2-(sigmax^2/4))
Sy1= (2*stressmax1*BeamL*BeamB)/3
stressmax2= sqrt((Stress^2-(sigmax^2/4))/3-(sigmax^2/4))
Sy2= (2*stressmax2*BeamL*Beam... |
8d3793572572a7dbb238b94a5c26219d216c811b | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-HypothesisTesting/FLzTest2P-TD-01.tst | 7e258080206d420d7cb6704da923e61b7bd3e116 | [] | 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 | 6,468 | tst | FLzTest2P-TD-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
... |
82486b8b642f763ccf60a803b009298ebd6af8b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH2/EX2.11/2_11.sce | a88a7620cd84512ed8cb00f7c4e9ac1591ee9f43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | 2_11.sce | clc,clear
printf('Example 2.11\n\n')
V=220
I_1=50, I_a1=I_1 //Currents before adding extra resistance
T_2_by_T_1 =0.5
R_t=0.15 //R_e + R_se =0.15
I_a2 =I_a1 * sqrt(T_2_by_T_1) //Because T (prop.) I_a^2
E_b1=V-I_a1*(R_t) //induced emf before adding extra resistance
N_1=500,N_2=300 //speeds before and addin... |
79f9de6828a07394ae3733f7719caf9c67be1160 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH7/EX7.5/7_5.sce | 088b212630bb7a711dd30147152bef758f0a134b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 547 | sce | 7_5.sce | //Example 7.5
//Inverse of Complex Matrices
//Page no. 262
clc;clear;close;
A=[1,-1,0;2,3,4;0,1,2];
B=[1,1,3;1,3,-3;-2,-4,-4];
P=A+%i*B;
disp(P,'Matrix P=')
disp(A,'Matrix A=');disp(B,'Matrix B=');
A1=inv(A);B1=inv(B);
disp(A1,'Inverse of Matrix A=');
disp(B1,'Inverse of Matrix B=');
B1A=B1*A;disp(B1A,'In... |
67bb2160aaf248bb84873bb01121aaf80c7b0ae0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH5/EX5.7/5_7.sce | 17be6288cf8bf5b3300169deb1466567f22c1c18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | 5_7.sce | ////
//Variable Declaration
n = 1.0 //Number of moles of CO2
T = 300.0 //Temeperatures of Water bath, K
vi = 25.0 //Initial and final state Volume of Ideal Gas, L
vf = 10.0
R = 8.314 //Ideal Gas Constant, J/(mol.K)
//Calcualtions
qrev = n*R*T*log(vf/vi)
w = -qrev... |
e2457a92d584892eec2488df0164a7588a49eaa3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH6/EX6.2/Ex6_2.sce | d0378541d16693d4d3c7689811bd0d31b8a1f3a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | Ex6_2.sce | clear
//
//
//
//Variable declaration
rho=10**10 //resistivity(ohm m)
d=10**-3 //thickness(m)
A=10**4*10**-6 //area(m**2)
V=10**3 //voltage(V)
f=50 //power frequency(Hz)
epsilonr=8
epsilon0=8.84*10**-12
tan_delta=0.1
//Calculation
Rv=rho*d/A
dl_DC=V**2/Rv //DC dielectric loss(watt)
C=A*epsilon0*e... |
78be4cae505a531b1479a92c9a32593dd79c8edc | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RT19.prev.tst | accf168a76cd26131b622634da9db9973b1813d0 | [
"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 | 48 | tst | RT19.prev.tst | linearIndex(0,0) = 0
triangleIndex(0) = (0,0)
|
1534f1f9189c0f7cd4f297f4574c11141aad3d07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH9/EX9.9b/Example9_9b.sci | 2918fb05db9f48f9f966b571e08c4a8a1990e02c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,280 | sci | Example9_9b.sci | clc();
clear;
// To calculate the temperature of surface and centre plane
t=2; // Thickness of wall in ft
To=100; // Initial temperature of wall in degF
Tg=1000; // Temperature of hot gases exposed in degF
k=8; ... |
7183f2f09c47de04acc8a1d3fe2f2b0e64d44e51 | 1bc06fa90b5425d41347c90d0c73bb82eb4cbbfe | /filtres/conique.sci | 99bfd31ac1a6fee3970c5c4787c1921e2b03a999 | [] | no_license | madox35/Filtre-Canny | a0a527ad6be5a1dc5984b2533008f95b1c9663ee | 3a54da9b0ce917c995ea5fbd48e0ed5c3f36748d | refs/heads/master | 2020-03-08T08:57:27.702111 | 2018-04-21T19:39:39 | 2018-04-21T19:39:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sci | conique.sci | function [filtre, coef, nom] = creerFiltreConique()
filtre = [0 0 1 0 0;
0 2 2 2 0;
1 2 5 2 1;
0 2 2 2 0;
0 0 1 0 0];
coef = 25;
nom = 'Conique';
endfunction
|
405d3530437b603d99e691f7a2ee36512dab1c2f | dbd504f73f233675d0c8c2c8c5730e866aabcd96 | /codes/pathloss.sce | 6d09237e2448536ee541addc0ac23a0fc67940c8 | [] | no_license | surajdurgesht/Wireless-Communication-Lab | f5019be42d24fe6568e98d666efd901283a0c7a7 | e8fac339daf91d24ee0dd9e22e9236fcbb68dac3 | refs/heads/master | 2020-06-04T19:07:54.824459 | 2019-06-16T06:30:21 | 2019-06-16T06:30:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 163 | sce | pathloss.sce | d=0:0.1:10;
k=50;
P_r=2000;
P_t=100;
m=0.01;
x=log(d);
y=(k-m*log(d));
plot(x,y);
xlabel("Distance");
ylabel("Pathloss Constant");
title("Pathloss");
|
96c65561df6b824b07478f029e20fa1f5feb611c | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH12/EX12.1/12_1.sce | c92e80d1a69cefa14355abeaf0ea31ed3fc3102e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | 12_1.sce | pathname=get_absolute_file_path('12_1.sce')
filename=pathname+filesep()+'12_1data.sci'
exec(filename)
clear
Ar=(%pi*d^2)/4;
b=((2*Ar*Ls)/(t*Lt))+d;
printf("\nb: %f",b); |
c21977d99074045cb5c20ce45a9b6afa2225a994 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH1/EX1.20/ex1_20.sce | e9ab6f732e8629fe0887063df8d9a4df73cf917e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | ex1_20.sce | clc;
p=200; //power in Watt
v=12; //voltage in volt
i=p/v; //calculating current in Ampere
I=p/6; //calculating
disp(i,"Current in Ampere = "); //displaying
disp(I,"Current in Ampere if voltage were 6V = "); //displaying result |
cbbcd8574d1bc4d15a752b65e3df0f7eecf4880d | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/BXP2.prev.tst | 8b1f2bc9ec1ada425774970ac4ec806bdd74d6d5 | [
"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 | 1,472 | tst | BXP2.prev.tst | 0 0 0 0 0
1 1 1 0 0
2 4 3 2 0
3 9 5 2 0
4 16 7 2 0
5 25 9 2 0
6 36 11 2 0... |
167596745927bb1f2a5827b7baa90e2be2f1df1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH3/EX3.5/Ex3_5.sce | a6151d8d46dbf9b0eeacb4b717d54069e1fa1b85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_5.sce | clc
//initialisation of variables
t=30//deg
y=9802//N/m^3
sg=0.78
r=6*10^-2//m
//CALCULATIONS
P=(1/2)*y*sg*r//Pa
//RESULTS
printf('The pressure is=% f Pa',P)
|
9d324ebd2daba36491f15492166e8980cf176fb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH1/EX1.32/ex1_32.sce | 255e47c1e2895d76ef907713870f641d7dc0cb1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,579 | sce | ex1_32.sce | //Chapter-1, Example 1.32, Page 45
//=============================================================================
clc;
clear;
//INPUT DATA
V=24;//supply voltage of battery in volts
Rab=13;//resistance between A and B points in ohms
Rbc=11;//resistance between B and C points in ohms
Rbe=18;//resistance between ... |
8c73630e507e93dfccb91f81288035ee07933f28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH16/EX16.1/Ex16_1.sce | f5d40f365d6924c4ad937149e5e741477a9e7a0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 542 | sce | Ex16_1.sce | clc
// initialization of variables
clear
Y=345 //MPa
S_u=586 //MPa
d=20 //mm
R=800 //mm
//part (a)
SF=1.8
N=1e+07
S_am=290 //MPa
// P_max not yet known. take it as unity until an equation to be solved is encountered
P_max=1
c=d/2
M=SF/2*P_max*R //M=T
I=%pi*c^4/4
Sigma=M*c/I
J=%pi*c^4/2
tau=M*c/J
S_ma... |
36bad8a95f634fc75880a668830cf98a6f783fb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH7/EX7.2/Ex7_2.sce | d31640179972219adb252bcdc02626eba5ee5dc8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | Ex7_2.sce | clear
//
//
//
//Variable declaration
chi=-0.25*10**-5 //magnetic susceptibility
H=1000 //magnetic field intensity(amp/m)
mew0=4*%pi*10**-7
//Calculation
M=chi*H //magnetisation(A/m)
B=mew0*(H+M) //magnetic flux density(wb/m**2)
//Result
|
0fa24f5f853c891f316fbbb97636cd42d81adbe8 | f14f2861ee7e97cb37f69216b207bf431873cfb5 | /SciLab/ejericiominimizardistancia.sce | 4d5cece55308be893686690fd5ddb599defe88a7 | [] | no_license | osfprieto/Personal | f97307f1014569baa9a10865c255072b8b949c11 | f0353c25718f29feebfb26da2003408e448a0aeb | refs/heads/master | 2022-09-20T13:11:19.242327 | 2022-09-12T19:53:37 | 2022-09-12T19:53:37 | 14,189,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sce | ejericiominimizardistancia.sce | function ans = derivadadistancia(x)
numerador = -3 - x + 2*x^3
denominador = sqrt(10 - 6*x - x*x + x*x*x*x)
ans = numerador/denominador
endfunction
|
edc22269385bf2e3a86e957b3e6956074c17d904 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.31/Exa_2_31.sce | e3eb935e143cff98e9ebc07942b4215c34ac9a9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,250 | sce | Exa_2_31.sce | //Exa 2.31
clc;
clear;
close;
format('v',8);
//Given Data :
p1=1;//bar
T1=20+273;//K
p2=6;//bar
m=1;//Kg
R=287;//Nm/Kg
Gamma=1.4;
Cp=1.005;//KJ/KgK
Cv=0.7175;//KJ/KgK
//T2=T1 : Isothermal compression
T2subT1=0;
deltaU=m*Cv*(T2subT1);//KJ
disp("Isothermal :");
disp(deltaU,"Change in internal energy ... |
28886ea7cc4ae6d75d16444cf6d0e94d30427589 | 93a7be8bf198573dd5df609f6982ec047e470429 | /Kinetic_r.sce | ef12677aba24558fd9bd422c078ed05d03b1488e | [
"MIT"
] | permissive | jwist/nmr-dosy-scilab | 09c99f9e222ac5787560b2bc190393a48f0ee7ca | afdd94cb29e0330158c8cd8f80ba2658e3f6d135 | refs/heads/master | 2021-07-15T02:27:33.765537 | 2020-06-26T21:34:29 | 2020-06-26T21:34:29 | 164,842,224 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,886 | sce | Kinetic_r.sce | // 06 Nov / 2018
// Cyclohexane-Toluene *** Cinetica_2_Replica ***
clear
mclose('all')
//<< El archivo fun_read.sce contiene las herramientas necesarias para extraer
//los valores de spoffs0 como los respectivos espectros procesados a partir de
//Topspin >>
exec("/Users/christianpantoja/Documents/new_processing... |
90b7158b450d5194db8c5f8ba5cf6e82f218454b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH5/EX5.12/ex5_12.sce | 30f08ae113d89bc4934137d3a42c7e77f3e4d9a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_12.sce | clc;clear;
//Example 5.12
//given data
Wo=4.8;//work function in eV
W=2220;//wavelength in angstrom
//calculations
E=12400/W;
Emax=E-Wo;
disp(Emax,'The maximum Kinetic energy in eV is') |
f061b21e8e78b017680ddc8f9600b38ead200b78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH28/EX27.10/EX27_10.sce | a6884ffe45cc78b59cd6a397a4e82996402a5046 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | EX27_10.sce | // Grob's Basic Electronics 11e
// Chapter No. 27
// Example No. 27_10
clc; clear;
// Calculate the maximum rated zener current for a 1 W, 10 V zener.
// Given data
Pzm = 1; // Power rating of zener= 1 Watts
Vz = 10; // Voltage rating of zener= 10 Volts
Izm = Pzm/Vz;
disp (Izm,'The Maximum ... |
7e241baa12ea9b9ce88c481acb4e5042539bd4a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH12/EX12.4/12_4.sce | 54fb2568cdabfb0aa216a2e8b0acfce1598aed85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | 12_4.sce | h1 = 3465; h2s = 3065; h3 = 3565;
h4s = 2300; x4s = 0.88; h5 = 191.83;
v = 0.001;
P = 150; // in bar
Wp = v*P*100;
h6s = 206.83;
Q1 = (h1-h6s)+(h3-h2s);
Wt = (h1-h2s)+(h3-h4s);
Wnet = Wt-Wp;
n_cycle = 100*Wnet/Q1;
sr = 3600/Wnet;
disp(0.88,"Quality at turbine exhaust is")
disp("%",n_cycle,"Cycle efficiency ... |
ea0b43f05fb1fc443f050ef7603867447d5398ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.11/EX2_11.sce | ab39134e78e57a509095da394cfc24ea34762054 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX2_11.sce | //EXAMPLE 2-11 PG NO-66
W=314.16;
PV=14.14; //PEAK VALUE
t=0.0025; //TIME
i=PV*sin(W*t); //CURRENT
T=0.0175; //TOTAL TIME
I=PV*sin(W*T);
disp('ii) CURRNT (i) is = '+string (i) +' ');
disp('ii) CURRNT (I) is = '+string (I) +... |
76809238a0f9efc19186a694258622f01a326223 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH4/EX4.11/Example4_11.sce | d23a100efa71c22fb644f7096af708f95ba71e7b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 309 | sce | Example4_11.sce | //Example 4.11
clc;
clear;
close;
format('v',9);
//Given data :
S1=1.9;//sp. gravity
S2=1.2;//sp. gravity
S3=0.79;//sp. gravity
h2=545/1000;//m
h1=750/1000;//m
h3=h1-h2;//m
w=1000*9.81;//N/m^3
pAB=(h1*S1-h2*S2-h3*S3)*w;//N/m^2
disp(pAB,"Pressure difference between the two vessel in N/m^2: ");
|
f26e02e8699d1b6197c3a77c8f6accc7c96bbfb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH6/EX6.5/Ex6_5.sce | ad2e4613602b84102f9968efc1f9b76bdcc14ac2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 815 | sce | Ex6_5.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear all;
//example 6.5
//calculation circuit inductance and dynamic resistance
//given data
C=8*10^-6//value of capacitor (in farad)
Ip=10//output peak current(in kA)
t1=8*10^-6//time to front(in second)
t2=20*10^-6//time to first half ... |
4036e1fdac6e2a48ac9575dbebd65e0295db52c5 | 05db16b4f57b0182fa452e2c11554c3de6fff271 | /branches/vac4.52mkg_24_06_2010/scilab/trim.sci | b58621afbfc53b5d4fbb79ffdf8b3e9c6edd2d74 | [] | no_license | SpungMan/smaug-all | 09b4fcf6fcec2fc7be1fa85c5c7f2d68c79e504b | 01df12e98c734529ff984662badc26eaa3a9138b | refs/heads/master | 2021-11-29T14:09:47.094457 | 2018-06-08T09:48:05 | 2018-06-08T09:48:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sci | trim.sci | function [result] = trim(str)
// Ouput variables initialisation (not found in input variables)
result=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//Trim trailing blanks from str
i = max(size(mtlb_double(str)));
while mtlb_isspace(mtlb_e(str,i))
i = i-1;
end;
result = mtl... |
d418b4f38944cc98c6c77edfeb84c3fceb35b2b4 | 584105ff5b87869494a42f632079668e4c3f82de | /wrapppers/help_files/extractHOGFeatures.sci | 29b132ed3e7b172032a35c64181902c2a1870fbf | [] | 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 | 842 | sci | extractHOGFeatures.sci | function [featureVector] = extractHOGFeatuers(I, varargin)
img = mattolist(I);
[lhs rhs] = argn(0);
if rhs<1 then
error(msprintf("Not enough input arguments"));
end
if rhs>9 then
error(msprintf("Too many input arguments"));
end
l = rhs-1;
if(l==0) then
featureVector = opencv_extractHOGFeatures(img);
els... |
4aedb40ba5f98e4c14af698cc2e833dddc884bce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH7/EX7.3/Ex7_3.sce | 3a93ff6ba0bacc01a1510da6247aa5db7dda7fb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sce | Ex7_3.sce |
//Optoelectronics and Fiber Optics Communication by C.R. Sarkar and D.C. Sarkar
//Example 7.3
//OS = Windows 7
//Scilab version 5.5.2
clc;
clear;
//given
Df=80*10^-6;// diameter of the fiber in m
Ds=45*10^-6;// diameter of the source in m
NA=0.15;// numerical aperture of the fiber
Mmax=(Df/Ds);// maximum... |
5af4c35d3ae4a6c028ae506955f94e58f029f043 | 704a8e9047b24c6e005fdc6206aacf6b3ea623bb | /UE/S1/bin/ANALYSE/tridiaganal.sci | 23fef89613162d226f54cf1bbf10e436a3c945ac | [] | no_license | GuangYueCHEN/ENSIIE | e84ffd6be1718b958bc72cef791a77dc49fa057f | f2014c0cf5b1adda3f327d5dd1d39217e703871b | refs/heads/master | 2021-06-30T21:50:49.946086 | 2019-06-18T09:53:36 | 2019-06-18T09:53:36 | 114,696,410 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sci | tridiaganal.sci | function B=tridiaganal(n)
B=zeros(n,n);
for i=1:n,
B(i,i)=3
end
for i=2:n,
B(i,i-1)=1
end
for i=1:n-1,
B(i,i+1)=1
end
endfunction
|
369ee9ca002b3670cb70e696e0965f0c1290d5bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH5/EX5.7/5_7.sce | 2284f69191f8b99627381477aad898b5a11e6334 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_7.sce | clear
clc
//initialisation of variables
m= 60/26
i= 1/2000
h1= 3 //ft
h2= 5 //ft
m1= 10/3
C= 90
l= 500 //ft
H= 20 //ft
H1= 29.62 //ft
g= 32.2 //ft/s^2
//CALCULATIONS
v= 90*sqrt(m*i)
v1= v*h1/h2
dh= (i-(v1^2/(C^2*m1)))*l/(1-v1^2/(g*h2))
h3= h2-dh
V= h1*v/h3
//RESULTS
printf ('Height of water 1000 ft ... |
2ae716eaec48bd5722246bb5376270134d1785c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.72/Ex1_72.sce | 28722c268013e4e6c7ca2bb907e6f92efb4360e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 695 | sce | Ex1_72.sce | // Ex 72 Page 411
clc;clear;close;
// Given
R=200;//ohm
L=2;//H
C=5*10**-6;//F
if R<2*sqrt(L/C) then
printf("Since R<2sqrt(L/C), the circuit is originally oscillatory.")
end
a=R/(2*L)
omega = sqrt(1/L/C-R^2/4/L^2);//rad/s
//i=Im*%e**(-a*t)*sin(omega*t+fi)
//at t=0 sec
i0=0;//A
vc=10;//V
fi=asin(i0);//degree
//L*di... |
9d603da8b5a135bcb210b8e2eddc1742f5957e34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH16/EX16.7/16_7.sce | 3c42fd537112ba5271ce650a461151bfd84fd766 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | 16_7.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 16.7
//calculation of the tunning frequency of fork B
//given data
nu1=384//tunning frequency(in Hz) of fork A
n=6//number of beats
t=2//time(in s) taken by the beats
//calculation
deltanu=n/t//frequency of beats... |
66ab5cac8cd0af77ee2b21dcc5088779ccca9319 | ba5d14a99711f45c6f3d2d28e4e8c12c9120e536 | /Cálculo da média.sce | dee56cd6c73bd71cbc6adedf5495032b520b5adc | [] | no_license | RuanXavierSantos/Exercicios_Scilab | 0bf7aa6cc0b94e84bd560861c77d7a1a6c17bc2b | 219c1609766e1ac1ad27f9469012d7f3bb6c8dea | refs/heads/main | 2023-09-03T00:50:12.356763 | 2021-10-20T13:29:22 | 2021-10-20T13:29:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | Cálculo da média.sce | x1=input("informe a primeira nota: ");
x2=input("informe a segunda nota: ");
x3=input("informe a terceira nota: ");
x3=(x1+x2+x3)/3;
if x3>=7 then
mprintf("ALUNO APROVADO");
else
mprintf("ALUNO REPROVADO");
end
|
1e89ec0b01ca19f71491fad578d37cb730bd1fc9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH4/EX4.8.b/solution4_8.sce | 72db152541c945fb6767284effe8ea1be256e19d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 930 | sce | solution4_8.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution4_8.sce')
//Obtain path of data file
datapath = path + filesep() + 'data4_8.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the permissible tensile stress for the link sigmat (N/mm2)
sigmat = Sut/fs
//Assume the va... |
e7278eff1e7ecc588fd20b86e17b2ffb12f68f3f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/firpmord/firpmord7.sce | 86d4d99242d708c0662065c019663d7578f0e9e8 | [] | 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 | 262 | sce | firpmord7.sce | //too many o/p args
f = ['a' 'b' 'c'];
a = [1 0];
dev = [0.01 0.1];
fs = 8000;
[n,fo,ao,w,s] = firpmord(f,a,dev,fs,'d');
//output
//!--error 59
//Wrong number of output arguments.
|
822287bb7c82169c0c3897d31e9d6ebc91c43e0c | c4717e4bae91977b39bb2dcb9e50dbe60718e1c0 | /ydTest2.txt | 95660cc215a5a058f4130de300cf97383fab1eaf | [] | no_license | ydlsl/myselfTest | 38fa80a29d888fdd83c409d793fc19c552d8c6f1 | b9ef71c105fcde8826a7aa3b61955c83108cf6d4 | refs/heads/master | 2022-11-26T13:34:19.154082 | 2020-07-23T09:22:28 | 2020-07-23T09:22:28 | 278,520,441 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14 | txt | ydTest2.txt | test for add
|
71bbb00156d6c6d3a9680f67fe09af11dd000d6f | 0480f6392643f10964ff6b301b2be49036bfe7d9 | /pam.sce | 12b16500938df0d766cdefe1263ce38a2d4b2cb9 | [] | no_license | vbv15/helloworld | 02f13332442310e95126067564516a8500b072c3 | 7982e10b0195afc1adb582ec623d95bd8f9556cb | refs/heads/master | 2021-06-28T01:18:01.725621 | 2016-11-11T02:49:46 | 2016-11-11T02:49:46 | 42,517,937 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | pam.sce | t=(0:0.01:5*%pi)';
-
- tc=(2*%pi)/10;
-
- fc=1/tc;
-
- tl=t/20;
- u=cos(2*%pi*fc*tl);
- ta=8*t;
- k=(squarewave(ta)+1)*(1/2);
- y=k.*u;
plot(t,y)
|
4789f95c6f5575dc8985a5be3325a8ac30061693 | 449d555969bfd7befe906877abab098c6e63a0e8 | /833/CH1/EX1.2/Ex1_2.txt | d1caca177ee8a474fbd5ad4695e4dc7b36980969 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | txt | Ex1_2.txt | //Caption:Find (a) Power factor on no load (b) active current (c) magnetising current (d) copper loss in the primary winding (e) core loss
//Exa:1.2
clc;
clear;
close;
V_1=3300//Primary voltage (in volt)
V_2=240//Secondary voltage (in volt)
I_0=2//No load current (in A)
P=60//Power (in watt)
R=0.8//Resistance ... |
12de82c57bcfe0277328f5fd5698d5bac1a4172b | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH10/EX10.12/10_12.sce | 1f61594fc7dc80a58f11be75670a04a2e718fdb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | 10_12.sce | P1 = 700e03; T1 = 273+260; T3 = T1;
V1 = 0.028; V2 = 0.084;
R = 0.287;
m = (P1*V1)/(R*T1);
P2 = P1;
T2 = T1*((P2*V2)/(P1*V1));
n = 1.5;
P3 = P2*((T3/T2)^(n/(n-1)));
cp = 1.005; cv = 0.718;
Q12 = m*cp*(T2-T1);
Q23 = m*cv*(T3-T2) + (m*R*(T2-T3))/(n-1);
Q31 = m*R*T1*log(P3/P1);
Q1 = Q12;
Q2 = -(Q23+Q31);
e ... |
d8dfe7cc5462c50241c812d6d5d402ecde3abd08 | 852a887149cf08573ae15977b6bddfd7e4ad6b90 | /projects/00/Not16.tst | 152b44e579d8ade4a0116ddf22722864a8d8f5ea | [] | no_license | SamuelWiet/ElementsOfComputingSystemsProjects | 0ecd3cc51a6495ed7fe145100d091d8ed9a1c502 | 06732828a214838934569cb5dd57d1e0b85220e5 | refs/heads/master | 2022-11-12T03:40:35.880347 | 2012-09-05T11:44:08 | 2012-09-05T11:44:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | tst | Not16.tst | // File name: projects/00/Not16.tst
load Not16.hdl,
output-file Not16.out,
compare-to Not16.cmp,
output-list in%X1.6.1 out%X1.6.1;
set in 0,
eval,
output;
set in 1,
eval,
output;
set in -1,
eval,
output;
set in %Xff0f,
eval,
output; |
8a88d63c2420273c56f5a647908227d930c3a5ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH2/EX2.10/example2_10.sce | 51218af5738e24e4603c8188f1ccad3eb813adc7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | example2_10.sce | //example 2.10
//page 75
clc; funcprot(0);
//initialisation of variable
ybar=4;
pi=3.14;
A=4;
Gamma=62.4;
Ig=4^3/12;
x1=2;
x2=1.7;
hbar=ybar+Ig/A/ybar;
Fv1=2*A*Gamma;
Fv2=pi*A*Gamma;
Fv=Fv1+Fv2;
disp(Fv,"vertical component of Hydrostatic force(lbs)=");
xv=(Fv1*x1+Fv2*x2)/(Fv1+Fv2);
disp(xv,"point of ap... |
e14a310c08728788f8c8e6d0db41f8a1cf9425da | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH5/EX5.8/Ex5_8.sce | 01d0dc0fa5354f491f6c09d781a7bfb540242e4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | sce | Ex5_8.sce | //Fluid Systems- By Shiv Kumar
//Chapter 5- Francis Turbine
//Example 5.8
//Theoritical Problem .
|
ac19f5036221bdd05464c9e4fc9146569be0e660 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH13/EX13.9/13_9.sce | eb7b4293fe91904ed3511f878d288854d08d9f2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sce | 13_9.sce | clc
//initialisation of variables
I= 1.5 //in^4
Da= 0.5 //in
E= 30*10^6
l= 60 //in
//CALCULATIONS
F= 6*Da*E*I/(l^3)
//RESULTS
printf ('F= %.2f lb',F)
|
d6dd3c04e1022abe67c340da476a948f9d46ed64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH13/EX13.22/Ex13_22.sce | 227ccfe5b9f655617c1fa24e2b0f33da12a30401 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | Ex13_22.sce | clear
//Given
P=60 //W
Ev=100.0 //V
Ev1=220 //v
f=50 //Hz
//Calculation
Iv=P/Ev
Vr=Ev1-Ev
R=Vr/Iv
Vl=sqrt(Ev1**2-Ev**2)
Xl=Vl/Iv
L=Xl/(2*%pi*f)
//Result
printf("\n (i) The value of non inductive resistance is %0.3f ohm", R)
print... |
f7bb2aef57a6d558f436085a1e21f70aec94345e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH8/EX8.2/EX8_2.sce | 78d9c790d1e347a4b23c0d8d557496a62f834021 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,814 | sce | EX8_2.sce | // Example 8.2
// Determine (a) The minimum value of excitation that will maintain
// synchronism (b) Repeat (a) using eq.(8.16) (c) Repeat (a) using eq.(8.21)
// (d) Power angle if the field excitation voltage is increased to 175% of the
// stability limit determined in (c)
// Page No. 322
clc;
clear;
close... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.