blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5ceb3ca0ae6be6cdd3350ef88dfc955418794997 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Tile Frenzy - X-Axis Small.sce | 11a1a0d75aa3ef94a9c9fd93ce8ecf933b1a1156 | [] | 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 | 97,560 | sce | Tile Frenzy - X-Axis Small.sce | Name=Tile Frenzy - X-Axis Small
PlayerCharacters=TileFrenzy Challenger;TileFrenzy Weapon Overrides;TileFrenzy Zooms 10sec
BotCharacters=TileFrenzy Cube.bot;TileFrenzy Sphere.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=TileFrenzy Challenger
AddedBots=TileFrenzy Cube.bot;TileFrenzy Cube.bot;TileFrenzy Cube.bot
Play... |
826c71959cf56634940fcaccdbc845627e780913 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/m2sci/sci_schur.sci | d1bca99728ece1d9ef2d9bf82a9a000a7f80dbef | [
"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 | 269 | sci | sci_schur.sci | function [stk,txt,top]=sci_schur()
// Copyright INRIA
txt=[]
s=stk(top)
if lhs==1 then
stk=list('schur('+s(1)+')','0',s(3),s(4),'1','?')
else
stk=list(list('schur('+s(1)+')','-1',s(3),s(4),'1','?'),..
list('schur('+s(1)+')','-1',s(3),s(4),'1','?'))
end
|
e67732d8e59609de836c818046174b873195f744 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH5/EX5.3b/eg5_3b.sce | ad672f663609c119f7250f558be01add3eab048d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | eg5_3b.sce | function result= hyper(N, M, n, i)
result = factorial(N)*factorial(M)*factorial(n)*factorial(N+M-n)/(factorial(i)*factorial(N-i)*factorial(n-i)*factorial(M-n+i)*factorial(N+M));
endfunction
r= 50;
n=100;
X=25;
disp(r*n/X , "Estimate of the number of animals in the region is") |
6f369297b6cc48246f80d23bb4d96759fcad310b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH4/EX4.3/4_3.sce | 9c955c3cb264798cbbb0728834ae97f66e61db5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_3.sce | clc
//Initialization of variables
T1=70 //F
T2=140 //F
m=10 //lb
Cp=1 //B/lbm F
//calculations
Q=Cp*(T2-T1)
Qdot=m*Q
w=0
//results
printf("Work done = %d",w)
printf("\n Change in enthalpy= %d",Qdot)
printf("\n Heat added per pound = %d ",Q)
|
0b548f8d1f412b4542725cdf0a19cd4fdc2c5feb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH13/EX13.4/example13_4.sce | bde3db6905263e3140921337c068f08dee50ae41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 711 | sce | example13_4.sce | clc
// Given that
x1 = 1 // coordinate on x axis for first plane
y1 = 0 // coordinate on y axis for first plane
z1 = 0 // coordinate on z axis for first plane
x2 = 1 // coordinate on x axis for second plane
y2 = 1 // coordinate on y axis for second plane
z2 = 1 // coordinate on z axis for second plane
// Sample Proble... |
164124d113d7830531e7708f493485eeb76041a7 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_cache_3_a.tst | 6cd1941a469ad5bc93dec3b3ff39b148e592ddaa | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 81 | tst | test_cache_3_a.tst |
*** physical fetch count = 65535 ***
*** physical fetch count = 1 ***
|
1d0fcb75495aa4eb4bd90bbcc786b6d65b67b435 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH11/EX11.11/example11_11.sce | a722c27d15158302b8ffb75cc78112595fd4f61b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example11_11.sce | //Chapter 11
//Example 11_11
//Page 280
clear;clc;
v=132;
g_max=60;
vp=v/sqrt(3);
pv_ph=vp*sqrt(2);
d=2*pv_ph/g_max;
d_out=2.718*d;
printf("Phase value of cable voltage = %.2f kV \n\n", vp);
printf("Peak value of phase voltage = %.2f kV \n\n", pv_ph);
printf("Most economical conductor diameter = %.2f cm \n\n", d)... |
470c487df7b5f6c89f5e100246e4554bf071cad6 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH10/EX10.14/10_14.sce | 746c4f659440d5cfe8cdacf98095ebe176aa86d7 | [] | 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 | 236 | sce | 10_14.sce | errcatch(-1,"stop");mode(2);//Chapter 10, Problem 14
;
P1=100; //input power
P2=6; //ouput power
d=10*log10(P2/P1); //decibel power ratio
printf("decibel power loss = %f dB",d);
exit();
|
8b37288ff8566e877af33736e40677ea6f8ece34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH3/EX3.8/Ex3_8.sce | b730075a1b134773d32bddf5f914c2ee258cdf63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,005 | sce | Ex3_8.sce | //Ex3_8
// Histogram Specification
// Version : Scilab 5.4.1
// Operating System : Window-xp, Window-7
//Toolbox: Image Processing Design 8.3.1-1
//Toolbox: SIVP 0.5.3.1-2
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. Woods
clc;
close;
clear;
xdel(win... |
58ed46a5fb21ca6e0391a979c5343e71b0c7e1b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH3/EX3.17/17.sce | 107cb360ffa7ffa6f4a5a15c2d73d95181fb51ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,039 | sce | 17.sce | clc
clear
//INPUT DATA
h1=1//miller indices with respect to x axis in 1st plane
k1=0//miller indices with respect to y axis in 1st plane
l1=0//miller indices with respect to z axis in 1st plane
h2=1//miller indices with respect to x axis in 2nd plane
k2=1//miller indices with respect to y axis in 2nd plane
l2=0... |
721d557f011775846fcea835eac9909e5921a594 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH5/EX5.16/Ex5_16.sce | 52f671b14515430682d5b5be01d52d727b91b2cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | Ex5_16.sce | //Example 5_16
clc();
clear;
//To calculate the difference between the samples
d=0.2552
a=d*sqrt(2)
lamda=0.152 //units in nm
theta=21 //units in degrees
//For sample A
d111=lamda/(2*sin(theta*%pi/180)) //units in nm
h=1
k=1
l=1
a=d111*sqrt(h^2+k^2+l^2) //units in nm
printf(... |
0240648246b1851dc4d1413e218e149781192012 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH13/EX13.1/ex13_1.sce | a719663122259dda98112b26410bc94fb3fe8435 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex13_1.sce | //Wave Propagation : example 13-1 : (pg 628)
x=(2*(1/2));
a=15;
d=53.5*10^-6;//duration for each horizontal line on the reciever
t=1/186000;//time delay between direct and reflected signal
g=(t/d)*a;//ghost width
printf("\nt = d/v = %.8f",t);
printf("\nghost width = %.2f in.",g); |
127fe1149591acf7e7c76e3be372ce005d997390 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/ismaxphase/ismaxphase9.sce | fd22ec66eac8b954bdffc6a73834a5be629b6a4d | [] | 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 | 276 | sce | ismaxphase9.sce | //i/p args b and a contain only zeros
a=[0 0 00 0 0 0 0];
b=[0 0 0 0 0 0 0];
f=ismaxphase(b,a);
disp(f);
//output
//!--error 27
//Division by zero...
//at line 19 of function pdiv called by :
//at line 54 of function ismaxphase called by :
//f=ismaxphase(b,a);
|
7f0dfd3f13e818cf93c3e74123440b96c1a9c934 | 9e8ee5cada387d28d7b64dd58a1d43add9abf855 | /Test/examples/notany.tst | 701045ee8d768e5d58640a45ca997811a80068fb | [
"MIT"
] | permissive | nvitucci/pyke | 2804504666cdf0bd3219daa6a1aca8a58d4bfdb8 | dc4fc6056a3d2bb701cda645359dcb92332d7f51 | refs/heads/master | 2023-04-01T17:21:59.906819 | 2021-04-16T23:20:00 | 2021-04-16T23:20:00 | 267,141,385 | 7 | 3 | MIT | 2021-04-20T21:26:38 | 2020-05-26T20:09:55 | Python | UTF-8 | Scilab | false | false | 780 | tst | notany.tst | # notany.tst
>>> import sys
>>> import pyke
>>> import os
>>> new_path = os.path.join(os.path.dirname(os.path.dirname(pyke.__file__)),
... 'examples/notany')
>>> sys.path.append(new_path)
>>> import driver
>>> driver.fc_test()
egon has no uncle
ralf has... |
c5bd2299b9605fc66a20e3b751e6b0aa27dff8c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2492/CH8/EX8.2/ex8_2.sce | 8eb87018b1f95e1f48eea93f9751a0514c6aec5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | ex8_2.sce | // Exa 8.2
format('v',9)
clc;
clear;
close;
// Given data
str= '527';// given number in octal to convert into binary
str_in_dec= oct2dec(str);// decimal equivalent
str_in_bin= dec2bin(str_in_dec);// binary equivalent
disp(str_in_bin,"The binary equivalent of 527 is : ")
|
8367d6f44833708e9a16def2b511dfac24bba0f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH6/EX6.13/Ex6_13.sce | 377238c71edff5641ebbc3e31a3c6e0a910412f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | Ex6_13.sce | clc
//Chapter6
//Ex_13
//Given
e=1.6*10^-19 // in coulombs
I=10^-3 //in A
Th=10^-6 //in s
B=1/Th //in Hz
i_sn=sqrt(2*e*I*B)
disp(i_sn,"shot noise current in amperes is")
|
93c6d20165ea58b0b562f69d31b68a00d696d4cb | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/util/%r_triu.sci | cbec0226f0ed8db8b3ab602d34adb76abfd4d732 | [
"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 | 222 | sci | %r_triu.sci | function d=%r_triu(a,k)
// g_triu - implement triu function for sparse matrix, rationnal matrix ,..
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==1 then k=0,end
d=syslin(a(4),triu(a(2),k),triu(a(3),k)+tril(ones(a(3)),k-1))
|
da0da68c692109c5e17ec60132adf686fb20954c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH11/EX11.12/12.sce | 28397bb10fce3b75d6b452f59cd338abb4b09248 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12.sce | clc
clear
//INPUT DATA
RH=3.66*10^-4//Hall coefficient of a doped silicon in m^3 C^-1
r=8.93*10^-3//The resistivity in ohm m
e=1.6*10^-19//charge of electron in coulombs
//CALCULATION
n=(1/(RH*e))/10^22//The density of the charge carrier in m^-3 *10^22
me=(RH/r)//The mobility is %3.4f m^2 V^-1 s^-1
//OUTPU... |
31e73bf5b3f3266c3bd7d9b5c541520ffbd4b1e8 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oo_usi_d/~BivLCM-SR-bfas_oo_usi_d-PLin-VLin.tst | 0852ec4e72d51b614b668f94b4b3fc6f7c6c3042 | [] | 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-bfas_oo_usi_d-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.275462D+00
... |
465b41f52c06940dcf3173afc234e811d1c2eb57 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.20_2.tst | 378dae34ce358a65b2cae6e7d56d81f581eb0aad | [] | 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 | 515,318 | tst | 5.20_2.tst | 20 25:1 301:1 1167:1 1313:1 1334:1 1466:1 1514:1 1852:1 2037:1 2170:1 2185:1 2416:1 3115:1 4005:1 4684:1 5053:2 5169:1 5224:1 5328:1 5417:1 5443:2 5500:1 5566:2 5787:1 6053:1 6404:2 6575:1 6602:1 6706:1 6897:1 7633:1 7920:1 7943:1 7953:1 7999:1 8160:1 8220:1 8470:1 8555:1 8684:1 8711:1 8833:1 9084:1 9144:1 9176:1 9200:... |
062541edc0a577912e5773623fe2ba6499fd65d6 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/dac.sce~ | 12e2e580aecabd43a5befa6575948a3b78bfb167 | [] | 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 | 202 | dac.sce~ | style.fontSize=14;
style.displayedLabel="<table> <tr><td align=center>DC<br>Voltage</td></tr></table>";
pal1_2 = xcosPalAddBlock(pal1_2,"dc_in",[],style);
pal6 = xcosPalAddBlock(pal6,"dc_in",[],style);
| |
ef0b621ecb602c58155b357a92fe55349fa08bd6 | d8cab241a02c8d06f859a4adbf2748d68c08d385 | /EDO/Metodo_de_Heun_EDO.sce | d2cee8d9682015ca5d5d3e6c767137a71e8475d2 | [] | no_license | eluire/CN | 6327b9619a6e00d2870912830393def2ca82b856 | e2027e0d20c549bb1a79ce830c6affcf4cbe1149 | refs/heads/master | 2021-09-16T07:13:23.367948 | 2018-06-18T10:51:21 | 2018-06-18T10:51:21 | 126,038,180 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sce | Metodo_de_Heun_EDO.sce | //METODO DE SEGUNDA ORDEM DE HEUN
clc
clear all;
function z = g(x,y) // SOLUÇÃO DA EDO
z = x^2-2*y
endfunction
//APLICAÇÃO DO MÉTODO DE HEUN
function [x,y] = heun(a,b,h,y0)
x = a:h:b;// CALCULAR TODOS OS VALORES DE X
n = length(x); // quantos elementos do vetor
y(1) = y0; // primeiro elemten... |
a5b32da63ab688acfb3331811b29191504327bab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH5/EX5.31/EX_5_31.SCE | 7c19d3da0f8a6d68c6d581795c2676420271a3b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | EX_5_31.SCE | // Example 5.28:gain
clc;
clear;
close;
gm= 10;//transconductane in milli ampere per volt
Csh=20;//capacitance in pico farad
BW=10;//bandwidth in mega hertz
fhn=10;//in mega hertz
n=2;//
x=sqrt(2^(1/n)-1);//
fh=fhn/x;//lower cut off frequency in mega hertz
R=(1/(2*%pi*Csh*10^-12*fh*10^6));//resiatnce in ohms... |
300118ed7fcba49ef174afb10bfd84dbc9e9b74b | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/13_9.sci | 94e3b32c82b6497ed1516e93ec3b0df0df5b11a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 26 | sci | 13_9.sci | k1=1;
k2=1;
k3=1;
t0=0; |
7a63c4804d1966a1651f4e265405597bc97bf0ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH5/EX5.28/Ex5_28.sce | 408b88c769331ceb5aa4458ffab0e2e1a66d7d17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,905 | sce | Ex5_28.sce | //=============================================================
//Chapter 5 example 28
clc;
clear all;
//variable declaration
V = 230; //RMS value of voltage applied in volts
r1 = 115; //resistance in Ω
r2 = 115; //resistance in Ω
r3 = 575; /... |
a182e1dd2a917a13b405884f6109fe0d0624630d | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH8/EX8.12/example812.sce | c1c7f0d67e17197bf90916fbf1725510f60920a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | sce | example812.sce | //Example 8.12
//For the given x[n] determine X[k] using FFT algorithm
clc;
x=[0,1,2,3,4,5,6,7];
X=fft(x,-1);
disp(X,'X[k]='); |
2b6352337e4f84e23c1694aacbc82f7fc4724ab6 | 663bc8889c5b05b8fe1a2e4e74f85cd404585254 | /ReformaAgraria/ClientApp/app/models/gen/_models.tst | 972f8fdc5c3bbabefdc4be3c219406a70e542da3 | [] | no_license | ghk/ReformaAgraria | ae1966eb98bf092b5b471efd3f3613488c5644c4 | 0f452edc2fea3a098b7247ccfb4bc84e82a51d5e | refs/heads/master | 2021-05-15T22:18:39.464668 | 2018-04-12T08:02:56 | 2018-04-12T08:02:56 | 106,646,383 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,473 | tst | _models.tst | ${
static string modelNamespace = "ReformaAgraria.Models";
static string viewModelNamespace = "ReformaAgraria.Models.ViewModels";
Template(Settings settings)
{
settings.OutputFilenameFactory = file =>
{
var fileName = file.Name;
fileName = Char.ToLowerInvariant(... |
b437fb296f838d2cca8f4a00c1e98052e254a6cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH1/EX1.8/Ex1_8.sce | a5cfd9d612e779dab72f23af8c98f2d5b18ae2fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,371 | sce | Ex1_8.sce | // Example no. 1.8
// To calculate a)magnitude of the wave vector of the refracted wave b)x-component and z-component of the wave vector
// Page no.26
clc;
clear;
//Given data
n1=1; // Refractive index of air
n2=1.45; //... |
1f0a4a5f068f38c9eec1cce2182f08dc171dd012 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH3/EX3.1/example3_1.sce | 3d0e83a5bea24c52c0bf58d7333846856270d66e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,104 | sce | example3_1.sce | // Find current if diode is forwar-biased
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 3-1 in page 143
clear; clc; close;
// Given data
I=29.8*10^-3; // Current in mA
V=0.208; // Voltage in V
// Calculation
I=(45-V)/(1.5*10^3);
printf("... |
3ada8d20e8f784b0601d4bb679c8203e5e8647b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH6/EX6.4/Ex6_4.sce | 1b8a4e7643320f5ad9bfc9e19939aada05bc3d91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,239 | sce | Ex6_4.sce | //Ex6_4
clc
VCC=(10)
disp("VCC= "+string(VCC)+" volts") // Collector voltage supply
VEE=VCC
disp("VEE=VCC= "+string(VEE)+" volts") // Emitter supply voltage
IQ=2*10^(-3)
disp("IQ = "+string(IQ)+" ampere") // operating current for CC class-Aamplifier
VBE=(0.7)
disp("VBE= "+string(VBE)+" volts") // Base-emitter... |
55b2319fae080a16e389369d0bb26b890ed2e388 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH4/EX4.15/exp_4_15.sce | 563da9fb754b8cf42754649ed9a8f8db08a90623 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,051 | sce | exp_4_15.sce | clear;
clc;
v=400;
Xl=.30;
Xc=3.75*10^(-6);
l=300;
L=Xl/(2*%pi*50);
C=Xc/(2*%pi*50);
Zc=sqrt(L/C);
phase=2*%pi*50*sqrt(L*C);
pconstant=%i*phase;
Vs=v/sqrt(3);
Vr=Vs/(cos(phase*l));
betal=18.9076;
Xl=(Zc*sind(betal))/(1-cosd(betal));
Xr=(3*(Vs^2))/Xl;
mprintf("Reactance and rating of inductive shunt rea... |
6fa26e0883593af3ae6cd6223e3dd36e647ce3ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2303/CH5/EX5.9/5_9.sce | 792417b893eedb6e6eb8ff3bff2ff4e10df4c3d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 698 | sce | 5_9.sce | //Example 5.9
clc;
clear;
close;
//let
x=[1 2 3 4];
h=[5 6 7];
M=length(x);
N=length(h);
//Result of linear convolution of original sequences
y=conv(x,h);
disp(y,"Result of linear convolution of original sequences is");
L=M+N-1;
//we append zeros such that total sequence will have length 6.
x=[zeros... |
d1c35e2b034ab74fda756bdf726dd5eb62b20023 | a88bc351c907b9f0e662e251314c78a075880265 | /Scilab/Prova 19-06/Ajustes de curvas Logaritma.sce | 8fa9f53c6a7e3ac1f73bdc735c2ee68ef841de97 | [] | no_license | decospdl/Exercise | 2ff1161f101a892ac511c62e1dce67a07606107a | 14d61a9553aab9af259edc8af504fdaa8568ec8f | refs/heads/master | 2020-05-26T15:22:22.243902 | 2019-06-13T22:55:10 | 2019-06-13T22:55:10 | 188,279,547 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sce | Ajustes de curvas Logaritma.sce | clc;
clear;
close;
x = [1 2 3 4 5 6 7 8 9 10 11]
y = [1.7 2.5 3.8 4.4 4.9 5.2 5.5 5.6 5.8 5.9 6]
n = size(x,'c')
sumX = sum(x,'c')
sumX2 = sum(x^2,'c')
sumY = sum(log(y),'c')
sumYX = sum(log(y).*x,'c')
A = [n sumX; sumX sumX2]
B = [sumY; sumYX]
disp(A)
disp(B)
C = A\B
disp(C)
a = exp(C(1))
b = C(2)
printf("\nVa... |
03da3fc6c7fb5ab47c1a9e346b9b477042343774 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH6/EX6.5/ex6_5.sce | 8f3662de8a1a409f9ad1002c7361fa873e8fa091 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex6_5.sce | //determine Q point in collector to base bias circuit
clear;
clc;
//soltion
//given
B=100; //dc beta
Rc=500;//ohm //resistor connected to collector
Rb=500*10^3;//ohm //resistor connected to base
Vcc=10;//V //Voltage supply across the collector resistor
Ib=Vcc/(Rb+B*Rc); ... |
8dc39a64d970a9e4555792332fd0f46d2d50658b | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.1/1.sci | 11c8becc25d8f968391bd545ce64b3b72c9aa5f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sci | 1.sci | clc;
clear all;
disp("displacement thickness")
disp("velocity distribution = u/U=y/d")
disp("i) the displacement thickness, d*:")
disp("d*=intergrate((1-u/U,U,0,d)")
disp("d*=d/2")
disp("ii) the momentum thickness, th")
disp("th = integrate(u(1-u/U)/U,u,0,d)")
disp("th=d/6")
disp("iii) The energy thickness de... |
965e1673673b7ed2bb361f0c14afc529e9d5b696 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH1/EX1.10/1_10.sce | 51fb4d3aae27ea563e582ce640a9c70585bd2660 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | 1_10.sce |
clc
//initialisation of variables
l= 6 //ft
b= 4 //ft
w= 62.4 //lbs/ft^3
h= 10 //ft
//CALCULATIONS
P= w*l*b*(b/2)
hn= (b/2)+(l*b^3/(12*l*b*(b/2)))
P1= w*(h+(b/2))*l*b
h1= (h+(b/2))+(l*b^3/(12*l*b*(h+(b/2))))
//RESULTS
printf("Total pressure = %d lb",P1)
printf("\n Depth = %.2f ft",hn)
printf ('\n press... |
41a92ad3ba62f18686d6272ab9c052721357c8fa | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.17_15.tst | eee68c9047a23f2f1b1b8430b0e1f1a6d0cf72db | [] | 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 | 28,499 | tst | bow.17_15.tst | 17 41:0.5 60:0.5 225:0.5 340:0.3333333333333333 449:0.5 530:0.5 861:0.5 1690:0.5 3630:1.0 5418:1.0 5437:0.5 6092:1.0 6283:1.0 7187:1.0 7439:1.0 8133:1.0 9296:1.0 9447:1.0
17 6:0.5 17:0.5 29:0.16666666666666666 59:0.09523809523809523 116:0.16666666666666666 209:0.2222222222222222 259:0.3333333333333333 399:1.0 418:1.0 4... |
00b47e54df6ddb0fe544f132edc27c6747d57df1 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fiber_Optics_And_Optoelectronics_R._P._Khare_2216.zip/Fiber_Optics_And_Optoelectronics_R._P._Khare_2216/CH4/EX4.2/ex_4_2.sce | 88ff0938b09548831d176664d92b5a1d4f8889d0 | [] | 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 | 229 | sce | ex_4_2.sce | errcatch(-1,"stop");mode(2);//Example 4.2;//frational power
;
;
format('v',4)
p01=0.11;//from the graph
p11=0.347;//from the graph
disp(p01*100,"power for LP01 mode is (%) ")
disp(p11*100,"power for LP11 mode is (%)" )
exit();
|
8160dde1f1321bb7784fce7bd0a563718eddfdea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH10/EX10.10/Example10_10.sce | fce81b1c6f699faf74fef7c539bbbaa9b686cec2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,387 | sce | Example10_10.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 3: STEADY STATE CHARACTERISTICS AND PERFORMANCE OF TRANSMISSION LINES
// EXAMPLE : 3.10 :
// Page number 135
clear ; clc... |
e2a04ad45efcb949e44535f2da8ca5048ab294e9 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH10/EX10.13/ques13.sce | 520cc283034c1dc18c15fbe289693ab794a2f026 | [] | 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 | 279 | sce | ques13.sce | errcatch(-1,"stop");mode(2);//ques13
disp('The complex form of series is summation of f(n,x) where n varies from -%inf to %inf and f(n,x) is given by :');
syms n x
cn=1/2*integ(exp(-x)*exp(-%i*%pi*n*x),x,-1,1);
fnx=float(cn)*exp(%i*n*%pi*x);
disp(float(fnx));
exit();
|
30600548a6f31fbbe32d191f75bae7cf7592e6bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH10/EX10.20/10_20.sce | b886d6564e4304726c066e5ca68a19087d870c33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | 10_20.sce | //To find power absorbed
clc
//Given:
d1=400,r1=d1/2,d2=250,r2=d2/2 //mm
p=0.35 //N/mm^2
mu=0.05
N=105 //rpm
W=150*1000 //N
//Solution:
//Calculating the angular speed of the shaft
omega=2*%pi*N/60 //rad/s
//Calculating the total frictional torque transmitted for uniform pressure
T=2/3*mu*W*(r1^3-r2^3)/(r1^... |
c7f9269f95b5986f813ee5753cf2fdc361266191 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH8/EX8.6.3/ex_8_6_3.sce | c08f1de468d8bdec09728d9c08f5a82e97e4c511 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | ex_8_6_3.sce | //Example 8.6.3: unknown resistance and capacitance
clc;
clear;
close;
r1=10;//in kilo ohms
r2=50;//in kilo ohms
r3=100;//in kilo ohms
c3=100;//in micro farads
rx=((r2*10^3*r3*10^3)/(r1*10^3))*10^-3;//unknown resistance in killo ohms
cx=((r1*10^3*c3*10^-6)/(r2*10^3))*10^6;// unknown capacitance in micro farads
disp(rx,... |
7788691eb4a8199b01490da1bb00b7a67710457e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH3/EX3.1/Ex3_1.sce | 658b6fdeed7adba25963bae8e59594943c2c3b87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | Ex3_1.sce | clear;
clc;
//Example 3.1
//let beta be "b"
b=150;//common emitter current gain
iB=15*10^-3;//(mA) base current
//assume transistor biased in forward active mode
iC=b*iB;
printf('\ncollector current=%.2f mA\n',iC)
iE=(1+b)*iB;
printf('\nemitter current=%.2f mA\n',iE)
a=b/(1+b);
printf('\ncommon base current... |
eda539a0a2750f27b868725ad1e4a77dc52d76e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH6/EX6.18/Example6_18.sce | 71c9b9383dfa12150eb7ad3c8d41352cc22a8305 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example6_18.sce | //Example 6.18
clc;
clear;
close;
format('v',4);
//Given data :
g=9.81;//constant
A=3.2;//m^2
a=10*10^-4;//m^2
H1=5;//meter
H2=2.5;//meter
Cd=0.6;//Coefficient of discharge
t=2*A*(sqrt(H1)-sqrt(H2))/Cd/a/sqrt(2*g);//sec
disp("Time taken is "+string(floor(t/60))+" minute "+string((t/60-floor(t/60))*60)+" se... |
b3cefbe7b4a4095169c74d2b0d5a2326f7969240 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH3/EX3.16/ex3_16.sce | 685de907cf863bb1f48abfb32317aef312e25a99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | ex3_16.sce | // Exa 3.16
clc;
clear;
close;
// Given data
P1 = 1;// in bar
P2 = 15;// in bar
T1 = 0;// in degree C
T1 = T1 + 273;// in K
T2 = 200;// in degree C
T2 = T2 + 273;// in K
C_P = 1.005;// in kJ/kg-K
C_V = 0.718;// in kJ/kg-K
R = C_P-C_V;// in kJ/kg-K
del_U = C_P * (log(T2/T1)) - R*(log(P2/P1));// in kJ/kg-K
... |
a1d43caa48ee780bc4f3ce2f8dc2a5e15104a67d | 73b64094aca635e217d22e472dcd71b440df4ac2 | /readme.tst | d31dc1f2683a83518e9f90239ba69e1b4e657d64 | [] | no_license | kaneja123/Preet | d611f04885f45b3c9bda78a1a172c57e30760877 | 0f1fbf15d0a8bfe7b3f48d0242763b55d5a92798 | refs/heads/master | 2022-12-06T00:53:05.203437 | 2020-08-18T18:00:02 | 2020-08-18T18:00:02 | 286,595,022 | 0 | 0 | null | 2020-08-18T18:00:04 | 2020-08-10T22:57:48 | Shell | UTF-8 | Scilab | false | false | 367 | tst | readme.tst | [update-readme f1d9e6c] added 4 lines on update-readme.
15 files changed, 374 insertions(+), 378 deletions(-)
rewrite .cache/tracker/meta.db-shm (64%)
rewrite .cache/tracker/meta.db-wal (95%)
rewrite .config/dconf/user (100%)
rewrite .local/share/xorg/Xorg.0.log (82%)
copy .local/share/xorg/{Xorg.0.log => Xorg.0.... |
7efc31a11a4e6ddd73947699fdeaa3a84a6df072 | 93c7fb5ee09b14b93d6c6a5a99d15e57555802be | /tests/test_100/test15.tst | fa8a0a22a74147d1b2c6210cd1fb0aa16eb1e03a | [] | no_license | ach5910/42PushSwap.com | b1cd724453b20296e39c18e5d576bdfb6290f7da | bfa2755c1cb84c7d72a4858c77193743a5583a1a | refs/heads/master | 2020-04-05T12:35:36.043271 | 2017-07-26T06:33:40 | 2017-07-26T06:33:40 | 95,174,903 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | tst | test15.tst | 846 5980 2883 7754 2474 5951 9066 7423 8456 2595 7648 8167 2368 9098 6059 8190 7649 1047 8793 2553 6640 9617 9530 2907 3783 524 1951 1736 5574 2069 2451 6353 6344 1269 6798 6004 8211 2793 6945 5982 3449 587 6463 822 1700 8718 5762 9586 6579 8053 8147 4853 7449 7487 4079 7586 2167 6634 9099 4994 3508 2048 1030 5552 9992... |
406c4930fb419c64cbb6b3762882d3ee9135e907 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH6/EX6.2/6_2.sce | e7bbcbdb99b017d1cc6bde135221567788032b18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | 6_2.sce | clc
//initialisation of variables
v=((3140*%pi*60*60)/(4*4*144))//ft/sec
v1=0.852*38.37//ft^3
//CALCULATIONS
W=(v/v1)//lb
V=(2970*%pi*60*60)/(4*4*144)//ft^3
W1=(V/v1)//lb
//RESULTS
printf('the weight of steam per hour=% f lb',W)
printf('the weight of steam per hour=% f lb',W1)
|
64b22c210862e03b33e0c4916f77b6412b064b05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH1/EX1.14.1/Example1_14_1.sce | 2be1863a9975575a267e31d3a9fe69bcad36d59f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | Example1_14_1.sce | //Example 1.14.1 page 1.41
// To calculate the number of modes...
clc;
clear;
d = 50*10^-6; // diameter of fibre...
n1 = 1.48; //RI of core..
n2 = 1.46; //RI of cladding..
lamda = 0.82*10^-6; //wavelength of light..
NA = sqrt(n1^2-n2^2); // Numerical Aperture..
Vn= %pi*d*NA/lamda; ... |
898b209bd795669112214ec9ba50f62b8be06f76 | bb44d6eb6adf8f21077f2a49f2eb44d2424b2a5b | /triangle_wave.sci | 21a5f100ac5e56eb64bd9b0e27e7c25eacea08bf | [] | no_license | prasadovhal/Scilab-Codes | c8ccc49feba4243d092d8a1eba7a708eb95dc89e | 3af5566d62b1f1b6cf080ec20391c39b9d61897d | refs/heads/master | 2020-03-29T16:50:45.738023 | 2018-09-24T16:05:50 | 2018-09-24T16:05:50 | 150,130,310 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sci | triangle_wave.sci | function [wave]=triangle_wave(n)
summ = 0
t=linspace(0,(4*%pi),1001)
for (k = 0:n)
summ = summ + ((((-1)^k) * sin((2*k+1)*t)) / ((2*k+1)^2))
end
wave = [summ]'
plot(t,wave,".r")
endfunction
|
6b0322bad04a27ac496e4fbb76caefe6f6196179 | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH12/EX12.6/example12_6.sce | 062d777c74ef27089f9d9ee7ee56d570fad4b6df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example12_6.sce | disp('chapter 12 ex12.6')
disp('given')
disp("design feedback limit for 12.4 and max circuit o/p current=400mA when limited foldback to 200mA")
Ilmax=0.4
Isc=0.2
disp("Vr6=0.5 at short circuit")
disp("R6=0.5/Isc")
R6=0.5/Isc
disp('ohms',R6)
disp("use 2.7 ohm std value")
R6=2.7
disp("Vr6=Ilmax*R6")
Vr6=Ilmax... |
98a074c7081a51624ff7ea628d4242eb256c5acf | 8341e5d4592082938937701d121dc41f7b544347 | /app/views/application/_nav.html.erb.tst | 05ded6fc6aaf2e50b55be5646447e733af85accd | [] | no_license | ozavala/gymsystem-v4 | 6133fc277379513add2c220e6855e96c1eacc7bd | 777d7899032fce1ea361b1c3f421f032a8cbaa6c | refs/heads/master | 2020-04-22T23:34:34.947207 | 2019-03-09T16:17:41 | 2019-03-09T16:17:41 | 170,746,316 | 0 | 0 | null | 2019-02-20T23:29:21 | 2019-02-14T19:30:13 | Ruby | UTF-8 | Scilab | false | false | 2,374 | tst | _nav.html.erb.tst | <!DOCTYPE html>
<title>My Example</title>
<!-- Latest compiled and minified Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<style>
body {
... |
8effa98129bf12bf5bbb4148003b68313d39cc9d | e806e966b06a53388fb300d89534354b222c2cad | /macros/indexImages.sci | 8a6dc8c303f4d363c2595de8482f1a64cf057f87 | [] | 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 | 2,058 | sci | indexImages.sci | function [imageIndex]=indexImages(imgSet,varargin)
// This function creates image search index
//
// Calling Sequence
// imageIndex = indexImages(imgSet, bagOfFeatures, Name, Value... );
//
// Parameters
// imgSet: Collection of images with their location and labels
// bagOfFeatures: Bag of Visual Words
// Verbose ... |
405d9b05efe1626f017d631c0880748fdcc8ed08 | cb952289471732053d3db787d93f249ea37a7e55 | /6º PERÍODO/Otimizacao/UNIDADE 2/show.sce | 5f969cb075c48ede8571eddc66e7eaf143cb633b | [] | no_license | kaikecc/UFRN | 647d09e6beeadfeabfb59f479cd77a5c2ff7bebc | 821cce2e36808e890a75714d71b7cc1a24e52c27 | refs/heads/master | 2022-08-09T19:23:52.552924 | 2022-06-23T21:27:05 | 2022-06-23T21:27:05 | 177,469,993 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | show.sce |
function mostrar = show(valor, X, y)
printf('O valor otimo de z = %f',valor,'\n');
printf('Nova matriz de coeficientes = %f',X,'\n');
printf('Novo vetor de resultados = %f',y);
mostrar = 0;
endfunction
|
d9f447b7dce6224f49cbbb0a75bc1d8e0013c573 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH18/EX18.9/18_9.sce | 79d96fc6f9c19f61a4b7d4d0770901ceb6eef862 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | 18_9.sce | clc;
// page no 686
// prob no 18.9
// refer fig 18.7(b)
//This is the standard superheterodyne receiver
fc=6870;// the received carrier freq in MHz
IF=70;// IF in MHz
// The local oscillator freq is given as
f_lo=fc-IF;
disp('MHz',f_lo,'The local oscillator freq is '); |
ef252d58f1dd5db2b672d3d1ee8a0a87cbf4bd29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH2/EX2.26/example2_26.sce | 0da85275d2f534241f801ac82c672176c4fa40c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | sce | example2_26.sce | clear;
clc;
// Stoichiometry
// Chapter 2
// Basic Chemical Calculations
// Example 2.26
// Page 43
printf("Example 2.26, Page 43 \n \n");
// solution
m = 6.5065 //[g] mixture (basis)
Pv = 2.175 //[kPa] V.P. of water over KOH
Pa = 102.5-2.175 //[kPa] Partial P of n-butane and 1butene
V = 415.1*10^-3... |
6a9bcccc480a42a6b48be0e8d2a7d93f7df7ee96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH8/EX8.2/exa8_2.sce | 1e8d8cb42f0c534a7eb0ad5b77a2dce199e51a68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,003 | sce | exa8_2.sce | // Example 8.2
// Power Transmission with Transformers
// From figure 8.8(a)
P=15000; // Watts ; Objective of the problem
R_S=2;//source resistance
R_L=3;// Load resistance
I_out_m=sqrt(2*P/3);
V_out_m=R_L*I_out_m;
I_m=I_out_m; // Line current
V_s_m=(R_L+R_S)*I_m; // Ohm's Law
Eff=R_L/(R_L+R_S);
P_S=0.5*2*... |
07c71717d43644c4d14eeb135ce3a666921b70af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH5/EX5.12/Ex5_12.sce | f8f2e063b4a0213ed71283380157e4994b3d8534 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Ex5_12.sce | //Ex 5.12
clc;clear;close;
format('v',4);
tau=1;//ms
//R1/R2=1.8:9;given range
//Let R1/R2=1.8
R1BYR2=1.8;//ratio
Beta1=1/(R1BYR2+1);
R1BYR2=9;//ratio
Beta2=1/(R1BYR2+1);//unitless
Beta=Beta1:Beta2;//Range of Beta
//For fmin
Tmax=2*log((1+Beta1)/(1-Beta1));//ms
fmin=1000/Tmax;//Hz
//For fmax
Tmin=2*log((... |
873ecdd2ff5d85adf4af3543bba5ee58636baa2a | 68e34056d05645879703fab98872a8ed3456be75 | /Quizzer/ClientApp/src/app/client/states/ContractTemplate.tst | 6d73b399bfeb4c0668e646b589df04b184354b46 | [] | no_license | kits-ab/quizzer | 4d69c7d1c5de668769f5bbeca07e94a59443ca5a | 09f70e5e539d08ae9ff07f7c77c92c3e3402ed36 | refs/heads/master | 2020-04-08T22:59:15.241148 | 2018-11-30T10:17:33 | 2018-11-30T10:17:33 | 159,806,915 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | tst | ContractTemplate.tst | $Classes(Quizzer.Services.Client.States*)[
export interface $Name {
type: '$Name';
$Properties(p => p.Name != "Type")[
$name: $Type;]
}
$NestedClasses[
interface $Name {
$Properties[
$name: $Type;]
}
]]
|
cfc44849b8a74c3b5fc224e34b65539437b7777e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH13/EX4.6/Ex_B_4_6.sce | 29e0c591a12e208c3c22b78165ebae68633c6865 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | Ex_B_4_6.sce | //Ex 4.6
clc;clear;close;;
format('v',6)
//Part (a)
K1=5;//kHz/V
//vm(t)=2*cos(2*p*2000*t);
Vm=2;//V
fm=2000;//Hz
delta_f=K1*Vm;//kHz
disp(delta_f,"(a) Pak frequency deviation(kHz)");
m=delta_f*1000/fm;//modulation index
disp(m,"(a) Modulation index");
//Part (b)
K=2.5;//rad/V
//vm(t)=-cos(2*p*2000*t);
f... |
b5ec72e2e2937fb4f1ddd50fb58119897bf6a86f | 89032afea0526303299f01986ed2bca8cc6b35a0 | /day_20.tst | e823c224b9685e08247979cd404ed773cd57f9e7 | [
"MIT"
] | permissive | watmough/Advent-of-Code-2017 | 8937b5cdf021f599fe0b20f379b13b2de56a48a5 | 0de5d71999059a153b56fbcc5f9ed34dfae31bd5 | refs/heads/master | 2021-10-02T21:29:40.469908 | 2018-11-30T23:59:36 | 2018-11-30T23:59:36 | 112,746,532 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 43 | tst | day_20.tst | 1000 0 0 -1 0 0 0 0 0
-1000 0 0 1 0 0 0 0 0 |
249e2a4b219d8693943f832ec9ab22fffbe6ee5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.8/Example6_8.sce | 8fd6b45454b06f3165dc8f3c5ce12aab94502a8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | Example6_8.sce | //Example 6.8.
clc
format(5)
beta=170
IC=80
disp("We know that (beta), beta = 170 = IC / IB")
IB=IC/beta
disp(IB,"Therefore, IB(mA) = ")
format(6)
IE=IB+IC
disp(IE,"and IE(mA) = IB + IC = ") |
188b6e3b9ced189ffea0862c80b61bc6902e2048 | 4fc36cf9ad4abed8f783d4d04478e13f13cd58fa | /miniproject/2prob/4_random_234.sce | fc9c1f99cfcf1db469d76372e178089440bdc724 | [] | no_license | sksavant/ee340 | 812857c69af65aef748ae86737c1bdfb4a3d0940 | 827918ae23644debcee0f8b890d4b46e35f93e79 | refs/heads/master | 2020-05-19T17:09:44.225110 | 2012-09-06T18:15:14 | 2012-09-06T18:15:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 733 | sce | 4_random_234.sce | exec("2_delay_noise_seq.sce",-1)
exec("3_cross_correlation.sce",-1)
xvec=barker
yvec1=delay_noise_seq(xvec,0.001,0.9,20,-1)
yvec2=delay_noise_seq(xvec,0.01,0.9,20,-1)
yvec3=delay_noise_seq(xvec,0.1,0.9,20,-1)
nvec=linspace(1,length(yvec1),length(yvec1))
xset('window',589)
subplot(3,1,1)
title('Variance 0.001')
plot(nve... |
2582fd74fee3899af2b2371bb08617db1850aafe | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH8/EX8.1.b/Solved_Ex8_1b.sce | 5953431390d0f88ae9eaaeefff285d789e891d88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | Solved_Ex8_1b.sce | //Determine the fourier series representation of the given discrete time signal, x(n)=4cos(pi*n/2)
clc;
clear;
n=-20:1:20;
x=4*cos(%pi/2*n);
N=4;
for k=0:1:20
c=0;
for n=0:1:N-1
c=c+4*cos(%pi/2*n)*exp(-2*%i*%pi*k*n/N);
end
d(k+1)=c/N;
end
disp(d,'fourier series terms of given signal... |
db2bb7b920b6bff9597de1ab018a95e2524fe8ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH9/EX9.12/Chapter9_example12.sce | a73c5333026a18a24689d1ced6356d339112aea3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | Chapter9_example12.sce | clc
clear
//Input data
af=0.066//Air fuel ratio
p=0.83//Pressure at the venturi throat in kg/cm^2
pd=0.04//Pressure drop in kg/cm^2
va=245//Air flow at sea level in kg per hour
//Calculations
dpa=1.03-p//Pressure at air cleaner in kg/cm^2
d=(1.03-pd-dpa)//Throat pressure when the air cleaner is fitted in kg/... |
d97dcfc32165c59a5030e66d6ba3461532ea39c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH5/EX5.19/Ex5_19.sce | 89352fc35d8303bc37e4f37ecc9977d673e03d01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Ex5_19.sce | clear;
clc;
b1 = 16;// inches
d1 = 6;// inches
b2 = 9;// inches
d2 = 7;// inches
A = 14.71;// in^2
I_xx1 = 618.09;// in^4
I_yy1 = 22.47;// in^4
I_xx2 = 208.13;// in^4
I_yy2 = 40.17;// in^4
I_xx = I_xx1 + 2*I_yy2;// in^4
I_yy = I_yy1 + 2*(I_xx2 + A*(b2/2 + 0.5*0.4)^2);// in^4
k_xx = sqrt(I_xx/(3*A));// inch... |
5ab176df6dc081f6e26ca18e663c6418a961cdae | ce677f3cb9d562524d4d355bb53406395c880509 | /Oracle_lagrange.sci | e5f7cdd879b144d5989870c8885e34a297960b0b | [] | no_license | ClementRiu/opti2a | 28801fdc383dae8f2034645f27c5bf76539de23c | 8eeab84c2085d3e16e51b421d094dc4ca69eb141 | refs/heads/master | 2021-01-22T18:43:10.407165 | 2017-05-12T23:06:02 | 2017-05-12T23:06:02 | 85,107,445 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,486 | sci | Oracle_lagrange.sci | function [F] = critere(lagrange)
z = (Ar' * pr + Ad' * lagrange) ./ r;
sgn = ((z <= 0) - 0.5) * 2
qlamb = sqrt(abs(z)) .* sgn;
F = (qlamb' * (r .* qlamb .* abs(qlamb)) / 3 + (pr' * (Ar * qlamb))) + (Ad * qlamb - fd)' * lagrange;
F = -F;
endfunction
function [G] = gradient(lagrange)
... |
8c4843c43e3b0629637bb7049c7e06b7eb4266f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH7/EX7.7/EX7_7.sce | 43c9690fb62e56795c902f9eb3e4f7689b0e9a42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 968 | sce | EX7_7.sce | // Example 7.7
// Compuatation of the optimum amplifier configuration
//
// Page no. 329
clc;
clear;
close;
//Given data
G1=8; // Amplifier gain 1
G2=16; // Amplifier gain 2
fn1=7; // Noise figure of amplifier 1
fn2=5.5; // Noise figure of amplifier 2
H=7; ... |
2475bd8a80e8b91b1d6fe106cf9e0df27f639cdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH8/EX8.5/8_5.sce | 9570181947ce7fa9eac513b27743c6e63dfacbe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | 8_5.sce | disp("σ=q*μe*n0");
q=1.6*10^-19;
b=700; //say b=μe
n0=10^17;
a=q*b*n0; //say a=σ
printf('\n The value of σ is %f /ohm/cm',a);
disp("ρ=σ^-1");
c=1/a; //say c=ρ
printf('\n The value of resistivity is %f ohm-cm',c);
Rh=-1/(q*n0);
printf('\n The value of Hall coefficient is %f cm^3/C',Rh);
Ix=10^3;
Bz=10^-5;... |
7a67746c74951f8f62c35e824eb05d355c52cf4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH25/EX25.11/eg25_11.sce | 8518da71fec334d6b27c34b1e14b60b27f06272c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg25_11.sce | clear;
//clc();
ins_cap=500*10^(6);
cap_cost=35000*10^(3);
dep=0.12;
fuel_con=0.85;
fuel_cost=0.8;
oper_cost=0.25;
p_load=475*10^(6);
lf=0.82;
avg_load=p_load*lf;
ene_gen=avg_load*8760/1000;
tot_inv=ins_cap*cap_cost/1000000;
ann_dep=dep*tot_inv;
fuel_con_yr=fuel_con*avg_load*8760/1000;
ann_fuel_cos... |
bcb589a30f044ecb9d0ab41bfcd9af05add6078f | 449d555969bfd7befe906877abab098c6e63a0e8 | /162/CH8/EX8.6/example86.sce | 46ddf7948a92130e1572c5ec6fa19a34b0680789 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | example86.sce | //Example 8.6
clc;
// Define the polynomial
s=poly(0,"s");
p=1+3*s+8*s^2+4*s^3+2*s^4+s^5;
// Calculate the routh of above polynomial
r=routh_t(p);
A=r(:,1);
c=0;
x=0;
for i=1:6
x=A(i,1);
if x<>0
c=c+1;
end
end
if(c>=1) then
printf("system is unstable");
else
p... |
4659eb45408d8b585de1924ecf19c33e5d3d454f | c34cb6f5448d3c4a59e4409e34656916c7b5cac0 | /graytobw.sce | e3da5906460b4d735f5cd39e2f0b028123cc05a2 | [] | no_license | ans-sharma/scilab | b2b0af0d038998b81943ff6fdf06d6e1c434b23d | e8b8a43d0d1d8bed3112abd985ec07aa495dd16d | refs/heads/master | 2022-12-15T03:39:00.434615 | 2020-09-09T21:37:32 | 2020-09-09T21:37:32 | 291,638,062 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | graytobw.sce | img = imread('C:\Users\Anshuman\Desktop\index1.jpg');
img2 = img;
threshold = 0.5
div = 255 * threshold;
//img = imresize(img, .5);
img = rgb2gray(img);
sizeMat = size(img)
for i = 1:sizeMat(1)
for j = 1:sizeMat(2)
if img(i,j) > div then
img(i,j)= 255
elseif img(i,j) <= div t... |
316658613066b2b1f41a870dd798adc3854b63d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH3/EX3.6/eg3_6.sce | f89269a1f6a60fdb86b9fcf57da61a2c01023cf8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | eg3_6.sce | clear;
//clc();
lc=0.5;
dep=0.09;
cost_en=0.12;
res=1.76;
l=1;
ann_cost=dep*25000;
lf=0.2*lc + 0.8*(lc^2);
al=3*.1*res*8760*lf/1000;
cost=al*cost_en;
d=ann_cost/cost;
j=sqrt(d);
printf("The current density is:%.2f A/sq cm",j);
|
88551a0c243ccadd9f2a9e1e3d19df36ff23c0fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH6/EX6.4/Ex6_4.sce | aedbd0795da4204061f94959940f52bdf33332bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_4.sce | //Example number 6.4, Page number 117
clc;clear;
close;
//Variable declaration
PE=1/100; //probability
E_EF=0.5; //energy difference
//Calculation
x=log((1/PE)-1);
T=E_EF/x; //temperature(K)
//Result
printf("temperature is %.4f K",T)
//answer given in the book is wrong
|
796bc89793e8d9d2784b3bbe47a18ff13d2f390b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH8/EX8.5/ex8_5.sce | 500613f34a932919e2881f42c553e3ab1eb60915 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | ex8_5.sce | clc;
clear all;
t = 12.5e-6; // Thickness in meters
d = 0.01; // Difference in principal refractive index (uo-ue)
lambda = 2*t*d;//The wavelength of light
disp('m',lambda,'The wavelength of light is')
//rounding off due to scilab
|
1609aef0241658c218ac2213b32fecef63a590b5 | e8bcf3f9ffdfb367940fb9ed498b1c598ce92e65 | /plot2d.sce | 28594ce3132cbcf2e1a74d88e8d5b568ebae5128 | [] | no_license | yoddha24/Intro-to-Scilab | 1fe25aee3ebd319bc2c9e2cf7c25d7050b09890e | 4c458c1bea6880839ebae07adfd39dea0eac4e2c | refs/heads/master | 2021-01-20T18:24:05.191473 | 2016-08-08T13:45:16 | 2016-08-08T13:45:16 | 65,207,356 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | plot2d.sce | // Program to plot using plot2d function
x = linspace(-%pi,%pi,20)
plot2d(x,sin(x))
xtitle('Graph for plotting sin(x) using plot2d')
xlabel('angle')
ylabel('sin(x)')
|
85be72f74b36754185ad0f69056557915c1a48e9 | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/cmd/test/man-heater.tst | 95f2f377ebf66633d783ed5a91fe718316452f5d | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 592 | tst | man-heater.tst | #Heater example
#distillation tower condenser is used to preheat distillation tower feed
$thermo = VirtualMaterials.NRTL/Ideal/HC
/ -> $thermo
thermo + ETHANOL WATER
topVap = Stream.Stream_Material()
topVap.In.P = 101.325
topVap.In.VapFrac = 1
topVap.In.MoleFlow = 100
topVap.In.Fraction = 0.85 0.15
cond... |
ce50ec7670ccd67bf68f52fa4fde7d7aeb69b6fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.43/2_43.sci | a4581ababc4a908992400f1e280cca126ad92708 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sci | 2_43.sci | //2.43
clc;
M=0.95;
w=2*%pi*20;
tc=(1/w)*[(M^2)/(1-M^2)]^0.5;
printf("Time constant=%.2f s",tc)
ph={(%pi/2)-[atan(w*tc)]}*(180/%pi);
printf("\nPhase shift=%.1f deg",ph)
C=(8.85*10^-12*300*10^-6)/(0.125*10^-3);
R=tc*10^-6/C;
printf("\nSeries resistance=%.0f Mohm",R)
M=1/(1+(1/(2*%pi*5*tc)^2))^0.5;
printf("\n... |
1b85c7754e8b18e90aedc0bd7955f9203026c359 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH12/EX12.5/12_5.sce | e6b53009d1709ef30e440bcaa3a713057e8a7b71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | 12_5.sce |
Ve=2
Be=%pi/2
Kd=Ve/sin(Be)
printf("\nKd=%.0f",Kd)
//Ko=dW/Vd
Ko=2*%pi*100*1000
dWH=Kd*Ko
printf("\ndWH=Kd*Ko=%.4e rad/s",dWH)
dfH=dWH/(2*%pi)
printf("\ndfH=dWH/(2*pi)=%.4e Hz",dfH) |
7133409e5bc31b30304dc869cff19432bcb7ee63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH5/EX5.18/Chapter5_Example18.sce | d2781dbe8b0ee716914810de012001447c2e4976 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,365 | sce | Chapter5_Example18.sce | //Chapter-5, Illustration 18, Page 268
//Title: Air Compressors
//=============================================================================
clc
clear
//INPUT DATA
P1=1.013;//Pressure at point 1 in bar
T1=288;//Temperaturea at point 1 in K
v1=8.4;//free air delivered by compressor in m^3
P4=70;//Pressure ... |
faff54ffbc60671dbd934e0c61a8f6ca3d89143c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/robust/copfac.sci | 9aa9c3b96144cab1a8fa30d6da94b46b5db54932 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,843 | sci | copfac.sci | function [n,m,xt,yt]=copfac(G,polf,polc,tol)
//[n,m,xt,yt]=copfac(G,[polf,polc,[tol]]) returns a right coprime
//factorization of g :
// g = n*m^-1 where n and m are stable, proper and right coprime.
// (ie. [n m] left-invertible with stability)
// xt and yt satisfy:
// [xt -yt].[m n]' = eye (Bezout identity)
// G ... |
bb6f377a375cee0ad3354d0ad0fa50f14df3bbb2 | 06a62d768e69fd9dda11b30011c252807e301813 | /pgm19.sci | 9e44aef1d9e56aa95830393dbcb04924ec7f4ecd | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sci | pgm19.sci | function [X, err] = pgm19()
X0 = [1; 1];
maxIterations = 100;
tolX = 10^-6;
X = X0;
for i=1:maxIterations
XOld = X;
[fval, jac] = pgm18(X);
disp(size(X));
disp(size(fval));
disp(size(jac));
X = X - inv(jac)*fval;
err(:,i) ... |
12e2416b5034618ff85d192d20b74f99c7fd1ad2 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 2/Aula 10 - Quadratura Gaussiana/Calculadora_de_pesos_da_quadratura.sce | e4843123de3edff2b06095226e6293ecf0217ce7 | [
"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 | 738 | sce | Calculadora_de_pesos_da_quadratura.sce | //Exemplo: Sejam os nós x [0 0.6 1]. Encontre os pesos Ai da quadratura I = A1*f(x1) + A2 * f(x2) + A3 * f(x3) tal que o erro seja o menor possível
//para integrar f no intervalo 0 a 1
//Primeiro calcula A que neste caso com os valores 0, 0.6 e 1 será "A = [1 1 1; 0 0.6 1; 0 (0.6)^2 1]"
//Depois de calcula b, que no i... |
d6ede689cd226eb19c6b6de38bb7eb041a0e0df9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH3/EX3.25/Ex3_25.sce | 1a96052a4eb73a0f4afc75dad29b28a4c4eb7f49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | Ex3_25.sce | //determine support reactions
//Refer fig. 3.52
//Taking moment about B
RA=((10/2)*(1/3+5)+(2*10/2)*(5-2/3)+10*3*1.5+3*10*1/2)/5 //kN
RB=-26+5+10+30+15 //kN
printf("Required values are:-\nRA=%.2f kN\nRB=%.2f kN",RA,RB)
|
a55708e0c5ee8671ccf49ee1863ce4b7d7a377d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH4/EX4.14/exa_4_14.sce | b849b079d0bd0085a999981566c1661c3ef01ffc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_4_14.sce | // Exa 4.14
clc;
clear;
close;
// Given data
lamda= 800;// in nm
EpIn_eV= 1248/lamda;// in eV
h_int= 5/100;
I=50;// in mA
P= h_int*EpIn_eV*I;// in mW
disp(P,"Power radiated by an LED in mW is : ")
|
d79023a70a4f95a75a635a5c307e94859cdc38e0 | 0ade4f8a7ec375e54db514312b562334ab304d3e | /data/benchmark/Korns_01.tst | bb34aba3d22b1cfcb54517c1a92318d437fb8b8b | [] | no_license | zeta1999/go-pge | 39ac86612d4a90c1e53d2c45c1177e98b3bcf4e4 | 99a4b600185145bcc047e8e42cecfd2346b6b16d | refs/heads/master | 2021-01-01T11:10:20.053388 | 2014-01-16T16:06:50 | 2014-01-16T16:06:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128,137 | tst | Korns_01.tst | x y z v w
f(xs)
-9.935137 44.448240 -48.126774 3.222261 1.964085 79.870938
25.307382 -23.836381 -12.930121 4.335609 -15.998629 106.925307
-14.634436 -10.692695 21.713863 -31.935323 7.716467 -774.458340
-25.118746 40.898957 -1.502310 31.998047 43.181597 779.122539
22.800378 39.145929 -17.176759 -16.780563 -2.90000... |
5d6bc02f6ffb41c16252adb802cb60c9f2d8fb1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH2/EX2.8/ex2_8.sce | 20af6caf1695b5bbb05eb2ab312e403a6a7a987e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | ex2_8.sce | clc;
disp("Example 2.8");
Y=1.41; //Young's Modulus.
R=1.293*10^-3; //Density of air in g/centimetre cube.
P=76*13.6*980; //atmospheric pressure in dyne/cm square.
V=sqrt((Y*P)/R); //calculating speed using young's modulus.
disp(V,"Speed of ultrasonic wave in air at n.t.p. in cm/sec = "); ... |
1021244ea25a43e8f5b87dfeb0feb261818c7a19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH6/EX6.3/Example6_3.sce | bb2415261775ce520ee206c96652a772b3a0bd66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | Example6_3.sce | //chapter-6,Example6_3,pg 178
phi=(%pi/180)*30//conversion into radian
bplus=3//ellipse cutting +ve minor axis
bminus=-3//ellipse cutting -ve minor axis
theta=atan(2/1)//angle of major axis of ellipse(Vy/Vh=2:1)
y1=(bplus/sin(phi))//length of vertical axis
printf("length of vertical axis \n")
print... |
907d7bb15b1091d2db54f3aafaaaadcc7bca4096 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH6/EX6.12/ex6_12.sce | 33e0bbfb2322940c29aac95a42af26e74f1b2110 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 747 | sce | ex6_12.sce | // Three-Phase Circuits :example 6.12 :(pg 6.17)
P=100*10^3;
IL=80;
VL=1100;
f=50;
Vph=(VL/sqrt(3));
Iph=IL;
Zph=(Vph/Iph);
pf=(P/(sqrt(3)*VL*IL));
phi=acosd(pf);
Rph=Zph*pf;
Xph=Zph*sind(phi);
C=(1/(2*%pi*f*Xph));
printf("\nP=100kW \nIL=80 A \nVL=1100 V \nf=50 Hz");
//For a star-connected load
printf("\... |
512a8e4104b998bfac4706c268d2d979316b6df0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH1/EX1.7/Ex1_7.sce | fa7fe2be9ceff6740a36a3cf0c2c9b0ea5126c61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | Ex1_7.sce | //exa 1.7
clc;clear;close;
format('v',9);
dmax=40;//MW//Maximum demand
CF=0.5;//Capacity Factor
UF=0.8;//Utilisation Factor
LF=CF/UF;///Load Factor
disp(LF,"(a) Load Factor : ");
C=dmax/UF;//MW//Plant Capacity
disp(C,"(b) Plant Capacity(MW) : ");
RC=C-dmax;//MW//Reserve Capacity
disp(RC,"(c) Reserve Capacity... |
2e109a0bcb97c612ba2bc8613fe6541cd19c648f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH7/EX7.11/Ex7_11.sci | 0ff5845319a74d32805a91f27a67f88b026ca18f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 297 | sci | Ex7_11.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 7.11
clc;
clear;
s=%s
p=poly([40 10],'s','coeff')
q=poly([0 3 4 1],'s','coeff')
sm=cont_frm(p,q)
disp(sm,'the state model in matrix form is')
|
3b4d4cfc910ca8ec0aa71b94168edecb3aca7e18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH1/EX1.1/ex_1_1.sce | 61d37b189e7977a46c6d52eafedeefb7521c2073 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | ex_1_1.sce | //shifting and scaling
//example 1.1
clear;
clc;
close;
t = 0:1/100:4;
for i = 1:length(t)
x(i) = (3/4)*t(i) ;
end
for i = length(t)+1:2*length(t)
x(i) = 0;
end
figure
a=gca();
t1=0:1/100:8;
plot(t1,x(1:$-1))
xtitle('x(t)')
figure
a=gca();
t2=t1+2;
plot(t2,x(1:$-1))
xtitle('x(t-2)')
a.y_location... |
75ce5798bcc709d4e1280c8c63133594e4db93f9 | a65a4c1384387a77d3185e7a58b23ecafdd6ee92 | /mieszkancy.sce | 3b4598b28a916ae29a2ffb5ca7e0645dcaf39f7a | [] | no_license | Caravestal/ProgramyUzytkowe | 0ae99fd7048a251d277db9760ebb27a2b1d205c3 | 7e2a572f01e35877905476c9a7895a412dee347f | refs/heads/main | 2023-02-16T17:51:59.352562 | 2021-01-21T08:25:21 | 2021-01-21T08:25:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | mieszkancy.sce | clear
clf
clc
x = [2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016];
y = [172843 172652 172467 173075 173850 174473 174941 175710 176142 176457 175388 175420 174641 174675 173831 173444 172993];
plot(x, y, 'b', 'Linewidth', 3)
xlabel('Rok')
ylabel('ilość mieszkoańców')
xgrid... |
8ed2219292c731348dd302fcd0bef0b0dc5f6613 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/sbrs.instr.tst | 8a89c474b28b902edcec6c07f7615869eae8a16c | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,661 | tst | sbrs.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x0000004e vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000082 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x03 0xfe sbrs r0, 3
0x2: 0x13 0xfe sbrs... |
48b68d45fd758347c2bb7e36c361b19eaf110d1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH6/EX6.6/Ch06Exa6.sce | 13fe77b7efcd5ea1d5b32d0432cff7556caf6e60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,292 | sce | Ch06Exa6.sce | // Scilab code Exa6.6: : Page-242 (2011)
clc; clear;
c = 1; // For simplicity assume speed of light to be unity, m/s
E_0 = 0.155; // End point energy, mega electron volts
E_beta = 0.025; // Energy of beta particle, mega electron volts
E_v = E_0-E_beta; // Energy of the neutrino, mega electron... |
a6012f1b9df0be323a416da6e2900cb6273d5663 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH5/EX5.15/ex5_15.sce | d1a5f6dc41081b03770fbb34ebc7fabd6e75618f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 470 | sce | ex5_15.sce | //Page Number: 299
//Example 5.15
clc;
//Given
v0=300;//V
i0=20D-3;//A
v1=40;//V
n=2;
x=2.408;
j1x=0.52;
//(i) Input power
pin=i0*v0;//W
disp('W',pin,'Input power:');
//(ii) Output power
pout=(2*v0*i0*x*j1x)/((2*%pi*n)-(%pi/2));//W
disp('W',pout,'Output power:');
//Efficiency
eet=pout/pin;
disp(... |
4087b77b9bc84c7cc546b099b23429ac971ea964 | 23573b967e8324d44226379d70559b8f0ea34905 | /code/fsolve/Redlich-Kwong.sce | c2fc32667233ea80e6d2470d42ae181152605ab6 | [] | no_license | FOSSEE/FOT_Examples | 91c8b8e9dc58545604b2c2af41a7e22f702b78f3 | 75947a7aa5a3955fe5a72e09f55bbdc05e3b8751 | refs/heads/master | 2020-03-22T09:00:48.306061 | 2018-07-24T04:49:25 | 2018-07-24T04:49:25 | 139,807,736 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,702 | sce | Redlich-Kwong.sce | //Ref:Steven C. Chapra. 2006. Applied Numerical Methods with MATLAB for Engineers and Scientists. McGraw-Hill Science/Engineering/Math,Chapter 6
//Example:
//The Redlich-Kwong equation of state is given by
//p = ((R*T)/(v-b) - a/(v*(v+b)*sqrt(T)))
//where R = the universal gas constant [= 0.518 kJ/(kg K)], T = absolute... |
98f04607b31d25bdff27f4e834e3f34f3b53fbe6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH1/EX1.11/Ex1_11.sce | 043da93d6d8ee86aa26fd761c04049bee716b0db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_11.sce | //Example no 1-11
//page no. 26
clc;
clear;
//m= p*{m+[2*n/(1-n)^2]^2};
n=1.5; //refractive indices
p=0.45; //degree of polarisation
m={p*[2*n/(1-n^2)]^2}/(1-p);
printf("\n Thus it will require %0.0f reflective plate to achive a degree of polarization equal to 0.45",m); //Result mis r... |
69e1c9f2984c656c640693ee5657e09b4b85a3e1 | 6eb42df0d9f452fee0d084e0b0058e4e4ac242ef | /Updated_Exercises_March_2015/Exercise 14/TurbulentWake.sce | 67b80ba06ebb316dd3cc843cba99fdb400764d25 | [] | no_license | huangqingze/ocean_modelling_for_beginners | b21c1b398efe91e4a3aa1fa5a1d732e2eb4ec16e | 3e73a511480c73f4e38b41c17b2defebb53133ed | refs/heads/main | 2023-07-03T12:00:01.326399 | 2021-08-14T21:16:12 | 2021-08-14T21:16:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,198 | sce | TurbulentWake.sce | //*******************************************
// This is the Scilab script for Exercise 14.
//
// Use the help facility for more information
// on individual functions used.
//
// Author: J. Kaempf, 2015 (updated)
//********************************************
clf(); scf(0); a=gcf(); a.figure_size= [1000,500... |
7c5ed5fb07e09d40f6ad9b18e697cd9adccd2627 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH1/EX1.21/Exa1_21.sce | 35f9cc2fa9af65e7e115856caa727b57296dd8a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa1_21.sce | //Exa 1.21
clc;
clear;
close;
//given data
format('v',7);
V=6600;//in Volts
KW=6000;//in KWatts
pf=0.8;//unitless
cos_fi=pf;//unitless
Eff=90;//in %
//Part (a) :
KVA=KW/cos_fi;//in KVAR
disp("KVA rating of the alternator : "+string(KVA)+" KVA");
//Part (b) :
TotalRating=KVA;//in KVA
VA=TotalRating*100... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.