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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ae3b0a4903d76376eddbc6b76d2a0adc86702201 | 1bf3cbe37018ca88ab0cd7a031c1e835b51adeeb | /qbases/general.tst | 6e6bee9f6824416fa82c21c2625096a96d28a3ad | [] | no_license | leotrubach/tester | 4dbae7f1310ecd732d0d28978f7d87d7d94276ad | 3d72a54d22e98100ef7e1dc400a7efe397f4cf9b | refs/heads/master | 2021-01-13T01:50:52.258365 | 2011-09-18T11:07:25 | 2011-09-18T11:07:25 | 2,409,112 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,176 | tst | general.tst | bQya2DqfmYMyUIJLUUP3UA==
UtwI+OolSTPi6lL1gf/XgNLcJAm6ThZThoA4m+RjJtC9vEtZ6iBJPeLrUvWB9SflvbFLUxpOH1OA
gDea05NHcLyNSmrqKkgB4u5Tz4H9JtC9vKXSEU8vU4eAOZrTknyA1CC6CI1PLFOJgDeb7JJ8gNQg
ugiAThlTgoEDm+ySfIDUBrcIgE4ZU4KBA5vsknyA1CC6CIxPLFOJgQCa2pNOfE3cLQiPTyJTh4A/
mtqTTlpA3C0Ij08iU4eAP5rak058TdwgCbpPKVKzgD+a2pNOfE3cLAiPTyJSsIEJ... |
c2eef783eb0c5b9a30636dbfad6ea5500ad80bac | 04e4dfecf86c47abbad9ad721bcbc552300a8834 | /pid_controller/pi_ta_data.sce | ce905935ed200b9380917cfd353544b42545506f | [] | no_license | rupakrokade/scilab_local_codes | 702f741a5cadc6da56e428f7379971818238ff22 | 4de8383487def7f18a1f19906397ed4eaf42480e | refs/heads/master | 2021-01-19T06:58:47.689324 | 2015-10-24T11:55:34 | 2015-10-24T11:55:34 | 26,806,574 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,016 | sce | pi_ta_data.sce | 0.000E+00 0.000E+00 0.390E+02 0.350E+02
0.500E+00 0.341E+02 0.390E+02 0.350E+02
0.100E+01 0.341E+02 0.000E+00 0.900E+00
0.150E+01 0.341E+02 0.101E+00 0.900E+00
0.200E+01 0.341E+02 0.202E+00 0.900E+00
0.250E+01 0.343E+02 0.304E+00 0.900E+00
0.300E+01 0.341E+02 0.000E+00 0.700E+00
0.350E+01 ... |
262538204e4bdc7a7fc6c881f2ebec4490cfed31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH8/EX8.12/Ex8_12.sce | b95c37a56a96df4f09bc957491cacc5a1a9ab47e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 766 | sce | Ex8_12.sce |
function[r]=mag(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
endfunction
j=%i
V=200
//calculating supply frequency
L=.1//inductance of branch A
//Xa=2*%pi*f*.1
Ra=10//resistance of branch A
C=150D-6//capacitance of branch B
//Xb=1/(2*%pi*f*150D-6)
Rb=0//resistance of branch B
//Zb=-Xb*j
//total ... |
acc29a7aa4d5bad2333999d0a946131507cfffeb | c49cfb0568cc47def2bab58998cf7a2745deeb75 | /gradientDescent.sce | 333b560101cd24a4a8ada124c97d7c93094ac5b0 | [] | no_license | mirgayazov/Computational-mathematics | 7be950e9c54231943912aa8cc0eba9484b8613ee | 97eb92557308d51709101ba1922ed2bb39a0e08f | refs/heads/master | 2023-05-31T18:16:04.774709 | 2021-07-08T09:18:58 | 2021-07-08T09:18:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,556 | sce | gradientDescent.sce | clc
//----------РЕШЕНИЕ-ОТ-ЕР-------------------------------
function y=ff(x)
y=x(1)^2+x(2)^2+x(1)*x(2)-8*x(1)-2*x(2)
endfunction
[x,y]=fminsearch(ff,[0,0])
disp([x,y])
//----------РЕШЕНИЕ-ОТ-ЕР-------------------------------
disp('-----------------------------------------')
E=0.05
h=0.5
function w = f(x1, x2)
... |
a7294301b908667cd486722a6d3f9b503b2584d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH14/EX13.4/EX13_4.sce | 49ec05ee3e6b8fbf8e169c18b9ac38ec5e7de34c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | EX13_4.sce | // Grob's Basic Electronics 11e
// Chapter No. 13
// Example No. 13_4
clc; clear;
// Make the following conversions: (a) 0.003 T to G; (b) 15,000 G to T.
// Given data
A = 0.003; // A=0.003 Tesla
B = 15000; // B=15000 Guass
C = 1*10^4; // Conversion Factor
G = A*C;
disp (G,'The... |
0f01d16ac1deb0a93d7f9b8a1a2730577f0b1c7f | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH8/EX8.22/EX8_22.sce | 293247bf5e61025c4949a4dbbde234c2e7cf830c | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,130 | sce | EX8_22.sce | clc;funcprot(0);//Example 8.22
//Initilisation of Variables
Toi=90;......//Inlet temparature of oil in K
Too=60;......//Outlet temparature of oil in K
mo=980;....//Flow rate of oil in kg/s
Twi=30;......//Inlet temparature of oil in K
mw=980;....//Flow rate of water in kg/s
U=30;..........//Overall heat transfer ... |
e6f3e2574f49801e2f5357775add016063449506 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH4/EX4.10/Ex4_10.sce | 1a9b446cda2513133b4b47808bb01110e0183acc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | Ex4_10.sce |
mu_not=4D-7*%pi
flux=.018
//consider part A
a=205D-4 //cross sectional area
Ba=flux/a
H=760 //corresponding to Ba as obtained from Fig. 4.2 in the textbook
l=(38-.25)*1D-2 //length of mean flux path in iron portion of part A
ATi=H*l
ATg=.796*Ba*2.5D-3*10^6
ATa=ATi+ATg
//consider part B
a=255D-4
Bb=flux... |
f6af699988aceb2f88eaac7b32550c778d9d0105 | d153e998690566a383b3cb700294956d3753b364 | /Scilab/fractalMandelbrotSet.sce | 6efe3d71269b9dab047d783a36197318b9b41493 | [] | no_license | rayssalourrane/TPFINAL-CN | dc2c2211538fb36a7446c3ef0017a104b2375f87 | ec7d83a359c4ed85a65cefad0d69472955b467ca | refs/heads/master | 2020-06-18T09:25:39.181310 | 2019-07-11T18:45:14 | 2019-07-11T18:45:14 | 196,251,580 | 1 | 5 | null | 2019-07-11T13:29:08 | 2019-07-10T17:53:28 | Java | UTF-8 | Scilab | false | false | 847 | sce | fractalMandelbrotSet.sce | function R = computeMandelbrotVect(xsize,ysize,nmax,xmin,xmax,ymin,ymax)
tic():
xvect = linspace( xmin, xmax, xsize );
yvect = linspace( ymin, ymax, ysize );
[X,Y]=meshgrid(xvect,yvect);
Z = zeros(xsize,ysize);
R = -ones(xsize,ysize);
W = zeros(xsize,ysize);
C=X+%i*Y;
J = 1:... |
e62e3ec41cd76814a5f3684f66e366223474a791 | d1efd578361cc6ad60e7bf00b4803eef4a9d1e9d | /Bookstore/Bookstore.tst | 8f6c176c75d3fc69f13aec29d463c4da6160900d | [] | no_license | sbroadaway/test | fa52bce286cc0a013b249394c74798ea2207a000 | 319ebe6f8a04a7945a391ae4fdc932ae42f05fe7 | refs/heads/master | 2020-06-03T16:58:18.708235 | 2015-06-30T20:33:56 | 2015-06-30T20:33:56 | 24,150,144 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 416,546 | tst | Bookstore.tst | <?xml version="1.0" encoding="UTF-8"?>
<SOAtestProject xmlVersion="5" productVersion="9.4.4" servicePackVersion="4">
<TestSuite className="webtool.test.TestSuite" version="43.15.2">
<DebugAssets className="webtool.test.debug.DebugAssets" version="1">
</DebugAssets>
<ReportingSettings className="webtool.te... |
22cf73e5fadcfa1ec93b66efb359f60c307ae2eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH12/EX12.5/12_5.sce | 056f6e63ec487884dbcf5a0a5558fb547bd27b2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 12_5.sce | clc
//initialization of variables
P=14.7 //lb/in^2
T=80+460 //R
M=18
Ps=0.5069 //lb/in^2
//calculations
Pair=P-Ps
R=1544/M
v=R*T/(144*Ps)
vair=53.3*T/(144*Pair)
wair=1/(1+vair/v)
wwater=vair/v/(1+vair/v)
//results
printf("Partial pressure of air = %.1f ft^3/lbm",Pair)
printf("\n Gravimetric analysis of ... |
f569edaba569ed5d9aecd18fc98f1f7fade1b095 | 4f91f4f04125fbc526884bf219d78f2711c270fc | /tests/fileDelete.tst | 0f39c10adf2547b6b6fe9717ec804b907b3ebde3 | [] | no_license | darshan1810/simple-chubby | b59488b58a50fd54f5b4915183d90b1a7db6a3d5 | 72f38be35f7fbba5d0481b3f200f6346edec0612 | refs/heads/master | 2020-06-14T03:32:58.957700 | 2014-12-12T21:04:20 | 2014-12-12T21:04:20 | 75,510,196 | 0 | 1 | null | 2016-12-04T01:15:28 | 2016-12-04T01:15:27 | C | UTF-8 | Scilab | false | false | 274 | tst | fileDelete.tst | echo Test:fileDelete starts.
# create, open again, then close both
fileOpen /test 8
fileOpen /test 3
fileClose 1
fileClose 2
# open and delete
fileOpen /test 3
fileDelete 3
fileClose 3
# create and delete
fileOpen /test 8
fileDelete 4
fileClose 4
echo Test finished.
exit
|
bdfd31684643421547cd72609fb2609fe3918c95 | 8c802fb8c6a8dc8ed61222ce257eb61f580a462e | /projects/08/ProgramFlow/BasicLoop/BasicLoopVME.tst | 1a9e6beca03fc31a20bc71e445271e5654036e50 | [] | 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 | 297 | tst | BasicLoopVME.tst | // File name: projects/08/ProgramFlow/BasicLoop/BasicLoopVME.tst
load BasicLoop.vm,
output-file BasicLoop.out,
compare-to BasicLoop.cmp,
output-list RAM[0]%D1.6.1 RAM[256]%D1.6.1;
set sp 256,
set local 300,
set argument 400,
set argument[0] 3,
repeat 33 {
vmstep;
}
output;
|
a410938199e32e17d919762b88a04d6b0f336e8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH13/EX13.6/13_6.sce | 006327cf81e61032267b1b814516d902e99b418c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | 13_6.sce | clear
clc
//initialisation of variables
P= 10 //lb/in^2
r1= 0.5 //ft
r= 0.25 //ft
f= 42.3 //ft/sec
b= 1/40
Tt= 1400 //lb
//CALCULATIONS
Q= 2*%pi*r*b*f
p1= 34+P
Fu= p1*%pi*(r-(r/4))*144/2.3
Fr= Fu-Tt
//RESULTS
printf ('Quantity = %.2f cusecs ',Q)
printf ('\n Resultant force on the plate = %.f lb ',Fr)
... |
a46c832b0352c75fdfd7349abd746f4b8e4e00c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH11/EX11.42/example42.sce | 98557356d10f48f36c09b3cfe64dca607f02367c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example42.sce | //Chapter-11 example 42
//=============================================================================
clc;
clear;
//Given data
PW = 10^-6; // Pulse Width in sec
PRF = 1000; // Pulse Repetitive Freq in Hz
Vo = 3*10^8; // vel of EM wave m/s;
//Calculations
Rmax = Vo/(2*P... |
5fac61903a3cdc03ac117846489cf501da569e20 | 1b1878a49e894335957c80a1896ec826fc276add | /vetoresdados.sce | 8db3da3ae3f49328ccd5d53754b761f4fe41ca5b | [] | no_license | ThiagoMoraes-UERJ/ModelosLineares | 20a76778cbe844e65fbb26f8b4d8cd3f8216be5b | 0c3a4757c830c09074bebe4ad0388ecce6aad4aa | refs/heads/master | 2020-05-21T14:29:26.970544 | 2019-05-24T20:12:39 | 2019-05-24T20:12:39 | 186,079,640 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 27,067 | sce | vetoresdados.sce | function criavetX = vx()
x= [77.02856,
26.068721,
16.642915,
27.65822,
9.500949,
74.689879,
77.097701,
50.117062,
52.889163,
16.380127,
13.749532,
53.262688,
59.640832,
64.23438299999999,
76.98096700000001,
67.480493,
48.47473,
97.611346,
76.344455,
40.710251,
33.466579,
91.257015,
65.622129,... |
a78b8b73c6bab431f72b3530536b668366b8de7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH6/EX6.5/example_6_5.sce | 0260cbfc0ba0089225c6451d9695e45c4065e06d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | example_6_5.sce | //Chapter 6
//Example 6.5
//Page 147
//ABCtransformer
clear;clc;
//Given
P_AB = 10e6;
V_AB_lt = 13.8e3;
V_AB_ht = 138e3;
x_AB = %i*0.1;
P_BC = 10e6;
V_BC_lt = 69e3;
V_BC_ht = 138e3;
x_BC = %i*0.08;
P_base_B = 10e6;
V_base_B = 138e3;
Z_L = 300;
V_load = 66e3;
//Calculations
V_base_A = (V_AB_lt/V_AB_ht)*V_base_B;
V_bas... |
165b1d6c994b349911e5e9df2e3312fd90d618d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH1/EX1.1/example1_sce.sce | be42d81e3ee5b31e1dd2cfca76e6b88ce3acde6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | example1_sce.sce | //chapter 1
//example 1.1
//page 15
printf("\n")
printf("given")
Nd=3*10^14;Na=.5*10^14;//all in atom/cm^3
ni=1.5*10^10;
disp("resultant densities of free electrons and hole")
ne=(-(Na-Nd)+(sqrt(((Na-Nd)^2)+4*ni^2)))/2;
disp(ne)//electron densities in electron/cm^3
Nd>Na;
n=Nd-Na;
disp(n)
p=(ni^2)/n
print... |
469f499e670a54b403bc225711f0224158a3cddd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/host.man.tst | 69567d1af8a2729ae0240f708e892874b820a265 | [
"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 | 261 | tst | host.man.tst | clear;lines(0);
host("ls $SCI/demos");
host("emacs $SCI/demos/wheel2/Makefile");
deff('wd=pwd()','if MSDOS then host(''cd>''+TMPDIR+''\path'');..
else host(''pwd>''+TMPDIR+''/path'');end..
wd=read(TMPDIR+''/path'',1,1,''(a)'')')
wd=pwd()
|
bdce435e2a913bf1f2191d559f1ea1b33a4db2d3 | ce677f3cb9d562524d4d355bb53406395c880509 | /Oracle.sci | 11c74e3cf22980b0934f385467efbf8e0429f5ca | [] | 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,040 | sci | Oracle.sci |
function [F] = critere(q_c)
qbq = q0 + B * q_c;
F = (qbq' * (r .* qbq .* abs(qbq)) / 3 + (pr' * (Ar*qbq)));
endfunction
function [G] = gradient(q_c)
qbq = q0 + B * q_c;
G = B' * ( (r .* abs(q0 + B * q_c) .* (q0 + B * q_c)) + Ar' * pr);
endfunction
function [H] = hessien(q_c)
qbq = q0 + B * ... |
aace310f1fc321d02e441d892a0bad5afb4927e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH6/EX6.15/Ex6_15.sce | a5a46ffe1614dc74f70d5011853f7a82d081ce6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 677 | sce | Ex6_15.sce | clear;
clc;
//Example 6.15
Vtn1=1.2;
Vtn2=1.2;
Kn1=0.8;
Kn2=0.8;
//x=R1+R2+R3=300
x=300;
Rs=10;
Idq=0.4;
Vdsq1=2.5;
Vdsq2=2.5;
Vs1=Idq*Rs-5;
printf('\ndc voltage at source of M1=%.2f V\n',Vs1)
Vgs=sqrt(Idq/Kn1)+Vtn1;
printf('\ngate to source voltage=%.2f V\n',Vgs)
R3=(Vgs+Vs1)*x/5;
printf('\nR3=%.2f K... |
04d0cb512dd15848193bd86cef3fa1edcee0db06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH6/EX6.7/Ex6_7.sce | f4864a3bad198ff708c2c81feb28281e37edab84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | Ex6_7.sce | //Ex 6.7
clc;clear;close;
format('v',6);
N=15;//rps
M=2*1000;//Nm(Torque required)
Loss=8*1000;//W
P=2*%pi*M*N;//W(Power required)
Pa=P-Loss;//W(Power generated in armature)
disp(Pa/1000,"Power generated in armature(kW)");
|
145ea64d287d59d8a425cf906dc0eb7c7c23c4a6 | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH4/EX4.9/Ex4_9.sce | f5cccaed580800d8972611947b4da2c4d14718c1 | [] | 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 | 118 | sce | Ex4_9.sce | clc;
clear all;
fc=100.1*1e6; //Hz
M_T=24;
f_mo=fc/M_T;
disp(+"MHz",f_mo/1e6,"MO oscillating frequency=");
|
5be9f4fa9087ecd8b01bd6f1c7208a4770ce3c73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH6/EX6.7/Example6_7.sce | e9e8ddfde10cced8ee69ee8c042e42e26dbd5b16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,856 | sce | Example6_7.sce | clear;
clc;
// Illustration 6.7
// Page: 207
printf('Illustration 6.7 - Page: 207\n\n');
// solution
//****Data****//
// Air
G_prime = 1.10;// [kg/square m.s]
viscocity_G = 1.8*10^(-5);// [kg/m.s]
ScG = 0.6;// [for air water mixture]
Temp1 = 273+20;// [K]
// Water
L_prime = 5.5;// [kg/square m.s]... |
0dfff271feb5b9a2e22995077d9787841d580f98 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH10/EX10.1/Ex10_1.sce | 6f97973749aec896370d9ed56ba776e5c7c498be | [] | 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 | 374 | sce | Ex10_1.sce | // Variable declaration
n = 100 // total person
x = 36
alpha = 0.05
// Calculation
p = (x) / n // probability
Z = 1.96 // Z value corresponding to alpha/2
val = Z*( sqrt( p*(1-p)/n ) )
lower = p - val
upper = p + val
// Result
printf ( "95... |
3c4c4494fe09867b609e9763aa9f9815f5e98891 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH18/EX18.2/18_2.sce | 84a14eca840bdbebd43191028ae430fe14da5956 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 18_2.sce | clc
//initialization of varaibles
ha=1187.2 //B/lb
sa=1.6026 //B/lb R
h3s=895 //B/lb
h1s=1090 //B/lb
p1=28 //psia
h2s=993 //B/lb
p2=6.2 //psia
n=0.65
//calculations
disp("From Table 3,")
h1=ha-n*(ha-h1s)
s1=1.65 //B/lb R
h2dash=1024 //B/lb
h2=h1-n*(h1-h2dash)
s2=1.706 //B/lb R
h3dash=953 //B/lb
h3=h2... |
fa63abc1a98e9ef11c136e60787c953eabdc6bae | a006a53d954de031fd82f26f4fc82c8fb610293c | /demos/toolbox_skeleton.dem.gateway.sce | c87ebadb8ba1b10c5525d5acbfeecf8950aba7f7 | [] | no_license | Siddharth11235/CSDP-basic | cba775450ad5f7271ecc00ada0831c3ed1518958 | 97c441b8a6eea4c6b4466c03828f048e2c0fc37a | refs/heads/master | 2021-06-20T23:43:51.881537 | 2017-07-17T12:30:00 | 2017-07-17T12:30:00 | 96,966,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | toolbox_skeleton.dem.gateway.sce | //
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function subdemolist = demo_gateway()
demopath = get_absolute_file_path("toolbox_skeleton.dem.gateway.sce");
subdemolist = ["sum with Scilab" ,"scilab_sum.dem.sce"; ..
"A c sum " ,"c... |
c6b656928d0042ddcab8e0c32726ab3fb974e951 | 15bd78a2bf248cadb3f74988a5a1ddd53a2d129a | /LangFiles/Level.03N/Scinc/BRIEF.SCI | 217fe3f971b2312e50e575ec7e7852dca7dcbb1d | [] | no_license | Marisa-Chan/RR2NW_ENG | e5bc85cd570b72ad60969811a626192be5a02bd5 | d0868db86db46ab1fe55cd80c85b67a299b95b24 | refs/heads/master | 2022-11-17T20:16:26.503539 | 2020-07-17T12:21:59 | 2020-07-17T12:21:59 | 280,207,135 | 0 | 0 | null | null | null | null | IBM866 | Scilab | false | false | 9,988 | sci | BRIEF.SCI | func void CreateProjectA37()
var int nNode;
{nNode:=p_AddPlayBriefing(s_PNodeNULL(),"Brief/ma37.txt");
nNode:=p_AddSuccessKill(nNode,"r.unit.ma37.rb00");
nNode:=p_AddSuccessKill(nNode,"r.unit.ma37.rb01");
nNode:=p_AddSuccessKill(nNode,"r.unit.ma37.rb02");
nNode:=p_AddSuccessKill(nNode,"r.unit.ma37.rb03");
... |
845d1cbcd8d746ddf4406b60571779c8b5d6e99d | bb3c300381ad1a419b5fb40891e830e534656595 | /test/testcases/good_get3.tst | d012076762ba9da7c860aecbe8217865924340fa | [] | no_license | DHorrible/visited_count | 60a082514dbce832fbd621223a44b0260300b34b | 5a7709b59c9feb2135844687d6303abb16991098 | refs/heads/master | 2021-04-17T00:41:52.110770 | 2020-03-24T22:53:14 | 2020-03-24T22:53:14 | 249,397,482 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | tst | good_get3.tst | METHOD='GET'
ARGS="${DATETIMES[0]} ${DATETIMES[2]}"
OUT='Status code is 200:
{"domains": ["test2.org", "test1.org"], "status": "ok"}'
|
30ec3044039c5ef34af6f0a1978cb23d44625736 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH7/EX7.6/Ch07Ex6.sce | d515921a7fa34dd52263b61300823e7fd806da24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,341 | sce | Ch07Ex6.sce | // Scilab code Ex7.6: Pg 244 (2005)
clc; clear;
Z_T = 88; // Atomic number of daughter nucleus
E_T = 4.05e+06; // Energy of ejected alphas, eV
R = 9.00e-15; // Nuclear radius, m
r_o = 7.25e-15; // Bohr radius, m
E_o = 0.0993e+06; // Energy analogous to the Rydberg in Atomic Physics
T_T = ex... |
e5b6fd59290f1ec23b45db2a4451d6ad8745797c | abdfb2db73e5240261372a514baa0c1a7bed7467 | /cudd-3.0.0/nanotrav/rcn25.tst | 89ab302542796daacbe0e9b42aa6a4b9d8979c71 | [] | no_license | steefbrown/ece6740 | 21001ca156e24e23b71d6b719f11010ba4ce2a40 | cefe8dd498c7849546ece98fbd4d70b844f2bd5c | refs/heads/master | 2021-01-01T05:23:01.008122 | 2016-05-09T19:16:56 | 2016-05-09T19:16:56 | 57,227,414 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,542 | tst | rcn25.tst | # Nanotrav Version #0.12, Release date 2003/12/31
# nanotrav/nanotrav -p 1 -envelope ./nanotrav/rcn25.blif
# CUDD Version 3.0.0
**************READING IN NETWORK***************
Number of inputs: 0
**************GENERATING NETWORK BDD***************
Printing the BDD for f: ptr to the nodes, T & E children
: 2 n... |
c3e6f24b76c969267c0605d9cd66bbb0e3727966 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH19/EX19.06/19_06.sce | 0c80d075c1f57d9a683c073edbfe9f07582099b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | 19_06.sce | //Problem 19.06: Three identical capacitors are connected in delta to a 415 V, 50 Hz, 3-phase supply. If the line current is 15 A, determine the capacitance of each of the capacitors.
//initializing the variables:
IL = 15; // in Amperes
VL = 415; // in Volts
f = 50; // in Hz
//calculation:
//For a delta conne... |
f6891ab887cee28900d9e0ed19d5d0f7ea41f668 | e3453beaa73d2e4954b140a35000f24fc7469ee9 | /duo-tests/game2.tst | 255f7e616ecb10569e55b313b060de52ad35bb01 | [] | no_license | andreaowu/Blokus | 608661195eb32e1f7434fb094350d7e984570ba7 | 5eeccfb22ca108f650992626b6ec6e9435845b83 | refs/heads/master | 2021-01-01T06:50:45.247554 | 2012-12-24T21:50:35 | 2012-12-24T21:50:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | tst | game2.tst | # A complete game between two human players (Orange should win).
stdin stdin - 1
-----
W000
W0b4
F332
F384
L564
L672
Y3a1
Z641
Z272
T315
P637
P230
X945
N070
Ic60
I8b1
Nb16
V725
t300
1974
i613
t904
Vbb3
sc12
T042
Y6c5
d2c7
id72
38c3
d024
2c03
33c5
1d56
2607 |
ffaacba2c87e9cb14bfa8eb7c51889a1cff86464 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.38/ex5_38.sce | f164fa64998d9ef313448108cc56e0d69e1cc4a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 806 | sce | ex5_38.sce | //Chapter-5, Example 5.38, Page 199
//=============================================================================
clc
clear
//INPUT DATA
Q=45;//quality factor
f1=600*10^3;//freq in Hz
f2=1000*10^3;//freq in Hz
//given new resistance is 50% greater than former.let us consider two reistances as R1=1 ohm and R2=... |
438c55dc6045da0498fab6ecd525beab86c8446d | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH2/EX2.6/2_6.sce | 4b1f59fb77fd30996edd75ab5309b594ae1e5dcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | 2_6.sce | //date in question
//transmitting antenna gain (dB)
Gt=37
// ground station antenna gain (dB)
Gr=45.8
//frequency of signal
f=20*10^3
//distance from ground station
R=36941.031
//data print
printf("\nGt=37\tGr=45.8\tf=20GHz\tR=36941.031km\n")
//equation and result
printf("\nresult:-")
Pt=10*log10(2000)
pr... |
6bfd5ae981bbb9a4bd6d5aac3f8155cc358bb9d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH9/EX9.15/9_15.sce | bbe9dca8873d04aa23b5bbd9f6db52cb5b69444a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | 9_15.sce | clc;
clear;
U=15;//ft/sec
b=96;//ft
c=7.5;//ft
W=210;//lb
CD=0.046;
eff=0.8;//power train efficiency
d=2.38*(10^(-3));//slugs/(ft^3)
//W=L
CL=2*W/(d*(U^2)*b*c);
D=0.5*d*(U^2)*b*c*CD;
P=D*U/(eff*550);//hp
disp(CL,"The lift coefficient=")
disp("hp",P,"The power required by the pilot=")
|
fb8c36edf11328c3939eca16cae906358cfdbaf9 | b3ed12dac3d0c424f7063f65a385da3bd57e8be5 | /cs240_final_proj/tests/small_puts.tst | e1753d22a6334aa7d953953d70393de73ad19e63 | [] | no_license | bmittelberger/dragonDB | ad11de6d7cae39d62931ed538c32086c158b474f | 2d68934ee60f2abf17f2955ddde56f1e4519687d | refs/heads/master | 2021-01-21T04:25:32.909884 | 2015-06-09T01:56:57 | 2015-06-09T01:56:57 | 35,913,708 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | tst | small_puts.tst | open dragon_store
puts 1 1
puts 2 2
puts 3 3
puts 4 4
puts 5 5
puts 6 6
puts 7 7
puts 8 8
puts 9 9
puts 10 10
puts 11 11
puts 12 12
puts 13 13
puts 14 14
puts 15 15
puts 16 16
puts 17 17
puts 18 18
puts 19 19
puts 20 20
close |
a65047caaf18db1cfd22dfbf0e85ae00a9bfebc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH1/EX1.52/Ex1_52.sce | bb16cbea1316085fe1e8458d43714dc5199cb05c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | Ex1_52.sce | clear
//
//
//
//Variable declaration
m1=15
n=5
m2=25
D15=0.62 //diameter of 15th ring(cm)
D5=0.3 //diameter of 5th ring(cm)
//Calculation
x=D15**2-D5**2
y=m1-n
z=m2-n
r=4*z/(4*y)
D25=sqrt((r*x)+(D5**2)) //diameter of 25th ring(cm)
//Result
printf("\n diameter of 25th ring is %0.3f cm",D25)
|
c341129e96aa7b2bf882f2a8a6ca1c1bad870d15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH4/EX4.9/ex4_9.sce | c6f7b40c47f1cf23ae1b1cc700d77d0556b8f01c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | ex4_9.sce | //Example 4.9
clc
//The scanf function
//a,b,c are integer type variables
printf("Enter value for a, b, c : ");
printf("\n [Enter integer values in single line seperated by spaces]) ");
[n,a, b,c]=mscanf("%3d %3d %3d");
printf("a = %d, b = %d, c = %d ", a, b, c);
|
491389530b12c30e3ee6a5800e3705907ee88700 | fea24f7af8a12a21720638210afda29963577146 | /fuzzy_logic_mandami/fuzzy_exercise/carro.sce | a56fc55ad0f1a66d959eee7f7036ecf260b63ce5 | [] | no_license | GabrielNegreirosLima/artificial-intelligence | 7418cb250910ff0638288bbf461d0a224af66783 | b5f88173bce9e4e43d8b38dcb2b0ae6879236c9d | refs/heads/main | 2023-09-02T23:52:32.909948 | 2021-11-21T18:54:50 | 2021-11-21T18:54:50 | 369,196,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | carro.sce | clc;
close;
fls=loadfls('carro2'); //carrega o arquivo carro2.fls diretamente no workspace para a variável chamada 'fls'
figure(1);
plotvar(fls,"input",[1 2]);
figure(2);
plotvar(fls,"output",1);
figure(3);
plotsurf(fls,[1 2], 1);
//scf();clf();
//plotsurf(fls,[1 2],1);
//scf();clf();
//plot... |
dbbfc5635592d708ac13a0674633410173dfe7b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH5/EX5.13/Ex5_13.sce | e77b1d298e7a0213d8b457418f87abc7fa05b57c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 830 | sce | Ex5_13.sce | // Example 5_13
clc;funcprot(0);
// Given data
h=100;// Height in m
A_n=1.0;// The area of the turbine jet stream in in^2
alpha=20;// The blade angle in degree
g=9.807;// The acceleration due to gravity in m/s^2
rho=1*10^3;// The density of water in kg/m^3
// Calculation
// (a)
V_n=sqrt(2*g*h);// The nozzle... |
de1a3efcd6c9917cbd35ef161be1418d522c1c9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH3/EX3.10/3_10.sce | 6b6ae0b5a2fd1b2d531e628fd9139f08c0ca5771 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,765 | sce | 3_10.sce | clear;
clc;
// Illustration 3.10
// Page: 199
printf('Illustration 3.10 - Page: 199\n\n');
// solution
//*****Data*****//
// From Example 3.7
X2a = 0.05; X0 = X2a; // [kmole benzene/kmole oil]
Y2a = 0.012; Y1 = Y2a; // [kmole benzene/kmole dry gas]
X1a = 0.480; Xn = X1a; // [kmole benzene/kmole oil]
Y... |
5bf56f54656c2f31e027b810dc41bc364c76f54f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/freq.man.tst | e88532fc55723c1867b898884c50fbe28ccfc35e | [
"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 | 212 | tst | freq.man.tst | clear;lines(0);
s=poly(0,'s');
sys=(s+1)/(s^3-5*s+4)
rep=freq(sys("num"),sys("den"),[0,0.9,1.1,2,3,10,20])
[horner(sys,0),horner(sys,20)]
//
Sys=tf2ss(sys);
[A,B,C,D]=abcd(Sys);
freq(A,B,C,[0,0.9,1.1,2,3,10,20])
|
5587b4f76e4c235bf64fb506c3b7929f9d67de29 | 4bb2823f42f3f993d59b12346565eb9c5fda8b87 | /plotPositions.sce | 87d448564ab16f0ccf6055dcf4800e31d0f0b7b6 | [
"MIT"
] | permissive | szotaa/random-walk | 4dd21aba5aa6c1f83a13e788be434579b884efd6 | 7b659722fe31badf1cc842d26aa740ebdf2f1f88 | refs/heads/master | 2020-03-23T03:19:13.124310 | 2018-07-15T12:28:01 | 2018-07-15T12:28:01 | 141,023,850 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | plotPositions.sce | /**
* Draws a plot with generated positions.
*
* @param generationMethod - callback used for points generation.
* Currently supported: generateGaussianPositions, generateFixedPositions, generateCauchyPositions
* @param amount - number of positions
* @author Jakub Szota
*/
function plotPositions(generationMethod, amo... |
de44c19e83bb7eeeaa527996c1b587bcb979d314 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/JY25NGP/ATWM1_Working_Memory_MEG_JY25NGP_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | 5d863b70401e4180e59af9d047c5f8175a954cd1 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,596 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
a48da6a381252e8df874238e9325c97fa7320ead | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH1/EX1.1.a/Ex1_1a.sce | 42161eb693768965e8d5cd5ccef881ad4d9dbfed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sce | Ex1_1a.sce | //Example 1-1 a, Page No - 14
clear
clc
c=300000000
f=150000000
wavelength = c/f
printf('Wavelength is %.3f meter',wavelength)
|
fd7785d0eb7c3ca3525a927180e820e8db63873a | 18bf68cdf766092ccdcba8d231e8140063833a5a | /UnitImpulseDT.sce | 91fd50c43de9611faebfa8d2f136cacca969ebfe | [] | no_license | goodengineer/Scilab-Exercises | b51cc9a4c938f0289a32875d2d21eb9061d0e68e | 3c268211fe48e7e4d0002e44757ea8b50cda10f9 | refs/heads/master | 2022-12-24T23:30:12.875423 | 2020-10-05T06:27:20 | 2020-10-05T06:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | UnitImpulseDT.sce | // Exercise - 9 : Unit Impulse Function for signals with discrete time
clear;
clf;
function y = unitImp_dis(n,adv) //adv is used to adv or delay the function
N = length(n);
y = zeros(1,N);
for i = 1 : N
if n(i)==-adv
y(i) = 1;
else
end
end
endfunction
dn = 1;... |
56a61695ef4d08ba08873a364966aa3de1baaed4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH5/EX5.8/Chapter5_Exampl8.sce | 9d29154c6ea7866d2c3205b2ff6a3873e3a55da4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,713 | sce | Chapter5_Exampl8.sce | clc
clear
//INPUT DATA
d=0.3;//bore length in m
l=0.4;//stroke length in m
N=300;//speed in rpm
g=1.4;//constant
n=1.25;//adiabatic compression constant
p1=1;//suction pressure
pd=5;//delivery pressure
m=1.5;//adiabatic constant
//CALCULATIONS
vs=(3.14*(d)^2*l*N)/4;//Volume of air compressed per min
pm=p... |
b08bd6a6d69ab5505a5e7f08492192e7f8943e8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH6/EX6.2/6_2.sce | 94a49c57288ced54fea5330808417a6f95440657 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | 6_2.sce | //Calculate Ratio of no. of vacancies
//Ex:6.2
clc;
clear;
close;
r=8.314;// J/mol K
t1=300;//in K
ent=168*10^3;//enthalpy of formation of vacancy in J/mol
x1=exp(-ent/(r*t1));//x1=n/Na
t2=1000;//in K
x2=exp(-ent/(r*t2));//x2=n/Na
rt=x1/x2;//ratio
disp(rt,"Ratio of no. of vacancies = "); |
0790303b01d6fa62ec008c8467ebb13ce43c9cb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH2/EX2.4.b/Solved_Ex2_4b.sce | 534c6e36b836d051db7c1c069f5d4b63a0b29c52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Solved_Ex2_4b.sce | //find power of periodic signal x(t)=exp(j(2t+pi/4))
clc;
//To plot signal*************************//
t=-5:0.01:5;
x=exp(%i*(2.*t+%pi/4));//given signal
plot(t,x);
//***************************************//
t=-50:0.01:50
x=exp(%i*(2.*t+%pi/4));
T=length(t);
//To calculate Energy
xsq=abs(x).^2;//adds squar... |
3f4de06b69c5c2ca388a6ddbf9839e512da27f3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH5/EX5.7/ex5_7.sce | 934d5c47c60029a7a8906189d438dd538d2c8605 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | ex5_7.sce | // Exa 5.7
clc;
clear;
close;
// Given data
C = 220;// in µF
C = C * 10^-6;// in F
R1 = 10;// in kohm
R1 = R1 * 10^3;// in ohm
R2 = 2.2;// in kohm
R2 = R2 * 10^3;// in ohm
R_TH = (R1*R2)/(R1+R2);// in ohm
X_C = 0.1*R_TH;// in ohm
f = 1/(2*%pi*C*X_C);// in Hz
disp(f,"The lowest frequency in Hz is");
|
95543bdfc2f7318402a96ccd18811fa45d8e213e | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH1/EX1.5/1_05.sce | f44bb5b3f862c5ee736140c10f235d5e49dc3167 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,151 | sce | 1_05.sce | pathname=get_absolute_file_path('1_05.sce')
filename=pathname+filesep()+'1_05data.sci'
exec(filename)
Ex= (1/E)*(Sx-v*Sy);//εx
Ey= (1/E)*(Sy-v*Sx);//εy
G=E/(2*(1+v));//shear modulus
Gxy=Txy/G;//γxy
printf("\n εx: %f",Ex);
printf("\n εy: %f",Ey);
printf("\n G: %f",G);
printf("\nγxy: %f",Gxy);
PE1=(Ex+Ey)/2 ... |
8c2b62b3b753fe50e79ce07d8963a88d7c5da68a | c309ed48cd8f4799356d285f7307abbd8916a58e | /image_logs/chapter1.ppm | ecf6d42406e4fcba3c98b92f9d28b4afbce30d48 | [
"MIT"
] | permissive | nwtgck/ray-tracing-iow-rust | a9447f6e982fe25691a4da91e28a4f9b9e0a6df4 | a936d7f15a0adfbcb334a084333be5988f6f0185 | refs/heads/develop | 2022-12-23T18:49:25.617137 | 2022-01-16T04:21:03 | 2022-01-16T04:21:03 | 193,943,027 | 85 | 7 | MIT | 2022-12-11T21:03:20 | 2019-06-26T16:41:41 | Rust | UTF-8 | Scilab | false | false | 202,515 | ppm | chapter1.ppm | P3
200 100
255
0 253 51
1 253 51
2 253 51
3 253 51
5 253 51
6 253 51
7 253 51
8 253 51
10 253 51
11 253 51
12 253 51
14 253 51
15 253 51
16 253 51
17 253 51
19 253 51
20 253 51
21 253 51
23 253 51
24 253 51
25 253 51
26 253 51
28 253 51
29 253 51
30 253 51
31 253 51
33 253 51
34 253 51
35 253 51
37 253 51
38 253 51
39 ... |
60872a87ed296cfbe0788ace62d6ad46fe87fe53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH1/EX1.10/Ex1_10.sce | 0022b95956c218fcc077d5136af9c6399942ef43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | Ex1_10.sce | //exa 1.10
clc;clear;close;
format('v',6);
E=438*10^4;//kWh
LF=20;//% annual
CF=15;//%//Capacity Factor
Lmax=E/(LF/100)/24/365;//kW
Lmax=Lmax/1000;//MW
C=Lmax/CF*LF;//MW//Plant Capacity
disp(C,"Plant Capacity(MW): ");
RC=C-Lmax;//MW//Reserve Capacity
disp(RC,"Reserve Capacity(MW) : ");
|
8f863ea5d075b8bcbc15a1b7a43cc1d9984f5131 | a1161d9e9d26e0a7b20c31269be145f13d9d3e89 | /QA/tests/water/water_md.tst | ce7d8dec5fd88e7a43a81ffbf9a89d95661a50d2 | [
"LicenseRef-scancode-warranty-disclaimer",
"ECL-2.0"
] | permissive | nwchemgit/nwchem | c06e7e1fe11b3afad17b167f29a97c4fa3ad0fda | c5a8125298a6ea7d6eb27b07c196ea8041aa7198 | refs/heads/master | 2023-09-05T17:18:34.513866 | 2023-09-02T02:56:47 | 2023-09-02T02:56:47 | 111,318,191 | 425 | 164 | NOASSERTION | 2023-09-11T16:34:14 | 2017-11-19T17:48:21 | Fortran | UTF-8 | Scilab | false | false | 1,500 | tst | water_md.tst | Time = 0.001
Temperature = 302.88
Volume = 0.00
Pressure = 7.35E+07
Energy = 0.000E+00
Time = 0.002
Temperature = 303.91
Volume = 6.48
Pressure = 7.18E+07
Energy = -7.420E+03
Time = ... |
084a1f989dc6a133db0f9071d2e6a90c36e0b4f2 | 7e1e4a48669269c24f7f72b2fd417244582adada | /testData/4-10-3-IRIS/100-50-100/tt.tst | 969955597ed507bb0a3753a55d11689152f875a8 | [] | no_license | leonfg/epiphanyANN | c57f9bbaba7a6a735c67155176fae7c001611036 | 3655952491b5bc7ee63f902135c7d967ac6433c4 | refs/heads/master | 2016-09-14T22:47:59.263536 | 2016-04-05T12:00:37 | 2016-04-05T12:00:37 | 55,205,571 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,127 | tst | tt.tst | networkTopology(3;4,10,3)
inputOutputVector(5.700000,2.600000,3.500000,1.000000;0,1,0)
inputOutputVector(6.800000,3.000000,5.500000,2.100000;0,0,1)
inputOutputVector(6.300000,2.300000,4.400000,1.300000;0,1,0)
inputOutputVector(6.500000,3.200000,5.100000,2.000000;0,0,1)
inputOutputVector(5.800000,2.700000,5.100000,... |
90cd05e66f5ce29355626b462bbd468f0754443a | ff0f2f0553307972877bbd4f9acb9751263b2920 | /Sem2_Mathe/All/3D_Aufgabe_1.sce | 9382d54bbfc3f22d8789908bf80e7786d3bf2694 | [] | no_license | 42ow0rm/UNI | 78b4bbc339cffb7124e5c8112827bec5a4799b7c | 56a5a1429a458544f5a33e3480f51c03849872f7 | refs/heads/master | 2020-03-31T22:34:19.230790 | 2019-01-03T20:00:27 | 2019-01-03T20:00:27 | 152,623,141 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | 3D_Aufgabe_1.sce | //Aufgabe 1
x = -3:3;
y = -3:3;
[X, Y] = meshgrid(x, y)
X_2 = X.* (-4)
//F = exp(-(X.^2 + Y.^2));
F = X_2.* exp(-(X.^2 + Y.^2));
//F = X.* (-4) * exp(-(X.^2 + Y.^2));
mesh(X, Y, F);
//Achsenbeschriftung
a = gca(); //
a.font_size = 2; //Schriftgröße für x,y,z scala
xlabel('x-Achse',... |
e9530d1abf7fc55ef42dde03c0ec26b9ed0c8c62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH3/EX3.6/Ex3_6.sce | 60066ee249d31c8deb8e3732c45ceecb0470cf14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | Ex3_6.sce |
//Exa:3.6
clc;
clear;
close;
//Given:
dev=100;//in KHz
mod_f=15;//in KHz
m1=dev/mod_f;
m2=3*dev/mod_f;
t=m1/m2;
printf("\n modulation index = %f ",m1);
printf("\n modulation index = %f ",m2);
printf("\n when deviation is tripled m becomes = %ftimes ",t); |
3922246bf848677ecb0e6b60b8ee6099e52a4afa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH19/EX19.2/Ch019Ex2.sce | c82160bdac64c37d9f547b3e4287d315514ba60a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 622 | sce | Ch019Ex2.sce | // Scilab Code Ex19.2: Page-959 (2011)
clc; clear;
T_c1 = 4.153; // Critical temperature of mercury for its one isotope, K
M1 = 200.59; // Mass of first isotope of mercury, amu
M2 = 204; // Mass of second isotope of mercury, amu
// From isotopic effect of superconductivity,
// T_c2/T_c1 = sqrt(M1/M2... |
29f7ccee2614849658f6b97a9e79e04c350f106d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH20/EX20.3/eg20_3.sce | d2d7631373cea0d22f9c3f20056373a76e796e72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | eg20_3.sce | clear;
//clc();
z1=100;
z2=600;
z3=1000;
ef=1000;
et=2*ef/((1/z2 + 1/z3)*100 +1);
er=et -ef;
printf("The reflected voltage in the line is:%.0f V\n",er);
i1=et/z2;
i2=et/z3;
i=i1 + i2;
printf("The current in the cable is:%.2f A\n",i);
|
11bb93cfd61b0f7345e40b9353c80adbd7fcaf87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH7/EX7.15/715.sce | 157e2ce726c0b0b0b08450ff30b9eae4f5d43e6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 163 | sce | 715.sce | // problem 7.15
Q=20.2
i=1/2500
C=60
n=1/(tand(60))
a=(3^0.5)
d=((Q*(2^0.5))/(C*a*(i^0.5)))^0.4
b=2*d/(a)
disp(d,b,"dimension of the cross section in m")
|
d28ea51286d73fe7f085d69b00da7fd478156548 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH8/EX8.4/Ex8_4.sce | 7c33ad19ca349d8bf906b9b68817dcce7f2b4e2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,753 | sce | Ex8_4.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 8 Example 4")
disp("Let us assume that the condensate leaves condenser as saturated liquid and the expansion in turbine and pumping processes are isentropic.")
di... |
21d55fa8fd38fceaf76fee5f868735126550985f | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH7/EX7.16/7_16.sce | 633449c76c25c9910680025ba8374cbfd36334d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sce | 7_16.sce | Pl1=1500
f1=50
Pl2=3000
f2=75
Y=[1,f1;1,f2]
X=inv(Y)*[Pl1/f1;Pl2/f2]
Ph1=X(1)*f1
Pe1=X(2)*f1*f1
Ph2=X(1)*f2
Pe2=X(2)*f2*f2
disp(Ph1,Pe1,Ph2,Pe2) |
debcc1bd0f4b4666dd34540555b8a41523b85d44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH22/EX22.6/Ex22_6.sce | b8b227de3e3fd042416f07135733f39415e4b3be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | Ex22_6.sce | //Example 22.6
B=2*5*10^-5;//Magnetic field strength (twice that of Earth's) (T)
r=5*10^-2;//Distance (m)
mu_0=4*%pi*10^-7;//Permeability of free space (T.m/A)
I=2*%pi*r*B/mu_0;//Current (A)
printf('Current in the wire = %0.1f A',I)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11... |
698689bd24c85ff630b94d7a144085110c8f75b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH13/EX13.12/Example13_12.sce | 69aab76867b99956a4ce64f8d084e3684d9ef0b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,025 | sce | Example13_12.sce | ////Chapter 13 Steam Engines
////Example 13.12 Page No 291
///Find Indicated power of steam engine
//Input data
clc;
clear;
D=700*10^-3; //Steam engine diameter in mm
L=900*10^-3; //Steam engine diameter in mm
Ip=450; //Develop indicated power Kw
N=90; ... |
34c7e359d295f19b689b8692354562209130ff3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH4/EX4.6/6.sce | c6f07d8d58c5e0b504b3bdf563f979b7807d6d05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | 6.sce | clc
clear
//INPUT DATA
d=0.03205*10^-3//distance of movable mirror displaced in m
w=580.9*10^-9//wavelength of light in m
//CALCULATION
n=(2*d)/w//number of fringes shifted across the cross wire of eye piece of the telescope
//OUTPUT
printf('The number of fringes shifted across the cross wire of eye piece o... |
528b77f40368bcf0e790adbdf7b65d449b4cbce7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH10/EX10.17/example10_17.sce | 041a06d294bed4fbb8edcb9666d20d85604baa83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | example10_17.sce | v1=8;
v2=20;
r1=1;
r2=2;
r3=3;
r4=4;
r5=5;
i1=2;
vx=(i1-v2/r5+v1*r4*(1/r4+1/r5)/(r1+r2))/((1/r3+1/r4+1/(r1+r2))*(1/r4+1/r5)*r4-1/r4);
vy=r4*((vx*(1/r3+1/r4+1/(r1+r2)))-v1/(r1+r2));
i4=(vx-vy)/r4;
disp("the current (in mA) flowing through R4 is"); disp(i4);
disp("and the direction is left to right"); |
9e6ab411dc9286c659f20405af5c3d7adb6ebc4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3433/CH2/EX2.3/Ex2_3.sce | b72f134498e893b73744d734d886230eb9af2acf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | Ex2_3.sce | clear;
clc;
funcprot(0);
//given data
N = 300000;//in rpm
Q = 10;//in L/min
p01 = 3;//in bar
T01 = 300;//in K
p02 = 1;//in bar
rho = 1.16;//in kg/m^3
Cp = 1005;//in J/(kg.K)
gamma = 1.4;
//Calculations
N = N/60;//in rev/s
Qe = Q/(1000*60);
delh0s = Cp*T01*(1-(p02/p01)^((gamma-1)/gamma));
Ns = N*sqrt... |
9cc1e41a3fec20b4d9cd9b915bc0b39e2955600c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH18/EX18.1/Ex18_1.sce | c25290b01d6327d488218d148eb9684182ab550d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | Ex18_1.sce | //Ex18_1 Pg-901
clc
Vs=12 //supply voltage in V
Vd=2 //forward bias voltage in V
Id=20*10^(-3) //forward bias current
Rs=(Vs-Vd)/Id //source resistor
printf("Source resistance = %.0f ohm \n",Rs)
P=Id^2*Rs //power
printf(" Wattage rating = %.1f mW",P*1e3)
disp("Therefore a standard size 0.25 watt = 250mW ... |
da93f040ef682074fcd48d093f462cb62dbf1014 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH3/EX3.1/Ex3_1.sce | 7fb744deb24d3b50a9634ab92ae1175630d1414a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | Ex3_1.sce | //Chapter 3
//Closed loop gain
//page 75
//Example no 3-1
//figure 3.4
clc;
clear;
Aol=200;
f2_ol=10000; // in Hz
B=0.04;
Asp=Aol/(1+B*Aol);
printf("\n Asp %.2f \n ",Asp); //Result
printf("\n Approximately Asp =1/B equal to %.0f \n",1/B);//result
S=Aol/Asp;
printf("\n S =%.0f \n",S);
f2_s... |
10e17ca16704b248e99b033b42a9629aa854558b | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.101/Ex101.sce | c03d770f2f0e13d069025ba07db1933a11cdcd0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex101.sce | //Ex:101
clc;
clear;
close;
p_t=10*log(500)/log(10);// in dbW
g_t=60;// in dbW
e_irp=p_t+g_t;
e_p=ceil(e_irp);
B_oi=1;// input back_off in db
e_s=e_p+B_oi;//saturation EIRP in dbW
printf("The saturation EIRP=%d dbW", e_s); |
4bf4b1417c6b3c02d5747c85757e01215414ddf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH6/EX6.9/ex9.sce | 394f547c23f22c6f34f2ce89c36a1c2127eeaec8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,529 | sce | ex9.sce | // Example 6.9: Analysis of CMOS CS amplifier
// Consider CMOS open source amplifier
I_D=100*10^-6; // (A)
I_REF=I_D;
uC_n=387*10^-6; // u_n*C_ox=uC_n (A/V^2)
uC_p=86*10^-6; // u_n*C_ox=uC_n (A/V^2)
W=7.2*10^-6; // (m)
L=0.36*10^-6; // (m)
V_An=5*10^-6; // (A)
R_sig=10*10^3; // (ohm)
V_OV=sqrt(2*I_D*L/(W*uC_... |
93a30b3ed04ea96fda7b0637aac510109ca22c82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH10/EX10.2/Ex10_2.sce | e9344ff4f6a1d8b9f0ec69c1434cb728be1c2edc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,147 | sce | Ex10_2.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 10 : SYNCHRONOUS MOTOR
// Example : 10.2
clc;clear; // clears the console and command history
// Given data
kVA = 1200 // kVA ratings
V = 14*10^3 // supply voltage in V
R_r = 4.8 // per p... |
81fd6480e37bfdd6a9c448076c15470e7cbce00a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH2/EX2.4/4.sce | 20be00e1e0d90c2f6c1a6a34434e47e3be86f152 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | 4.sce | clc
m=10; // kg
M=80; // kg
H=1.5; // m
rho=1026; // kg/m^3
g=9.81; // m/s^2
d=1; // m
// m*H + M*H/2 =(M+m)(OG)
OG=(m*H + M*H/2)/(M+m);
// For vertical equilibrium, buoyancy = weight
h=(M+m)/(rho*%pi/4*d^2);
BM=(%pi*d^4/64)/(%pi*d^2*h/4);
OB=h/2;
GM=OB+BM-OG;
disp("GM =")
disp(GM)
disp("m... |
02b0d4bcda543e42880b0007e306f7c9698ea070 | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH12/EX12.14/ex12_14.sce | 7e158426124858b8431612def7305c7e0f3a9687 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | ex12_14.sce | A=[0 1 0;0 0 1;0 -2 -3];
B=[0;0;1];
C=[3 4 1];
P=obsv_mat(A,C);
disp(P,"Observability Matrix=");
d=det(P)
if d==0
printf("matrix is singular, so system is unobservable");
else
printf("system is observable");
end; |
4e1d51ecf0810ddd812ff1c63bc14b4ac74a450b | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /codeforces.ru/62D, Two from three/java/problem/test-02.tst | bc6916fe0a1c6ef07ffa8fb61de2501796d7039e | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 51 | tst | test-02.tst | 5
2 4 3 1 4
~~~~~~~~~~~~~~~~~~~~~~~~~~
8
1 3
2 5
4
|
c2f3487915284f7c260413191ab3cbe17abd1df5 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/gcc/testsuite/ada/acats/tests/c2/c23003g.tst | 5769937adc9c4b34a2b0e7b5a2aa65a2a4401519 | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"FSFAP",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | Scilab | false | false | 2,674 | tst | c23003g.tst | -- C23003G.TST
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
ff37dfb1a6bd98dbd1ae741b021c6385ac5a4360 | b513eb49824ff62ddd2289a920c92cfcb362d5f2 | /magister/course_1/ushakov/scilab/problem7_expr.sce | 6919d6437f52cc4874ab38f1d06670038f483660 | [] | no_license | kirillin/ifmo | 6264ac42ec2031777145b39d4930f2f645e1d316 | 633919ba09d43814298c3a2145d5d6f72b5b068e | refs/heads/master | 2021-01-12T09:32:27.270130 | 2018-11-18T12:17:46 | 2018-11-18T12:17:46 | 76,181,268 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 900 | sce | problem7_expr.sce |
/*
A0
[[ 0. -0.67361111 0.04050926]
[ 1. -2.64953704 0.30381944]
[ 0. 0. 0. ]]
udA
[[ 0. -0.45138889 -0.02199074]
[ 0. -1.77546296 -0.16493056]
[ 0. 0. 0. ]]
odA
[[ 0. 0.45138889 0.02199074]
[ 0. 1.77546296 ... |
714021672a53cefeeff85f5e6f3462fa63c6b6f9 | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH3/EX3.2/ex3_2.sce | 51df5ebfcc5d6d880cfaac610329d709023cd945 | [] | 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 | 545 | sce | ex3_2.sce |
//part a
T=2e-6;//given time
fi1=1/T;//frequency of first harmonic
fi3=3/T;//frequency of second harmonic
fi5=5/T;//frequency of third harmonic
disp(fi1,'value of first odd harmonic=');
disp(fi3,'value of second odd harmonic=');
disp(fi5,'value of third odd harmonic=');
//part b
A=10;
n=1;
Vn1=(2*A)/(n*%pi... |
965962a8d87d9dab1e53205687041ec8b3398f4e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/demos/scicos/scicos_learn.sci | 3029b5737dfc66791c95c13c014f32361b5d0091 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 2,904 | sci | scicos_learn.sci | function scicos_learn(fil)
funcprot(0);
comm='/'+'/'
x_mdia=funptr('x_mdialog')
c_cho=funptr('x_choose')
xcli=funptr('xclick')
xgetm=funptr('xgetmouse')
clearfun('xclick');newfun('xclick1',xcli);
deff('[c_i,c_x,c_y,c_w]=xclick()',[
'[lhs,rhs]=argn(0)'
'if lhs==3 then '
' [c_i,c_x,c_y]=xclick1()'
' wr... |
0846850e248acc5ebe8a19ea8976266383e37a2c | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Sem Interface Grafica/Engine/C0_INIC.sce | 469ecf2b18e2caf211e18203cb26d3eebf3974bf | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 888 | sce | C0_INIC.sce | // PROGRAMA PRINCIPAL
// Primeiro programa a ser executado
// Esse código é usado para limpar a tela e as variáveis atuais do software
// Além de executar as rotinas separadas em cada arquivo
clearglobal
clear
close
clc
// Escolha do algoritmo de integração
mprintf("Escolha algoritimo de integracao");
mprin... |
92416997081fe408aac60b97c983d7af83c54687 | ca10ed224d8cd7295e60f1c02ea92a812038e28e | /Gaussa_new.sci | 57d203fa53760a9f55583ce2a2258508ac09dc2b | [] | no_license | Winchester12/matlab | f0a77c5eeaabe17b2f699468e8b4229ee71789c4 | 662098338d7b0f1a7a9ed9908202ef36c9d7bcbe | refs/heads/master | 2021-05-15T13:51:23.852649 | 2017-10-17T07:44:47 | 2017-10-17T07:44:47 | 107,234,797 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 646 | sci | Gaussa_new.sci | function y = Gaussa_new(a, n, m)
for i = 1:n
for j = i:n
if (j ~= i) z = (-1)*a(j, i) / a(i, i);
else z = a(i, i);
end
if (z ~= 0)
for k = i:m
if (j == i) a(j, k) = a(j, k) / z;
e... |
3462d2b91a445794580e169003f44fd92598c5ef | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/gr_harm_easa/resources/solvege_grobj.sce | 93fae3e31c9fd47a8aa3694c08ff5eb5393119d3 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sce | solvege_grobj.sce | function [t00,txx,txy,txz,tyy,tyz,tzz,alp]=solvege_grobj(nobj, objpos, objvel, ...
nx,ny,nz,...
dt,dx,dy,dz,...
x,y,z,r,psi,...
alp,cux,cuy,cuz,rg,...
uxx,uxy,uxz,uyy,uyz,uzz,...
gxx,gxy,gxz,gyy,gyz,gzz,...
qxx,qxy,qxz,qyy,qyz,qz... |
0a743de88ab3ee5ea0115b343753f10498980ef8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH7/EX7.5/ex_5.sce | ebf33b0dac59c51b7fda00699c538936f2f3e085 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | ex_5.sce | //Example 5 // Frequency
clc;
clear;
close;
//given data :
n1=256;// in Hz
x=4;// in beats per sec
n2a=n1+x;
n2b=n1-x;
disp(n2a,"The frequency,n2a(Hz) = ")
disp(n2b,"The frequency,n2b(Hz) = ")
|
0f199b8a38edcc1e63974c3a131eca07a4caf55a | ed58f6c9bdf9eb17094d5539044c81165230563f | /data/mds/01-crud-followed-by-read.tst | 0be0a950ce1977cae89c8fb47e143ccae0bebe57 | [
"MIT"
] | permissive | joeatbayes/http-stress-test | d10bdb028e5bdc80959f3d1a71a280c23be86f6b | f53789928714fbb62de6c9ebf1184a16d9eb4005 | refs/heads/master | 2021-07-18T16:23:05.953472 | 2020-06-09T03:21:40 | 2020-06-09T03:21:40 | 176,176,023 | 5 | 4 | MIT | 2020-02-07T12:33:05 | 2019-03-18T00:09:11 | Go | UTF-8 | Scilab | false | false | 4,203 | tst | 01-crud-followed-by-read.tst | # Add Data to MDS repository including using Custom
# headers. Then read back portions of that data
# to demonstrate that the data previously written
# is available. Demonstrates custom headers and
# RE positive matching and RE Negative matching
# Also demonstrates advanced use of #WAIT to ensure
# CRUD opratio... |
3aa382c3c611de771159911e754b5be4c2296bc6 | 3fb2b65e8ef9208e822aad35c618441282e08a30 | /MetodeNumerik/sbalik.sci | 41855d6b911349cf9b8e33f949aa1bbf4aabc6da | [] | no_license | Lukmannudin/TugasKuliah | 33031fb4f6ff0ab7a5849cda3ea15330e2527c3f | 19738c858dea539f0a5569f27be68b1a56c2aa89 | refs/heads/master | 2020-03-07T15:49:59.414761 | 2018-06-09T07:41:39 | 2018-06-09T07:41:39 | 127,565,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sci | sbalik.sci |
function hasil = sbalik(A,b)
[m n]=size(A);
x(n)=b(n)/A(n,n);
for k=n-1:-1:1
jum =0;
for j=k+1:n
jum=jum+A(k,j)*x(j);
end,
x(k)=(b(k)-jum)/A(k,k);
end
hasil=x;
endfunction
|
e6a1b38a371c0b7086bc95ce250a639bb972b6ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH22/EX22.8/22_8.sce | e8906abb8d2e87d34d875e58d9914dfcf8eb35a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 22_8.sce | //ques-22.8
//Calculating radius of sodium atom
clc
a=429;//cell edge /(in pm)
r=sqrt(3)*(a/4);//atomic radius
printf("The radius of sodium atom is %.0f pm.",r);
|
3a37c26cf0c2eb44cdc48a56eeb86a13287fcddb | 002b6230874dea6e4d76defafc1ae293b5744918 | /solvers/IncNavierStokesSolver/Tests/ChannelSpongeLNSE.tst | d81723ad4bfb34a6410ad785b25c87b0cd3080ce | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 824 | tst | ChannelSpongeLNSE.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Linearized Channel Flow P=11</description>
<executable>IncNavierStokesSolver</executable>
<parameters>ChannelSpongeLNSE.xml</parameters>
<files>
<file description="Session File">ChannelSpongeLNSE.xml</file>
</files>
<metrics>
... |
50df833f78e153285bb38f8acc33118c9c4f2c8f | 475a9e3173cbf116c786e8a60b1323f29f10a134 | /askmod.sci | dff54b153845c417d6aea01086d0c874a844d50d | [] | no_license | jatinmandav/Sci-Lab-Implementations | bee5e375735ca0ebee9fd7afa69ddddbdadb5e3c | d1f65da040022b785763fe74d4b49468dc6078f3 | refs/heads/master | 2020-03-10T06:35:07.107772 | 2018-04-12T19:13:37 | 2018-04-12T19:13:37 | 129,242,875 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sci | askmod.sci | /*
* By: Jatin Kumar Mandav
*
* ASK Modulation
*
* Inputs: Data or Digital Information Signal.
* Carrier Signal Frequency, Carrier Frequency Amplitude
*
*/
function [] = ask_mod(data, freq_carrier, amp_carrier)
t = [0:0.001:1]
carrier_signal = amp_carrier*sin(2*%pi... |
98828e9a722e7487365424e227ecf5d70b123121 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH6/EX6.4/ex6_4.sce | 488c35d86070b2474e34df7d133a37742e26ffcd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 710 | sce | ex6_4.sce | // Example 6.4, page no-231
clear
clc
R=42150 //orbital radius of satellite
oi=0.25/100 // orbit inclination
acc=0.3 //error of 0.3 degree
c=3*10^8 // speed of light
x=oi*R
x=ceil(x*10)/10
y=R*2*%pi*acc/360
y=ceil(y*10)/10
z=sqrt(x^2+y^2)
z=ceil(z*10)/10
delay=z*10^6/c
delay=floor(delay*1... |
8389113d7fdb86a85e722bc6c1fbab37947921ad | fbd17575bab2ee4dc49cc7d13b5b94d24ab9482c | /TP5/courbe_ex2.sci | d1d68d6b6a0d88c08f2984efe246f4a5768841fb | [] | no_license | 1saac-W/MT09-Analyse-Num-rique | 05b509981dfa00e3b7b550716b1487cbbf0a3fed | 0853f8053254f5dd23179073187ada3d936aff84 | refs/heads/master | 2020-09-27T04:34:36.549125 | 2020-01-05T16:02:18 | 2020-01-05T16:02:18 | 226,431,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sci | courbe_ex2.sci | function courbe(N)
x1 = linspace(-3,3,N);
t = linspace(0,2*%pi,N);
p = 2*cos(t);
q = 2*sin(t);
plot(p,q,'-');
plot(x1,exp(x1),'-');
endfunction
|
caa0b60638af13fcfa6b99d256e9260726e775ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH5/EX5.11/5_11.sce | 5df293083477d86d48c7340fab3f045c1604056f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 824 | sce | 5_11.sce | //Problem 5.11: For the series-parallel arrangement shown in Figure 5.19, find (a) the supply current, (b) the current flowing through each resistor and (c) the p.d. across each resistor.
//initializing the variables:
R1 = 2.5; // in ohms
R2 = 6; // in ohms
R3 = 2; // in ohms
R4 = 4; // in ohms
Vt = 200; // in ... |
0245750392c1114ddb094881d752d1cf58dc77b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH7/EX7.15/Ex7_15.sce | 66bf6740020f8c9de428d6445d7292f91498bf22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | Ex7_15.sce | clc
//Chapter7
//Ex_15
//Given
P=380*10^-6 //in C/m2/K
c=380//in J/Kg/K
//let epsilon=E
Eo=8.85*10^-12 //in F/m
Er=290
rho=7000//in Kg/m3
delta_V=0.001 //in V
delta_t=0.2 //in seconds
I=(P/(rho*c*Eo*Er))^-1*delta_V/delta_t
disp(I,"Minimum radiation intensity that can be measured in W/m2 is")
|
498ec56bf9b3f30514cf0b3804846383f399e401 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_4/imagen.sce | 7a83f6d1419103f5d96842bd3faac3292ef4cf94 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | imagen.sce | function bool = frobenius(A,b)
[m,n] = size(A)
disp(m, "m:")
Au = [A b]
ranA = rank(A)
ranAu = rank(Au)
disp(ranA, "Rango Matriz Coeficientes")
disp(ranAu, "Rango Matriz Aumentada")
if ranA == ranAu then
if ranA == m then
disp("El sistema es compatible determinado"... |
3bf5e87195283319e7b8130a1a4aa51e6e2f52c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH11/EX11.1/Ex11_1.sce | d0a29f77adde266d2608d658ed588cb7f05d329b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | Ex11_1.sce | //Book Name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 11
//example 11.1
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
Kphi=3; //constant in Vsec
Ra=1; //resistance in ohm
La=10; //inductance in mH
V=600; ... |
98956e86215388157255fb02bf51770914cb3938 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH1/EX1.24/ex24.sce | 8ef5f9c3ee6eaf3b78feb46ae7025145c5a32b50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex24.sce | clear
clc
xset('window',2)
xtitle("My Graph","X axis","Y axis")
x=linspace(1,3,30)
y1=x
y2=sin(x)+%pi/2
plot(x,y1,"o-")
plot(x,y2,"+-")
legend("x","sin(x)+%pi/2")
disp("from the graph,it is clear that the point of intersection is nearly x=2.3 ") |
52038d11c4e5356476911a54436ddfff59d1f8b8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Engineering_P._Raja_2150.zip/Electronics_Engineering_P._Raja_2150/CH4/EX4.29/ex4_29.sce | 232d77975fca1d1722507fe7680044028221c5ac | [] | 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 | 177 | sce | ex4_29.sce | errcatch(-1,"stop");mode(2);// Exa 4.29
;
;
// Given data
I_E = 10;// in mA
I_C = 9.95;// in mA
I_B = I_E-I_C;// in mA
disp(I_B,"The base current in mA is");
exit();
|
9e0dcde6d31903e5d544e0bb680cc260318edf75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH15/EX15.4/EX15_4.sce | dc30e09425339f42096ff3f51066966ed1160a7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | EX15_4.sce | //Finding of Speed
//Given
k=1.4;
R=287;
T=233;
M=1.8;
//To Find
C=sqrt(k*R*T);
C1=C*(18/5);
V=C1*M;
disp("Speed of Aeroplane ="+string(V)+" Km/hr");
|
2e458ead7874ebef825e3e53bc5792881e6a82f2 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/wrev.sci | a01ed775769144d05d94ef21ddc42d81e7c4dcb7 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sci | wrev.sci | function [y]= wrev(x)
// Reverses order of elements of input vector
// Calling Sequence
// [y]=wrev(x)
// Parameters
// x: Input vector of string, real or complex values
// Description
// This is an Octave function.
// This function reverses the order of elements of the input vector x.
// Examples
// 1. wrev([1 2 3])
... |
2ebaf39481f09946b0a67f086aca2bf5d785d824 | 907fd362201550b22a34fd86da169fde9a73aeb7 | /test/Test.tst | f66415ed4ed97b58411bb7556580a08f3bf8ec28 | [] | no_license | FormMe/Test2Gis | 04f87d7327638671362176c75d4bc88e61569de6 | 477572d82c3688b77d363c7d3ee0a052c8070e95 | refs/heads/master | 2021-01-01T03:49:14.449648 | 2016-05-04T09:25:50 | 2016-05-04T09:25:50 | 58,035,730 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 58 | tst | Test.tst | mothersddsds dsfdfdsfdsmother
dsddssmother mo
ther dssdsd
|
8648836d485ea8a2c2b649883262236d1ada71a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH8/EX8.3/EX3.sce | 3b7aa6f724fb981f5c2e1774000c0795a994da0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | EX3.sce | // Example 8.3: gm, µ, Ri, Ro, AV
clc, clear
VGSQ=-2.6; // in volts
IDSS=8; // in mili-amperes
Vp=-6; // in volts
rd=50; // in kilo-ohms
// From Fig. 8.11
RD=3.3; // in kilo-ohms
RG=1; // in mega-ohms
RS=1; // in kilo-ohms
gmo=2*IDSS/abs(Vp); // in mili-ampere per volt
gm=gmo*(1-VGSQ/Vp); // in mili-ampere p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.