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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b0854955c8c6b360156b4a8430380c15f1faac5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH1/EX1.2/1_2.sce | 9f651f045328c9d2d4e46bef9ff2040d38201035 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | 1_2.sce | clc
//Initialization of variables
angle=37.25 //degrees
l=1.539 //A
n=1 //order
//calculations
d=n*l/(2*sind(angle))
//results
printf("Interplanar distance = %.3f A",d)
|
ace647776c36279ac14fe884ec4457d145b1e1e7 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_S._L._Kakani_And_A._Kakani_1085.zip/Material_Science_S._L._Kakani_And_A._Kakani_1085/CH8/EX8.3/ex8_3.sce | 638c913732d3a496914e035375993b97d0ca20b5 | [] | 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 | 291 | sce | ex8_3.sce | errcatch(-1,"stop");mode(2);//Exam:8.3
;
;
Y=210*10^9;//Young's modulus of a certain material(in N/m^2)
E=10;//true surface energy (in J/m^2)
c=(100/2)*10^-6;//Crack (in meter)
pi=3.14;
F_strength=(2*Y*E/(pi*c))^(1/2);
disp(F_strength,'fracture strength(in Newton/m^2)=');
exit();
|
161c67b8a6d86fcc8768e7fdff0f42e81335b4a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH8/EX8.24/Ex8_24.sce | 9d32d73c5ee6f8197798c3980ef8ea0515968bb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 627 | sce | Ex8_24.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 24
clc;
disp("CHAPTER 8");
disp("EXAMPLE 24");
//This example is same as example 19
//VARIABLE INITIALIZATION
v=250; //in Volts
r_a=0.5; //in Ohms
r_f=250; //in Ohms
N1=600; ... |
11e49101b6033d9e608f8f5c32bb96a8b4427406 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/kfda.sci | 81ed40853e55e18c2742194a3f3320dcec68cd51 | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | ISO-8859-9 | Scilab | false | false | 3,435 | sci | kfda.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Version: 0.1
// Date: Nov 2009
// Description: Kernel Fisher Discriminant Analysis
// Reference: S. Mika, G. Ratsch, J. Weston, B. Scholkopf, and K.-R. M¨¹ller,
// ¡°Fisher discriminant analysis with k... |
5fc61ed0ea62915c14e2f5a28ae4db16fe5722d6 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_hp8_usi/~BivLCM-SR-bfi_hp8_usi-PLin-VLin.tst | 7775d9b77762acfd8cf60ddd8f764db2b9b99e41 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_hp8_usi-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.233906D+00
... |
ac210b88ad758dbf10d06f42f83bdce8e39e8209 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH6/EX6.12/6_12.sce | 1209b4cb329ad0c81871ce2dbf0d677a79315ff0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | 6_12.sce | //pathname=get_absolute_file_path('6.12.sce')
//filename=pathname+filesep()+'6.12-data.sci'
//exec(filename)
//Volume occupied by water(in m^3):
V1=3/5*2
//Volume occupied by steam(in m^3):
V2=2/5*2
//From steam table
vf = 0.001091 //(m^3/kg)
vg = 0.3928 //(m^3/kg)
//Mass of water(in kg):
mf=V1/vf
//Mass o... |
9f5a8a328f22a0ed55529d920c514744dbbce71e | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/GettingStarted/testgetenv.sce | 1d51c5c33f9ce2de9ec925b8b72bfc518bedffa1 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | sce | testgetenv.sce | getversion() // Scilab version
getos() // os windows
getenv('TMP') // retrieve the environment variable TMP
|
6be22e21b1aba2d9e63b46cedd42e19a7ffa351f | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.55/Ex55.sce | 9c8474445e3d53dd03119ab3d20fa1575825a6a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | Ex55.sce | //Ex:55
clc;
clear;
close;
a=50000*1000/2;//semi major axis in km
G=6.67*10^(-11);//Gravitation const in N-m^2/kg^2
m=5.98*10^24;//mass of earth in kg
u=G*m;
st=sqrt((a^3)/u);
s_t=6.25*10^3;
t=2*(3.14)*s_t;
printf("The period of a satellite=%f s",t);
printf("\n The period of a satellite is 10 hours 54 minut... |
51d48319e42d73d10509feeede7cd0901f5edd88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH1/EX1.4/Ex1_4.sce | 63fbed5a9bfb4a13f093ebf2956247a95b192363 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 670 | sce | Ex1_4.sce |
clc
clear
//Input data
L=0.75//Load factor
C=0.60//Capacity factor
U=0.65//Use factor
M=60//Maximum power demand in MW
Y=8760//Number of hours in a year of 365 days
//Calculations
A=(L*M)//Average load in MW
P=((A*1000)*Y)/10^6//Annual energy production in kWh *10^6
PC=(A/C)//Plant capacity in MW
R=(PC-M... |
cab6825b392bbfb0cfbf4bf6d12cd1b55d01f044 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/prony/prony2.sce | 1c9ec5a121230d1155f9c2e05583261aa43d1f60 | [] | 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 | 743 | sce | prony2.sce | impr=[0.00482434335771622 0.0307287177680858 0.0905946819548830 0.167944821844737 0.224641271344028 0.233457187867600 0.193512552162805 0.123765243571014 0.0496036031380564 -0.00850905187491905 -0.0406738350178078 -0.0475631979469693 -0.0368517338223927 -0.0185628385243508 -0.00125221912683350 0.0100331628527344 0.0139... |
eb16ee057ddf013f8b33213045e9b0732d742071 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH4/EX4.4/Ex4_4.sce | b2e71f43429cf9e21ca8e5c375a3e9fd2506573f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | Ex4_4.sce | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 4.4
clc;
clear;
s=poly(0,'s')//defines s as poly nomial variable
h=syslin('c',(10)/(s*(1+0.4*s)*(1+0.1*s)))//the given transfer function assigned to variable h
scf(1)
bode(h,0.1,10... |
8b81c8e5e43a9479c3ad60673a95955b697601f9 | 6bbc9f4f7e12ef440acd3fe25a51b4f048cde42d | /Image-Enhancement-in-the-Spatial-Domain/image-negative.sce | 95594f4391cb275c47523b90a1e79cb259fb23d1 | [] | no_license | krisbimantara/Image-Processing-SCILAB | 9dee568676b4f2943c54074d8c88c84cb33b3bb2 | bf8e8905efcdd6e3e0096f7a87cce8212fe0f14c | refs/heads/main | 2023-03-27T04:55:37.463238 | 2021-03-29T13:30:26 | 2021-03-29T13:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | image-negative.sce | a=uigetfile('*.*','Select the Image:-');
a=imread(a);
new=255 – a;
new=uint8(new);
figure();
subplot(221); imshow(new); xtitle('Foto Asli');
subplot(222); imshow(new(:,:,1)); xtitle('Lapisan Merah');
subplot(223); imshow(new(:,:,2)); xtitle('Lapisan Hijau');
subplot(224); imshow(new(:,:,3)); xtitle('Lapisan Biru');
|
4fa24649a11dee510af4b2b8f8a635fe4804ceda | 449d555969bfd7befe906877abab098c6e63a0e8 | /824/CH5/EX5.2/5_2.sce | a835c0df8bfb7fd3ab62b2ee22f1fd4f06528d66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | 5_2.sce | //clear//
clc
clear
exec("5.2data.sci");
for i =1:length(t)
g(i) =log(2*P0/(3*P0-P(i)));
end
plot2d(t,g);
xtitle( 'Figure E4-11.2 Plot of processed data', 't (min)', '2PTo/3PTo-PT' ) ;
|
1dc75cd99f4089f613fdf7db1b25e0d89709642c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH2/EX2.4/EXAMPLE2_4.SCE | 002b709fd65341a1f092abccd8300072f5e6611d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | EXAMPLE2_4.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 2
//AMPLITUDE MODULATION
clear all;
clc;
printf("EXAMPLE 2.4(PAGENO 54)");
//given
P_t = 10*10^3;//total power in watts
m_a = .6;//modulation index
//calculation
P_c = (P_t/(1+(m_a^2/2)));// carrier power
//results
printf("\n\nCarrier power... |
154c6bba35304bdc743b967cc015a078c1130607 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH17/EX17.7/17_7.sce | fde51fa54a03072e49e85bc029349d49d4cb429c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | 17_7.sce | //example 17.7
clc; funcprot(0);
// Initialization of Variable
m=0.25;//kg/s
cp=4178;//J/kg-K
Tmo=57;
Tmi=15;
pi=3.14;
D=0.05;//m
L=6;//m
delT=(-Tmo+Tmi)/log((100-Tmo)/(100-Tmi));
h=m*cp/pi/D/L*(Tmo-Tmi)/delT;
disp(h,"average convection coefficient in W/m^2-K");
clear()
|
e5c66f1eb91d5a7d1815ea95e8f1a499287048af | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.10_6.tst | 30bba6afb1863e954436f53a0d34b02905776600 | [] | 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 | 16,162 | tst | bow.10_6.tst | 10 78:0.3333333333333333 638:1.0 1057:0.3333333333333333 1470:1.0 5306:0.14285714285714285 5667:1.0
10 14:0.5 130:1.0 890:1.0 2474:1.0 3852:0.5 4103:1.0 5279:1.0 5285:1.0 5306:0.14285714285714285 5350:0.25 5406:1.0 5596:1.0 5597:1.0
10 53:0.25 146:0.2 218:1.0 983:0.16666666666666666 5306:0.14285714285714285 5782:1.0
10... |
4a0ddac41160d3e01261d87fcc1e1a5372517bea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.7/Ch05Ex7.sce | 7bfa9f4ba89f892eb2a6063d36b711206d4930b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 787 | sce | Ch05Ex7.sce | // Scilab code Ex5.7: Pg:217 (2008)
clc;clear;
// Define function to convert degrees to degree and minute
function [deg, minute] = deg2degmin(theta)
deg = floor(theta);
minute = ceil((theta-deg)*60);
endfunction
Lambda = 5e-05; // Wavelength of spectral line, cm
n = 1; // First order principal ma... |
ada8fd93946574360785b4915c775599dcc8da58 | 2a39d29b2cb27e98632f6810ed3c2a22a56fa8eb | /Materias/LabCalcNum/Rafael/modelo_exponencial.sce | 970f8ab9299790aadf4ceaa4d01d12171d1b1620 | [] | no_license | rafael747/my-stuff | 74358384bc1a5b381d1951dfaef87efdf4cb53c2 | 8614aefdc3ca9afdc1534557f73719af8494f7fa | refs/heads/master | 2021-01-17T12:47:48.206860 | 2020-06-04T15:10:20 | 2020-06-04T15:10:20 | 57,989,835 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,010 | sce | modelo_exponencial.sce | //-----------------------------------------
// Ajustando Modelo Nao Linear f(x)=alfa e^(beta x)
//-----------------------------------------
// Função Linear: g1=1, g2=x
function [y]=g1a(x)
y=ones(1,size(x,2));
endfunction
function [y]=g2a(x)
y=x;
endfunction
//Tabela de Dados (Original)
x = [0.2 ... |
0bf6afb968cb477a87d2b63c04210d2e5d880f6f | fc47fe9212928c490fc586973799c6b70ce71be6 | /2BIT/IPP/XTD/xtd-supplementary-tests-15/test14.tst | fc77ba281ccb3d25a097d8f525bb64e2e1164938 | [] | no_license | davidkoleckar/FIT_VUT | 31be7e58af48d939ff8aec28c61c4c1a7343cf72 | be2081e791cdb3a01b185e7698940fb997e7cf7d | refs/heads/master | 2022-12-09T13:32:24.129237 | 2020-08-17T18:40:43 | 2020-08-17T18:40:43 | 288,256,769 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | tst | test14.tst | <?xml version="1.0" encoding="UTF-8"?>
<PARTS>
<TITLE>Computer Parts</TITLE>
<PART>
<ITEM>Motherboard</ITEM>
<MANUFACTURER>ASUS</MANUFACTURER>
<MODEL>P3B-F</MODEL>
<COST>123.00</COST>
</PART>
<PART>
<ITEM>Video Card</ITEM>
<MANUFACTURER>ATI</MANUFACTURER>
<MODEL>All... |
770044cfda9a06e5549aa3ac925b41ecd1dd4ae2 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Control_Systems_B._S._Manke__29.zip/Linear_Control_Systems_B._S._Manke__29/DEPENDENCIES/series.sce | 5f10c73e3a2b1a434c75e59110cab2c3ad12f2a4 | [] | 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 | 99 | sce | series.sce | errcatch(-1,"stop");mode(2);function [y] = series (sys1,sys2)
y = sys1*sys2
endfunction
exit();
|
b0410ea6a96f31e437c9ea8a3c705162674ca1be | 45c1200ec894e793587fc6d8f30253e69ecec19a | /neiro/laba2/bin/Debug/линейно неразделимые 2D.tst | 21f79608f36f1f63ac39e14a42ef5dfac681e8ee | [] | no_license | dShadowHS/dShadow | 46c0df8f6715948d2b952de001f1f8748861eb1d | 0b4c4674d137160d09e5bb9092ff0d2253818dd0 | refs/heads/master | 2021-01-11T23:11:28.661559 | 2017-01-10T17:12:41 | 2017-01-10T17:12:41 | 78,555,391 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | tst | линейно неразделимые 2D.tst | 202,204;20,957;0
204,251;20,327;0
205,947;13,827;0
212,435;22,435;0
212,348;20,756;0
213,789;25,805;0
211,677;12,728;0
213,155;26,929;0
208,583;13,231;0
206,511;19,552;0
204,408;20,258;1
214,648;17,206;1
204,093;20,213;1
204,09;12,778;1
200,83;14,189;1
208,787;13,941;1
205,578;17,868;1
212,065;13,329;1... |
efcc5c37a89568a979e6edc6ead27b193f4da74a | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH18/EX18.2/ex_18_2.sce | bf5cdcde2129f827f8bf246ca2f61452b67b1c56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | ex_18_2.sce | //find..
clc
//soltuion
//given
d1=0.450//rpm
r1=0.225//m
d2=0.2//m
r2=0.1//m
N1=200//rpm
x=1.95//m
T1=1000//N
u=0.25
//ref fig 18.17
L=%pi*(r1+r2)+2*x+(r1+r2)^2/x//m
printf("the length of belt is,%f m\n",L)
//sin(a)=(r1+r2)/x=0.1667
//a=9.6//deg
a=(%pi/180)*9.6//rad
q=%pi+(2*a)//rad
printf("te angle... |
f90866153cd504561dc5501838fd2bcfa2d336b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3159/CH12/EX12.1/Ex12_1.sce | 116ea22b240748d7fc636bd031414cf606ef415f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_1.sce | // Estimate fracture strength
clc
c = 2 // crack of half length in micro meter
Y = 70 // young’s modulus in GN m^-2
Gamma = 1 // specific surface energy
printf("\n Example 12.1")
sigma_f = sqrt(2*Gamma*Y*1e9/(%pi*c*1e-6))/1e6
r = Y*1e3/sigma_f
printf("\n Fracture strength of %d MN m^-2 is 1/%dth of young’s mod... |
147e311fcbe9edd0eb3a42ff5dddb87ff3e89425 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH9/EX9.3/Ex9_3.sce | ee7d849eecd1827238d11ef845a3f8bf8e8ee296 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,017 | sce | Ex9_3.sce |
// Theory and Problems of Thermodynamics
// Chapter 9
// Air_water Vapor Mixtures
// Example 3
clear ;clc;
//Given data
gam = 1.5 // specific heat ratio
Cp1 = 20.7860 // molar heat capacity of Helium in kJ/mol K
Cv1 = 12.4717 // molar heat capacity of Helium in kJ/mol K
... |
b37d7117866a619e1b259d943f3163e5416bb180 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072.zip/College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072/CH22/EX22.2/Ex22_2.sce | 7da9be1a4ee71092742f99e52874ccd2e37862ec | [] | 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 | 134 | sce | Ex22_2.sce | errcatch(-1,"stop");mode(2);//Example 22.2
n1=1
n2=1.52
x=sind(30)
theta_2=asind((n1*x)/n2)
disp(theta_2,"Angle in degree=")
exit();
|
e57cf8aad330057d78a8f87cd2e120cb1760ce7e | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/specs/scilab/nyquist_ex1-old.sce | f4408a5fc380155cef7475f6776b91ea5edc430e | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | nyquist_ex1-old.sce | H = trfu(1,[1 -1 0],-1);
nyquist(H)
xset('window',1)
w = -3.5:0.2:3.5;
fre = w/(2*%pi); // Frequency range specified
nyquist(H,fre);
xset('window',2)
w = -5:0.4:5;
fre = w/(2*%pi); // Frequency range specified
nyquist(H,fre);
|
0715f09f4fca0e41e6acd79322c932aae13589dc | 494b677053e1199325a80808377463794e1003e5 | /experiments/sia-c/results/Ignore-MV.SIA-C.vehicle/result1s0.tst | 0ca84c534d5f3afe1822c703af797009a49f87b0 | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,862 | tst | result1s0.tst | @relation vehicle
@attribute COMPACTNESS integer[73,119]
@attribute CIRCULARITY integer[33,59]
@attribute DISTANCECIRCULARITY integer[40,112]
@attribute RADIUSRATIO integer[104,333]
@attribute PRAXISASPECTRATIO integer[47,138]
@attribute MAXLENGTHASPECTRATIO integer[2,55]
@attribute SCATTERRATIO integer[112,265]
@attr... |
19c7a15e2980a31624b62ea7a923e82b8e56a379 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH2/EX2.45/exa2_45.sce | b1ca47afd8e3ce417228f983c95c08e14df35ac6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | exa2_45.sce | //Example 2-45//
//add 3 to -2 in one's complement using 8 bits//
clc
//clears the window//
clear
//clears all the existing variables//
x=3
y=bitcmp(2,8)
//complement of the decimal number 2//
z=x+y+1
//carry is added//
a=dec2bin(z)
//binary conversion//
disp('binary form of the number obtained by adding 3... |
4c56e5811d5d823c72feb04a93384fd63b1c83a9 | eec3a6e2cd91307fd7a55b7fc83bb86b35f86a6c | /plot_sphere.sci | d968dd4872b5dfbb14a8d407985c4d5af1e7f93f | [] | no_license | Matthieu-71/PowerSubsystemSimulation | d1a5171ff763ca42db9d701f893d3ab257a1b882 | cdcff61d4a11509f5d9023fb295af6b8092a3c66 | refs/heads/master | 2020-03-16T23:33:28.836945 | 2018-05-24T00:10:57 | 2018-05-24T00:10:57 | 133,082,402 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 3,013 | sci | plot_sphere.sci | deff("[x,y,z] = sph(alp,tet)",[..
"x = r*cos(alp).*cos(tet)+orig(1)*ones(tet)";..
"y = r*cos(alp).*sin(tet)+orig(2)*ones(tet)";..
"z = r*sin(alp)+orig(3)*ones(tet)"]);
select bodyStr
case 'Mercury'
im = imread(pwd()+'\Images\1_Mercury_ooglobal_view_MESSENGER.jpg');
r = CL_dataGet("body.Mercury.eqRad")/1000;
ca... |
c80a3468396dd8be8d4904a8b8d964a61b0876e2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/percent/%los.sci | 57d7b7fd23621c78fb09785a3d845d898a53ceb4 | [
"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 | 83 | sci | %los.sci | function r=%los(l1,l2)
//%los(l1,l2) <=> l1==l2 l1 list l2 matrix
//!
r=%f
|
5c62b070e8094f840e24d9e9bd524e284bb32793 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH11/EX11.3/Ex11_3.sce | feae539828b1c4d2806cc1aa5da80ca7b07c82bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | Ex11_3.sce | //Example 11-3,Page no - 430
clear
clc
block =512
packets =8
BER = 2*10^-4
avg_errors = block*packets*8*BER
printf('Average number of errors are %.4f',avg_errors)
|
bc7f1fd4e2861d331474b1e149d90fc6cd0dbdea | 71d54633f021afa4ce6a2e31d42a6815af1261b2 | /Uebung/SFTI-15-Ue1.sce | ac83fd87dc8aab28d31bc406d1361808cfd323c8 | [] | no_license | RailProfAC/Schienenfahrzeugtechnik1 | 0497247fb78ce337fffbed0ac285901a6e10678b | 27f334a0b3f9c98ad2ab3ec3681a238643f3f19d | refs/heads/master | 2021-06-11T02:45:55.683540 | 2018-04-05T05:07:10 | 2018-04-05T05:07:10 | 128,161,756 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | SFTI-15-Ue1.sce | delete(gcf())
clear
m = 50;
xA = 0.2;
D = 0.025;
d = 0.0;
az = 1.3;
Wax = %pi/32*(D^4 - d^4)/D;
My = m*az*9.81*xA;
sigma = My/Wax;
disp('Wax = ' + msprintf('%5.3f', 1e9*Wax) + "mm^3");
disp('My = ' + msprintf('%3.5f', My) + "Nm");
disp('Sigma = ' + msprintf('%3.5f', 1e-6*sigma) + "N/mm^2");
|
88bf9a151680dab1e3d3573eb81af6dd402c2c2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH2/EX2.28/ex2_28.sce | 59e708daaae0457ae7f763430e06d07a1bcd0fb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | ex2_28.sce | // Exa 2.28
clc;
clear;
close;
format('v',6)
// Given data
Vout = -0.7;// in V
V = -12;// in V
// The output voltage
V_R =V-Vout;// in V
disp(V_R,"The output voltage in V is");
|
a91690a6fa343555c6514b5c25e282d9d4c57963 | ebfed86dee276110294a4e93fa80377908bbd317 | /macros/imextendedmin.sci | 7796dc2bbf2286f254b078d3f8f26264c3c92e91 | [] | no_license | gursimarsingh/FOSSEE-Image-Processing-Toolbox | a9d46b698c98566fec867eb2ce3cfeb427058d5c | 165f6d7d1f20262a1637a923c6aad6e663ad1538 | refs/heads/master | 2021-08-16T19:18:59.591175 | 2017-11-08T17:55:04 | 2017-11-08T17:55:04 | 96,531,802 | 0 | 0 | null | 2017-07-07T11:21:10 | 2017-07-07T11:21:10 | null | UTF-8 | Scilab | false | false | 1,106 | sci | imextendedmin.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
9a838db5abb5fef96f5b33cdd055d413ae42b2f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH10/EX10.13/ch10ex13.sce | e90eab3dd19fd1dfb9b00b07db68987a8a418952 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | ch10ex13.sce | //LTi Systems characterized by Linear Constant
//Inverse Z Transform
//z = %z;
syms n z;
H1 = (-2*z)/(z-(1/3));
H2 = (3*z)/(z-0.5);
H3 = (24*z)/(z-1);
F1 = H1*z^(n-1)*(z-(1/3));
F2 = H2*z^(n-1)*(z-0.5);
F3 = H3*z^(n-1)*(z-1);
h1 = limit(F1,z,(1/3));
disp(h1,'h1[n]=')
h2 = limit(F2,z,0.5);
disp(h2,'h2[n]=')... |
d332334f3939d181875357136ca0f426f45ea050 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH10/EX10.20/10_20.sce | 46410ea0cfce71a6ae45effbd8f19940441665db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sce | 10_20.sce | //Example 10.20
//Adams Moulton formula
//Page no. 334
clc;clear;close;
x=[1,1.1,1.2,1.3,1.4];i=5;
y=[1,1.233,1.548488,1.978921];
h=0.1;
deff('y=f(x,y)','y=x^2*y+x^2')
//adams basforth formula
y(i)=y(i-1)+h*(55*f(x(i-1),y(i-1))-59*(f(x(i-2),y(i-2)))+37*f(x(i-3),y(i-3))-9*f(x(i-4),y(i-4)))/24
disp(y(i),"By Ada... |
6131407e54fa388f84e5916f17a67adebf04ed60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH9/EX9.7/9Ex7.sce | 9832f6256308980c2f4db2330e37408a6275b20a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | 9Ex7.sce | //chapter 9 Ex 7
clc;
clear;
close;
//let the value be x
y=poly(0,'y');
for y=1:10
if ((1/5)^(y))==nthroot(.008,3)
mprintf("y=%d",y);
break;
end
end
ans=.25^y;
mprintf("\n ans=%.2f",ans);
|
dab991637746dd9aa1484e240677b2fbc755a565 | fdc5047b7bf8122bad1e621df236b0481226c36e | /exemplos/xls-link-0.5.0-src/tests/unit_tests/xls_GetExcelVersion.tst | e2971c3004bee6691f96293cf1f863d8fba50468 | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | tst | xls_GetExcelVersion.tst | // ====================================================================
// Allan CORNET
// DIGITEO 2008 - 2010
// ====================================================================
// <-- CLI SHELL MODE -->
// ====================================================================
|
3b30697c5daec3f1552c0502fcd70fc5a6ddacba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.30/EX2_30.sce | 7342e908e685cd65c34a55be4b9c6a26b3b8817f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,012 | sce | EX2_30.sce | //EXAMPLE 2-30 PG NO-81-82
V=230+%i*0;
F=50;
L=0.03;
R=20;
XL=2*%pi*F*L;
disp('i) INDUCTANCE (XL) is in polar form = '+string (XL) +' ohm ');
Z=R+%i*XL;
disp('ii) IMPEDANCE (Z) is in polar form = '+string (Z) +' ohm ');
Y=1/Z;
disp('iii) ADMITTANCE (Y) is in polar fo... |
db99d5b87a2d321d503ef2a1c4d8fd47d7d28ab7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH8/EX8.1/Example8_1.sci | aabd482c5420c82d2b8facf86d77c2b63d05a25e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sci | Example8_1.sci | //Chapter 8_Applications of Operational Amplifier
//Caption : Device Temperature
//Example8.1:The Heat generated by a linear IC,uA 741 is 200 mW.If the thermal resistance is 150 degree Celsius/Watt and the ambient temperature is 25 degree celsius.calculate the device temperature.
//Solution:
clear;
clc;
Pd=200*10... |
56abed834c7dfc74e33e0cd755287b0f9c897cb8 | a188262d9edbef6adc16ea0f8592cfeef92096da | /project02.5/RSLatch.tst | 916e7f98ce64e23ce5e6705cdb07ae9d88d91658 | [] | no_license | yc90s/Elements-of-Computing-Systems | 7ec0ae2e92834d1cdcce51a21f732f7b3c290157 | c1ec1dc52e973f7c50a0d5ee04c0a3e4e97f62f2 | refs/heads/master | 2020-11-28T17:44:55.213932 | 2019-12-24T07:50:34 | 2019-12-24T07:50:34 | 229,884,054 | 0 | 0 | null | 2019-12-24T06:25:50 | 2019-12-24T06:25:49 | null | UTF-8 | Scilab | false | false | 1,011 | tst | RSLatch.tst | load RSLatch.hdl,
output-file RSLatch.out,
output-list time%S1.4.1 s-%B2.1.2 r-%B2.1.2 q%B2.1.2 q-%B2.1.2;
// Important: the latch must be initialized set or reset
set s- 1,
set r- 0,
repeat 10 { tick, tock; }
// Hold
set s- 1,
set r- 1,
repeat 4 { tick, output; tock, output; }
// Set
set s- 0,
rep... |
6b2f852885307931ae28f25d9f21ae168da4f678 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/schtrig.sci | 90286e2744c59d07e764cfdcca36937a4050e885 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sci | schtrig.sci | function v = schtrig (x, lev, rs)
//This function implements a multisignal Schmitt triggers with lev levels supplied as input.
//Calling Sequence
//v = schtrig (x, lev)
//v = schtrig (x, lev, rs)
//Parameters
//x: vector or matrix of real numbers
//lev: real number
//rs: default value 1
//Description
//This is an Oct... |
8dc261fc7141c0936bbbabe97873b8449da57472 | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH8/EX8.3/example3_sce.sce | 8a552a0397a27ca491d3d8d3b70e1f1d9e7368f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | example3_sce.sce | //chapter8
//example 8.3
//page300
Ton=5;//given
C=10*10^-6;//let assume
R=Ton/(1.1*C);//using Ton=1.1RC
disp(R)//this not standard value but we can adjust by connecting variable resistance |
1ae4879ea84585cfdb17a662f1b9501b61e03127 | 8c10cc54e1fd2419c94f9b977006b324cf755fa4 | /SV_Assignments/Assignment_3/Tests/json_path.tst | c9a4d5f87848bd56b32508b79f2de47cef817310 | [] | no_license | Meena92/SV | 8eb398299fbf113f557317dbb634933187cd0448 | ff0cab3b56bfda20a229e77edc4728281f747817 | refs/heads/master | 2020-03-29T01:43:37.998389 | 2018-09-19T06:33:16 | 2018-09-19T06:33:16 | 149,403,318 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,946 | tst | json_path.tst | <?xml version="1.0" encoding="UTF-8"?>
<TestCase name="json_path" version="5">
<meta>
<create author="admin" buildNumber="10.0.0.431" date="06/19/2017" host="inbasdpc10722" version="10.0.0"/>
<lastEdited author="admin" buildNumber="10.0.0.431" date="06/20/2017" host="inbasdpc10722" version="10.0.0"/>
</meta>
<i... |
fd2186cc6523ec3458caecfe94b6284f7079a399 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH5/EX5.1/5_1.sce | b51010a000953433630582cedd455f160243daa3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | 5_1.sce | clc;
clear;
format('v',11);
Q=1*10^-9;
disp("path of the integration is along a line parallel to the x-axis as y and z are fixed with y=z=1.");
W=-Q*integrate('x','x',1,0); //putting y=z=1.
disp(W,"work done(in joule)=");
|
b301aea18d1619ca3658b9e10c0dd036ffa03179 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH3/EX3.4/3_4.sce | db97b1ddc7b94e64f53ac8d40ad4a533c29d1735 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | 3_4.sce | clear;
clc;
printf("\t\t\tExample Number 3.4\n\n\n");
// buried parallel disk
// illustration3.4
// solution
d = 0.50;// [m] diameter of both disk
r = d/2;// [m] radius of disk
Td1 = 80;// [degree celsius] first disk temperature
Td2 = 20;// [degree celsius] second disk temperature
k = 2.3;// [W/m per degree... |
897cd7d02a5ab69039febbfd33990a31de453cd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH13/EX13.2/ch13_2.sce | 782f3e206386fef9bb5fe1d3f5d9c88a51e0f347 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ch13_2.sce | clear;
clc;
f=50;
V_s=230;
disp("at no load");
I_m=2;
pf=.3;
I_c=I_m*sind(acosd(pf));
C=I_c/(2*%pi*f*V_s); printf("value of capacitance=%.3f uF",C*10^6);
disp("at half full load");
I_m=5;
pf=.5;
I_c=I_m*sind(acosd(pf));
C=I_c/(2*%pi*f*V_s); printf("value of capacitance=%.3f uF",C*10^6);
disp("at ful... |
b65d261400802dd3b4dca1fc553651c35f8b2979 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH1/EX1.15/Exa1_15.sce | c3616ecefe8df1d13b2e444ceb36b13669e641d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | Exa1_15.sce | //Exa 1.15
clc;
clear;
close;
//given data :
disp("Erms^2 = 30*Wt/r^2");
disp("Wt = Erms^2*r^2/30");
disp("Given : E = 10*I/r");
disp("Wt = (10*I/r)^2*r^2/30")
disp("Wt = 100*I^2/30")
disp("Rr = Wt/I^2 = 100/30");
disp(100/30,"Radiation resistance in Ohm : "); |
a8c7dabc8bc308b9168d0a09b0013f8ae34d7177 | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH2/EX2.30/ex_2_30.sce | ae7acf12e929b7043397acf7d6f2b647d125ee24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | ex_2_30.sce | //example 2.30//
//hexadecimal to binary conversion//
clc
//clears the screen//
clear
//clears already existing variables//
x=hex2dec('29FA')
//hexadecimal to decimal conversion//
a=dec2bin(x)
//decimal to binary conversion//
disp('conversion of hexadecimal given no to its binary form is:')
disp(a)
//answer... |
0917f6bffab306d52f283032ec99d16d84e3b9bb | a02d341a561b797b698bfcf046b1457dbb0c84d0 | /substrates/0000.sci | ac1b1d3871b114f59150db2677f0f07343df4abe | [] | no_license | liuzengyun/RF_ADS | 907edb8fb86edbf4b8efb5cace9684afd142b5a8 | 4c09151ff1b473aa88d7a21fe62bf5c19ca39ac1 | refs/heads/main | 2023-04-23T22:56:19.917321 | 2021-05-08T02:23:54 | 2021-05-08T02:23:54 | 353,634,227 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sci | 0000.sci | #Momentum: B.2020.00.283 (*) built: Jul 17 2019
#Momentum Date and Time: Thu May 6 08:20:32 2021
# Cell Info name : D:\ads\Users\lance\\substrates\0000
NUMBER OF LAYERS 3,
UNITS METRE
BOTTOMPLANE IMPEDANCE 0 0
TOPPLANE OPEN
LAYERS
0 THICKNESS INFINITY
PERMITTIVITY VALUE 1 0
PERMEABILITY VALUE 1 0,
1 THICKN... |
25eeaddb8a477185b6f406c9abac9fadf59894dc | 59b742e36fbe9d77cb51ec949c6625f665133d2b | /Resultados/results_LocGlo_16/results/16/gvar-2/result4s0.tst | 03c41b5ed5447038936763701d59c498fc2eebd6 | [] | 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 | 1,887 | tst | result4s0.tst | @relation unknow
@attribute sp11 integer[0,255]
@attribute sp12 integer[0,255]
@attribute sp13 integer[0,255]
@attribute sp14 integer[0,255]
@attribute sp15 integer[0,255]
@attribute sp16 integer[0,255]
@attribute sp17 integer[0,255]
@attribute sp18 integer[0,255]
@attribute sp19 integer[0,255]
@attribute sp21 integer... |
8254f6c6745d9c1104dfc33264d12bcce96e5951 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH5/EX5.8/example5_8.sce | 8db9f4d03718c49e2d891acd78ca8b872341b02d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,001 | sce | example5_8.sce | // Calculate circuit parameters of a Emitter Follower
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 5-8 in page 251
clear; clc; close;
// Given data
Rs=0.5*10^3; // Source resistance in ohm
Rl=5*10^3; // Load resistance in ohm
hfe=50; // h-p... |
d3ca04d2313e194f0ed88449318f745c6e5f02c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH14/EX14.20/108ex3.sce | 0387dc63ca1f9ba4ad8e733f172b2fa8d5c3cafb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | 108ex3.sce |
//factorize (a+b)^2 - c^2
clear;
clc;
close;
//using the formula, a^2-b^2=(a+b)(a-b)
val=string('(a+b+c)(a+b-c)')
|
00669c04e2445200d509c1c51d8169d89ca21a00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH14/EX14.2/14_2.sce | 72be50ab468d388b3451071357f51485fb5e0603 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | 14_2.sce | clear
clc
disp('Exa-14.2');
mvo=1116;mp=938;mpi=140; //mass of various particles
Q=(mvo-mp-mpi); //Q value of energy
Pp=100;Ppi=100; //momentum of various particles
Kp=5;Kpi=38-Kp; //kinetic energy of particles
printf('The kinetic energy of the particles Kp and Kpi are %d MeV ... |
3d0780ffcf553e7b4b21df8e7ce97127eaac91e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH3/EX3.3.21/Ch3_3_21.sce | eada64040427280e5c9a5750253ebb3b2916a934 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | Ch3_3_21.sce | clc
disp("Example 3.21")
printf("\n")
disp("calculate the value of Ic,alpha,beta for a transistor and Ic when Ib=150uA")
printf("Given\n")
Ic=12.42*10^-3
Ib=200*10^-6
//value of Ie
Ie=Ic+Ib
//value of alpha
alpha=Ic/Ie
//value of beta
beta=Ic/Ib
//value of Ic when Ib=150uA
Ib1=150*10^-6
Ic=beta*Ib1
prin... |
d48e58757fc33627bcc253ed0d8e53b2bd7564d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH9/EX9.9/Example9_9.sce | ec901f8c225955dc5e84d70f6c7e271c53addbe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | Example9_9.sce | //Example 9.9. refer fig 9.52.
clc
format(6)
VBE=0.6
VEE=8
VCC=10
RE=4*10^3
RC=3*10^3
IE=(VEE-VBE)/RE
x1=IE*10^3
disp(x1," |IE|(mA) = VEE-VBE / RE =")
re=(26*10^-3)/IE
disp(re," re(ohm) = 26mV / IE =")
Zi=(RE*re)/(RE+re)
disp(Zi," Zi(ohm) = RE || re =")
Zo=RC*10^-3
disp(Zo," Zo(k-ohm... |
2cdfedb8a120db74f6fd7166b82f4e12e0ad4a70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH3/EX3.2/Example3_2.sci | 3673dcca4658cc6397b19e53711ce35f08c035ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,066 | sci | Example3_2.sci | clear;
clc();
// To compute tempertures at the contact surfaces inside the furnaces
x1=9/12; // thickness of firebrick in ft
k1=0.72; // thermal conductivity of firebrick in Btu/hr-ft-degF
x2=5/12; // thickness of insulating brick in ft
k2=0.08; // thermal condu... |
af79c1a1454408d44088e036c28d0c68c0624868 | 1bc06fa90b5425d41347c90d0c73bb82eb4cbbfe | /filtreCanny.sci | 57efd01cb5b42d91f4d414685e7d09f85dee0d1f | [] | 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 | 1,036 | sci | filtreCanny.sci | funcprot(0);
CHEMIN = 'C:\Users\CookieV3\Desktop\Filtre-Canny';
IMAGE1 = 'test_3x3.png';
IMAGE2 = 'test_5x5.png';
IMAGE3 = 'test_20x20.png';
IMAGE4 = 'murray.jpg';
global AFFICHER_LOGS
AFFICHER_LOGS = %f; // %T = vrai / %F = faux
function filtreCanny(chemin, image, seuil)
[lhs,rhs]=argn(0);
if rhs < 3 t... |
eb83b38751e4f7fe63b47f92feb2b87fa6fdb077 | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /Scripts/DML/Consultas/Test/consulta_por_nombre.tst | 10037db0f4e902331f6a0c871b30090b99880e37 | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 214 | tst | consulta_por_nombre.tst | PL/SQL Developer Test script 3.0
5
begin
-- Call the procedure
personas_por_nombre(pnombre => :pnombre,
p_recordset => :p_recordset);
end;
2
pnombre
1
Pablo
5
p_recordset
1
<Cursor>
116
0
|
b45f8d539aacd36b579be86da465ed1c7296a78c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH14/EX14.7/Ex14_7.sce | 5092b6be2f0c92485a65ebfed92f68a66baf35fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,002 | sce | Ex14_7.sce | // Intilization of variables
acc=0.5 // m/s^2 // acceleration of the elevator
s=25 // m // distance travelled by the elevator from the top
u=0 // m/s
g=9.81 // m/s^2 // acc due to gravity
// Calculations
// Using eq'n the eq'n v^2-u^2=2*a*s, solving for v we get,
v=sqrt((2*acc*s)+(u^2)) // m/s
// Now solving e... |
d04ff5af206385fb21d38439baeff13d42c896a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH2/EX2.3/Ex2_3.sce | f3fa8137bf997545f8bfa2ef89f5a7fc933a6c84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | Ex2_3.sce | clc
P1=500 //initial pressure of gas in kPa
V1=0.2 //initial volume of gas in metre cube
P2=100 //final pressure of gas in kPa
gama=1.4 //Cp/Cv ratio of gas
W=P1*V1*log(P1/P2)//work done when volume inversely proportional to pressure
mprintf("W=%fkJ\n",W)//ans may vary due to round off error
V2=((P1*(V1^gama))/... |
73b9a2a0365fb642d2670873daddd86d79cfea67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.49/ex5_49.sce | fd7c14e05c96541234fd363781c88cfbb135e6bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | ex5_49.sce | //Chapter-5, Example 5.49, Page 211
//=============================================================================
clc
clear
//INPUT DATA
Il=10;//current in Amps
Vl=400;//line voltage in volts
//CALCULATIONS
Vp=Vl/(sqrt(3));//line to neutral voltage
Ip=Il;//phase current in Amps
mprintf("Thus line to neutral... |
943c7ceb479c1b50de4c818fa9c59e94bbfd3286 | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH17/EX17.2/Chap17_Ex2.sce | 935f6e6d037b6bcd23d906082be160cb06a8b988 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,610 | sce | Chap17_Ex2.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-17, Example 2, Page 438
//Title: Design of a Commercial Acrylonitrile Reactor
//==========================================================================================================
clear
clc... |
1eabef276dba87bcf3c1fb736e51f92babe4a7f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH4/EX4.15.9/ex_4_15_9.sce | 7367cb3f198dd7a41580d931d121233759f53790 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 875 | sce | ex_4_15_9.sce | //Chapter-4,Example4_15_9,pg 4-30
S1=220 //wall area
a1=0.03 //absorption coefficient for the wall
S2=120 //floor area
a2=0.8 //absorption coefficient for the floor
S3=120 ... |
7b2d6fcab9fc1eec92dfeb2094fd8781da1da2c2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/fraclab/MFAG_continuous.sci | 4b9cd6dece0c6e58b4eac9fda553d20c73bc8d98 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,559 | sci | MFAG_continuous.sci | function [alpha,fgc_alpha]=MFAG_continuous(p,n)
// This Software is ( Copyright INRIA . 1998 1 )
//
// INRIA holds all the ownership rights on the Software.
// The scientific community is asked to use the SOFTWARE
// in order to test and evaluate it.
//
// INRIA freely grants the right to use modify the Software... |
c0d2cd9889f5c589c457ab334e90c23585c7d29c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH2/EX2.6/Ex2_6.sce | ec9d719a5bb790ae9fe255ea854271e5fad3f7cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 692 | sce | Ex2_6.sce | // Example 2_6
clc;funcprot(0);
//Given data
A=200;// The catchment area in km^2
AAR=100;// The average annual rainfall in cm
Tro=80;//Total run off in%
H=80;// the mean head available in m
n_g=75;// Over all efficiency of generation in %
Apw=16;// The average period of working in hours
g=9.81;// m/s^2
F_l=1;... |
09434699ceb4a28506fa4be8b161d15dcfaf5a27 | 6a0d5ad524ce9b230c7e35af224317d515bb8f2d | /ResilienceMSY/ResMSY_Trad_Sus_Del_exec.sce | 2531866e054f77bd2ed7c5f3dd23854b91f821d2 | [] | no_license | mcuilleret/Entropic | b562ded98cbb74ad55579b6be5730767f24f4f2b | 0dd4e8bacb312015cd6c3b04b732ebd69de4ac23 | refs/heads/main | 2023-08-13T07:07:02.684153 | 2021-10-05T10:28:19 | 2021-10-05T10:28:19 | 413,753,215 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,336 | sce | ResMSY_Trad_Sus_Del_exec.sce | chdir('');
//STATED
//Etape1: Absence de choc
exec('donnees.sce');
load('CoutVarTrad','CoutVarTrim');
/////////////////////////////////////////////////////////////////////////////////////////////////////////
if cas=="26" then
gam=gam_26;
load('Bsimul26','B_simul_26');
B_simul=B_simul_26;
end
if cas=="85" th... |
528e135752be3514a2838265590eaf86cbf21ca9 | e2ae697563b1b764d79ea1933b555ab0d5e3849c | /macros/markpoles.sci | bbfb23953949a91b84bafa9417174a243de1568e | [] | no_license | gq-liu/IPDesignLab | c49b760740f47ec636232a6947aecb3c0626518a | b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f | refs/heads/master | 2022-01-18T13:30:55.972779 | 2019-05-06T17:23:12 | 2019-05-06T17:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,299 | sci | markpoles.sci | function markpoles(r)
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed i... |
7443d57228a60b27e55923629b92c46c773ef416 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH5/EX5.2/5_2.sce | c8efa173afad04f967e9da1db5ae9a723dde1979 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sce | 5_2.sce | clear
clc
disp('Exa-5.2(a)');
h=1.05*10^-34;m=9.11*10^-31;L=10^-10; // all the values are taken in SI units
E1=h^2*%pi^2/(2*m*L^2); E2=4*E1; //Energies are calculated
delE=(E2-E1)/(1.6*10^-19); //Difference in energy is converted to eV
printf('Energy to be supplied is %.0f eV.... |
ad57c9434458f8b5d3769dc0d7437b1a9a03496c | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH17/EX17.6/ex17_6.sce | a2b8ee7bd8bf13a0e830ad82b5faa6bcd8acfb5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 45 | sce | ex17_6.sce | //Ex17.6
disp('SAME AS EX-2.8 in CHAPTER-2') |
0f47457ce263a04dbb81eeeccffab5ac1595c13e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH4/EX4.6/EX4_6.sce | a8f932ae336dc0a831c6011ac021eb1fa2086ed3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,925 | sce | EX4_6.sce | //Find the covolution Of the following signals.
//Example 4.6<i>
clc;
clear;
close;
a=.5;
b=.6;
t=-4:.01:4;
for i=1:length(t)
if t(i)<0 then
x1(i)=0;x2(i)=0;
else
x1(i)=exp(-a.*t(i));
x2(i)=exp(-b.*t(i));
end
end
y=convol(x1,x2);
f=scf(0);
subplot(3,1,1);
plot(x1,t... |
2376dceba65614f983313e7d177bb3cded94949a | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH6/EX6.3/6_3.sce | b67114f2ba25a6df6c702859f7b08d344905e178 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | 6_3.sce | //rouths tabulations to determine stability
s=%s;
m=2*s^4+s^3+3*s^2+5*s+10;
disp(m)
r=coeff(m)
n=length(r)
routh=routh_t(m) //This Function generates the Routh table
disp(routh,"rouths tabulation=")
c=0;
for i=1:n
if (routh(i,1)<0)
c=c+1;
end
end
if(c>=1)
printf("system is unstable")
else pr... |
f31453af933324df4253f9720bd2d557a5cfe87c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH1/EX1.6/Ch01Ex6.sce | 418836dd5f94c82d947ebd31ec63afbc8ae791ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | Ch01Ex6.sce | // Scilab code Ex1.6: Pg 25 (2005)
clc; clear;
// For simplification assume velocity of light equal to unity
c = 1 // Velocity of light, m/s
lamda_obs = 474e-09; // Wavelength measured by observer, m
lamda_source = 394e-09; // Wavelength measured in the source's rest frame, m
v = (... |
2629fc63f85f9f50ba085a75910faa3ac62e078f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH7/EX7.2/7_2.sce | 82c448f48d62b7c17208b942fefee9440261b9b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | 7_2.sce |
clc
//initialisation of variables
f= 0.0056
l= 150 //ft
v= 8 //ft/sec
d= 8//in
g= 32.2//ft/sec^2
//CALCULATIONS
hf= 4*f*l*v^2/((d/12)*2*g)
hf1= v^2*12*4*150/(106^2*d)
//RESULTS
printf (' head lost in friction = %.2f ft of water',hf1)
|
f76fcb02e185b14ff12950538394bdbb3cdd99ca | fe48ae0c518509ac5c57688957075e939956f2b1 | /Three different Statistics at different temperature.sce | 2946efef6042a5fda78c90bb7c1032d1dd94b1c8 | [] | no_license | dibakardhar/Scilab-Notes | d8161939a96b5d9f89106440059b6aaa717f5d79 | 6bc6a6caa5120a4c7a20f15430860e5b51e8014e | refs/heads/main | 2023-07-09T18:48:56.525225 | 2021-08-15T16:32:36 | 2021-08-15T16:32:36 | 396,415,364 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,798 | sce | Three different Statistics at different temperature.sce | clc
k=8.617e-5
t=100
u=k*t
b=1/u;
r=linspace(0.01,5*u,100)'
for i=1:100
f(i)=1/(exp(b*(r(i)-u))+1)
e(i)=1/(exp(b*(r(i)-u))-1)
v(i)=1/exp(b*(r(i)-u))
end
subplot(2,2,1)
plot(r,f,'r')
plot(r,e,'g')
plot(r,v,'b')
xlabel('Energy--->>','fontsize',4)
ylabel('Occupation number-->','fontsize',4)
title('Occupat... |
f2824cd573c050c4743eb55bf3e21731c43911f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH2/EX2.3/Ex2_3.sce | f5937d4ea99aa604f97683bcce7358e284e6d748 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Ex2_3.sce | //Chapter 2 Gases
clc;
clear;
//Initialisation of Variables
P= 100 //cm
m= 2*10**20 //molecules
N= 6*10**23
R= 0.0821 //lit atm mole^-1
T= 27 //C
//CALCULATIONS
V= m*R*(T+273)*760*100/(N*P)
//RESULTS
mprintf("Volume = %.2f cm^3",V)
|
89bae2be98ce31db22ae550684e31186a96a01be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH10/EX10.2/Example_2.sce | aec51c8983689ccf793615189e89dd8dc53decdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | Example_2.sce | //Chapter-10,Example 2,Page 252
clc();
close();
E0 = 0.34 //standard potential for copper
n= 2
Cu = 0.15
R=8.314 //gas constant
F=96500 //Farade's constant
n=2
T=298 //temperature in Kelvin
E=E0+(2.303*R*T/(n*F))*log10(Cu)
printf('the single electrode potential of copper is %.... |
f891b3e2804c1fd76bff0d1c7ec898d83e2d00f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH15/EX15.17/15_17.sce | 628947f22296f8476363cf43c71cd068cbf14e9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 15_17.sce | //Chapter 15, Problem 17, Fig 15.17
clc;
R1=4; //resistance in ohm
R2=8; //resistance in ohm
I=5; //current in ampere
f=5000; //supply frequency
L=0.286e-3; //indu... |
fc8a5c6d5d0a0ba4075ad1aad47b53376680b5a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH7/EX7.17/Example7_17.sce | 2fa702cfbf009c3970bfa300be0bb36601271ef3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | Example7_17.sce | //Chapter-7,Example7_17,pg 7-50
K=5.73*10^-6
I=20
theta=110*(%pi/180)//full scale deflection
dtheta=theta//change in theta
L=4*10^-6
dm=(theta*K/(I^2))*dtheta//change in inductance
Lf=L+dm
printf("final inductance\n")
printf("Lf=%.8f H",Lf)
|
9450c924275dca53ca6d9ed907700a5cf130f2a2 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Rocket Flyer 1v1.sce | 333e45a4e5e6ce850cfb5ac032578483fc69c597 | [] | 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 | 29,122 | sce | Rocket Flyer 1v1.sce | Name=Rocket Flyer 1v1
PlayerCharacters=Rocket Flyer
BotCharacters=Rocket Flyer Extra Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Rocket Flyer
AddedBots=Rocket Flyer Extra Bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=0
BotTeams=0
MapName=kovaim1.map
MapScale=3.0
BlockProjectilePredictors=true
BlockCheats=... |
9473cfc6016a04621e60cad981414f9299002016 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH5/EX5.39/5_39.sce | c1f0fa6ef023c5de4fb69382a520f58a06b5e3fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | 5_39.sce | //Example 5.39
//Newton Raphson Method
//Page no. 205
clc;clear;close;
deff('y=f(v)','y=v^3-20*v+30')
deff('y=f1(v)','y=3*v^2-20')
printf('n\txn\t\t\f(xn)\t\tf1(xn)\t\tXn+1\t\tError\n')
printf('-----------------------------------------------------------------------------------------------------\n')
x0=10;e=0.00... |
7f982f733faa4d1d53fed8df0ee026ec47d5c65c | 69d47013b4427741d37de7faeb3e94fc141393b4 | /Lab_5_EDOMMQ/scilab/lab5.sce | 43391b7825490cc7026dd2cd147843af8deaecf6 | [] | no_license | samuel-cavalcanti/Computacao-Numerica | 30f5042076b5db29482798ca7a6c63590a00a697 | 029c49f5d303f8f978c1f7b12b91778f06fb0665 | refs/heads/master | 2020-03-29T14:14:51.735781 | 2019-02-05T18:14:12 | 2019-02-05T18:14:12 | 150,007,038 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,511 | sce | lab5.sce | clear
/*
Os algoritmos do Arquivo EDO_MMQ.sce São implementações dos métodos de EULER de primeiro grau e segundo
grau, e Runge-Kutta de primeiro, segundo grau, Runge-Kutta de ordem 4 segundo grau , Algoritmo Ajuste Linear Polinomial,respectivamente.
*/
exec("EDO_MMQ.sce")
function plotEDOResult(x,y,icon,description)
... |
bbcff2acdd604344933529c08fbf8033e6ae72eb | e3c27edbd2f0a8e733cee84b90a906c0a6d7c176 | /sem_3/c/ljudge/168.2.tst | 850545d777b710a6abfecb6ff5f54e31e0caa572 | [] | no_license | dmitryhd/dmitryhd_code | c32223da5506156a068bbb0f20ad4cd06fdf2166 | 5173f6f74d4fa1c9c5fba9ffc4fc9134c56f4b0c | refs/heads/master | 2021-01-17T11:56:50.221745 | 2011-04-26T18:31:58 | 2011-04-26T18:31:58 | 1,650,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 45 | tst | 168.2.tst | ((><))>{<>}[[])
5
2 5
8 11
12 13
12 14
13 14
|
0bb9aacd04772314e78d57fa76dd548d248d4a09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH16/EX16.14/16_14.sce | 9b89721e8b23a605da24cad3620200e4499ce8a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,133 | sce | 16_14.sce | //To find diameter and cross section
clc
//Given:
N=800 //rpm
stroke=300 //mm
sigma=7*10^6 //N/m^2
rho=7200 //kg/m^3
//Solution:
//Refer Fig. 16.18
//Calculating the angular speed of the engine
omega=2*%pi*N/60 //rad/s
//Calculating the coefficient of fluctuation of speed
CS=4/100
//Diameter of the flywhee... |
d20e91d5899ad5f721a2b5e1753875790dea358b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH6/EX6.17/ex6_17.sce | 007a3d4654058801a5859ccab153ae44979b47a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | sce | ex6_17.sce | // Exa 6.17
format('v',7);clc;clear;close;
// Given data
f = 1;//frequency in kHz
f = f * 10^3;// in Hz
R1 = 400;//resistance in ohm
R2 = 150;//resistance in ohm
C2 = 0.2;//capacitance in µF
C2 = C2 * 10^-6;// in F
XC2= 1/(2*%pi*f*C2);
R3 = 100;//resistance in ohm
L3 = 10;//inductance in mH
L3 = L3 * 10^-3;... |
970c89683d58b59e4fb01daa970aa10ec02c3e04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH8/EX8.1/8_1.sce | 6d14fb0dc3e87dfdf76744513a885368882ca9ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | 8_1.sce | clc
//initialisation of variables
F= 80000 //lbs
P= 1600 //psi
//CALCULATIONS
db= sqrt(4*F/(%pi*P))
//RESULTS
printf ('size of the cylinder postion = %.f in',db)
|
d91803dc98bee7dae7984f2e047418f6f9e10657 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH8/EX8.6/ex_8_6.sce | b0de7db9d3fe56a81b1a6a4f8b6ca8cc1c324b45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_8_6.sce | //Example 8.6: Gain and The output photocurrent
clc;
clear;
close;
//given data :
format('v',6)
disp("part (a)")
tf=6*10^-12;// in s
del_f=450*10^6;// in Hz
G=1/(2*%pi*tf*del_f);
disp(G,"the gain = ")
disp("part (b)")
format('e',10)
tf=6*10^-12;// in s
del_f=450*10^6;// in Hz
G=1/(2*%pi*tf*del_f);
eta=75/100;
P_in=5*10... |
4f22c4a891e3f100aabdda1ce5648d770ad999a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH6/EX6.31/ex6_31.sce | 0e21fe7e73106d3ee86417af90e8ecbe31ddabdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 656 | sce | ex6_31.sce | // Exa 6.31
format('v',7);clc;clear;close;
// Given data
f = 450;//frequency in Hz
omega = 2*%pi*f;// in rad/sec
R2 = 4.8;// in ohm
R3 = 200;// in ohm
R4 = 2850;// in ohm
C2 = 0.5;// in µF
C2 = C2*10^-6;// in F
XC2= 1/(2*%pi*f*C2);// in Ω
r2 = 0.4;// in ohm
Z2= (R2+r2)-%i*XC2;// in Ω
Z3= R3;// in Ω
Z4= R4... |
9ae93c4d66abb69a82a2a4162904fec59c209efc | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH2/EX2.14/example2_14.sce | f78cb66c7fd286f740d212a04c6e9c9d859cb66a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 987 | sce | example2_14.sce |
clear;
clc;
printf("\t Example 2.14\n");
ya1=0.2; //molefraction at pos.1
ya2=0.1; //molefraction at pos.2
T=(293); //temperature in kelvin
pt=1*1.013*10^5; //total pressure in pascal
z=0.2*10^-2; ... |
cefcba64ea58a0d0c47e0b907eb39d289cfd1c4f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/mscanf.man.tst | f46e28929df3110f69114201caf2531952d48670 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | tst | mscanf.man.tst | clear;lines(0);
[n,a1,a2]=msscanf('123 456','%i %s')
[n,a1,a2,a3]=msscanf('123 456','%i %s')
data=msscanf('123 456','%i %s')
fd=mopen(SCI+'/scilab.star','r')
mfscanf(fd,'%s %s %s')
mclose(fd)
|
1022926940e25e7c1804a025b45f9f8a25c1cce8 | 9bc415d58bf063a1bca303fea640e644333dbdbd | /Scilab/Sinais_e_Sistemas/dft_examples_xs.sci | 9d6d5e5b063d56279406a0dcc97f0ba67d7ee998 | [] | no_license | Roast-Lord/SMGcodes | 36e55be6c1cc17af91ab2e3f5117c78684f20604 | b75107be829fb4373dc1bc4b8696fe4b9cec437a | refs/heads/main | 2023-07-05T05:25:50.557705 | 2021-08-17T17:46:25 | 2021-08-17T17:46:25 | 301,012,145 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,627 | sci | dft_examples_xs.sci | function an(a,alfa,N)
for n=1:N
x(n)=alfa*(-a)^(n-1)
end
clf
subplot(211)
plot2d3(x)
subplot(212)
plot2d3(abs(fft(x)))
endfunction
function f=sinc_xs(M,N)
clear f
n=[-N/2:N/2-1]
nn = n+0.001
f=1/N*sin(2*%pi*nn*(M-0.5)/N)./sin(%pi*nn/N)
subplot(211);
p... |
691d8f23bb0ceb0e24476f8703a41a023f568a8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH15/EX15.17/17.sce | 810f96f4476389ed1fa3e3401013b8cdbbce66c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | 17.sce | clc
rho=983.2; //kg/m^2
cp=4.187; //kJ/kg K
k=0.659; //W/m 0C
v=0.478*10^(-6); //m^2/s
m=0.5/60; //kg/s
D=0.02; //m
ti=20; //0C
t0=50; //0C
ts=85; //surface temperature in 0C
tf=1/2*(ts+(ti+t0)/2);
A=%pi/4*D^2;
u=m/rho/A;
Re=D*u/v;
//Since Re < 2000, hence the flow is laminar.
Nu=3.65;
h=Nu*k/D;
tb... |
25cdcf316ad29e538e4e610e40744ceb5b935283 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/tests/grand.tst | a2e30fb0268a7baaa2b1765e6c7cd23d91e61d4b | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,290 | tst | grand.tst | // Copyright INRIA
// test for grand
prec = 1
// test for beta random deviate
N=10000;A=1;B=3;
Rdev=grand(1,N,'bet',A,B);
RdevS=sort(Rdev);RdevS=RdevS($:-1:1)';
PS=(1:N)'/N;
//plot2d(RdevS,PS);
// theorical result
[P]=cdfbet("PQ",RdevS,1-RdevS,A*ones(RdevS),B*ones(RdevS));
//plot2d(RdevS,P,2,"000")
if norm(P-PS)... |
56625979c2ccc51bfa7f9f774a3d3fc148f758cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH15/EX15.2/15_2.sce | 1ae824a0aa89d2df542efbe10cbb0089b59a4f20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | 15_2.sce | clear
clc
//Example 15.2
disp('Example 15.2')
s = %s;
theta=1 //delay
delay=(1-theta/2*s+theta^2/12*s^2)/(1+theta/2*s+theta^2/12*s^2);//Second order pade approx
G=1/((5*s+1)*(3*s+1));
Gp=[G;delay*G];//Both models with and without delay
Gc=[3.02*(1+1/(6.5*s));1.23*(1+1/(7*s))];
G_CL=syslin('c',(Gp.*Gc)./(1+Gp.*Gc))
t=... |
50e837a29eefc20bf64f2a214beb9ead70c11c92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH3/EX3.20/3_20.sce | e618453a5fb4b6b08cfa8bf63b65a2ee077e0744 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | 3_20.sce | clc;
Zo=632.8;Zr=80;
F=20*log10((2*Zr*Zo)/(Zo+Zr));
printf("Reflection loss = %f db",round(F*100)/100);
//the difference in result is due to erroneous value in textbook.
disp("The difference in result is due to erroneous value in textbook")
|
9fd255a03271ce27dd6d7d0ca64024f91e072879 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH17/EX17.3/Ex17_3.sce | f86b1619cbe7412753e0bea06f548098067e0237 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 767 | sce | Ex17_3.sce | //Chapter 17: Antenna Temperature, Remote Sensing and Radar Cross Section
//Example 17-2.1
clc;
//Variable Initialization
Tn = 50.0 //Noise temperature (K)
Tphy = 300.0 //Physical temperature (K)
Eff = 0.99 //Efficiency (unitless)
Tn_stg = 80.0 //Noise temperature of first 3 stages (K)
gain_db = 1... |
71fecad3572e75c3c4048ff83640b0aecfe47500 | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH2/EX2.6.e/2_06_example.sci | b22e19d359591f563f45f4f8a08a8a7469971064 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sci | 2_06_example.sci | //Example 2-6 The Capillary Rise of Water in Tube
D = 0.6 //diameter of glass tube [mm]
T = 20 //temperature of water [degree C]
sigma_s = 0.073 //surface tension of water at 20C [N/m]
rho = 1000 //density of water [kg/m^3]
g = 9.81 //gravitational acceleration [m/s^2]
phi = 0 //contact angle for water and glass [degr... |
e897b40909e232e247a3d683f70ca09619cea05d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3890/CH3/EX3.8/Ex3_8.sce | a2c3cf9e106705c78cffc0a7a68953f0ec543a00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | Ex3_8.sce | //Electric machines and power systems by Syed A Nasar
//Publisher:TataMcgraw Hill
//Year: 2002 ; Edition - 7
//Example 3.8
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
v1=2400; //primary voltage of transformer in v
v2=480; //secondary voltage of transformer in v
xm=400; //magnetisin... |
43f49d6a0f13694d212e850b89957a0f3d3df939 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.8/Ex7_8.sce | 32d3835979f0084dabdd9ff2d184165ed0087ff9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | Ex7_8.sce | //Example 7.8
//Time scaling an oscillator.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space model of an oscillator
wn=15000 // rad/sec
F=[0 1;wn^2 0];
G=[0;10^6];
disp(G,"G",F,"F","Given system");
//----------------------------... |
4019b0b1227a67b70bfb09593e8ec4045fe3b837 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH5/EX5.9/Ex5_9.sce | 7fc87b777012c0131275e95a23a6471669e5955d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | Ex5_9.sce | clear
//
//
//
//Variable declaration
m=9.11*10**-31 //mass(kg)
rho=1.54*10**-8 //resistivity(ohm m)
e=1.602*10**-19 //charge(c)
E=10**2 //electric field(V/m)
n=5.8*10**28 //number of electrons
Kb=1.381*10**-23 //boltzmann constant
T=300 //temperature(K)
//Calculation
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.