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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a8a8f19a7ab490efb398baea454a37a9c43e88d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH9/EX9.7/Exa9_7.sce | 5eaf5dc7e01bc335d5f2de01318dd7608f782ae4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,762 | sce | Exa9_7.sce | //Exa 9.7
clc;
clear;
close;
//Given data :
P=100000;//in Rs
F=20000;//in Rs
n=8;//in years
i=12;//in % per annum
A=(P-F)*(i/100)/(((1+i/100)^n)-1);//in Rs.
disp("In this method of depreciation, a fixed amount of Rs. "+string(A)+" will be depreciated at the end of every year from the earning of the asset. Th... |
4387d70fd0e1f3584533ba5503dc53a8e12052e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH17/EX17.17.1/Ex17_1.sce | e255fcaa7fecababc034f5d5464ab6bb3f44ad27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | Ex17_1.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 17 Number Systems,Boolean Algebra,and Digital Circuits
clc
clear
x=25
s=dec2bin(x)
disp(,s,"1 Binary equivalent of 25 is ")
y=576
s1=dec2bin(y)
disp(,s1,"2 Binary equivalent of 576 is ")
|
f5652f478778328e0ff64a6626a2c422d76ba160 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.1_8.tst | 0b887e0de7b7ab40c8b8890f822c1b15968df532 | [] | 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 | 704,876 | tst | 5.1_8.tst | 1 56:1 113:1 319:1 368:1 384:2 553:2 606:1 735:1 766:1 796:1 835:2 935:1 1183:1 1319:1 1438:1 1489:1 1630:1 2123:1 2619:1 2752:1 2859:1 3268:1 3532:1 3783:1 3843:1 3936:1 3968:1 4042:1 4178:1 4251:1 4652:1 4775:1 4816:1 4916:1 4926:1 4942:1 5120:1 5256:1 5592:1 5845:1 5977:1 6317:1 6625:1 6796:1 7431:1 7748:1 7919:1 79... |
42a1f466b4b3400af5ed6faa40db7bd88e7f8a38 | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/imhistmatch.sci | d44a4ed52770dcdd3ee43e4f6b137b1bce25b7d8 | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 1,658 | sci | imhistmatch.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_... |
63202170aac0cb61e826a4e448194aeb8b329795 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/dac.sce | 93fa76bc8be6de6438c2a28e16762e169ef4608c | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 149 | sce | dac.sce | style.fontSize=12;
style.displayedLabel="<table> <tr><td align=center>DC<br>Voltage</td></tr></table>";
pal6 = xcosPalAddBlock(pal6,"dac",[],style);
|
e9f9b09ef0c8181d6ad040bbde8607d0b22ed6aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH24/EX24.27/24Ex27.sce | 90774b7015d0320ab3facb18f03fa9533f7a0320 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 24Ex27.sce | //chapter 24 Ex 27
clc;
clear;
close;
rev=1000;
distTotal=88;
dist=(distTotal/1000)*rev;
rad=dist/(2*(%pi));
mprintf("The radius of wheel is %d meter",rad);
|
42f0491ef1f092c37f3dbb81ab457adc34a9fce2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH9/EX9.2/9_2.sce | 1e50b8b899cf2e943e13cf9a12f084e92e2d5f05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | 9_2.sce | clc
//initialisation of variables
T= 298.16 //K
M= 4.003 //gm
S= 2.3151 //cal mol^-1 deg^-1
R= 1.987 //cal/molK
//CALCULATIONS
S1= 2.5*R*log(T)+1.5*R*log(M)-S
//RESULTS
printf (' Absolute Entropy= %.3f cal mol^-1 deg^-1',S1)
|
1ab9da90f98d909945452b2ae17390698b469466 | 7c129ce7f747d44e6c7cedea4c007088e87aa90c | /Programs/Notch_Filter.sce | 158e130b66f7b5d3d4a09671eda93501413a7b69 | [] | no_license | KilariSandhya/Digital-Signal-Processing | 08d97a6d46ff46c533c7a2114c19883980c85e38 | bad9dab8f5e02a8f1638ce20351e9eba1a0a11d0 | refs/heads/master | 2022-11-18T03:23:47.628061 | 2020-07-20T07:46:02 | 2020-07-20T08:00:23 | 281,047,630 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | Notch_Filter.sce | clc;clear all;close;
fd=1250;
fs=10000;
r=0.99;
wd=%pi*2*fd/fs;
i=1;
for w=0:0.0001:2*%pi;
Hejw(i)=((cos(2*w)+%i*sin(2*w))+1-(2*cos(wd)*(cos(w)+%i*sin(w))))/((cos(2*w)+%i*sin(2*w))+(r^2)-r*(2*cos(wd)*(cos(w)+%i*sin(w))));
i=i+1;
end
Hmag=20*log(abs(Hejw));
w1=0:0.0001:2*%pi;
w2=w1*10000/(2*%pi);
plot(w2, abs(Hejw)) ; |
c0247f39615630384207c89197865754e29a2197 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH9/EX9.2/9_2.sce | d4db70d7c7547f8bfc2481e1cefa5894fe38295b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | 9_2.sce | //example 9.2
clc; funcprot(0);
// Initialization of Variable
T2=898.3;
T1=300.0;
T4=887.7;
vr3=3.97;
V1=0.861;
R=8314;//gas constant
u4=664.3;
u1=214.07;
h3=1999.1;
h2=930.98;
p1=0.1;
k=18.0;//V1/V2
rc=2.0;//V3/V2
p2=k*p1*T2/T1;
disp(p2,"pressure in atm");
T3=rc*T2;
disp(T3,"temperature in K");
vr4... |
c6c554efba9e9d7265289189126acfb0d80605a8 | c01ca78370f3e6b54de574f320475030453d1290 | /iscatastrophic.sci | 9c54f19b9b77953f5df490ceb0099b47ed22c815 | [] | no_license | hegdekartik/FOSSEE_communication_toolbox | d7e14c9c4e8c99915b293438c057bbdea60074bb | 399530b6ef3a9ea95164dc5f7d584ea7a9aa7957 | refs/heads/master | 2023-08-19T02:00:29.665821 | 2018-06-13T11:04:18 | 2018-06-13T11:04:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,242 | sci | iscatastrophic.sci | function result = iscatastrophic(trellis)
// This function determines if a convolutional code is catastrophic or not
// Calling Sequence
// RESULT = ISCATASTROPHIC(TRELLIS)
// Description
// RESULT = ISCATASTROPHIC(TRELLIS) returns 1 if the specified
// trellis corresponds to a catastrophic convolution... |
ac5177ba781a90b27dd0770672db06ff760d2c19 | d7087cf730b37f76170323e080c090f8094979ac | /test/lexer/test4.tst | a15907914b0aa2ac155b6b8dba66c491eadeb630 | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | tst | test4.tst | <cmd>
./main_test/lexer_tst "echo '42sh is strong';"</cmd>
<ref>
cat ./lexer/test4.ref</ref>
<ret>
0</ret>
|
cc600aa2bc6e66011c35088e015544f57e8d42d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH5/EX5.7/example5_7.sce | 925098b8a0c2ce4eb4e596653a3231a0c3647b25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | example5_7.sce |
//example 5.7
//page 204
clc; funcprot(0);
//initialisation of variable
V1=40;//velocity
Vp=20;//velocity
pi=3.14;
th1=30/180*pi;//angle
th2=20/80*pi;//angle
g=9.81;
th=atan(V1*sin(th1)/(V1*cos(th1)-Vp));
V1r=V1*sin(th1)/sin(th);
V2r=V1r;
//on solving
phi=4/180*pi;
V2=V2r*sin(phi)/sin(th2);
V2w=V2*co... |
981f1292b85f5a3c0b8d0900098c4508c39cc8a8 | 90ee2315583fd980367421b5516fc008eb133c22 | /MENU/testscripts/mqsc_stopnastel.tst | 817eea4fcfe0e6a527d48623ca84661c55a8a1e1 | [] | no_license | skmpersonal/docs | 8503f989d3eff41238c2f756b924e6530ec8e26c | ed8c9b3b5a3a9c1e413ceac2ba5016aa29743014 | refs/heads/master | 2021-01-17T05:32:59.924577 | 2017-07-07T19:26:42 | 2017-07-07T19:26:42 | 96,567,160 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23 | tst | mqsc_stopnastel.tst | Start SERVICE(NSQKILL)
|
e966c1da03274beae74628c0a3a9c42b1ad542b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH14/EX14.2/Ex14_2.sce | ffd94d35b2455889a5895c452fce3489c219c80f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | Ex14_2.sce | clear;
clc;
Vm=200 //voltage in V
Rf=500 //resistance in series in ohm
Rl=1000 //load resistance in ohm
//Calculation
Im=Vm/(Rf+Rl)
Idc=(2*Im)/%pi
Irms=Im/sqrt(2)
Y=sqrt((Irms/Idc)^2-1)
mprintf("(a)Maximum current Im= %0.3f A\n",Im)
mprintf("(b)dc component of current Idc= %1.4f A\n",Idc)
mprintf("(c)... |
f87bb7563655f97a382bed759dd46030c3b06e5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH5/EX5.24/5_24.sce | eb05b2a8c39912174c86ae9cb427f01b11e7c071 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | 5_24.sce | //Chapter 5, Problem 24, figure 5.72
clc
Rs=10 //resistance in ohm
Rl=50 //resistance in ohm
Q=10 //Q factor
//calculation
Rv=Rs*(Q^2+1)
Xs1=Q*Rs
Xp1=Rv/Q
Q2=sqrt((Rv/Rl)-1)
Xp2=Rv/Q2
Xs2=Q2*Rl
printf("Zs = %d ohm\nXp1 = %.3f ohm \nXs1 = ... |
3e8545b673f0818c0156675cefe812537cefac46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH7/EX7.5/CHapter75.sce | 879b21717fd405ce969db79859b320718b8ff196 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,763 | sce | CHapter75.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 7, Example 5")
//A flat plate of width B=1m is maintained at a uniform surface temprtaure(Tw)=225°C
Tw=225;
B=1;
//Heating is done by rectangular modules of thi... |
7a5ff3bfc088425a5dcdd9802b5168562b38f601 | 0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8 | /klava/kernel/tests/klaviotest/tests/io_write.tst | 198e99203d6906d71cfd62bcc2b9b4c3d66be943 | [] | no_license | seth1002/antivirus-1 | 9dfbadc68e16e51f141ac8b3bb283c1d25792572 | 3752a3b20e1a8390f0889f6192ee6b851e99e8a4 | refs/heads/master | 2020-07-15T00:30:19.131934 | 2016-07-21T13:59:11 | 2016-07-21T13:59:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,053 | tst | io_write.tst | # io_write.tst
#
# Basic IO writing functionality
#
open "data2.tmp"
expect 0x8000004C
open "data2.tmp" write
expect 0
read 0 0x100 1w.tmp portion
expect 0 0 0
write 0 result1.dat
expect 0 0x213
write 0x213 result2.dat
expect 0 0x1EC
write 0x1584 result3.dat
expect 0 0xD0
get_size
expect ... |
c73b8563546d2058dd525a091bcb59629d14bdc3 | 04b9da89c0a270d5f5940f08a42831ca69020ab2 | /LA_Assignment_3.sce | 4b707cd6d50f1420bfa31a653657b5f92c4f7ae9 | [] | no_license | Rotsu249/LA_Assignment | b68f969d8b5de3d5b61e6fc2ed88723a019e2a39 | a11d1fee1d51f2dd9029e70cadfdf93722a32ca7 | refs/heads/master | 2021-01-02T19:39:14.957424 | 2020-04-10T15:18:44 | 2020-04-10T15:18:44 | 239,769,390 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,068 | sce | LA_Assignment_3.sce | funcprot(0)
function error_minimise()
disp("-------------------------------------------------------------")
disp("BEST FIT LINE")
disp("-------------------------------------------------------------")
n=input("Enter the number of lines/points : ");
printf("\n")
A(1,1)=0
b(1,1)=0
... |
80eb10a3ee91943f7119f11c66c4d692aec0d0f7 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fiber_Optics_And_Optoelectronics_R._P._Khare_2216.zip/Fiber_Optics_And_Optoelectronics_R._P._Khare_2216/CH11/EX11.4/ex_11_4.sce | a1f40cc4895af45dd9fd18022d44d07c03cf9442 | [] | 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 | 274 | sce | ex_11_4.sce | errcatch(-1,"stop");mode(2);//Example 11.4: ARRAYED GUIDE
;
;
//given data :
c=3*10^8;
lamda_c=1.55*10^-6;// in m
vc=c/lamda_c;
n=16;// number of channel
f=100*10^9;// in Hz
delV_FSR=n*f;
m=round(vc/delV_FSR);
disp(m,"required order of the arrayed waveguide, = ")
exit();
|
c120c5d3df439bb924efc896c681050c579b9980 | 953a8eac4a96b81fe2f9592cc36d7690bb0c595e | /lab2.sce | c9cd43b9eaa2463c98ab1f768330762917a1c221 | [] | no_license | irziley/lab2 | 6613a8f2cba881e422942d0e98ef78963f7d3c7f | d3ff9cd7698b89314bfd14b1cbb5690898951c24 | refs/heads/main | 2023-03-10T06:26:38.220489 | 2021-02-18T13:58:59 | 2021-02-18T13:58:59 | 340,066,101 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 693 | sce | lab2.sce | s=6.9;// начальное расстояние от лодки до катера
fi=3*%pi/4;
//функция, описывающая движение катера береговой охраны
function dr=f(tetha, r)
dr=r/sqrt(3);
endfunction;
//начальные условия в случае 2
r0=3.63;
tetha0=-%pi;
tetha=0:0.01:2*%pi;
r=ode(r0,tetha0,tetha,f);
//функция, описывающая движение лодки брак... |
c7d24084fa14c705ac6568e9ab6f8428dcc4a3be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH1/EX1.6/ex1_6.sce | f51f34c95250aec2c77cdcaf36a55335ddf62dcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | ex1_6.sce | clc;
clear all;
l = 0.4 // Length in meter
A = 240e-4 // Area of slab in meter square
F = 1e5 // Shaering force in newton
n = 5.6e9 // Shear modulus in pa
deltal = (F*l)/(n*A);
disp('m',deltal,'The displacement is ')
|
bbcb25d33e759357afde483e0bee741205716f01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH6/EX6.5/Example6_5.sce | 2dfac51b0350e8e2d00cb8ee2567661f819cdf8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,521 | sce | Example6_5.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 6: AC DYNAMO VOLTAGE RELATIONS-ALTERNATORS
// Example 6-5
clear; clc; close; // Clear the work space and console.
// Given data
kVA = 100 ; // kVA rating of the 3-phase alternator
V_L = 1100 ; //... |
02c7d4ae37772c1c3ca58817fa1224fdcf5037a1 | 29cfe7e83274e757dc406cdc2a855f7e76fdb698 | /scilab/least_squares_2.sce | c5e99cc9263086cad33599eb8a874d16024135bb | [] | no_license | andreucm/essential_maths_roboticists | 2eb637afe3f46be6eb6c697eba7ada1d9406f482 | 95530267db0890be1e76778062d8eafd41d451dd | refs/heads/master | 2022-07-16T05:18:15.976563 | 2022-07-01T08:36:47 | 2022-07-01T08:36:47 | 47,470,143 | 1 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | least_squares_2.sce |
//data
u=[1;2;3;4];
z=[2;4;7;14];
H=[u(1)*u(1) u(1) 1;u(2)*u(2) u(2) 1;u(3)*u(3) u(3) 1;u(4)*u(4) u(4) 1];
Cnz=[0.1 0 0 0;0 1 0 0; 0 0 1 0; 0 0 0 0.1];
//least squares solving
s_ls = inv(H'*H)*H'*z;
//weighted least squares solving
s_wls = inv(H'*inv(Cnz)*H)*H'*inv(Cnz)*z;
//plot
r=[0:0.1:20];
plot(r, ( s_ls(1)*r... |
ca1ef9a5f6f4c0417e0d0d42dbd8509cb5b2c343 | bc4afd13b6991b1fc667832b7e1bf237ad99428a | /exercicio29-04/ex3.sce | 1614b09123179622f887ccee96b7af19180b394c | [] | no_license | furiossam/Scilab | 9cadd58c451431c44294d79d4d74f03e0601e56d | c4837aa23cfae7d791b3e8bc947b2df007355df2 | refs/heads/master | 2021-01-20T08:29:26.345689 | 2017-05-03T13:52:01 | 2017-05-03T13:52:01 | 90,151,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 120 | sce | ex3.sce | for n = 1000:1:1999
if (modulo(n,11)==5) then
disp (n)
n=n+1
else
n=n+1
end
end
|
c09e884f2a6f018c5064a98ee97bfcd90b727492 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH9/EX9.7/Ex9_7.sce | 746f2c2d7fbdc7c596de16e0e32cbd43ccfb3c1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 679 | sce | Ex9_7.sce | //example-9.7
//page no-289
//given
//temp
T=600 //degree C
//tightenening stress
sigmai=750 //kgf/cm^2
//minimum creep rate
vcr=2.8*10^-8 //cm/cm/hour
//stress
sigma=300 //kgf/cm^2
//young's modulus
E=2*10^6 //kgf/cm^2
//constant
n=3
//we knnow that minimum creep rate
//vcr=A*sigma^n
//so
A=... |
71eb2a1f5ed61c55ef8ad1e90cfce7ca501b9e2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH7/EX7.01/7_01.sce | 51b920009c226194153d3fd5f63b58a238d4da76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | 7_01.sce | //Problem 7.01: A magnetic pole face has a rectangular section having dimensions 200 mm by 100 mm. If the total flux emerging from the pole is 150 μWb, calculate the flux density.
//initializing the variables:
Phi = 150E-6; // in Wb
l = 200E-3; // in m
b = 100E-3; // in m
//calculation:
A = l*b
B = Phi/A
... |
06f120fb3ea2ef44416a1cffd53e5bdc29a4b134 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Aula 6/FatoracaoLU.sce | 0274eb9a2a92a7c4bddbe9a771a2c650699124ce | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,157 | sce | FatoracaoLU.sce | function [L,A,C] = fatoraLU(A)
n = size(A,1)
L = eye(n,n)
C = 0
for j = 1:n-1
for i = j+1:n
L(i,j) = A(i,j)/A(j,j)
C = C + 1
A(i,j+1:n) = A(i,j+1:n) - L(i,j)*A(j,j+1:n)
if(A(i,j+1:n) == 0)
if(L(i,j) ~= 0 && A(j,j+1:n) ~= 0)
... |
814c10156f0ab612796500b1e2c0c717c27646e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH2/EX2.21/Ex2_21.sce | 583a8a59a56488c1eceacef6e0a66e5bfb451048 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | sce | Ex2_21.sce | //Ex:2.21
clc;
clear;
close;
E_o=8.85*10^-12;
E_r=5.4;
C=1*10^-9;
d=0.1*10^-3;
A=(C*d)/(E_o*E_r)*10^4;
printf("Required plate area = %f sq. cm",A); |
96a507ef1b1b0aede5fa776fbd9ebe936e08194c | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH11/EX11.5/Ex11_5.sce | 3e7d255f1ae6ad88a8051ed73a13170cc304ad96 | [] | 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 | 856 | sce | Ex11_5.sce | // Variable declaration
l = [ 20 0.18; 60 0.37; 100 0.35; 140 0.78; 180 0.56; 220 0.75; 260 1.18; 300 1.36; 340 1.17; 380 1.65 ]
alpha = 0.05
beta = 0.0
// Calculation
x = l(:,1)
y = l(:,2)
s1 = sum((x.^2)) - (sum(x))^2/10.0
s2 = sum(x.*y) - (sum(x)*sum(y))/10.0
s3 = sum((y).^2) - (sum(y))^2/10.0
t_thr = 2.306 /... |
65ae721c7c8fa925b44b840ad5ab579ac1896d52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH3/EX3.30/Example3_30.sce | 4668395e355c0198be6e418bb311e3362cd771a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | Example3_30.sce | //Example 3.30
//Program to Calculate N from given data
//fm=5000Hz
//df=50Hz
//t=0.5sec
clear;
clc ;
close ;
fm=5000 //Hz
df=50 //Hz
t=0.5 //sec
N1=2*fm/df;
N=2;
while N<=N1, N=N*2,end
//Displaying the value of N in command window
disp(N,"N="); |
6cdd475759aca4f7593ff881a04dd79d026d4ee1 | 8c802fb8c6a8dc8ed61222ce257eb61f580a462e | /projects/08/FunctionCalls/StaticsTest/StaticsTest.tst | 2e34c6b782fcb7eb1b8ae9e94bbc02a6c3729e30 | [] | no_license | radavis/nand2tetris | 0703b55695378cd8ec279599a34114cbfba48ef7 | 021ba06dbbe203206b44360f162a0d64e2dc41f9 | refs/heads/master | 2021-01-01T20:05:37.036752 | 2015-05-16T19:13:31 | 2015-05-16T19:13:31 | 34,955,667 | 8 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | tst | StaticsTest.tst | // File name: projects/08/FunctionCalls/StaticsTest/StaticsTest.tst
load StaticsTest.asm,
output-file StaticsTest.out,
compare-to StaticsTest.cmp,
output-list RAM[0]%D1.6.1 RAM[261]%D1.6.1 RAM[262]%D1.6.1;
set RAM[0] 256,
repeat 2500 {
ticktock;
}
output;
|
5a2df053ee016ea9fdacaba56716a6514715986e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH9/EX9.3/9_3.sce | 5c9a54ea249b8be15f646217fab59e9d0965ba91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | 9_3.sce | clc
//initialisation of variables
p=40//ft
d=56//ft
d1=140//ft
p1=30//ft
w=3.28*10^-4//fps
//CALCULATIONS
Q=w*(p/d1)*2*d*p//cfs
q=Q/p//cfs
K=w*(p/d1)//fps
x0=q/(2*%pi*K)//ft
Z=2*%pi*x0//ft
//RESULTS
printf('the yield of the well if the coefficient of permeability=% f ft',x0)
printf('the distance of the p... |
38fabf0d67c22057e2f6838ef93db696ab4f465d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.22/Ex5_22.sce | 2cd05503a3b5fe985baa0f2f5ef014028e9f773c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | Ex5_22.sce | //example 22
clear
rb1=7.5*10^3;//ohm
rb2=6.8*10^3;//ohm
rb3=3.3*10^3;//ohm
re=1.3*10^3;//ohm
colres=2.2*10^3;//ohm
beta1=120;
vcc=18;//volt
vb1=rb3*vcc/(rb3+rb2+rb1);
ie1=(vb1-0.7)/(re);
re1=0.026/ie1;
re2=0.026/ie1;
volgai=colres/re2;
disp("voltage gain = "+string((volgai)));
|
714e16a6b846814d8d5c48efca75d1645731c459 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH5/EX5.5.36/Ch5_5_36.sce | 4790007e26295077dda01a438c86cfb9785a0631 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | Ch5_5_36.sce | clc
disp("Example 5.36")
printf("\n")
disp("calculate open loop cut-off frequency if the open loop gain is 200000")
printf("Given\n")
//open loop gain
Av=200000
//closed loop gain
Acl=250
//upper cut-off frequency with feedback
F2CL=4*10^6
//upper cut-off frequency without feedback
F2OL=F2CL/(Av/Acl)
prin... |
0504717a0a0f9b1f516f4a4a5ea31e51f841ae8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH7/EX7.9/Ex7_9.sce | a0f05fba1cf8c0f8a60291db1b5553b01a9cd3ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,084 | sce | Ex7_9.sce |
clc
clear
//Input data
V1=1000//Speed in m/s
Vb=400//Peripheral velocity in m/s
a=20//Nozzle angle in degree
m=0.75//Mass flow in kg/s
f=80//Percentage reduction of relative velocity
//Calculations
b1=atand((V1*sind(a))/((V1*cosd(a))-Vb))//Blade angle in degree
V=342//Velocity from E7.9 in m/s
Vr1=V/sind(... |
f4093de71a491416aaf8dbabe529922ef1a17d74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH2/EX2.17/Ex2_17.sce | 19e31e5ecfb91004d52b91b6903cbf3cd4b077c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 852 | sce | Ex2_17.sce | clc
e=1.6*10^-19
disp("e = "+string(e)+" columb") //initializing the value of electronic charge.
Ef=0.4065
disp("Ef = "+string(Ef)+" eV") //initializing the value of fermi level.
n=10^17
disp("n = "+string(n)+" /cm^3") //initializing value of number of electrons per cm^3.
T=300
disp("T = "+string(T)+" K") //ini... |
c5df027e7af37ba61cfb0fa266d5c4875dc036e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.31/ex1_31.sce | a97cff8352810270f080c823cd5edfca43d904df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 609 | sce | ex1_31.sce | //Exa:1.31
clc;
clear;
close;
f=50;//in hertz
P1=6;//No. of poles
P2=4;//No.of poles
N_s1=120*f/P1;//Synchronous Speed of 6-pole motor
N_s2=120*f/P2;//Synchronous Speed of 4-pole motor
N_sc1=120*f/(P1+P2);//Concantenated Speed of set when cumulatively compounded (in rpm)
N_sc2=120*f/(P1-P2);//Concantenated Sp... |
a7e8650e49e80f71a690462a5a061f3b7d2067fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH5/EX5.17/ex_5_17.sce | f0c0fee31378fa4326fb3a460f6434a30b4a318a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_5_17.sce | //Example 5.17 // fluxmeter
clc;
clear;
close;
//given data :
N1=800;// turns
I=5;// in A
l=1;// in m
A=5*10^-4;// in m^2
N=500;// turns
theta=25;// divisions
H=(N1*I)/l;
B=(4*%pi*10^-7*H);
fi=B*A*10^8;
K=((2*N*fi*10^-8)/(theta));
disp(K*10^-3,"Constant is,(Wb-turn/scale-div)=")
|
eb6d65a1a01f4c2ad54e8f53ebd5a57254d5c88c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH3/EX3.1/Ex3_1.sce | 08ef6108c6616c87d063f3849b99322f550652f7 | [] | 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 | 273 | sce | Ex3_1.sce | errcatch(-1,"stop");mode(2);//Example 3_1
;
;
//To calculate the thickness of a half wave plate
lemda=500*10^-9 //units in meters
ue=1.553
u0=1.544
t=(lemda/(2*(ue-u0)))*10^3
printf("Thickness of quartz half wave plate is %.4f mm",t)
exit();
|
6b2fc742339f75dac9cbdb296abed82d78f32497 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH2/EX2.3h/eg2_3h.sce | c53f0e2237a2b5e72b1305b5d090909e7e9805b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | eg2_3h.sce | population = [7333253 3448613 2731743 1702086 1524249 1151977 1048949 1022830 998905 992038 816884 752279 734676 702979 665070 635913 617044 614289 579307 567094 547727 520947 514013 504505 493559];
disp(perctl(population, 10), "The sample 10 percentile is")
disp(perctl(population, 80), "The sample 80 percentile is")... |
de93a1921542bf2e0e446f86212bfe8ae3f8b875 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH5/EX5.4/Ex5_4.sce | 52b23fc9a66933adab57c7f51b102df0d96f33bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | Ex5_4.sce | clc
//initialisation of variables
t=12//hp
N=1500//rpm
p=44760//N m
//CALCULATIONS
T=(t*p)/((2*%pi)*(N))//N.m
//RESULTS
printf('The fluid power motor turning at=% f N.m',T)
|
6a8a3713fbaf6f9db18b9f170aa232b3f0398639 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH2/EX2.12/ex_2_12.sce | 2c938b01bac8592795657e56652c936758632bf4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | ex_2_12.sce | //Example 2.12://power factor and capacitance
clc;
clear;
close;
w1=-2000;//watts
w2=4000;//watts
ph=atand((sqrt(3)*(w2-w1))/(w2+w1));//in degree
pf=cosd(ph);//
disp(pf,"power factor of the system is")
w=w1+w2;//total power
v=400;//volts
vp=(v/sqrt(3));//phase voltage
pp=w/3;//power per phase
pi=(pp)/(vp*pf);//phase cu... |
db80f03e8f6388bc1b9b3f73d79956c8acccee5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/DEPENDENCIES/Norm_Dis_Diff_Two_Mean.sci | 18792ecf4edc3237cf88111388febccf9b3d8d7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sci | Norm_Dis_Diff_Two_Mean.sci | function [Z]= Norm_Dis_Diff_Two_Mean(X1,X2,Sigma1,Sigma2,n1,n2)
u1 =0;
u2 =0;
Sigma12 = (Sigma1/n1)+(Sigma2/n2);
Z = ((X1-X2)-(u1-u2))/(sqrt(Sigma12));
endfunction |
4ce1cc8274f78642a21d5de817aab0f8bf067c03 | 5d1fb7124962d54cfee54c049f53f3b0361c2e0f | /generated_data/inseparable.tst | 43a5efdac880cdaa2a84a1625d3d751dd9952b8c | [] | no_license | abarthakur/ensemble_combination | cb2a1b1b67d85b88e652e8c6babc284cc879ce68 | 1fae79425a09e77f23400a0fe7753c09bc8df327 | refs/heads/master | 2022-06-03T06:44:40.995592 | 2020-05-01T16:54:58 | 2020-05-01T16:54:58 | 109,000,598 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 33,379 | tst | inseparable.tst | 0.641540666711,0.284869695608,0.0
0.774763654272,2.55985961317,1.0
3.22124084744,1.76078839517,1.0
1.46551220706,0.0431507787933,0.0
1.36338237352,0.303245484061,1.0
1.81635204528,3.23679938589,1.0
0.418227643137,2.44318334562,1.0
-0.27744316336,0.959077092973,0.0
1.03904885336,-0.767744998178,0.0
2.70849761927,1.71887... |
4fd5cfb235b64039ecac1121d9e89efcfcded3ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH2/EX2.17/ex_2_17.sce | 214080af1379823067fa8f829a2e1fb791a2c7e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | ex_2_17.sce | //example 2.17//
//division in binary//
clc
//clears the window//
clear
//clears already existing variables//
x=bin2dec('1110101')
//x is the first number//
//binary to decimal conversion//
y=bin2dec('1001')
//y is the second number w/c is to be divided//
z=x/y
//division//
a=dec2bin(z)
//decimal to binar... |
76c39d0c402d14e3c4a7d082bfa17340e7ccb501 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH9/EX9.7/9_7.sce | cf497efe87c009422fa087844ec47ca666928c7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,199 | sce | 9_7.sce | //Example 9.7
//Givens QR Method
//Page no. 303
clc;clear;close;
A=[4,2,1;2,5,-2;1,-2,7]
deff('y=c(i,j)','y=A(j,j)/sqrt((A(i,j)^2+A(j,j)^2))')
deff('y=s(i,j)','y=A(i,j)/sqrt((A(i,j)^2+A(j,j)^2))')
disp(A,'A=')
R=A;Q=eye(3,3);
m=1;
for j=1:2
for i=j+1:3
for k=1:3 //C matrix evaluati... |
95466ffea1059cd339be070104df061a1dd722cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH4/EX4.5/Exa_4_5.sce | 66e085e34d7d5f9752da7a98b8a3f51c0f7ec5b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | Exa_4_5.sce | //Exa 4.5
clc;
clear;
close;
format('v',8);
//Given Data :
mc=0.5;//Kg
Tc=100+273;//K
Cpc=0.393;//KJ/KgK
Tw=10+273;//K
Cpw=4.2;//KJ/KgK
Q=integrate('mc*Cpc','T',Tc,Tw);//KJ
deltaSc=integrate('mc*Cpc/T','T',Tc,Tw);//KJ/K
deltaSw=abs(Q)/Tw;//KJ/K
deltaSuniverse=deltaSc+deltaSw;//Kj/K
disp(deltaSuniverse,... |
d9f1ab54d415ab7a486d8bea0f9850d11a8e244b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.111/EX2_111.sce | c220a05c767b30813fb04cdb362a214fd38efc60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | EX2_111.sce | //EXAMPLE 2-111 PG NO-147
VCB=2.49-%i*12.50;
R=4+%i*2;
I1=VCB/R;
disp('i) CURRENT (I1) is in polar form = '+string (I1) +' A ');
I2=2.5+%i*0;
I=I1+I2;
disp('i) CURRENT (I) is in polar form = '+string (I) +' A ');
VAC=11.8-%i*0.12;
VCB=2.5-%i*12.5;
VAB=VAC+VCB;
disp('i)... |
8ee6bc8d3e8df0ca5e357471b54318f8d179caba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH9/EX9.2/9_2.sce | ac91bd2cb045ef1b7cdb9ef6e945f6f134dba691 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_2.sce | clc
//initialisation of variables
m= 10000 //kg/h
P= 2.5 //Mpa
P1= 100 //kPa
v= 0.001003 //m^3
//CALCULATIONS
W= -m*v*(P*10^3-P1)/3600
//RESULTS
printf (' work of the pump = %.3f kW',W)
|
83c4eaec8046c3a5d80597563efe896bb2cc735b | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH8/EX8.9/ex89.sce | 8efc477b8626e95ae9602b4dcd70eea78c76ba35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 135 | sce | ex89.sce | clc;
// Define the polynomial
z=poly(0,"z");
p=5+3*z+2*z^2+2*z^3+z^4+z^5;
// Calculate the routh of above polynomial
r=routh_t(p); |
2af394a70402aae21b7481c637b9baf438e4f7f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH11/EX11.47/EXAMPLE11_47.SCE | bd756a9d85efa63c9000b8cced5a087766757e4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,381 | sce | EXAMPLE11_47.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 11
//Information Theory
clear all;
clc;
printf("EXAMPLE 11.44(PAGENO 532)");
//given
P_x1 = .05//probability of first signal
P_x2 = .15//probability of second signal
P_x3 = .2//probability of third signal
P_x4 = .05//probability of fourth s... |
41f499fa41a66656e55e0b7491e979c87ef93a9a | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH19/EX12.19.7/Ex12_19_7.sce | 265ee50bb409cda04de686e2d554238c02ed768e | [] | 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 | 448 | sce | Ex12_19_7.sce | //Section-12,Example-7,Page no.-SS.61
//To find the no.of charge carriers essential to get te given conductivity and the no. of Antimony dopant atoms to be added to germanium.
clc;
C=100
e=1.6*10^-19
u_e=2800
N_D=C/(e*u_e)
disp(N_D,'No.of charge carriers essential to get the given conductivity(per cm^3)')
a=5.6... |
c0601b221d731023d440081dd1692bf9cb117b79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH12/EX12.9/ex12_9.sce | 150bc78417b573f146d9ac771db8eeb29da1d16c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | ex12_9.sce | //ex12.9
f_c=100;
f=1;
theta=phase_shift(f,f_c);
disp(theta,'phase lag when f=1Hz (in degrees)')
f=10;
theta=phase_shift(f,f_c);
disp(theta,'phase lag when f=10Hz (in degrees)')
f=100;
theta=phase_shift(f,f_c);
disp(theta,'phase lag when f=100Hz (in degrees)')
f=1000;
theta=phase_shift(f,f_c);
disp(theta,'... |
5abc7a34b90a70d9dd4c32757ad69ba072c59dfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH4/EX4.2/Ex4_2.sce | 32279c58ecd37c3ce5b7479c17f40db64d5abba5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,449 | sce | Ex4_2.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc.,USA,pp 436.
//Chapter-4 Ex4.2 Pg No. 140
//Title:Effective diffusivity of O2 in air
//============================================================================================================
clear
clc
// COMMON INPUT
S_g=150;//Total sur... |
2fddff2596af7b813e6c0ecf311be8191c0c3c41 | b0ad6d728d3820b03751eab240331dd6ca86ae7e | /run3_VisMMN.sce | 6c6a3972f0f5784e32fbbd4c2e4c3887e57c9aa3 | [
"MIT"
] | permissive | br-bieegl/szAMPexperiment | e354cb59cea9a794725618b0a6aefa3a9c681cca | 02ceb4a50286342c3fa8d449b30c6678cadbfa85 | refs/heads/main | 2023-04-07T17:36:08.091116 | 2021-04-15T20:46:29 | 2021-04-15T20:46:29 | 358,362,424 | 1 | 0 | null | 2021-04-15T19:02:18 | 2021-04-15T18:55:30 | null | UTF-8 | Scilab | false | false | 9,713 | sce | run3_VisMMN.sce | scenario = "run3_VisoddballPlusMMN_pronetSZAMP_09042021";
#========================================
#
#Visual Task:
#
#Tone1 16
#Tone2 18
#Response 17
#Standard 32
#Target 64
#Novel 128
#
#========================================
#attenuation updated for ER1 insert earphones and X-fi gamer card
pcl_file = "nvMMNComman... |
b54968a9308c698cddeb95781eb8993f534ea865 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /prog_assembly/libs/scilab_code/characterization/char_diodeADC.sce | 1e54a416f3e7706df88ed329bd64d7941a5b9520 | [] | 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 | 5,904 | sce | char_diodeADC.sce | global chip_num board_num brdtype;
diode_ivdd25V=csvRead("~/rasp30/prog_assembly/libs/scilab_code/characterization/char_diodeADC/data_diodeADC_chip"+chip_num+brdtype+"_ivdd25V");
//polyfit
[p1,S1]=polyfit(diode_ivdd25V(:,4), log(diode_ivdd25V(:,2)),10); //coefficients of polynomial that correspond to current
//[p_i2v... |
1e9546e5e80aed801122a55a4c9be77d860a794b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH11/EX11.5/Exa11_5.sce | 1636de0ef3611f1050cc041d90c858287753e337 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | Exa11_5.sce | //Exa 11.5
clc;
clear;
close;
//Given Data :
format('v',9);
Energy=25*10^6;//in kwh
MaxDemand=1600;//in KW
//(i) Rs. 70/KW max demand plus 2 paise per kwh
C1=70;//in Rs.year/KW
C2=2;//in paisa/unit
AnnualCost=MaxDemand*C1+(C2/100)*Energy;//in Rs.
disp(AnnualCost,"Case (i) Annual cost of energy(in Rs.) :");
... |
2289acefa3f8681c663e286ea9ecfe9600b17b2d | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0069.tst | daf836c230b2df55619837cbf83447a2eb158bb0 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 269 | tst | 0069.tst | SPLiTTeR Z {}
filTEr P { }
FILTEr RD {x oR O EGo OR Not X Or nOT js OR NOT FuPRo or o OR v Or not R Or NOt gk OR noT CW OR not n OR m }
I -> D
groUpER pK {AGgrEgATE Bitand(xw.g) as Z ,D }
UNgrOUPER C { }
gROupFiLTeR L {not 6 >> i }
mergEr byWm { exPORt S } |
e44f988b656aac8b95477192112af60bb04264f2 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_In_Engineering_Dr._K._M._Gupta_1367.zip/Material_Science_In_Engineering_Dr._K._M._Gupta_1367/CH17/EX17.1/17_1.sce | a7f4054503f0cd16902369a4a5bd562413f1dadc | [] | 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 | 275 | sce | 17_1.sce | errcatch(-1,"stop");mode(2);//Calculate molecular weight
//Ex:17.1
;
;
mc=12;//mol wt of carbon
mh=1;;//mol wt of hydrogen
m=8*(mc+mh);//mol wt of C8H8
DOP=10000;//degree of polarization , given
mp=DOP*m;
disp(mp,"Molecualr weight of Styrene polymer = ");
exit();
|
e5487688c2dc84f446f8eb9eed1c5404a1729f18 | b34461c9ddff1ba130b67023d6e568ada42830dc | /workspace/TEST.sce | 47d7a8521c60ada9fbe0fb2d5c73688bb73f484f | [] | no_license | AdrienKegler/Projet-Exolife | f72287fdc41a07b88f03b8346dafab93b4539b07 | 249f0861dc4ba3f2a7639ea60b7d12b45e717933 | refs/heads/master | 2020-05-25T14:05:45.213740 | 2017-03-17T09:16:20 | 2017-03-17T09:16:20 | 84,937,694 | 0 | 0 | null | 2017-03-15T10:15:55 | 2017-03-14T10:45:25 | Scilab | UTF-8 | Scilab | false | false | 210 | sce | TEST.sce |
//1ère étape - Load
path_name = "..\images\Mars_Surface.pbm";
img_in = readpbm(path_name);
//Step 2 - Show
display_gray(img_in);
//Etape N°3 - Save
writepbm(img_in, '..\images\Première Création.pbm');
|
ab1bb0f789bd586f98d49b4fd9cfeff3a5b08c34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH9/EX9.2/9_2.sce | 9f5a5dd703e0f21a43bb28b97fb434f1303d8f7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | 9_2.sce | //Centroid of angle
//refer fig. 9.11
//the given figure can be divided into two rectangles
A1=150*12 //mm^2
A2=(200-12)*12 //mm^2
//total area
A=A1+A2 //mm^2
xbar=(1800*75+2256*6)/(4056) //mm
ybar=(1800*6+2256*106)/(4056) //mm
printf("The centroid is at \nxbar=%.2f mm\nybar=%.2f mm ",xbar,ybar)
|
479e3601d98a477ac28ebbbe8cb8c4258810c470 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH5/EX5.25/5_25.sce | b5cd775641a60d50b9a0ee1ce7261d8207f45673 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | 5_25.sce | clc
//initialisation of variables
l= 2 //miles
Q= 2*10^6 //gal/day
d= 12 //in
t= 16 //sec
w= 62.4 //lb/ft^3
g= 32.2 //ft/sec^2
//CALCULATIO
Q1=Q*10/(w*24*60*60)
hi= l*5280*Q1/((%pi*(d/12)^2/4)*(g*t))
//RESULTS
printf ('height = %.1f ft ',hi)
|
ccf71851fdf6b635c8b6aa44f3dd38060c0c6c11 | 717ddeb7e700373742c617a95e25a2376565112c | /506/CH6/EX6.5.c/Example6_5c.sce | 6971845b793072d0ba0cceadee8cff44e4b09197 | [] | 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 | 613 | sce | Example6_5c.sce | clear;
clc;
//Caption:If input is high in NAND gate
//Given Data
//For transistor
Vbesat=0.8;//in V
Vy=0.5;//in V
R = 5;//in K
Rc = 2.2;//in K
//For diode
Vyd=0.6;//in V
Vdrop=0.7;//in V
//The logic levels are Vcesato=0.2V for 0 state
Vcesato=0.2;//in V
Vp = Vdrop + Vdrop + Vbesat;//Voltage at poi... |
b889eae3b411dc28f3760f6b99657b7751ad070a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH2/EX2.13/Exa2_13.sce | fc9dceb091495e9ec28a177df0ca90fa2b6d67eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | Exa2_13.sce | //Exa 2.13
clc;
clear;
close;
//Given data :
format('v',5)
n1=1.52;//unitless
fi_o=8;//in Degree
//Formula : sin(fi_o)=n1*sqrt(2*delta)
delta=(sind(fi_o)/n1)^2/2;//Relative refractive index
disp("The value of relative refractive index difference is "+string(delta*100)+"%"); |
7fc00778f3200c723c5d76948a4318804b877abc | bdbafbcce90eb6b9aa54964c32057b8117961b58 | /HydrauliqueP.sci | 1ebb80ef65fce01c67e1ddcc6bdb11c0ed3e5aa2 | [] | no_license | Rachine/Tp_Optim | 617191c586b46d8d44fc1bd24b24e3d3b760c851 | 68cabcb55cd4f343796d6f0f3823e4aa03edbe25 | refs/heads/master | 2016-09-05T09:23:21.650931 | 2015-05-10T20:37:58 | 2015-05-10T20:37:58 | 34,060,544 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,037 | sci | HydrauliqueP.sci | function [q,z,f,p]=HydrauliqueP(qc)
///////////////////////////////////////////////////////////////////////////////
// //
// CALCUL DES VARIABLES HYDRAULIQUES DU RESEAU A PARTIR DU DEBIT DU CO-ARBRE //
// ... |
d9291ac786735ce151805564351e22a1a1cd8d94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH13/EX13.1/ii_1.sce | 08cdeeb8b5d431a4047efff622545f3022b83b39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | ii_1.sce | // Computing Induced EMF
clc;
clear;
l=0.5;
v=50;
b=1;
// Angles
x=90;
y=30;
z=0;
// EMFs
e1=b*l*v*(sind(x));
e2=b*l*v*(sind(y));
e3=b*l*v*(sind(z));
disp('volts',e1,'i) The Induced EMF perpendicular to the field')
disp('volts',e2,'ii) The Induced EMF at an angle 30 degrees to the field')
dis... |
1996c86ea24a3adc31eba1d4c92862840e9f891c | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH24/EX24.2/example2.sce | 2d202a5e53cdfc068a8dc6f2ca5fcb6d311c6c5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 810 | sce | example2.sce | // find output voltage,load,collector current
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 24-2, page 954
clear; clc; close;
// Given data
Vin=15;// input voltage
Rs=10;// in ohms
Vz=6.2;// in volts
Vbe=0.81;// in volts
Rl=40;// i... |
66e0fa070b7f15eac8a9ceef5f06aa23f76b0197 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH2/EX2.9/Ex2_9.sce | 5ebf68d33dec06423a22b77bba7a3e343e10cb38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | Ex2_9.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.9
//Given Data Set in the Problem
SG1=0.9
SG2=13.6
g=9.81
//Calculations
dens1=SG1*1000
dens2=SG2*1000
h2=20/100
h1=h2-12/100
//Equating pressure at 20 cm below th right arm ... |
158449158f2057c01de45311303cf7207d3184c4 | 27a721095f94b336dd8b88c9d90cb92ca4ab4996 | /Scripts/FactorizacionLU.sci | b46a4cc1916fd9f5ca9e61b879bb418d0df33ac5 | [] | no_license | ECipolatti/Calculo-Numerico | f5201774402680a419345db4fd8f0af686c79e7a | 86369f9010c408854fd141d819bc11b1ab4590c1 | refs/heads/master | 2021-05-06T06:46:10.292226 | 2017-12-11T18:41:46 | 2017-12-11T18:41:46 | 113,894,883 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,258 | sci | FactorizacionLU.sci | function [x,L,U,P] = factLU(A,b)
[m,n] = size(A);
tol = 1e-9;
indx = [1:n];
P=eye(m,n);
for k = 1 : n-1
aux = [k:n]
[max_pivot,indxmax] = max(abs(A(indx(aux),k)));
// control de pivot
if(max_pivot < tol)
disp("No se puede segu... |
086346a496006227141bf6212ef051fae5003e87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH12/EX12.8/Example12_8.sce | aecfbef5a1a9c65204c6a06f25f87541128eb02a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,822 | sce | Example12_8.sce | clear;
clc;
// Illustration 12.8
// Page: 705
printf('Illustration 12.8 - Page: 705\n\n');
// Solution
//***Data***//
x1 = 8;// [percent moisture]
x2 = 0.5;// [percent moisture]
Rate_prod = 0.63;// [kg/s]
// Drying Gas:
xCO2 = 0.025;// [mole fraction]
xO2 = 0.147;// [mole fraction]
xN2 = 0.760;// ... |
7b57e8f5ebdfe08ff50bbb9e9eacc7e5f838a570 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH7/EX7.4/Ex7_4.sce | 74fa5a06414b73e9641e6edad568cfcd8ce77f22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | Ex7_4.sce | //pagenumber 372 example 4
clear
ids=4*10^-3;//ampere
vp=4;//volt
r=1.3*10^3//ohm
r1=200*10^3;//ohm
vdd=60;//volt
drares=18*10^3;//ohm
soresi=4*10^3;//ohm
rth=(r*r1)/(r+r1);
vth=r1*(1-vdd)/(1500*10^3);
id=-2.25*10^-3;
vds=-vdd-(drares+soresi)*id;
disp("id = "+string(abs(id))+"ampere");
disp("vds = ... |
1913dac15fc75fb45266b9ca494f2d38b50d9cbb | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/bpgf3err.tst | 11df7255d8cc3b03a65b9c4d94fce62070235fec | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | tst | bpgf3err.tst | (unwatch all)
(clear)
(set-strategy depth)
(open "bpgf3err.rsl" bpgf3err "w")
(dribble-on "bpgf3err.out")
(batch "bpgf3err.bat")
(dribble-off)
(load "compline.clp")
(printout bpgf3err "bpgf3err.bat differences are as follows:" crlf)
(compare-files bpgf3err.exp bpgf3err.out bpgf3err)
; close result file
(close bpgf3err)... |
f1bbd7e8ccce1bdfb8a805e13d3ee4cc69496e86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH10/EX10.20/10_20.sce | bc3b068854b593b9c2fdfff328c89531f6c4602c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | 10_20.sce | P=25000
n=1600
V=250
If=1.5
Rf=V/If
disp(Rf)
Ra=0.1
V=220
Ia=P/V
Ea=V-Ia*Ra
If=0.875
disp(If)
Rf=V/If
disp(Rf)
Pdev=Ea*Ia
disp(Pdev)
Tdev=Pdev/2/%pi/n*60
disp(Tdev)
|
b9b08884f58f1d850820dc044854d6bbceb30492 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH7/EX7.29/Example7_29.sce | 3ec0c5259d7b25814bf695994829387bbdacdc3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | Example7_29.sce | //Chapter-7,Example7_29,pg 7-88
Im=90
Ic=40
delta=28*(%pi/180)//in radians
Is=5
Ns=400
Np=1
n=Ns/Np
Kn=n
R=n+((Im*sin(delta)+Ic*cos(delta))/Is)
Ip=R*Is//actual primary current
err=(Kn-R)/R
err=err*100
printf("percentage ratio error\n")
printf("err=%.2f ",err)
|
a730a4f86095e73630f1b4a5f7671e545a06e39a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH7/EX7.8/78.sce | a0a099db3c70114d22e48001237569cfc17a92c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 199 | sce | 78.sce | // problem 7.8
b=1.4
d=1.4
n=1/4
i=1/700
N=0.025
a=d*(b+(n*d))
p=b+(2*d*((n*n+1)^0.5))
m=a/p
q=(a*(m^0.6666)*(i^0.5))/N
disp(q*1000,"discharge from the trapezoidal channel in litres/sec")
|
181062662a1754c074731cc0bb0cd01bce6c3c90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH7/EX7.8/Ex7_8.sce | 71fc465b83c057c58e23974b35d2fb8cdd608670 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_8.sce | // Example 7_8
clc;funcprot(0);
// Given data
V=2.50*10^-3;// m^3
Sigma_Q=53.7;// W/k.m^3
tau=30.0;// min
// Solution
S_pQ=Sigma_Q*V*tau*60;// J/K
printf('\nThe heat production of entropy inside this motor,(S_p)_Q=%3.0f J/K',S_pQ);
|
7202f8ade96529d7c58a3b2e227b4d7302627447 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH11/EX11.16/Ex11_16.sce | 72b2ff340eaf2898ce2fd7a833fad156be5ce7d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sce | Ex11_16.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 11 Example 16")
m1=3;//rate at which moist air enter in heating coil in m^3/s
disp("The type of heating involved is sensible heating.Locating satte 1 on psychrome... |
e9b14a1838711d83eb8a909f859a88b3effe02b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH2/EX2.8/2Ex8.sce | a1a34566a1126a95a9fae528fefce79cf7cb0a09 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | 2Ex8.sce | //chapter 2 Ex 8
clc;
clear;
close;
n1=2; n2=8; n3=16; n4=10;
d1=3; d2=9; d3=81; d4=27;
VN=int32([n1 n2 n3 n4]);
VD=int32([d1 d2 d3 d4]);
HcfNum=gcd(VN);
LcmNum=lcm(VN);
HcfDen=gcd(VD);
LcmDen=lcm(VD);
mprintf("The HCF of fractions is %d/%.d.",HcfNum,LcmDen);
mprintf("The LCM of fractions is %.d/%d.",Lcm... |
ce6cb580f2a900ddd6fd37e99d31cfa122900c31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH17/EX17.2/ex17_2.sce | aba910762c4f45b2bc7717f48e852e72b70d41eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | ex17_2.sce | clc;clear;
//Example 17.2
//calculation of velocity of e
//given values
e=1.6*10^-19;//charge of e in C
E=2.1*e;//fermi level in J
m=9.1*10^-31;//mass of e in kg
//calculation
v=sqrt(2*E/m);
disp(v,'velocity of e(in m/s)');
|
1145da90803470f82dfc45f2adb210890873f81b | 92f5993eb05f0a027cc98c0304337a20d2d9da2e | /gradientev.sce | 88595cb9e4a8ce02c252e3baa19def41adf992c7 | [] | no_license | LuhJunior/Teoria-dos-Grafos | 664d034c857199d75e8a513cd0aaa12364347c89 | 22168992af086a2a03442701bcc26abe99d26aaa | refs/heads/master | 2020-03-28T02:39:12.681260 | 2018-12-06T06:29:07 | 2018-12-06T06:29:07 | 147,586,961 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,098 | sce | gradientev.sce | // erro minimo vetorial
function eminimov()
clf();clc
p=[7;9]
[p,g] = gradiente(p)
disp(p, 'ponto')
disp(f(p(1),p(2)), 'valor minimo')
disp(g(1),g(2), 'gradiente')
endfunction
function z = f(x, y)
z = x.^2 + y.^2 + sin(x).*(x+y) + 10
endfunction
function dp = dz(p)
d=0.0000001
dp =... |
bb59fd424f67a5c2110bf3131f13520068479157 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH9/EX9.6/ex9_6.sce | 31e9088e56401bb9494c1e666af50127a0fc9737 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 939 | sce | ex9_6.sce | //Page Number: 455
//Example 9.6
clc;
//Given
S11=0.60;
S12=0.045;
S21=2.50;
S22=0.50
TS=0.5;
TL=0.4;
Vrms=10; //V
Z0=50; //ohm
//(i)Reflection coefficients of input and output
Tin=S11+((S12*S21*TL)/(1-(S22*TL)));
Tout=S22+((S12*S21*TS)/(1-(S22*TS)));
disp(Tin,'Reflection coefficients of input:');
dis... |
29d60062cf3cb3b72687e14873fd1e5210b4153b | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Phcutdata.sci | 9c7806f59d7eb450c09392866473f139352cd635 | [] | 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 | 4,353 | sci | Phcutdata.sci | // 08.08.17
// 08.09.16
// 10.01.02
// 13.10.21 ( __ added to varibles )
// 14.06.09 ( debugged -- the cause unknown )
function Out__=Phcutdata(VL__,FaceL__,PlaneD__)
global PHCUTPOINTL
Out__=[];
EL__=[];
Eps__=10^(-4);
for I__=1:Mixlength(FaceL__)
Face__=Mixop(I__,FaceL__);
for J__=1:length(Face__)
... |
f628eb4adc906099a66d91e1cbda8dc869e02203 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH1/EX1.6/Example1_6.sce | d6011238b4de4121aeb2df69199cd8bd91180359 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | Example1_6.sce | clc
//Given that
mu = 1.5 // refractive index of plane glass prism
theta = %pi / 180 // angle of prism
y1 = 10 // separation between slit and biprism in cm
y2 = 100 //separation sbetween biprism and screen in cm
lambda = 0.00005893// wavelength of incident light in cm
//Sample Problem 6 Page No. 48
printf("\... |
9204e91af19ae5a20d95f1695d86a32e4540f256 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH1/EX1.22/Ex1_22.sce | a2aa7dd7a46bd8c968a54f54b019fb67fa9fdf8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | Ex1_22.sce |
//ch-1 page -40 pb-1
//
//
a=23
b=16.5
c=12
t1=acos((a*a+b*b-(c*c))/(2*a*b))
t1=t1*(180/%pi)
printf("\n theta1= %0.3f ",t1)
t2=acos((c*c+b*b-(a*a))/(2*c*b))
t2=t2*(180/%pi)
dg=int(t2)
mi=t2-int(t2)
mi=(mi*60)
printf("\n theta2= %0.3f degrees %0.3f minutes",dg,mi)
|
192305f36257d85c43d792c5b13d7ef142625fa6 | 53a108238b9fda736d1411a9722d4043922e73e3 | /lab6.sce | 4f45a8293f70583bef751dedc16dfea07f358950 | [] | no_license | 3reedm/scilab | 708d315412cdb48590c66821d78a883e28b5a7e6 | 2508a225d5e8b744da1be7443f5831b665a60aee | refs/heads/master | 2020-03-18T01:56:55.225475 | 2018-05-20T16:27:39 | 2018-05-20T16:27:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,261 | sce | lab6.sce | // Сохранение графиков
function[]=save_graphics(b)
b_ = 0
for i=2:length(b)
b_ = b_ + (i-1)*b(i)
end
b_ = 1/b_
a = 0.001:0.001:b_-0.001
l = length(a)
step = 0
for i=1:l
a_ = 1 - a(i)
tmp = a_ / (1+a_)
if (get_bz(a_,b) > tmp) then
... |
da46cffd4efc40cf2753e78696caae14697739b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH9/EX9.3/Ex9_3.sce | ec0788372a97b15eae04f45c97a1109948f4f351 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 923 | sce | Ex9_3.sce | // chapter 9
// example 9.3
// find the resistance of intrinsic germanium
// page 272-273
// given
clear;
clc;
ni=2.5E13; // in /cm^3 (intrinsic carrier density)
ue=3900; // in cm^2/(V-s) (electron mobilities)
uh=1900; // in cm^2/(V-s) (hole mobilities)
e=1.6E-19; // in C (charge of electron)
l=1; // in cm (... |
5cc921eda3101754b459f05c148ca1d18b0954fa | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_I._J._Nagrath_3041.zip/Electronic_Devices_And_Circuits_I._J._Nagrath_3041/CH10/EX10.7/Ex10_7.sce | 130be79b0aabd04c96732e5a55edc2bcac204ac9 | [] | 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 | 267 | sce | Ex10_7.sce | errcatch(-1,"stop");mode(2);
//Variable declaration
syms t //symbol defined
et1 = complex(50,86.6) //defining complex number
//calculations
et = (real(et1)*sqrt(2)*cos(314*t))+imag(et1)*sqrt(2)*cos(314*t+90) //expression
//Result
disp ( et)
exit();
|
dddd041606104ff4e26d353a154d4f5dcaa2308b | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.16_17.tst | 71cbcd17d81169a29be03dd25fcf5033557bebf6 | [] | 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 | 33,969 | tst | bow.16_17.tst | 16 16:0.25 17:0.5 26:0.16666666666666666 28:0.058823529411764705 33:0.5 37:1.0 44:0.5 51:0.3333333333333333 53:0.3333333333333333 57:1.0 61:0.5 92:0.08333333333333333 93:0.5 97:2.0 114:0.3333333333333333 115:0.06666666666666667 143:1.0 146:0.5 179:1.0 201:0.3333333333333333 225:0.07142857142857142 270:0.125 291:0.33333... |
014ae0c5c136127d37bfde309d567f6517ef134f | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH6/EX6.3.a/data6_3.sci | a094da233be1795cbc46d2c2e3f6a202df925b5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sci | data6_3.sci |
//(Power Screws) Example 6.3
//Refer Fig. 6.12 on page 197
//Number of starts n
n = 1
//Nominal diameter of the screw d (mm)
d = 22
//Pitch of the screw p (mm)
p = 5
//Outer diameter of the friction collar Do (mm)
Do = 55
//Inner diameter of the friction collar Di (mm)
Di = 45
//Coefficient of friction fo... |
dd62ee4802e0a988661b10254c86cb998fc88964 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH2/EX2.31/Ex2_31.sce | a462adcc799ed16a0e5022f4da0509d026d302bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Ex2_31.sce | //CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 31 // read it as example 30 in the book on page 2.84
clc;
disp("CHAPTER 2");
disp("EXAMPLE 31");
//VARIABLE INITIALIZATION
//function of the waveform is deduced to be y=10+10.t/T
//SOLUTION
//Yav=(1/T).Integral(ydt) from 0 to T
//say
T=1; ... |
396e960fd421e4489f2bf320d790a8ecd2d19039 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH1/EX1.14/Ex1_14.sce | c3e70dbcadc273ec4650370b192d89b938aa0855 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 867 | sce | Ex1_14.sce | clc
// Variable Initialization
Vm=230//Supply Voltage in Volts
Ra=0.75//Armature circuit resistance in Ohm
I=8 //Armature current in Amp
Nr=1200 //Motor speed in Rpm
Va=220//Rated voltage of motor in Volts
a=45//firing angle in Degree
T=8 //Motor torque in N-m
Nr1=800 //Speed in Rpm
//Solution
N=(Nr*2*%... |
1103f3a8de9d658a83d84b5d8af1f11102fcef4e | 036a77bd5f07b7b2b808ef3d90e92d20bd7b6c33 | /hard/tests/whileInner.tst | b249e885901f73f799cfabbe03b097ff4f4d75a9 | [] | no_license | Jaymee-Ericca-7/simple-compiler | 186b11486e5af8debdde301acba84851c4545b02 | 209a8ed43c579a9ce34c63a10083cdbde5546313 | refs/heads/master | 2020-09-18T06:19:53.304100 | 2015-08-11T13:44:06 | 2015-08-11T13:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | tst | whileInner.tst | main begin
int a;
int b;
int[] array1;
int[] array2;
a = 0;
b = 0;
array1 = new int [3];
array2 = new int [3];
array1[0] = 0;
array1[1] = 10;
array1[2] = 100;
array2[0] = 1;
array2[1] = 11;
array2[2] = 101;
do
begin
do
begin
if (b < 1) then
begin
print(array1[... |
f2ca11ae0f3732de1fa0b4cb37fda44f980e6572 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Mechancis-schaum_Series_Mclean_3137.zip/Engineering_Mechancis-schaum_Series_Mclean_3137/CH13/EX13.20/Ex13_20.sce | 29889aa8d451dc691029e6969495e38a8e5c4af8 | [] | 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 | 199 | sce | Ex13_20.sce | errcatch(-1,"stop");mode(2);//As the entire question is theoritical
//theta is directly computed
theta=acosd(2/3) //degrees
//result
printf('The value of theta is %f degrees',theta)
exit();
|
84963042d1592bfbd366f501dc8a1edbae83c21e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.35/example_3_35.sce | bdfb2b77640aca93366c92784a9b9cbf5bb8b301 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | example_3_35.sce | clear;
clc;
disp("--------------Example 3.35---------------")
L=4; //number of levels
bandwidth=3000; // Hz
max_bitrate=2*bandwidth*log2(L); // formula to calculate maximum bit rate
printf("The maximum bit rate of the noiseless channel is %d bps.",max_bitrate); // display result
|
03910a3ca4e44f593865a0c1d9745a03aedaf0b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH18/EX18.2/Example18_2.sce | 741848f0217f658d92e8f0cad6ae2355c1bd1bc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sce | Example18_2.sce | clear ;
clc;
// Example 18.2
printf('Example 18.2\n\n');
//Page no. 541
// Solution
// Data from steam table
psat_H2O = 31.8 ;// Saturation pressure -[mm of Hg]
//(c)
H = .0055 ;// Humidity
mw_H2O = 18 ;// Molecular wt. of water-[lb]
mw_air = 29 ;// Molecular wt. of air -[lb]
P = 750 ;// Pressure total -[mm of H... |
d2b64ed9844e37e105e09d3c0dca1bde607d2eef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH3/EX3.6.e/E3_6.sce | 68931f4fd52c0932242879f1233158fd21c33957 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sce | E3_6.sce | clc
//Initialization of variables
HH2O=-241.82 //kJ/mol
T1=25 //C
T2=100 //C
CpH2O=33.58 //J/K mol
CpH2=28.84 //J/K mol
CpO2=29.37 //J/K mol
//calculations
dCp=CpH2O-CpH2-0.5*CpO2
dH=HH2O+dCp*(T2-T1)/1000.
//results
printf('Enthalpy of fromation of water at 100 C is %.2f kJ/mol',dH)
|
2a0bedec68851e5b0f170ae25b5c5ba6e4c4f432 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.3_1.tst | 01744fd7b02a279465fea9c2e1600ed32289cb99 | [] | 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 | 34,040 | tst | bow.3_1.tst | 3 3:1.0 18:0.06666666666666667 38:0.5 39:0.16666666666666666 47:0.6666666666666666 70:0.08333333333333333 79:0.14285714285714285 85:0.2222222222222222 98:0.16666666666666666 104:0.25 130:2.0 136:1.0 191:0.3333333333333333 192:0.3333333333333333 230:0.5 252:0.5 289:1.0 322:1.0 344:1.0 966:1.0 1257:1.0 1342:1.0 1573:1.0 ... |
14a574fab8a2b7eb1c7b310124bc9d195b6f5b5b | e806e966b06a53388fb300d89534354b222c2cad | /macros/wiener2.sci | cde19cdd1fce71a4b7cbef92979c3c577a5c44a4 | [] | 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 | 235 | sci | wiener2.sci | function [outputImg]=wiener2(inputImage,filtsize,sigma)
inputList=mattolist(inputImage);
outputList=opencv_wiener2(inputList,filtsize,sigma);
for i=1:size(outputList)
outputImg(:,:,i)=outputList(i)
end
endfunction
|
d09c5b8278fe5718b959d2532999af3e8474523e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH22/EX22.16/22_16.sce | 01478c09d4820012673b76ae63229782046eaf2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 22_16.sce | //ques-22.16
//Calculating lattice energy of KCl crystal
clc
S=90.9; IE=418.7; EA=-348.7; D=240; H=-440.3;//(in kJ/mol)
Uo=H-S-IE-D/2-EA;
printf("The lattice energy of KCl crystal is %.1f kJ/mol.",Uo);
|
01e6133a99d8eaa39bd2a972dff807557f06aaf3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.8/Ex13_8.sce | b671ebd1bf51b45e04fdc52e6e7e99f1f209d152 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex13_8.sce | //EX13_8 PG-13.7
clc
clear
printf("conversion of octal no 634 to binary equivalent is :")
a=['634']
x=oct2dec(a)//first we convert to decimal
y=dec2bin(x)
printf("%s",y)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.