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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0100b5ce113d0efa16ca193bf957f897c736599a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH6/EX6.17/Ex6_17.sce | a6c7aa5f8b7b46795a24b31fa03b020eec02cd87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_17.sce | clc,clear
//Example 6.17
//to express an equation in polar coordinates
RHS=9 ;
//Note that LHS is basically an equation of circle
//But at any instant , it is numberically same as 9
LHS_numerically=RHS ;
r=sqrt(LHS_numerically) ;
printf('The equation in terms of polar coordinates is : r =%.0f',r)
|
c8b45212a21981c415e68d28625fe4fa0ef6d4c9 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rc2poly/rc2poly5.sce | 58b94aa57b48dfbf7178e2bdb28d1d39c9d00341 | [] | 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 | 149 | sce | rc2poly5.sce | //check o/p when null vector is passed as i/p
X = [0 0 0 0 0 0];
[a] = rc2poly(X)
disp(a)
//output
// 1. 0. 0. 0. 0. 0. 0.
|
ed8b17807e7cfada3a2f9a565322580f5bb01571 | d7087cf730b37f76170323e080c090f8094979ac | /test/lexer/test2.tst | 6a4b773e1068f290827c941cfa741ab44b52e49b | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | tst | test2.tst | <cmd>
./main_test/lexer_tst 'echo toto; echo $((4 + 3 (5 + (3 + 8))));'</cmd>
<ref>
cat ./lexer/test2.ref</ref>
<ret>
0</ret>
|
a985d1448399ead38e71f246315e813b47317484 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH5/EX5.6/ex5_6.sce | 91b190b1e9391f5d9112a9d9278154d60a4e244a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | ex5_6.sce | //Frequency Modulation : Transmission : example 5-6 : (pg 218)
d=75*10^3;
fi=30*10^3;
fi1=15*10^3;
d1=1*10^3;
fi2=100;
fi3=2*10^3;
a=d/fi;
b=d/fi1;
c=d1/fi2;
d=d1/fi3;
DR=d1/fi3;
//part(a)
printf("\nThe maximum deviation in broadcast FM is 75 kHz");
printf("\nmf = %.f",a);//for fi=30kHz
printf("\nFor fi ... |
290750304e772d4585f2f2470cc65bc5b3aa571a | 39d212a1aaf3f1dfc8993d47aef9f7b8d4c34008 | /8.sce | 86bcc3edaa4af7062266af7c542e99a287e73f73 | [] | no_license | majsterkovic/ni-scilab | 25e6ef2c46c0973a48f651b7dfaafed5dbffb5c6 | 05d98042fb4bc424638f0832d1a14bdfce625d53 | refs/heads/master | 2023-03-12T09:50:27.944550 | 2021-03-01T22:35:17 | 2021-03-01T22:35:17 | 343,575,544 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 50 | sce | 8.sce | A=testmatrix('magi',5)
B = A(2:3, 1:5)
C = [A; B]
|
dfda2784276984192fbc77dd7970f6d0863ad39b | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MathematicalFunctions/FLNormLoss-NZ-01.tst | 6f20f64df583c3ee32e68358b2f3e6ad99c2a0ca | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,296 | tst | FLNormLoss-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2017 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
... |
765eb6829de9f0d213fadc68762c3cab5ede2eee | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.1_5.tst | 05049ae527637271f22fbb16d5239767b30ae3f4 | [] | 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 | 3,796 | tst | bow.1_5.tst | 1 10:0.5 19:0.047619047619047616 30:0.07142857142857142 66:0.5 149:1.0 203:1.0
1 4:0.09090909090909091 11:1.0 49:0.1111111111111111 249:0.5 345:1.0
1 3:1.0 13:0.5 14:0.07142857142857142 17:0.017857142857142856 28:1.0 30:0.07142857142857142 84:0.1111111111111111 187:1.0 298:1.0 883:1.0
1 4:0.09090909090909091 6:0.5 10:0... |
3d9abcb13a47f2520102f0142de8a85db82b6e60 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/gr_harm_easa/resources/initgrobj.sce | 360965dd5dfd8193413e32ba7048ec3318c5e770 | [] | 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 | 414 | sce | initgrobj.sce | function [t00,txx,txy,txz,tyy,tyz,tzz,alp]=initgrobj(nx,ny,nz,time,par1,par2,x,y,z,r,alp)
// [t00,txx,txy,txz,tyy,tyz,tzz,alp]=initgrobj(nx,ny,nz,time,par1,par2,x,y,z,r)
// Initialise gij for set of parts moving
// Assume alp shifted by -2GM/r
// numobjects
// location of object
// velocity of ... |
3a8380c0d2522dc5da87490fd81a962f08758f52 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/TK36LRU/ATWM1_Working_Memory_MEG_TK36LRU_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 5c45b734ee538aad2623acc5ec1ac6f1a3c0dacb | [] | 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,597 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#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... |
bc4b14c93f5967886a7c68cc157109ed740a5f83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.5.a/ex_2_5_a.sce | 2995f96555f654b15d119146a7db4ac5c3c9b7df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | ex_2_5_a.sce | // Example 2.5.a: Calculate Common Emitter D.C. Current gain
alfa=0.950;//Common base D.C. Current gain
beta= (alfa/(1-alfa));
disp(beta,"Common Emitter D.C. Current gain")
|
7fab36fd061d6c3751ee73d31fda1707017bd6ce | 5e244ee21a463b92f547cd5626e466ab167a3e1b | /Semester 5/OST/07. Design of FIR Filters by Hamming Window/ost7.sce | 454db599d5e4ff0140297a3d4f7acb79f03c8fb9 | [] | no_license | bumblebee26/Lab-Experiments | 5ab36e3a52fd3348d0d7634a08541e229e55680f | 8408eceabf65489d477c1e62a998c39b0bd0d828 | refs/heads/master | 2020-04-20T12:44:52.375127 | 2020-02-28T15:10:45 | 2020-02-28T15:10:45 | 168,850,941 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 761 | sce | ost7.sce | clc
clear all
N=31
n=-15:15
h=(1/4)*sinc(n*3.14/4)
w=0.54+0.46*cos(2*3.14*n/(N-1))
//whm = window('hm', N);
figure(1)
plot2d3(n,h)
a=gca();
a.x_location="origin"
a.y_location="origin"
title('Impulse response of the Desired Filter')
xlabel('Discrete Time')
ylabel('Impulse Response')
figure(2)
plot2d3(n,w)
a=gca();
a... |
547746b482d814c49d3ef1867ef9ade0572d64f7 | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area2/jacobi.sce | cc717bfe03f7eb4f1b9c88ef51bcb43f603c889e | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | jacobi.sce | format(25)
x = [3 4]'
y = 3 ./ x
n = length(x)
plot(x, y, 'ro-'); xgrid
// Matriz de Vandermonde
for i = 1:n
V(i,j) = x(i)^(j - 1)
end
end
//Interpolação
X = 3 + (28 / 100) // Ponto para fazer a intepolação
a = inv(V) * y
p = 0
for k = 1:n
p = p + a(k) * X.^(k - 1)
end
plot(X, p, 'b.-'); xgrid
dis... |
db4644632331f8f6f744e884ec566756c578c5c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH6/EX6.5/6_5.sce | 15c74062153c57df5c9f70a3cfabd93aff615bf7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | 6_5.sce | clc
//initialisation of variables
M= 50. //gm
T= 98. //C
Mw= 75. //gm
T1= 19. //C
Tm= 27. //C
Mc= 123. //gm
SH= 0.1 //cal gm^-1 C^-1
Qinst= 6.5 //cal
//CALCULATIONS
c= (Mc*SH+Mw+Qinst)/(M*(T-Tm))
//RESULTS
printf ('Mean specific heat of the metal sample= %.4f cal/C gm',c)
//The answer given in textbook is... |
b2d4e4eb829563446876b255c0eb3c0ada24a273 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH13/EX13.13/example13_13.sce | 058aac981c28ddc872d89da5e908a7a1b28fc4f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | example13_13.sce | clear;
clc;
//Example13.13[Effective Emissivity of Combustion Gases]
d=5,H=5;//Diameter and height of cylindrical furnace[m]
T=1200;//Temp of gases[K]
P=2;//Pressure[atm]
yN2=0.8,yH2O=0.08,yO2=0.07,yCO2=0.05;//Volumetric Composition
//Solution:-
Pc=yCO2*P;//[atm]
Pw=yH2O*P;//[atm]
disp("atm",Pw,"and","atm",... |
c206da534dc68c8f1c8931090ecc25dc5777565c | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map1112.sce | 88ce1e948a5735d438d1e5f59d0033950f0e6a92 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,155 | sce | map1112.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map1112" Width="13" Height="9" CellSize="40" BackgroundSize="1" Background="9plus.png">
<Cell Name="木箱" X="2" Y="1" />
<Cell Name="木箱" X="3" Y="1" />
<Cell Name="木箱" X="5" Y="1" />
<Cell Name="木箱" X="6" Y="1" />
<Cell Name="木箱" X="8" Y="1" />
<Cell Name... |
f2c8636ad9b811e3099c4ecb19b84907af60540b | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.13_20.tst | 175b96eda6ff40adaf9c19a5abe421f698974ca3 | [] | 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 | 14,264 | tst | bow.13_20.tst | 13 23:0.5 31:0.25 42:0.25 56:0.25 100:0.5 136:2.0 148:0.3333333333333333 158:0.1111111111111111 165:1.0 202:1.0 207:1.0 248:0.2 354:0.5 908:1.0 1392:0.3333333333333333 2266:1.0
13 4:0.14285714285714285 46:0.04 111:0.125 135:0.1 191:0.2 224:0.3333333333333333 248:0.2 256:0.3333333333333333 283:0.5 462:1.0 1053:1.0 1887:... |
18b9c196a4f586026af363e4c57e1c320238459b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH1/EX1.27/27.sce | eb4061944485229b1f01e60d38374a319c5c7ad1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 27.sce | clc
// Given that
m_0 = 1.6e-27 // mass of proton in kg
KE = 500 // kinetic energy of electron in MeV
c = 3e8 // speed of light in m/sec
// Sample Problem 27 on page no. 54
printf("\n # PROBLEM 27 # \n")
printf(" Standard formula used \n")
printf("\n E = m*c^2 \n")
del_m = KE*1e6*1.6e-19/c^2 // change in mass of proto... |
6a7f80e724315439477c605ddc591660bc9c7573 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH5/EX5.15/example_15.sce | edb638d86095e16e88bec643fa6dc317f6384a59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 654 | sce | example_15.sce | clc
clear
printf("example 5.15 page number 207\n\n")
//to find the amount of vapor and liquid and amount of heat transfer
F = 5000 //in kg/hr
xF = 0.01
xL = 0.02;
L = F*xF/xL;
V = F-L;
printf("L = %f Kg/hr\n V = %f kg/hr",L,V)
TF= 303 //in K
hF = 125.9 //in KJ/kg
T1 = 373.2 //in K
Hv = 2676... |
5f0c2b07ee787a74f09ddac6f7fd17f7288488fb | 39b357bcd82af01ab069c0a12ca520c112ecd5fa | /mlt/presets/filter/dynamicText/(default).tst | 6f14e537e980dd41cccce49d23a833142ea45c50 | [] | no_license | 0TemetNosce0/moviemator_qml | 6963eed2d455e52b8c0e613fe3c3902c33423e2a | b0d2eaef84ab6d9b099deed8c2678d365c65cc88 | refs/heads/master | 2021-05-25T12:22:53.788915 | 2019-08-26T03:37:52 | 2019-08-26T03:37:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | tst | (default).tst | geometry=0.0148437 0.441667 0.948438 0.1958 1
shear_x=0
halign=center
valign=bottom
size=140.976
fgcolour=255 255 255 255 1
family=Verdana
weight=400
olcolour=255 0 0 0 1
outline=0
bgcolour=0 0 255 255 1
pad=0
letter_spaceing=0
shadow_distance=0
shadow_angle=45
|
e217d41c0dd74fa2af8a4d7f2db1511c6c33b7f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH13/EX13.1/Ex13_1.sce | 8f70b8f10996f2c9293b4df723579df25b59cede | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | Ex13_1.sce | clc
//to calculate value of Temperature
Bc=105*10^3 //magnetic field in amp/m
Bo=150*10^3 //critical field of the metal in amp/m
Tc=9.2 //critical temperature of the metal in K
T=Tc*sqrt(1-(Bc/Bo))
disp("value of temperature is T="+string(T)+"K")
|
ca5099241366399b7995e91e974089d89911d8d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH4/EX4.10/410.sce | e38c3094d81c4ea920a1b3198da14dad9516dbeb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | 410.sce | // problem 4.10
r=5
h1=5
d=0.08
a=0.005
h2=h1-2
Cd=0.6
g=9.81
z=((2*r*((h1^1.5)-(h2^1.5)))/3)-((((h1^2.5)-(h2^2.5)))/5)
T=(z*2*3.142)/(Cd*a*((2*g)^0.5))
disp(T,"time in seconds to lower the level by 2m")
|
377655a50eb637daa6c032d7e1791a5bbff83ffc | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH2/EX2.9/2_9.sce | c21cdbad70cc77f903b1ef777ceafb8aafb8a7bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | sce | 2_9.sce | //acids and bases//
//example 2.9//
M=0.001;//molarity of benzoic acid//
N=M;//normality of benzoic acid//
V=1/N;
K=7.3*10^-5;//dissociation constant of benzoic acid//
a=sqrt(K*V);//since benzoic acid is very weak//
printf('the degree of ionization of the solution is %f',a);
H=N*a;
printf('\n The H+ concentrat... |
530b455bd952a98112182b279deecea6ee19c321 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH5/EX5.5/example_5_5.sce | 450d8cd417169df607d1fbd0bd508e28c2e87c6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | example_5_5.sce | //Example 5.5
clc //clears the command window
clear //clears all the variables
format('v',18) //increasing the precision
n=... |
6c2da4570afca9ae2310fb51fcb5b69213aae7eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH8/EX8.3/Ex8_3.sce | cf692919bcff252a65678d36dea8d9268cc7c4ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | Ex8_3.sce | clear
//
//
//Initilization of Variables
d=750 //mm //Diameter of water supply pipes
h=50*10**3 //mm //Water head
sigma=20 //N/mm**2 //Permissible stress
rho=9810*10**-9 //N/mm**3
//Calculations
//Pressure of water
P=rho*h //N/mm**2
//Stress
//sigma=p*d*(2*t)**-1
//After further simplifying
t=P*d*(2*sigma)**-1 //m... |
9e9452a24cb77ecb8e13f9a0a8ae3204c3616cb8 | fdc5047b7bf8122bad1e621df236b0481226c36e | /exemplos/xls-link-0.5.0-src/tests/unit_tests/xls_CopyDataRange.tst | b4b355f92c38f0723a4a95c7443eb2fd90dff8e3 | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 862 | tst | xls_CopyDataRange.tst | // ====================================================================
// Allan CORNET
// DIGITEO 2008 - 2010
// ====================================================================
// <-- CLI SHELL MODE -->
// ====================================================================
test_path = fullfile(xls_getRootPath(... |
76b8b98933b91140ec492b643baa50f4e96e2a6d | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /kMatlab/kLinLight.sci | 41a7e05f3996a30313850c3f6e0930b375c0dd40 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sci | kLinLight.sci | function [value] = kLinLight(ref)
// Ouput variables initialisation (not found in input variables)
value=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
reply = kTurret(ref,2,"L");
// !! L.3: Matlab function sscanf not yet converted, original calling sequence used
[value,count,... |
7a8b2f61b52cf0408eca9f4b9f9bf3c1b4652097 | 449d555969bfd7befe906877abab098c6e63a0e8 | /49/CH6/EX6.10/ex10.sce | 66ed239ec5c1cc48136ecc83edab5bd798e3edf5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | ex10.sce | //CHAPTER 6 _ PRESSURE AND SOUND MEASUREMENT
//Caption : Sound Measurement
// Example 10// Page 370
Lp1=75 //('enter the sound level first machine=:')
Lp2=77 //('enter the sound level second machine=:')
Lp3=79 //('enter the sound level third machine=:')
disp("Since the noise levels are incoherent,the total ... |
52f8e7d394dffeb1a7683d7cf5364d1be9149e50 | 7ef51c5d0a21a0b16fdcf1e2b0ba34941a192b5d | /resultados/get_equalization_signal.sci | 6152471649ecfb0dc0c7c1de4db8d6bcc0e21e86 | [] | no_license | josepedro/TCC | c4ab515fea01859420ba3f5123815430ea2b0e02 | 72622069c60ae6c639d9aa2189f868b6db22c6df | refs/heads/master | 2021-01-21T22:29:10.992789 | 2014-12-26T22:32:02 | 2015-01-02T03:06:25 | 22,113,358 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sci | get_equalization_signal.sci | function rfeq = get_equalization_signal(respfreq)
//EQUALIZACAO
x = gsort(respfreq);
x = x(length(respfreq)-3);
a = (max(respfreq)-min(respfreq))/x;
b = max(respfreq)-a*x;
rfeq = (respfreq-b)/a;
endfunction |
181df598fcce400e4a2de041d63085a3ac8b4fb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH4/EX4.9/Ex4_9.sce | d9417bfea1f83e39c89142192481130a831d3d3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | Ex4_9.sce | clear;
clc;
disp('Example 4.9');
// aim : To determine
// the specific volume
// Given values
t = 325; // temperature, [C]
P = 2; // pressure, [MN/m^2]
// solution
// from steam table at given t and P
vf = .1321; // [m^3/kg]
tf = 212.4; // saturation temperature, [C]
mprintf('\n The specifi... |
6b1f82dad576c4837ab5b4981b01d2edb61758c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH9/EX9.7/9_7.sce | d5d159b08f55916108d27543f49990be66209c83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | 9_7.sce | clc
//Initialization of variables
A=140 //in^2
P=48 //lb/in^2
mu=3.78*10^-7
g=32.2
G=100 //lb/s
p=80 //lb/in^2
T=65+460 //R
k=1.4
R=1715
//calculations
Rh=A/P /12
R1=G*4*Rh/ (mu*g*A/144)
R2=R1
f=0.0083
gam1=p*g*144/(R*T)
V1=G*144/gam1/A
c=sqrt(k*R*T)
M1=V1/c
M2=1/sqrt(k)
D=4*Rh
L= ((1-M1^2 /M2^2)/... |
2953449c9c33c8264169c0170ce1758b9856366e | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/semimagisch-vierkant-herkennen/edit-me.sce | a376f7b7199419f0105aecb0d01b5a01fff0a9cf | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 685 | sce | edit-me.sce | function [r] = solve(ns)
// Geef %t terug indien ns een semimagisch vierkant is,
// %f indien niet.
r = %t
// numbercount
for (num = 1:9)
numcount = 0
for (i = 1:size(ns,"r"))
for (j = 1:size(ns,"c"))
if (ns(i,j) == num) then
n... |
18dfe8f2a990b821686c50e47f09e8ef28f491d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH11/EX11.4/example4.sce | 839b75408bc80448e985f487cffbad1fef77e434 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | example4.sce | //Chapter-11 example 4
//=============================================================================
clc;
clear;
PW = 1.5*10^-6;//pulse width in sec
PRF = 2000//per second
//Calculations
Dc = PW*PRF;//duty cycle
//Output
mprintf('Duty Cycle is %e',Dc);
//==========end of program=======================... |
2332b55e39a434e7f113d7f9332948ca8eeecc01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH21/EX21.9/ex21_9.sce | 045466567fa7a5b9cb47819e14bf78714873da4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | ex21_9.sce | clc;
clear all;
E=1000;//applied electrical field
P=4.3E-8;//polarisation
e0=8.854e-12;//permittivity of vacume
er=1+(P/(E*e0));//relative permittivity of NACl
disp('',er,'relative permittivity of NACl is:')
|
5136dd9426170f41c7357ed2076bbd5c131f4950 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH2/EX2.34/ex2_34.sce | f6cf033f07bcc09242e07144e4a41878f59ebc53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex2_34.sce | //Example 2.34
clc
funcprot(0);
printf("Enter the value of radius:");
radius=scanf("%d");
pi=3.141593;
circumference = 2 * pi * radius;
area = pi* radius*radius;
|
a8ede67ad6b40e37882f1589f913b784217d5b71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH10/EX10.7/ch10_ex_7.sce | 0199f014caea3767c97ad651a368a70dba85181b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,107 | sce | ch10_ex_7.sce | //CHAPTER 10- THREE-PHASE INDUCTION MACHINES
//Example 7
disp("CHAPTER 10");
disp("EXAMPLE 7");
//VARIABLE INITIALIZATION
P=4; //number of poles
f=50; //in Hz
r2=0.1; //rotor resistance in Ohms
X2=2; //standstill reacta... |
e02f5b0b7a31072ed244e4f70507f4f1253fab39 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/macros/robust/colinout.sci | 00f05b9531bf219a4a51aa272ab8fd2f1fddcf5f | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"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 | 93 | sci | colinout.sci | function [Inn,X,Gbar]=colinout(G)
[Innt,Xt,Gbart]=rowinout(G');
Inn=Innt';X=Xt';Gbar=Gbart';
|
f1fff4dbabbcf83062db504a674473936be71a31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH14/EX14.2/Ex14_2.sce | b028b2fb02fde0912b3a07bfea86e3d68158b868 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | Ex14_2.sce | b=300//width, in mm
d=600//effective depth, in mm
fck=15//in MPa
fy=500//in MPa
Xc=0.456*d//in mm
Mu=0.36*fck*b*Xc*(d-0.416*Xc)/10^6//in kN-m
Ast=round(0.36*fck*b*Xc/0.87/fy)//in sq mm
mprintf("Moment of resistance of the beam=%f kN-m\nSteel required=%d sq mm", Mu,Ast)
|
5a3f0ff4db1ef3dac10074fa0ad8ef451d96c42f | f2600ec138f16af47aacc9f45f2b9eda8a4e8e1e | /lab2 qns/qn3.tst | ce96020a49e805b235c8db4b5a8ded7bf3e31614 | [] | no_license | cs20b002/CS2310-LAB2 | d3ca59befdc7ad9410e2923efac8c14dfe109c44 | 7890e39056b337d1ced5cd13b9a753d43892aa5f | refs/heads/main | 2023-07-13T23:24:08.324119 | 2021-08-29T06:54:56 | 2021-08-29T06:54:56 | 400,974,629 | 0 | 0 | null | 2021-08-29T07:03:51 | 2021-08-29T07:03:51 | null | UTF-8 | Scilab | false | false | 911 | tst | qn3.tst | load qn3.hdl,
output-file qn1.out,
output-list x0%B3.1.3 x1%B3.1.3
output-list s0%B3.1.3 s1%B3.1.3 s2%B3.1.3
output-list y0%B3.1.3 y1%B3.1.3 y2%B3.1.3 y3%B3.1.3;
output-list y4%B3.1.3 y5%B3.1.3 y6%B3.1.3 y7%B3.1.3;
output-list z0%B3.1.3 z1%B3.1.3 z2%B3.1.3 z3%B3.1.3;
output-list z4%B3.1.3 z5%B3.1.3 z6%B3.1.3 z7%... |
c425db050115c5ab24ec20f60da849b04166200d | 816ccefab515b9e1fc5871beebf0913ecd2c8b94 | /regTests/cgtc/endgame.tst | 598a8dc198b929eda7a688f618f88fc8278dd5b5 | [] | no_license | CurtisHughey/ergo | 45dff870a6592cb29b9aa68c416bae1577f41452 | 634ea9eddbd23c917407e667a535be9dae32d55c | refs/heads/master | 2020-04-06T07:02:17.089864 | 2016-08-21T23:53:12 | 2016-08-21T23:53:12 | 58,999,319 | 8 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,111 | tst | endgame.tst | #------------------------------------------------------------------------------
# Endgame
#
# Computer Go Test Collection http://www.cs.ualberta.ca/~games/go/
#
# $Source: /usr/cvsroot/project_cgtc/endgame.tst,v $
# $Id: endgame.tst,v 1.5 2004/05/15 04:07:45 mmueller Exp $
#---------------------------------------------... |
85aaa4f33faabab6982c43e5afcf3525584f4931 | cc92caf8abb34d22061361fe3456acfcb09bf912 | /Algebra/fe.sce | edd6e660ff9d916969013d40fb557e7c7b3ce961 | [] | no_license | TheSennin/Arquivos_Facul | b2a4fbbd6c37908e2bc8ae6d2dde18f676adad56 | f53f3055433ae0e679146134021d24484863e664 | refs/heads/master | 2021-06-05T14:14:39.772698 | 2019-09-13T19:50:18 | 2019-09-13T19:50:18 | 95,835,767 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | fe.sce | A=read("C:\Users\GUSTAVO\Desktop\Matriz.txt",4,4)
for i=1:4
soma=0
cont=0
for j=1:4
soma = soma + abs(A(i,j))
end
if (soma == 0.0) then
printf("Linha %d \n",i)
cont = cont + 1
else
printf("Linha não nula \n")
end
end
printf("Número de linhas nulas: %g... |
a0549b4a956123959f3d081559b4067e12ce5ec5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH7/EX7.5/Ex7_5.sce | 44e7188b74d405fe046757b707e60b056844a431 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | Ex7_5.sce | clc
T=300//K
Na=10^16// cm^-3
Nd=10^15// cm^-3
e=1.6*10^-19// eV
epsilon0=8.85*10^-14// F/m
epsilons=11.7
Vbi=0.635// V
Vr=5// V
C=((e*(epsilons*epsilon0)*Na*Nd)/(2*(Vbi+Vr)*(Na+Nd)))^0.5
A=10^-4// cm^2
C=C*A
disp(C,"the value of c with cross section area in F is")
|
47e59c02f983b5a89a08eafca4d184fd2a1ab5d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH6/EX6.27/ex6_27.sce | 9f878c39dde8278ed081fcc06bed3e0029be432b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | ex6_27.sce | // Exa 6.27
clc;
clear;
close;
// Given data
V_DD = 15;// in V
R_D = 10;// in kohm
R_D = R_D * 10^3;// in ohm
I_D = V_DD/R_D;// in A
disp(I_D*10^3,"The drain current in mA is");
V_D = V_DD - I_D*R_D;// in V
disp(V_D,"The drain voltage in V is");
|
c3169ec25400350831ce7b69675d62e089fdde2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH21/EX21.10/Ex21_10.sce | 12809173ad54d28a03d1ad21c1df204d44f0ccb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | Ex21_10.sce | clear
// Variable declaration
T_d=23// The dry bulb temperature in °C
H=40// % saturation
SH=36// The sensible heat to be removed in kW
LH=14// The latent heat in kW
// Calculation
// Plotting on the chart ( Figure 21.10 ) from 23°C/40% and using the ratio
R=SH/(SH+LH)
printf("\n The process line meets the saturation ... |
dc4d957b70a5847739643ae94849cc07d05ba082 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH17/EX16.9/EX16_9.sce | 0f306330e7d4336617ccac01294475ad01c5baeb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sce | EX16_9.sce | // Grob's Basic Electronics 11e
// Chapter No. 16
// Example No. 16_9
clc; clear;
// Determine the capacitance and tolerance for the capacitor in Fig. 16–15.
disp ('The dots in the top row are read from left to right in the direction of the arrow. In the bottom row, they are read in the reverse order from right ... |
da788209938810716e3cfe56f46795b26e9bcb3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH8/EX8.2/Example8_2.sce | c08d06eba62a2866086333e050042deab3200172 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | Example8_2.sce | //Base to base collector leakage current Icbo
close();
clear;
clc;
Beta = 100;
Icbo = 5*10^(-6);
//Part(a)
Ib = 0;
Iceo = (Beta+1)*Icbo;
//Part(b)
Ib = 40*10^(-6);
Ic = Beta*Ib + (Beta+1)*Icbo;
mprintf('(a):Iceo = %0.0f micro A \n(b):Ic = %0.3f mA',Iceo*10^(6),Ic*1000); |
db7c8c55b6b1859f70d5a114b38b3fdc78c45b80 | 0b723790e0b9a96d140e3d5d5c309a627aa5eefb | /program1_PES2UG19CS301.sce | 7b2c11637869b22d15cff15c61e3a76c1fa4d6b1 | [] | no_license | Priya2410/Scilab-Assignment | 89e7e3cd1a5e7ebcb9321aa037d5882131533e39 | 103a4441b637e37dc1309a62da3000155056e99f | refs/heads/main | 2023-04-16T19:55:26.248164 | 2021-04-29T16:38:59 | 2021-04-29T16:38:59 | 361,316,782 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | program1_PES2UG19CS301.sce | clc;clear;
A = [2,5,1;4,8,1;0,1,-1], b = [0;2;3];
disp("Matrix before Gaussian Elimination: ")
disp(A);
Ab = [A b];
a = Ab;
n = 3;
for i = 2:n
for j=2:n+1
a(i,j) = a(i,j) - a(1,j)*a(i,1)/a(1,1);
end
a(i,1) = 0;
end
for i=3:n
for j=3:n+1
a(i,j) = a(i,j)-a(2,j)*a(i,2)/a(2,2);
end
a... |
b051022cabfbe56b439749ad68c6f7c93208c09e | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH15/EX15.22/15_22.sce | 07cd047abe030dd953f50295e9e1be4cbf16d5f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,166 | sce | 15_22.sce | clear;
clc;
//Example - 15.22
//Page number - 545
printf("Example - 15.22 and Page number - 545\n\n");
//Given
T = 25;//[C]
// At 50 C
P_1_sat = 7.866;//[kPa]
P_2_sat = 3.140;//[kPa]
// G_E/(R*T) = 1.4938*x_1*x_2/(1.54*x_1 + 0.97*x_2)
// The excess Gibbs free energy expression can be written as
// x... |
8451d457e10eb649254a6538d4f4796603d76a2c | a095402148fd6b18b79f79dcaf460ddd3a81cd14 | /exp1/master.sce | 9e4393b4a999b0ba800e32d8cf5aadd3ba546822 | [] | no_license | avravikiran/sip-lab | b3ccc5b4e4f9d3353aff364adc966d9d46835f10 | 213d7e63bd08da70e286484dcc3d4e55fb43fbcd | refs/heads/master | 2021-06-22T19:03:10.747224 | 2017-08-10T20:59:57 | 2017-08-10T20:59:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 589 | sce | master.sce | stacksize('max');
mode(-1)
//exec('/usr/share/scilab/contrib/sivp/loader.sce');
getd;
//cd '/home/priya/Desktop/img-disp-scilab-1';
fname='quickbird.jpg';
win4pix='win4pix.txt';
//RGB=evstr(x_dialog('RGB bands ?','1 1 1'));
//subsetrow=evstr(x_dialog('Enter Row Start and Row End for subset image ','70 180'));
//subset... |
4908aacbe924ddf02af77c4853242642ad7f0a43 | d8b00ba08203d369b2c5f550547a8bec3b784a8f | /mylu3b.sci | 30da5bbe488754102181b412e9f0816da5b3af1c | [] | no_license | braisalemaghiles/TP-Calcul-Numerique | 8f75a0af2b82fb8e4b586d19320da406128e7611 | 260fed32749d444756d6cd32f873d5238d95851f | refs/heads/main | 2023-01-31T13:19:03.073956 | 2020-12-17T13:22:58 | 2020-12-17T13:22:58 | 314,294,362 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 693 | sci | mylu3b.sci | function [L,U] = mylu3b(A)
n=size(A,1);
q=size(1,n);
row = [1:n];
for k=1:n-1
[piv,ind]=max(abs(A(k:n,k)));
ind = k-1+ind;
q(1,k)=row(1,ind);
if(ind~=k)
new = A(ind,:);
A(ind,:)=A(k,:);
A(k,:)=new;
ro... |
5bd191ed4f44858e81141734cb34819f4b3733b6 | 18137e490b85726a353b3039386d13ce07cee8d6 | /Hack CPU/Test Instances/HackALU.tst | a6b1c1f73ee315030f30aebfcb5f77b878cce25c | [] | no_license | saha-nab2001/Hack-ALU-and-Hack-CPU-in-HDL | 087c9d59a9032ac4a145b8f899364ee9d6a6d74d | 3b1c461aa0f331ce7d7505b6ad9b0eab70f102e3 | refs/heads/main | 2023-06-15T16:59:24.758610 | 2021-07-19T15:50:45 | 2021-07-19T15:50:45 | 387,511,878 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,258 | tst | HackALU.tst | load HackALU.hdl,
output-file HackALU.out,
output-list x%B1.16.1 y%B1.16.1 zx%B3.1.3 nx%B3.1.3 zy%B3.1.3 ny%B3.1.3 f%B3.1.3 n0%B3.1.3 out%B1.16.1 zr%B3.1.3 ng%B3.1.3;
//x=12345, y= 6789, out = 0
set x %B0011000000111001,
set y %B0001101010000101,
set zx 1;
set nx 0;
set zy 1;
set ny 0;
set f 1;
set n0 0;
... |
0e2b167bf60e1ab22489aec33e4a8e10dfe637dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH10/EX10.6/example_10_6.sce | 2b4049854469d47d8580c71ed99261c0fb2b1684 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,275 | sce | example_10_6.sce | clear;
clc;
disp("--------------Example 10.6---------------")
//words
x1=[0 0 0 0 0];
x2=[0 1 0 1 1];
x3=[1 0 1 0 1];
x4=[1 1 1 1 0];
//function to find Hamming distance
function [d]=hamming_distance(x,y)
xd=bitxor(x,y);
d=num_of_ones(xd);
endfunction
function [count]= num_of_ones (d)// function to... |
56b29cc95d1f06a07f5ff29acde388ab507686b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH6/EX6.4/exa6_4.sce | 509c3ead90f3e10beabfe1383354a0bcd421d341 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | exa6_4.sce | // Example 6-4
// Root locus
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "/<your code directory>/";
// exec("rootl.sci");
s = %s;
D = s*(s + 0.5)*(s^2 + 0.6*s + 10);
H = syslin('c',1,D);
disp(roots(D),'open loop poles =');
rootl(H,[-6 -6; 6 6],'Root locus of G(s) = 1/(s*(s + 0.5)... |
66b9f462830c967471ddcbb5d65fb67d54aa0a7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH5/EX5.6/Ex5_6.sce | bc09c3aa61f1221a03311007f51e02e0f1f632a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | Ex5_6.sce | // Example 5_6
clc;funcprot(0);
// Given data
T_H=500;// K
T_L=300;// K
P_1=80*10^3;// Pa
v_4=10;// m^3/kg
R=287;// J/kg.K
k=1.4;// The specific heat ratio
// Calculation
n=(1-(T_L/T_H))*100;// %
T_1=T_L;// K
T_2=T_H;// K
v_1=(R*T_1)/P_1;// m^3/kg
v_2=v_1*(T_1/T_2)^(1/(k-1));// m^3/kg
T_4=T_L;// K
T_3... |
35571781164b998edc468285f7cb0bf55e39374c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH6/EX6.1/EX6_1.sce | 92927ceea18b38c8545f4af375096fe11af31f2c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 887 | sce | EX6_1.sce | //Chapter 6, Example 6.1, page 186
clc
//Initialisation
c=3*10**8 //speed of light
f=400*10**6 //frequency in Hz
l1=15*10**3 //distance in m
l2=15*10**3 //distance in m
l=30*10**3 ... |
f67dd3191176c7b4e028c4d90d91b4c610bce9f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH11/EX11.5/11_5.sce | 47a951777b0eef6ae647e7ab4e15375637bf8374 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | 11_5.sce | clc;
clear;
format('v',11);
S=10^6;
Z0=377;
E=sqrt(S*Z0);
H=E/Z0;
disp(E,"The magnitude of the electric field vector,E(in V/m)=");
disp(H,"The magnitude of the magnetic field vector,H(in A/m)=");
|
30c7d115afd0b7f826ff4931f4ce068cad8bd2f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH6/EX6.4.1/6_4_1.sce | 3fcc22f4560d76b04705f1a0e42b295904c453d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | 6_4_1.sce | //chapter_no.-6, page_no.-260
//Example_no.6-4-1
clc;
//(a) Calculate_the_strong_potential_w(inv)_for_strong_inversion
kt=26*(10^-3);
Na=3*(10^17);
Ni=1.5*(10^10);
wsinv=2*kt*log(Na/Ni);
disp(wsinv,'the_strong_potential_w(inv)_for_strong_inversion(volts)');
//(b)Calculate_the_insulator_Capacitance
eir=4;
ei=8.854... |
e5170f07ac50f8f1ed4809bb64a0af4abc881544 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.12/ch12_12.sce | 43c02f6bee6e2c3a00a59b6fb8cb18faa38be889 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | ch12_12.sce | clear;
clc;
V_s=400;
V_ml=sqrt(2)*V_s;
V_f=3*V_ml/%pi;
R_f=300;
I_f=V_f/R_f;
T_e=60;
k=1.1;
I_a=T_e/(k*I_f);
N=1000;
w_m=2*%pi*N/60;
r_a=.3;
V_t=k*I_f*w_m+I_a*r_a;
a=acosd(V_t*%pi/(3*V_ml)); printf("firing angle=%.3f deg",a);
N=3000;
w_m=2*%pi*N/60;
a=0;
V_t=3*V_ml*cosd(a)/%pi;
I_f=(V_t-I_a*r_a)... |
638f82390dfccf3dcd98c45bc42d2c0063d7e700 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH1/EX1.17/Ex1_17.sce | 875fe99499ee5135ed2b15e16cda9f8bea54e881 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,309 | sce | Ex1_17.sce | clear all; clc;
disp("Scilab Code Ex 1.17 : ")
//Given:
d_ac= 20; //mm
area_ac = %pi*(d_ac/2)^2; //Area = (%pi\4)d^2
area_al = 1800; //mm^2
d_pins = 18; //mm
area_pins = %pi*(d_pins/2)^2;
st_fail_stress = 680; //MPa
al_fail_stress = 70; //MPa
shear_fail_pin = 900; //MPa
fos = 2; //Factor of safety
l_ab ... |
f793fc33560bdbfa9814b48dbe46bd5f92b1602a | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH27/EX27.4/Example27_4.sce | 33bdeac5b238a6e245f5edd6e3226037bda17634 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sce | Example27_4.sce | //Given that
l = 1.2*10^-2 //in meter
b = 1.2*10^-2 //in meter
h = 15*10^-2 //in meter
resistivityIron = 9.68*10^-8 //in ohm.m
//Sample Problem 27-4(1)
printf("**Sample Problem 27-4(1)**\n")
R1 = resistivityIron*h/(l*b)
printf("The resistance of the block is equal to %eOhm\n", R1)
//Sample Problem 27-4... |
648dabd4064d592f02a31a9d77dc78b9ec960fd4 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.19_4.tst | 2c2f4ca9ec089fe1dbde7e6a505505e92bf8b49b | [] | 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 | 21,609 | tst | bow.19_4.tst | 19 24:0.5 31:0.2 45:1.0 52:0.5 95:0.4 131:1.0 212:0.5 239:0.2 259:0.07142857142857142 260:1.0 576:1.0 980:0.25 1176:1.0 2219:1.0 3606:1.0 4731:1.0
19 24:0.25 31:0.4 81:0.5 86:0.5 193:0.034482758620689655 328:0.2 448:1.0 477:0.14285714285714285 767:1.0 799:0.14285714285714285 980:0.25 3633:1.0 4176:1.0 5189:1.0
19 8:0.0... |
69c400bee05dc6ee763cc9d088eb45cf787c09b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH3/EX3.8/Ex3_8.sce | 105df598ad991e531591755a16389952538b976e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 861 | sce | Ex3_8.sce | //Ex3_8
clc
VCC=20
disp("VCC = "+string(VCC)+" volts") // collector supply voltage
RL=2*(10^3)
disp("RL= "+string(RL)+ " ohm") //resistance
R1=100*(10^3)
R2=R1
disp("R1 =R2= "+string(R1)+ " ohm") //resistance
VBE=(0.7)
disp("VBE = "+string(VBE)+" volts") // base-emitter voltage
BF=100
disp("BF = "+strin... |
748b37aa0cbb3b21c25fa7e00436b0039be765f1 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/cummax/cummax6.sce | 96413a974de53198c2a9018c26cbb3250ae9a846 | [] | 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 | 282 | sce | cummax6.sce | //check o/p when i/p is a vector and the dimension along with the direction is mentioned
v=[3 5 2 1 6 3 7 8 1];
m=cummax(v,2,'reverse');
disp(m);
//output
// column 1 to 7
//
// 8. 8. 8. 8. 8. 8. 8.
//
// column 8 to 9
//
// 8. 1.
|
2e9add53d9aaf4c5c719fb3bd7afce276349fc2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH13/EX13.9/example13_9.sce | 0413579315de31510343ef872f395d5335f24dc8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | example13_9.sce | //Chapter 13
//Example 13_9
//Page 319
clear;clc;
x=200;
l=300;
i=0.75;
r=0.00018;
v=250;
vd=i*r*(l*x-x^2/2);
printf("Voltage drop = %.1f V \n\n", vd);
printf("Voltage at a distance %d m from supply end = %.1f V \n\n", x, v-vd);
p=i^2*r*l^3/3;
printf("Power loss in distributor = %.2f W \n\n", p);
|
97d8a3032ea1feef62b74d3029ff63d8e879403b | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH4/EX4.02/4_02.sce | 7d8c664ea8ce797f84b3d3cac10e1eb6fb390335 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | 4_02.sce | //Problem 4.02:
//initializing the variables:
mdt = 0.15; // in kg/sec
v = 420; // in m/sec
//calculation:
vxin = v
vxout = 0
vyin = 0
vyout = v
Fxgc = mdt*(vxout - vxin)
Fygc = mdt*(vyout - vyin)
Fres = (Fxgc^2 + Fygc^2)^0.5
theta = (atan(Fygc/Fxgc))*180/%pi + 180
printf("\n\nResult\n\n")
printf("\... |
d8b257e08748707f471388786f5abda5aaa3ad9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH2/EX2.8/2_8.sce | 70e231f3c5a9e3382ec15559fbe7118fee49cedb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | 2_8.sce | clc
clear
//Initialization of variables
gam=0.0765 //lb/ft^3
l=40 //ft
w=16 //ft
d=8 //ft
z=6 //ft
BG=1 //ft
//calculations
I=1/12 *l*w^3
V=l*w*z
IVG=I/V - BG
MB=I/V
//results
printf("I/V -BG = %.2f ft ",IVG)
if IVG >0 then
printf("\n Barge is stable")
else
printf("\n The barge is unstable")... |
66e4fe6bc1d9d88f6ee9c65b261191bfd62831e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH3/EX3.2/3Q2.sce | 269b9f5270e548a7c0966e05496e8663f782d87f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 460 | sce | 3Q2.sce | clc
//initialisation of variables
V= 1.2 //m^3
M= 2350 //Kg
w= 0.086
G= 2.71
W= 1000 //kg/m^3
//calculations
R= M/V
D= M/((1+w)*V)
e= (G*W/D)-1
n= e/(e+1)
S= (w*G/e)*100
v= (M-(M/(1+w)))/W
//results
printf ('moist density = % f kg/m^3 ',R)
printf ('dry density = % f kg/m^3 ',D)
printf ('void ratio = % ... |
6e805d35bed991da86aef599b80a6b3f67497d70 | bd9ba5abb6de1e9d9485b5e98b2b68868aab21db | /Lab/signal functions/Convolution_without_function/convolution without func.sce | f1edf5f30bb250c271382c12442105534e417a72 | [] | no_license | ShubhamRattra/Scilab_programs | c61b6538a064afe82c99507c1064cd55bbd870fa | de2bf6ab0de0b1a19c4903bb13819edc39f93d0e | refs/heads/master | 2023-03-04T17:53:58.414180 | 2021-02-11T08:08:11 | 2021-02-11T08:08:11 | 296,920,175 | 2 | 2 | null | 2021-01-11T15:53:39 | 2020-09-19T17:37:42 | Scilab | UTF-8 | Scilab | false | false | 1,042 | sce | convolution without func.sce | //Convolving 2 seq in discrete time domain without convol func
clc ; clear ; close ;
x=input('ENTER THE FIRST SEQUENCE x(n): ');
m=length(x);
h=input('ENTER THE SECOND SEQUENCE h(n): ');
n=length(h);
//x(n)
p=0:1:m-1;
subplot(3,2,1),
a = gca();
a.x_location = "origin";
a.y_location = "origin";
plot2... |
402abb9eeaae2964182c24883af7d0edfd8f51ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH8/EX8.32/example32.sce | a256373abb6964d6b542c0500d3516ef3ef2db9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | example32.sce | s=%s ;
//create state equation of the following matrix
TFcont=syslin ('c',(s+6)/(s^2+5*s+6))
SScont=tf2ss(TFcont )
[Ac ,Bc ,U, ind ]=canon( SScont ( 2 ) , SScont ( 3 ) )
disp(Ac,"MAtrix A=")
disp(Bc,"MAtrix B=")
|
e3a52967b3e100a161b7b526cb9d6ac8ec1c18b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH6/EX6.3/6_3.sce | 8ba4eb1875284d7cfc82838d1be2622331432719 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | 6_3.sce | clc
//Initialization of variables
v2=36 //fps
beta=150 //degrees
u=60 //fps
rho=1.94
Qd=0.0218
V1=100 //fps
gam=62.4
g=32.2
//calculations
v2s=v2*sind(beta)
v2c=u+v2*cosd(beta)
V2=34 //fps
alpha=32 //degrees
Fx=rho*Qd*(v2c-V1)*(V1-u)
Fy=-rho*Qd*(V1-u)*v2s
Fx2=rho*Qd*V1*(v2c-V1)
HPin=gam*Qd*V1*(V1^2 /(... |
517f75c1e715133cba87a428571db74c0e305925 | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH9/EX9.6/Example9_6.sce | 95490b6e8d6bd6b139b30ee8508e7ead77c37ee9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | Example9_6.sce |
clear ;
clc;
printf("\t Example 9.6\n");
T1=628; //saturated temp.of water, K
a=13996; //desity difference,kg/m^3
s=0.418; //surface tension,kg/s^2
Hfg=2925*1000; //latent heat,J/kg
a2=4; //density of mercury, kg/m^3
Qmax=0.149*a2^0.5*Hfg*(9.8*a*s)^0.25/10^7-.015;
... |
6f7703d9a7e8ada99763b5d281af480303ce5981 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH8/EX8.5/Ex8_5.sce | 49dda9167d27824bd71bc04b27a4b133099e6a8a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | Ex8_5.sce | // Example 8_5
clc;funcprot(0);
// Given data
Q=5;// The flow rate of water through a pipe in gal/min
q=10*10^3;// kW
c_p=4.18;// The specific heat in J/kg.K
rho=1*10^3;// The density of water in kg/m^3
// Calculation
Q=(Q*3.785*10^-3)/60;// The flow rate of water through a pipe in m^3/s
deltaT=q/(rho*Q*c_p*... |
45e429a7badfc89ef267618f512a779deb65af86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH7/EX7.2/ex2.sce | cee38c9badd83acd2482fd020ce40ca7eb76b8f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 859 | sce | ex2.sce | //ques2
//Entropy Generation during Heat Transfer Processes
clear
clc
//(a)Sink at 500K
Qsource=-2000//heat of source in kJ
Qsink=2000//heat of sink in kJ
Tsource=800//temperature of source in K
Tsink=500//temperature of sink in K
Ssource=Qsource/Tsource//entropy of source in kJ/K
Ssink=Qsink/Tsink//entropy o... |
d3027167ee4b4cc0fee4588d00581bfbb1c1fbf4 | 726961a3412b6d2fda7c781172773be5e27ac97a | /jflap-grades/tests/q07a.tst | 196035a6a77b1a60470c1f1c6e7d6781e11d3e3b | [] | no_license | ailton07/jflap-grades-19-2 | 0546deb482e7f8e003591351191fa649d62fd405 | ff58118d31aa30a0f56cae8e5f0186d44c1b72a8 | refs/heads/master | 2020-09-16T12:49:31.560841 | 2019-11-25T01:03:19 | 2019-11-25T01:03:19 | 223,774,968 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 57 | tst | q07a.tst | 0
0.20
a 1
aabb 1
b 1
aabbabb 1
aabbb 0
abb 0
ab 0
bab 0
|
6c488dab773b60f3c15df9f67b6868e81d6fd2d0 | 9d0d8cfb131efa34cafc47d938fac6ddcee0750c | /miniproject/2prob/1_auto_correlation.sce | e1de5883925d1cb5cb621f38cd9d492d073f7d58 | [] | no_license | kazipetasurya/ee340 | 52c688b028a28effa88dc4a9eb653735e4fc19bc | 3885ad37122817c03d9a51d9f7df2c9c9f5f7251 | refs/heads/master | 2021-01-18T15:10:53.081056 | 2012-09-07T06:43:54 | 2012-09-07T06:43:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 903 | sce | 1_auto_correlation.sce | // Group_13: Bhargava B
// Surya K
// S K Savant
// Question:
// Let x(n) be the 13-point Barker sequence
// x(n) = {+1, +1, +1, +1, +1, -1, -1, +1, +1, -1, +1, -1, +1}.
// Determine the auto-correlation of the above sequence.
//
// Function to find auto_correlation of x
//Barker NOT WORK... |
b23f2d9f355c1b4597d867bd62cc6f97a1cc899e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH2/EX2.2/Ex2_2.sce | fdebe6df40318ce8b57a00dedfda7637ab7e77cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,103 | sce | Ex2_2.sce | // Exa 2.2 Determining the infinitesimal stage efficiencies
p1=1.02; // Initial Pressure in bar
T1=300; // Initial Temperature in K
// part(a)
T2=315; // Final Temperature in K
gamma=1.4; // Specific Heat Ratio
g=9.81; // Gravitational acceleration in m/s^2
sg=1; // Specific Gravity of air
delp=(1500)*(0.00... |
844160d31281c430dc621da1d6d39e6fd065166c | 2bcf8b686dd75e7c33ba3308c5ec76a2c1af7c35 | /transpose.sce | 592d90dcd060ce70900ae35f34accd6a79833758 | [] | no_license | syedareehaquasar/SciLab | f6da02f5b786c921b0f0c83a2731125dcc0b8908 | a0947979837c5ced321843d33a6df91e63b41aef | refs/heads/main | 2023-07-04T01:27:23.322819 | 2021-08-14T11:43:00 | 2021-08-14T11:43:00 | 350,408,788 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | transpose.sce | function [B] = transpose(m, n, A)
B = zeros(m, n);
B = A';
disp('The marix is ', A)
disp('Transposed matrix is ')
endfunction
|
18f7f359ced582f5de4a5f08854b8f6698344761 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH13/EX13.4.1/13_4_1.sce | c8a69e6f6e67f4db127736ebebec94ec020d7a05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | 13_4_1.sce | clc
//initialisation of variables
u1= 0.5 //ft^3/sec
b= 5 //ft
w= 4 //ft
g= 32.2//ft/sec^2
//CALCULATIONS
u= u1*12*12/(b*w)
s= sqrt(g*w/12)
F= u/s
r= 0.5*(sqrt(1+8*F^2)-1)
y= r*w
yc= (((w*y*(y+w)))/2)^(1/3)
//CALCULATIONS
printf (' critical depth= %.2f in',yc)
|
63540edbf1c901583a24869a1a6614cfa5793a96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH6/EX6.16.b/6_16b.sce | 565f7ee0679b3f4bb0d8266eae496e45e5cb1419 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | 6_16b.sce | pathname=get_absolute_file_path('6_16b.sce')
filename=pathname+filesep()+'6_16b_data.sci'
exec(filename)
R_Cmax=(Pf*P*746/W)-0.8776*sqrt(W/(D*S*Cdo))*(1/(L_Dmax)^1.5)//(R/C)max
printf("\Answer:\n")
printf("\n\Maximum Rate of climd for CP-1: %f m/s\n\n",R_Cmax) |
319e73a7187203c468fda2525d9901e94cce6227 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH2/EX2.12.1/Ex2_12_1.sce | 5078dd24bda44a94783b3b4ac6e4c548ea41c7fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | Ex2_12_1.sce | clear
clc
DelH2m_f=10;//molar heat of fusion in kJ/mol
T1=298.15;//temperature in K
T2=353.35;//freezing temperature in K
R=8.314;//in J/Kmol
X=(10^-(((DelH2m_f*10^3)/R)*((1/T1)-(1/T2))));//solubility of napthalene
printf('X=%.4f',X)
//solution is wrong
//There are some errors in the solution given in textbo... |
3c7e302a2926175ae0fbda5505172a2fd27c3556 | 449d555969bfd7befe906877abab098c6e63a0e8 | /656/CH2/EX2.1/example2_1.sce | e2a363f328a1473d220fa4868b7842b1bd794bd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | example2_1.sce | // current is 2A
//120V
i=2;
v=120;
// v=I*R where R is the resistance in Ohms
r=v/i;
disp("r=")
disp(r)
units='Ohms'
r=[string(r) units];
disp(r)
|
800799bc476648481c6aed46f26ae1d8cc8db71c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH5/EX5.15/ex5_15.sce | b5278d585b4445e17b28499d9af49ca1af86f2e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | ex5_15.sce | // Exa 5.15
clc;
clear;
close;
format('v',6)
// Given data
Af = 100;
Vi = 0.6;// in V
Vo =Af*Vi;// in V
Vi = 50;// in mV
Vi = Vi * 10^-3;// in V
// Internal gain of amplifier,
A = Vo/Vi;
disp(A,"The value of A is : ");
B= ((A/Af)-1)/A;
disp(B,"The value of B is");
|
ee3fd854a11a1c244e51a73719caa93ebea6c5b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH2/EX2.12/Ex2_12.sce | 2afe905f30e4656806576d626c462c87d77bafd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,192 | sce | Ex2_12.sce | clc
mo = 9.1*10^-31
disp("mo = "+string(mo)+"kg") //initializing value of mass of electron
m_star=0.067*mo
disp("m_star=0.067*mo = "+string(m_star)+"kg") //initializing value of appropriate mass in the conduction band for GaAs
apsilen = 13.2*8.85*10^-14
disp("apsilen = "+string(apsilen)+"F/cm") //initializing val... |
20d2015c77953d3a2fb1093fdfaf0d60fcce53de | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH10/EX10.13/Ex10_13.sce | 4e69c8d3fc00a5bf34a6940d3ff0dbd4de3bf911 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,013 | sce | Ex10_13.sce | //===========================================================================
//chapter 10 example 13
clc;
clear all;
//variable declaration
P = 1000; //resistance in arm AB in Ω
Q = 100; //resistance in arm BC in Ω
R = 200; //resistance in arm BD in Ω
Si1 = 10; //sensitivity
Si2 = 5; //sensitivity
... |
028cf895868b6e14ceab532025f7dfe07f0e0370 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.12/12.sci | 85aff7a4a6df3e6b3a5112913f402ce507642fd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sci | 12.sci | clc;
clear all;
disp("Laminar air flow")
L=2;//m length of plate
U=5;//m/s velocity of air
rho=0.815;//kg/m^3 density of air
k=0.03025;// W/(m.C)
Pr=0.6965;// Prandlt number
Ts=120;// degree C
Ta=40;// degree C
v=2.107*10^(-5);//m^2/s kinematic viscosity
Re=U*L/v;// Reynold's number
Nu=0.664*(Re^0.5)*... |
baee042315930428821c68f40ab6b55418c45c95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH39/EX39.24/Example39_24.sce | 089658642fa8c79d1ac01e353ab45e02c622e3ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,077 | sce | Example39_24.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 1: INDUSTRIAL APPLICATIONS OF ELECTRIC MOTORS
// EXAMPLE : 1.24 :
// Page number 706
clear ; clc ; close ; // Clear the work ... |
776ab052564330f9f546ad7aca1541d92cef83cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH8/EX8.1.b/8_1_b.sce | c11e46f23fe3f26be714550e750cc80a8506547a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | 8_1_b.sce | //determine the nyquist rate
//8.1(b)
clc;
clear all;
//x(t)=sin2(200*pi*t)
//x(t)=0.5-0.5cos(400*pi*t)
wp=400;
F1=wp/2;
Fs=2*F1;
disp('Nyquist Rate=');
disp(Fs);
|
01b7315a73d156f21c22183747e3d43d1bbe4721 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH3/EX3.3.2/Ex3_2.sce | b009c42d48f86de2ad9bb9b1935c29ce772cb864 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 856 | sce | Ex3_2.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 3.3.2\n')
//given data
m=10 //mass of solid in Kg
Kr=3000 //stiffness of natural rubber in N/m
Kf=12000 //stiffness of felt in N/m
Cr=100 //damping coefficient of natural rubber in N-sec/m
Cf=330 //damping coefficient of felt in N-sec/m
//calcu... |
86a49e2e337073bd80093a41d8f28e33f7a4b551 | 7c4e0931bb85459599a2fde1bc9b9b0fdab7fb67 | /grayplot-cam.sce | 82ec7dbae3a9f49326aee2ca510045187a321a63 | [] | no_license | jendralhxr/directional_fft | 8182b731666d2cdd94ec244aea20160bc9e6f1ef | 37861c23da94c95a39b712983e34900a2231b154 | refs/heads/master | 2020-04-18T02:01:30.600285 | 2019-05-28T03:53:41 | 2019-05-28T03:53:41 | 167,143,446 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,093 | sce | grayplot-cam.sce | // run it this way:
// $ scilab-adv-cli -f grayplot-cam.sce -args cameradisplacementfile
clear;
exec('peak_detect.sci');
funcprot(0); // peaks() is redefined
args= sciargs();
temp=csvRead(args(5), ascii(9), 'double');
threshold_ratio= 32;
sample_window= 120; // FFT sample_window window
sample_time= 10; // s
freq_samp... |
f2ff6a9fbf4c9f199a6224b223188da9d17c1a9e | 80335a5c9987651235ecbf483d9484e1e59683ae | /crawler/workspace/crawler/pywhois/pywhois/mangatrader.tst | 75f15004e6ac49134cbbab0bb548eeb4a31d0922 | [] | no_license | samuelbernardo/27_CertPine_2012 | b637d8561cbcd7ae17f266a6fdb74054a5863276 | e60cc2e9270e79d3fe2a1cffa7d65bdaafa6208b | refs/heads/master | 2016-09-09T17:44:32.184467 | 2012-12-15T00:53:26 | 2012-12-15T00:53:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,887 | tst | mangatrader.tst |
Whois Server Version 2.0
Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
Domain Name: MANGATRADERS.COM
Registrar: GODADDY.COM, LLC
Whois Server: whois.godaddy.com
Referral URL: http://registr... |
d82bfe46c44099ae7c114975bf07a5b600f12c3e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/util/unix_g.sci | 6addaae5d243332aee3056ebdce353228b204fef | [
"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 | 1,244 | sci | unix_g.sci | function [rep,stat]=unix_g(cmd)
//unix_g - shell command execution
//%Syntax
//rep=unix_g(cmd)
//%Parameters
// cmd - a character string
// rep - a column vector of character strings
//%Description
// cmd instruction (sh syntax) is passed to shell, the standard output
// is redirected to scilab variable rep.
//%Exam... |
8835c29a1bebfacb11627fe6ea42f1e223392e61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH7/EX7.14/ex7_14.sci | 68e11e2b23297fff48afd4e08df98e7e69ec957d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | ex7_14.sci | //Programming Example 7.14
//factorial of an integer using recursion
function[] = main()
//read in the integer quantity
printf("n = ");
n=scanf("%d");
//calculate and display the factorial
printf("n! = %d\n", Factorial(n));
endfunction
function[f] = Factorial(n)
... |
fe171e3291e96db862d5105bf9b92bff76b93462 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH15/EX15.04/15_04.sce | 48523113eb5385885bae872ffdaa101bd49b138b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,297 | sce | 15_04.sce | //Problem 15.04:
//initializing the variables:
A = 10;
B = 100000;
//calculation:
// Since there are two contributing factors to the cost model, one may write the \n following equation for the profit, P
//P = A(t - tc) - B/(TH - t);
TH = 500
tc = 100
//For breakeven operation, set P = 0 so that
//(t - tc... |
f1e2cb499662241af263f7ddda70f37b1633e9ff | 397456b742a46d88c251aa168bfe794903987f93 | /Moth-Flame Optimization Algorithm/standard/scilab/moth-flame-o.sce | 20bd546d2beab3af2e0f4ea43a9a834dc497a8e3 | [] | no_license | JonesCG/PROJECT-NIOA | b5dcc7820d818369a4115fbb34b0f7ba02d7a129 | 7e6a3aa9a5deda6aa4eec9f4d523556844593c8b | refs/heads/master | 2022-08-16T14:06:54.967718 | 2020-05-18T08:17:47 | 2020-05-18T08:17:47 | 264,872,793 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,477 | sce | moth-flame-o.sce |
clear
clc
exec('objective.sce');
disp("RUNNING...")
rand('seed',getdate('s'))
POPSIZE = 50
DIM = 2
UPPER = 100
LOWER = -100
MAXITER = 50
b=1
MOTH = rand(POPSIZE,DIM).*(UPPER-LOWER)+LOWER
FIT = F1(MOTH)
[BESTFIT IND] = min(FIT)
GBESTPOS = MOTH(IND,:)
GBESTFIT = BESTFIT
// SORT MOTH BASED ON FITNESS AND STORE SORTE... |
a810354bd2e4550864aca03f5129fd730be7df11 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CS3G.prev.tst | 73fc91e3779f06545b71cca95dfc65feb5449530 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 941 | tst | CS3G.prev.tst | CandidateSelector expand width=4 base=5 exponent=3 left=4 right=0 fileName=data/prewrob3.sub.man
chain8 [[3,-3,0,3],[3,0,3,0],[-1,3,2,-3],[2,1,3,-1]] det=0 [71,-14,-70,-23] [186,3,-184,-59] [372,6,-368,-118] [744,12,-736,-236] [1488,24,-1472,-472] [2976,48,-2944,-944] [5952,96,-5888,-1888] [11904,192,-11776,-3776] [23... |
03522aaf020c1a1c0ed60be052e2d38df4945217 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH1/EX1.1/1.sce | 8134be1f99c0f8f789dd3bfb0bbad012d5fc0352 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 167 | sce | 1.sce | clc
rho=924; //kg/m^3
g=9.81; //m/s^2
H=2; //m
d=2; //depth in m
p=rho*g*H;
a=d*H;
F=p*a/2;
disp("Total force exerted over the wall =")
disp(F)
disp("N") |
1fdaab028e7b98a08d32d9740f925d4d042402df | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH5/EX5.7/Ex5_7.sce | 33510409d724e49d7d9f98a4d40f8146176d7b06 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,485 | sce | Ex5_7.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 5.7\n\n\n");
// Chapter 5 : Properties Of Liquids And Gases
// Problem 5.7 (page no. 192)
// Solution
//Using Table 2 ans a quality of 80%(x=0.8),we have
//at 120 psia
x=0.8;
sf=0.49201; //saturated liquid entropy //Unit:Btu/lbm*R
sfg=1.0966; //Evap... |
46de6d915cd9ed1520094bf4bc908c85c0a233a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH4/EX4.5/Example4_5.sce | 4a089d38fb64852dc5d53f40b8ce32ad136a5b08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | Example4_5.sce | //Example 4.5
clc;
clear;
close;
format('v',8);
//Given data :
S1=1.2;//sp. gravity
S2=13.6;//sp. gravity
w=1000;//kg/m^3
h2=50/1000;//m
h1=200/1000;//m
pa=w*(S2*h1-S1*h2);//kg/m^2
disp(pa,"Pressure in the pipe in kg/m^2: ");
disp(pa*9.81,"Pressure in the pipe in Pa: ");
|
47c76a44fbea03769cad83f2b0b358ffeed6d542 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._Rajagopal_2840.zip/Engineering_Physics_K._Rajagopal_2840/CH10/EX10.4/Ex10_4.sce | 979c45371bf1cfdb2a1e5f7987752fa4278b9131 | [] | 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 | 205 | sce | Ex10_4.sce | errcatch(-1,"stop");mode(2);;
all;
Ef=5.51 //in eV
E=(3/5)*Ef;//The average energy of a free electron in silver at 0k
disp(+'eV',E,'The average energy of a free electron in silver at 0k =')
exit();
|
49d90a5ad6a12db8dca86e1edea92ae7c7efcd41 | 57af31f8edca423b6c1c37a40e7a3b18c9689d9e | /Test/testC.sce | 4d790d37453cb75273db9a569a1c87bd74b5a769 | [] | no_license | Nandish82/Scilab | 9531c3430f141fce5193fbb206aaf48c4a7bfa43 | 26bd720a86c88601f0c4b913f4e973027ab8bbf9 | refs/heads/master | 2021-01-23T15:42:37.495141 | 2015-04-14T21:30:04 | 2015-04-14T21:30:04 | 31,420,748 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,109 | sce | testC.sce | //Example 1 with a simple C code
f1=['#include <math.h>'
'void fooc(double c[],double a[],double *b,int *m,int *n)'
'{'
' int i;'
' for ( i =0 ; i < (*m)*(*n) ; i++) '
' c[i] = sin(a[i]) + *b; '
'}'];
m... |
491ec3b2c9cbcf526e3b325c3ab542c79229976e | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/Moving_reference_frame.tst | d2d3384446c3b9001760bfbd178f64db6ac6343a | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 916 | tst | Moving_reference_frame.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Moving Frame of Reference test </description>
<executable>IncNavierStokesSolver</executable>
<parameters>Moving_reference_frame.xml</parameters>
<files>
<file description="Session File">Moving_reference_frame.xml</file>
<file descri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.