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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fa679016b12eae4491e03a4239e7ffee918b17c0 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/Ripper-C/results/Ripper-C.vehicle-10-1tra/result9s0.tst | 25e388cae1128f88cecfb70bdac59877883293f6 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,902 | tst | result9s0.tst | @relation vehicle
@attribute Compactness integer[73,119]
@attribute Circularity integer[33,59]
@attribute Distance_circularity integer[40,112]
@attribute Radius_ratio integer[104,333]
@attribute Praxis_aspect_ratio integer[47,138]
@attribute Max_length_aspect_ratio integer[2,55]
@attribute Scatter_ratio integer[112,26... |
4454b1b2f8adc8684275e1e4a7046da17b71065b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH11/EX11.16/filtval.sci | 1d4dcb6b59669a69625f880f48cb1f356beac549 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sci | filtval.sci | // Value of polynomial p(x), evaluated at x
// 11.16
// finds the value of a polynomial in powers of z^{-1}
// function Y = filtval(P,z)
function Y = filtval(P,z)
N = length(P)-1;
Q = polyno(P,'x');
Y = horner(Q,z)/z^N;
endfunction;
|
8828663f1e35585a074cc8bfc7e40498bdb611ff | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/allowexcept_runme.sci | 014c77830c0440b3a9ea7cd99e310da7cb76f0cc | [
"Apache-2.0",
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 81 | sci | allowexcept_runme.sci | exec("swigtest.start", -1);
// TODO: add tests here
exec("swigtest.quit", -1);
|
17be5d03b71ff2d64255921c85aef5fa7f83ae81 | 717ddeb7e700373742c617a95e25a2376565112c | /1442/CH5/EX5.3/5_3.sce | d31574f3ede9c9b66ce0001072ae2465d139ad1c | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 448 | sce | 5_3.sce | clc
//initialisation of variables
V= 20 //L
m= 0.050 //gms
M= 29 //gms
T1= 20 //C
T2= 150 //C
k= 1.4
V1= 0.05 //m^3
//CALCULATIONS
p1= m*R*(273.15+T1)/(M*(V/10))
p2= m*R*(273.15+T2)/(M*(V/10))
dU= p1*V1*(((273.15+T2)/(273.15+T1))-1)*100/(k-1)
dH= k*dU
//RESULTS
printf (' intial pressure = %.1f kPa',p1)
... |
206ab06825169e61c3cab90d6c115cbde7d2f473 | 51f76fc86384808f81a7b6e72d8b7645aa953018 | /Act_9(2).sce | 48e6a4c0c7fae643c6965971011b09c9129ae3c3 | [
"MIT"
] | permissive | marychrisgo/Image-Processing-Activities | 5987315b8101cadec8b89298400b357014e4d698 | bf05c492451b69a3028cf3f5a7674da621ca54c7 | refs/heads/master | 2020-12-15T10:42:05.452822 | 2020-08-23T09:55:14 | 2020-08-23T09:55:14 | 235,077,663 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,472 | sce | Act_9(2).sce | flist =[]
dlist =[]
i = 1
while i<54
if sum(sizelist(i)==[180:210])
if sum(xlist(i)==[35:38])
flist = [flist 261.63*2]
dlist =[dlist 1]
end
if sum(xlist(i)==[26:32])
flist = [flist 293.66*2]
dlist =[dlist 1]
end
if sum(xlist(i)==[19:25])
flist = [flist 329.63*2]
dlist =[dlist 1]
end
if sum(xlist(... |
f0e33b1c0189c4af90779108128b24a5e00c9330 | 67549df2a087a841e4e04a54509843c18795a981 | /packets/echantillons/dojo/form.sci | 0103d170a28ea502b38a1d8dc6bc531f83e0632d | [] | no_license | scicasoft/CRUD-generator | 60494434091147e1f8aa62c02b7d34339747885e | 037a7dabdf4d84933ffec560c0bd1a85c45deb03 | refs/heads/master | 2020-05-03T11:30:19.887391 | 2011-06-12T10:33:38 | 2011-06-12T10:33:38 | 719,111 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,414 | sci | form.sci | <?php
class Forms_[[NOM_TABLE_MAJ]] extends Zend_Dojo_Form {
// protected $_standardElementDecorator = array(
// 'ViewHelper',
// array('decorator' => array('td' => 'HtmlTag'), 'options' => array('tag' => 'td')),
// array('Label', array('tag' => 'td')),
// array('decora... |
820cb92b46a6ae7090541211ae58aaca56c14f00 | e657bbadea88191ece0e48eb447173a4c5f816f6 | /dirichletFunctionWithPlot.sci | 693a85d3303f55149ea26785aa4c030470ecb29e | [] | no_license | vainia/Learning-SCILAB | c37d6071907ea4fad811071a3164454a927602d8 | d77877b1316b8b3546cb32cb9e29e7ad70d25280 | refs/heads/master | 2020-03-10T09:51:08.444686 | 2018-04-12T23:13:06 | 2018-04-12T23:13:06 | 129,320,183 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sci | dirichletFunctionWithPlot.sci | function [y] = dirichlet(x)
m=length(x)
y=zeros(x)
for i=1:m do
for k=1:10^4 do
y(i)=y(i)+1/k^x(i)
end
end
endfunction
x=linspace(1.1,5.50)
y=dirichlet(x)
clf
plot(x,y)
xtitle("Funkcja Dirichleta",'x','D(x)')
xtitle("Ivan Napolskykh")
|
256e12b8d1938d1af5abd2662a1a47efb8e8f16e | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH2/EX2.28/2_28.sce | 833b7b84a6a8d0ad337f4475e9af4821fd342731 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | 2_28.sce | //Mesh Analysis
A=[4,-2;998,24.5]
I=inv(A)*[1/1000;0]
disp(I)
P1=I(2)^2*2.5*1000
P2=1/1000*I(1)
P3=-10^6*I(1)*I(2)
P=[P1,P2,P3]
disp(P) |
1d478cb1567cacc349ea9d36db5a74b7b8c7194f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/xclea.man.tst | 8ab0ae088c9362442eb8a8045cb3b250cc4fd572 | [
"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 | 66 | tst | xclea.man.tst | clear;lines(0);
x=[0:0.1:2*%pi]';
plot2d(x,sin(x))
xclea(1,1,1,1)
|
6244dfb713844159b28fd7a71d4512a478132b28 | 15d3702a1f4402ab16e6b4cfc725ff7e996843ef | /predictions/linzen/wsj-10/parses.tst | c74806732e0d9992b652058536319911703619b0 | [] | no_license | viking-sudo-rm/industrial-stacknns | 2ecb36a6c5da2e295b91f854dc96d6bc4c2e4b6a | f08da2dcc27f2688eb99e10934ad89e41b879de8 | refs/heads/master | 2020-04-26T03:36:50.038626 | 2019-12-26T16:51:52 | 2019-12-26T16:51:52 | 173,272,681 | 14 | 3 | null | 2019-04-13T19:51:25 | 2019-03-01T09:22:01 | Jupyter Notebook | UTF-8 | Scilab | false | false | 658,083 | tst | parses.tst | (X (X (X (X (X (X a) (X Lorillard)) (X spokewoman)) (X (X said) (X ,))) (X (X ``) (X This))) (X (X is) (X (X (X an) (X (X old) (X story))) (X .))))
(X (X there) (X (X is) (X (X (X no) (X asbestos)) (X (X in) (X (X (X (X our) (X products)) (X now)) (X (X .) (X '')))))))
(X (X (X it) (X (X has) (X (X no) (X bearing)))) (... |
0127454fc4d769c625f99893a7b7757fed9db3c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH5/EX5.23/Ex5_23.sce | c87fbc9b25cd129c5356897a38520c7fee429137 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_23.sce | // Scilab Code Ex5.23: Page-295 (2008)
clc; clear;
h = 6.62e-034; // Planck's constant, Js
m = 9.1e-031; // Mass of the electron, kg
v = 1e+003; // Velocity of the electron, m/s
delta_v = v*0.05/100; // Minimum uncertainty in the velocity of the electron, m/s
delta_x = h/(m*delta_v); // Minimum unc... |
622e48c1ca2922a8110772176a6357d896741d9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH2/EX2.6/Ex2_6.sce | a5dcb9d0f6782f0f33f2c7cdb8e0752e47ca6be8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | Ex2_6.sce | clear
dia = 50 //mm - diameter of aluminium
p = 100 // KN - instant force applied
dia_c = 0.01215 //mm- change in diameter
l_c = 0.219 //mm - change in length
l = 300 //mm - length
strain_dia = -dia_c/dia // lateral strain
strain_l = -l_c/l //longitudinal strain
po = strain_dia/strain_l // Poisson ratio
area = 3.14*dia... |
b6ce11ee1a9bed151ce94900faacc3fb837c1125 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH4/EX4.9/Ex4_9.sce | b3914ff46a79e5a21376efa0d39db606f51c08d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | clc;
clear;
close;
//pagec no 107
//Figure 4.13
Ri=20*10^3; //In Ohm
Vin=0.4; //In Volt
Rl=1*103;//In ohm
gm=1/Ri; //unit-micro*Siemens
Iload=gm*Vin;
disp("A",Iload,"Load current is");
//maximum current is 20microAmp in Op Amp
Vout=(Ri+Rl)*Iload;
disp("V",Vout,"V max ");
|
800c9c5ace57403ea6be7271d57f20b7f4d6e130 | e2cee73f9682b79c4a5d6a1e6381cf6679dc1094 | /TP_AN/exemple.sce | 40afd2b551c73a3fea463fb5c8d5e8fb6132a681 | [] | no_license | melurne/TP_ANgit | b1b91e444aef30706fef0cac4da9355d4d04e1aa | 59c1aa6a5261f9753e108877079a495d5b95fb50 | refs/heads/master | 2023-04-19T09:23:02.045251 | 2021-05-17T14:56:34 | 2021-05-17T14:56:34 | 350,416,537 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 32 | sce | exemple.sce | exec("exemple.sci")
y=carre(5)
|
3dfd80e8a7b14118d1ba93e877ddf5a90343a7b6 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TEC20.prev.tst | 6f127f94fb6e23f8bd9d38cd724f974512f5655f | [
"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 | 145 | tst | TEC20.prev.tst | -> solution [5,3],NONTRIVIAL
-> solution [5,3],NONTRIVIAL
-> solution [5,3],NONTRIVIAL
-> solution [5,3],NONTRIVIAL
-> solution [5,3],NONTRIVIAL
|
f103f007debd516a1fa10f4e631107e8124203b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH7/EX7.12/7Ex12.sce | 1e8eeddad079b95e8f46b28dd89d8d48b0f02086 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sce | 7Ex12.sce | //Chapter 7 Ex12
clc;
close;
//let ten's digit be x, thus unit's digit is 9-x
//number=10x+9-x=9x+9
//number obtained by reversing digits=10(9-x)+x=90-9x
//polynomial is: 18x-144=0
mycoeff=[-144 18];
p=poly(mycoeff,"x","coeff");
ans=9*roots(p)+9; //since given number as calculated in line 6
printf("The numb... |
22fbdc5ad33bf95ec1a4ddeb2bbcebb5b3be8b7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH4/EX4.11.3/Ex4_17.sce | 827e5825e47ac14594ead7ba9507c0196b2b5dd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | Ex4_17.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 4.11.3\n')
//given data
J=0.049//moment of inertia in kg-m^2
Kt=0.98//stiffness in N-m/rad
Ct=0.11//damping coefficient in N-m_sec/rad
N=15//R.P.M
thetaRD=2//relative amplitude between ring and shaft in degrees
//calculations
W=N*2*%pi/60 //freq... |
f7c22a7bc5c9d81325a9a9a5c6abbe62d623167b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH5/EX5.4/Ex5_4.sce | 3545232eef4f5a21132706839348992dc6f91931 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,355 | sce | Ex5_4.sce | //CHAPTER 5 ILLUSRTATION 4 PAGE NO 162
//TITLE:Inertia Force Analysis in Machines
clc
clear
pi=3.141
D=.10// Diameter of petrol engine in m
L=.12// Stroke length in m
l=.25// length of connecting in m
r=L/2
mR=1.2// mass of piston in kg
N=1800// speed in rpm... |
1497c7102283bba4cd08c38061bd36a25a504d23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH14/EX14.1/14_1.sce | 59d18e05606d2cede24e2c2a93fd7b6ab294030c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14_1.sce | //Find relative permeability and Intensity of magnetisation
//Ex:14.1
clc;
clear;
close;
x=1500;//susceptibility
h=2400;//mafnetic field in A/m
u_r=1+x;
disp(u_r,"relative permeability = ");
m=x*h;//in A/m
disp(m,"Intensity of magnetisation (in A/m)");
u_0=4*3.14*10^-7;
b=u_0*u_r*h;//in T
disp(b,"Remanance... |
d9c7e28b3f9c53c0f681e5be4a43b8effd56baf4 | 885ee700356ad98a29fe87d97751e692062de746 | /data/pos_exp/pos_data/german.low.tst | 679f5f484442868008704217e338517461f4f769 | [] | no_license | LINGuistLIU/IGT | 1e58bfea1e7d70bdff507c67fa856c55af5bbdc2 | 8b9ca93189424118a669582ce54192bf441fcc6a | refs/heads/master | 2022-08-31T12:33:23.649666 | 2020-05-28T20:27:18 | 2020-05-28T20:27:18 | 267,152,155 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 33,331 | tst | german.low.tst | zunehmen nahmst_zu V;IND;PST;2;SG
Seeräuberei Seeräuberei N;GEN;SG
wärmen wärmte V;SBJV;PST;3;SG
blockieren blockierest V;SBJV;PRS;2;SG
Kissen Kissens N;GEN;SG
quaken quaken V;SBJV;PRS;1;PL
versperren versperrte V;SBJV;PST;3;SG
antun tuen_an V;SBJV;PRS;1;PL
nahen nahte V;IND;PST;1;SG
Baumgrenze Baumgrenzen N;ACC;PL
dün... |
91b2a82ff902a94e1a91436432ab54397dc225fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH6/EX6.4.a/Example_6_4a.sce | aed4b8ae35374e21e747de91bd3aab75d1d3e079 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | Example_6_4a.sce | //Ductility
clear;
clc;
printf("\tExample 6.4\n");
di=12.8; //Initial dia in mm
df=10.7; //Final dia in mm
printf("\n\tPart A");
//Ductility in terms of Reduction Area
RA = ((di^2-df^2)/di^2)*100;
printf("\npercent reduction in area is %d %%\n",RA);
//End |
2b7e4e435c0feb6e38849e8a84fe1d51d401e65e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH2/EX2.3/ex2_3.sce | 3d9d2f771e459fc273c58060a51eae9c2b4587e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | ex2_3.sce | clc;clear;
//Example 2.3
//given values
d=6*10^-3;//distance between plates in m
V=900;//potential difference in V
B=0.5;//uniform magnetic field in Wb/m^2
Q=1.6*10^-19;//the charge on electron in C
R=10.6*10^-2;//circular track radius in m
//calculation
v=V/(B*d);
m=R*Q*B/v;
disp(m,'The mass(in kg) of p... |
bacb31aaeb82ef57a3ce4c90ba0e1f62d27652f8 | e8bcf3f9ffdfb367940fb9ed498b1c598ce92e65 | /subplot.sce | da570689900a278e0c906b65156dd3b89a32d18b | [] | no_license | yoddha24/Intro-to-Scilab | 1fe25aee3ebd319bc2c9e2cf7c25d7050b09890e | 4c458c1bea6880839ebae07adfd39dea0eac4e2c | refs/heads/master | 2021-01-20T18:24:05.191473 | 2016-08-08T13:45:16 | 2016-08-08T13:45:16 | 65,207,356 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 742 | sce | subplot.sce | //Program to show usage of subplot function
//subplot function produces a figure as a matrix
x=linspace(-2*%pi,2*%pi,1000);
//1st figure of a 2X2 figure matrix
subplot(221)
plot(x,sin(x),'r*')
title('Plot for sin(x)')
xlabel('x')
ylabel('sin(x)')
//2nd figure of a 2X2 figure matrix
subplot(222)
plot(x,s... |
12d2522ae6da67a223c04823cce347628fbd2a45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH8/EX8.16/8_16.sce | 282c4563e19f344f2341e745b220f5157b50e1bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_16.sce | //To calculate the Hall coefficient
Vy = 37; //voltage, micro-V
Vy = Vy*10^-6; //voltage, V
t = 1; //thickness, mm
t = t*10^-3; //thickness, m
Bz = 0.5; //flux density, Wb/m^2
Ix = 20; //current, mA
Ix = Ix*10^-3; //current, A
RH = Vy*t/(Ix*Bz); //Hall coefficient, C-1 m^3
pri... |
934e9890a526d205345a7d14fb7f0a0f6d04ab5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH12/EX12.3/example12_3.sce | 07dc4d76ae25441e9ef9299de951b73246e2185c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | example12_3.sce |
//example 12.3
//page 450
clc; funcprot(0);
//initialisation of variable
Q1=82;//flow rate
Q2=100;//flow rate
H1=17.5;//head of water
H2=20;//head of water
d1=36;//diameter
N1=1500;//rpm
k1=Q2/Q1*N1*d1^3;//k1=N2*d2^3;
k2=H2/H1*N1^2*d1^2//k2=N2^2*d2^2;
d2=(k1^2/k2)^(1/4);
disp(d2,"diameter (cm)");
N2=k1/... |
b34f1f626fe555c76b553fe22f367698bfc3c0f3 | e176c804d3e82d065a9c9635dad92da21c1483a9 | /libs/soustractionpbm.sci | ddcbb3d8934ba7dc162eff7e76e25586c5ceb424 | [
"MIT"
] | permissive | Exia-Aix-2016/ExoLife | 38f7d5e54a1fd26333f19d99a8b63f0d64cc4c4c | a88d4bc3b852f8a85b6c8cc0979ced29fb28b751 | refs/heads/master | 2021-09-07T01:47:04.742247 | 2018-02-15T11:57:47 | 2018-02-15T11:57:47 | 120,471,380 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | sci | soustractionpbm.sci | function output = soustractionPBM(pbm1, pbm2)
endfunction |
5d43572fc6c21f75485b9eaf5a78bf33b14d3ef2 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/see_possibility.sce | 2ad30f237947bde1f97b7cb8caa618d1262c1667 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | see_possibility.sce | function see_possibility(S)
// S= sudoku with 9 rows and 9 columns
S_pos=[]
for i=1:9
row=[]
for j=1:9
if S(i,j)==0 then P=possibility(i,j,S)
else P=S(i,j)
end
row=[row strcat(string(P),',')]
end
S_pos=[S_pos;row]
end
... |
137e8daa01e14d41f3f2dd038a04875458168e8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH27/EX27.3/EX27_3.sce | 2655dac1f5f48459fcd4c310ff79b7d11434d715 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | EX27_3.sce | //chapter27
//example27.3
//page578
h11=10
h12=1
h21=-1
h22=0.2
rL=5 // ohm
Zin=h11-(h12*h21/(h22+1/rL))
Av=-h21/(Zin*(h22+1/rL))
printf("input impedence = %.3f ohm \n",Zin)
printf("voltage gain of circuit = %.3f \n",Av)
|
c84fdc2ba5b7d39ebe11dd0eab2998c14497fbfd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.12/example1_12.sce | 5f642b411eed75d6d394488ef75804689e48256d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sce | example1_12.sce |
//exapple 1.12
clc; funcprot(0);
// Initialization of Variable
pi=3.14159;
alpha=22+36/60;//altitude of star
A=42//azimuth angle
delta=40;//latitude of observer
//in triangle ZPM(figure in book)
PZ=(90-delta)*pi/180;
A=A*pi/180;
ZM=(90-alpha)*pi/180;
PM=acos((cos(PZ)*cos(ZM)+sin(ZM)*sin(PZ)*cos(A)));
t... |
b1a8515088d6652ea0d2a189a6494a6563f8fc3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH1/EX1.21/Ch01Ex21.sci | 6fe293b05e74e5a8fbb4c342f7d43b54180203ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 609 | sci | Ch01Ex21.sci | // Scilab Code Ex1.21 Fractional speed of electron: Pg:29 (2008)
m0 = 9.1e-031; // Rest mass of an electron, kg
c = 3e+08; // Speed of light, m/s
E = 0.5*1e+06*1.6e-019; // Kinetic energy of electron, J
// As E = (m - m0)*c^2, solving for m
m = E/c^2+m0; // Mass of moving electron, kg
// As m = m0/sqr... |
4620e8d3e31146f58c11e3b5ff58d073f63ec260 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH2/EX2.7.a/2_7_data.sci | 80f633bb2e5782e0b9eb81d7091dd6427e599ff0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 96 | sci | 2_7_data.sci | // Aim:To convert given pressure into absolute pressure
// Given:
// Gage Pressure:
Pg=-5; //psi |
c39a06455d4ec4d587d8530e806f4ea2ab8f5700 | 4ed576b765859807d6c29665521e0697d6f9bae7 | /archive/05/ex5.1.sce | cb7d479c928932b2678e446a3300d0d12267ea85 | [] | no_license | sbednarz/scilab | 96b9182730fa48d11f27840fc197d151adb01e2c | 28f81c58bc4972eeb41f403cb157fb989e809f41 | refs/heads/master | 2021-07-11T04:42:04.289126 | 2021-05-17T20:55:19 | 2021-05-17T20:55:19 | 100,467,366 | 3 | 1 | null | 2020-06-19T06:49:18 | 2017-08-16T08:37:06 | Scilab | UTF-8 | Scilab | false | false | 489 | sce | ex5.1.sce |
// A => B, k(T)
function dy = model(t, y, T)
A = y(1)
B = y(2)
k0 = 1e11 // L/(mol*s)
R = 8.314e-3 // kJ/(mol*K)
Ea = 78 // kJ
k = k0*exp(-Ea/(R*T))
dAdt = -k*A
dBdt = k*A
dy=[dAdt, dBdt]
endfunction
//
A0 = 2
B0 = 0
y0 = [A0; B0] // order
t0 = 0
t = linspace(0,300)
y = ode(y0, t0, t, list(model, ... |
9c27fc83c8c795e7fb6d0158ed1fea64f3390474 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH5/EX5.5/Ch05Ex5.sci | 1090d058b67516086ebe619177816a5064007f5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 632 | sci | Ch05Ex5.sci | // Scilab Code Ex5.5 : Phase retardation for quartz : Page-114 (2010)
lambda = 500e-09; // Wavelength of incident light, m
mu_e = 1.5508; // Refractive index of extraordinary ray
mu_o = 1.5418; // Refractive index of ordinary ray
t = 0.032e-03; // Thickness of quartz plate, m
dx = (mu_e - mu_o)*t; /... |
359f9c025b71d75a6d0691a3d7fb1e95bf8acdce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH2/EX2.8/2_8.sce | 32e6563d329d2a674f2e106fd7d977ba4600938c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 902 | sce | 2_8.sce | //Example 2.8
//Derive equtations for temprature distribution.
//calculate the maximum temp. in the assembly
//Given
ka=24 //W/mC thermal conductivitiy of material A
tA=0.1 //m, thickness of A material
kB=230 //W/mC thermal conductivity of metl B
kC=200 //W/mC thermal conductivity of... |
c673614b987668336b6259badd5ae9a756100c70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH14/EX14.1/Example_14_1.sci | 0cbca0a167d5ccaae28d0415bc392a117b58da54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,214 | sci | Example_14_1.sci | clear;
clc;
printf("\n Example 14.1");
//Assuming that the steam is dry and saturated at 205 kN/m2, then from the Steam Tables in the Appendix, the steam temperature = 394 K at which the total enthalpy = 2530 kJ/kg.
//At 13.5 kN/m2, water boils at 325 K and, in the absence of data on the boiling point elevation,t... |
da51f3fcd936e6166cc6cc130ad89051b059c5ae | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/asr03.tst | fbcc9990efa90a33cadf7beafb2df35a9897fae4 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | tst | asr03.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the ASR (arithmetic shift right) instruction"
; @Result: "r16 = -64, flags.c = 1, flags.s = 1, flags.n = 1"
start:
ldi r16, 0b10000001
asr r16
end:
break
|
4820ac21842f63c196d7c957f882784e68ccb20b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH25/EX25.4/Example25_4.sce | 59b45f3610132876c57a484ac2bf4f24a5dfa4b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,545 | sce | Example25_4.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 18: POWER DISTRIBUTION SYSTEMS
// EXAMPLE : 18.4 :
// Page number 439
clear ; clc ; close ; // Clear the work space and ... |
cd472284eafbb9cbfa99dbd8b87de2a31a929bf8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH24/EX24.7/Ex24_7.sce | 01275e1c7df5b32f6e1adf333239f5ab6fdedaf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | Ex24_7.sce | clear
//Given
e=8.854*10**-12
h=6.62*10**-34
m=9*10**-31
e1=1.6*10**-19
//Calculation
//
r1=((e*h**2)/(%pi*m*e1**2))*10**10
v1=e1**2/(2*e*h)
n=2*r1
//Result
printf("\n Radius of first orbit is %0.2f A",r1)
printf("\n Velocity of electron is %0.1f *10**6 m/s",v1*10**-6)
printf("\n Size of hydrogen atom is %0.2f A",... |
ba75502c4dd802be4773ae50424394e52b3438c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1034/CH1/EX1.12/example12.sce | 80b29a827bb34b381a81c29f35c85c4d00199487 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example12.sce | clear;
clc;
printf("Example 1.12");
//[BIG "oh"]f(n)=O(g(n)). (big oh notation).
printf("\n \n 3n+2=O(n) as 3n+2<=4n for all n>=2.");
printf("\n \n 3n+3=O(n) as 3n+3<=4n for all n>=3.");............// O(n) is called linear.
printf("\n \n 3n+2=O(n) as 100n+6<=101n for all n>=10.");
printf("\n \n 10n^2+4n+2=O(n^2)... |
e232deb51341b73649944c81ab82b21461886a6f | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/scilab/template/runme.sci | 82546276f6e95ff1aead63055747548f088351e4 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:699329d68df5bbb219039ab1b49eb4befb87c93ad9f5258cc045fac83fe3d528
size 715
|
584704da7219833d8e01917a5f545dbd04bdc535 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/chapitre3/eq1c.sci | 0810dfda836d1ac327503d88a370230ad472be2a | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sci | eq1c.sci | clf
xo=1;
xmax=5;
N=100;
h=(xmax-x0)/(N-1);
y1=zeros(1,N);
y1(1)=2;
y=2*exp(atan(x)-%pi/4)
for i=1:N-1
y1(i+1)=y1(i)+h*((y1(i)/(1+x(i)*x(i))));
end
y2=zeros(1,N);
y2(1)=2;
for i=1:N-1
y22=y2(i)+h*((y2(i)/(1+x(i)*x(i))));
y2(i+1)=y2(i)+(h/2)*((y2(i)/(1+x(i)*x(i)))+(y22/(1+x(i+1)*x(i+1))));
e(i+1)=abs(... |
25adbccbafb61558d95b3f3164b1cfe16342af27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1616/CH2/EX2.14/ex2_14.sce | debec0db2a61d225bc385b07b338feee65b7217c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | ex2_14.sce | //ex2.14 find the power delivered to the load and the peak voltage at the load-end of the line
ZL=50;
Z0=50+%i*50;
Tl=(ZL-Z0)/(ZL+Z0);
VSWR=(1+abs(Tl))/(1-abs(Tl));
disp('VSWR = '+string(VSWR));
vmax=50;
PL=0.5*vmax^2/(VSWR*real(Z0));
RL=50;
VL=sqrt(PL*RL*2);
disp('Peak voltage at the load = '+string(VL)+' V','Power ... |
a9cdb070ff180ca9aae8ce5f53b01de61527314e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH8/EX8.8/Example8_8.sce | c4442f8b257356cb8d8b32b7544df2a00d61ade6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example8_8.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 8: AC DYNAMO TORQUE RELATIONS - SYNCHRONOUS MOTORS
// Example 8-8
clear; clc; close; // Clear the work space and console.
// Given data from Ex.8-3a
// 3- phase Y-connected synchronous motor
P = ... |
58438ef8e115a0413a7ee969ab0e681bc1347fdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH7/EX7.9/7_9.sci | 684a3994d591ac2af65813e9add37945bf1cdc52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sci | 7_9.sci | // Calculating possible phase angles
clc;
Y1=1.25;
Y2=2.5;
PA=asind(Y1/Y2);
disp(PA,'phase angle (degree)')
disp('possible angle are 30 degree and 330 degree') |
e5639b45b2344f83ae202db55f20b04d452d86d3 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/Couette_WeakDG_IP_MODIFIED_IM_PRECON.tst | eba74ca194de395537fbde3b267d1768d9640baa | [
"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 | 1,098 | tst | Couette_WeakDG_IP_MODIFIED_IM_PRECON.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>NS, Couette flow, mixed bcs, WeakDG advection and IP diffusion, Implicit</description>
<executable>CompressibleFlowSolver</executable>
<parameters>Couette_WeakDG_IP_MODIFIED_IM_PRECON.xml</parameters>
<files>
<file description="Session F... |
b8a11db442ab5a214075327095820ed51510de6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH5/EX5.4/5_4.sci | da92d7c1820bfafd3c6b125e2a42cc7dde746aa1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sci | 5_4.sci | clc();
clear;
//To determine the distance between centres of central maximum and the fourth dark fringe
n=4;
lambda=589.6*10^-9; //wavelength
D=0.95; //distance of the screen from the slit
w=0.28*10^-3; //width of the slit
d=((n*lambda*D)/w)*10... |
441a7e90c6dd093293734b55462cf39f48cebab3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH1/EX1.16/Ex1_16.sce | 0c937db846c4221229559486e5708528d00617df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sce | Ex1_16.sce | //==============================================================================
// chapter 1 example 16
clc;
clear;
//input data
m = 9.1*10^-31; // mass of electron in kilograms
e = 1.6*10^-19; //charge of electron in coulombs
n = 1; //bragg's reflection
h1 ... |
54611208b2fe413fe9641f8d1a740b8e1b5ea71d | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_4/Scilab_codes/RH_table_1.sce | fd4eb37236dd8ae5d39c9132749811eacea0b44a | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 93 | sce | RH_table_1.sce | clear
close
clc
s = poly(0,'s');
G = s^5 + 3*s^4 + 5*s^3 + 4*s^2 + s +3;
disp(routh_t(G));
|
7ca953c75bbc05f7481d4f2ae434ddac0fc24338 | a1161d9e9d26e0a7b20c31269be145f13d9d3e89 | /QA/tests/prep/caa.tst | 8c8f3569547ab66c78bcc2ad9c8fdb3bef0e0975 | [
"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 | 511,412 | tst | caa.tst | NWChem topology file for caa_em
Generated by the NWChem prepare module
4.60000008/26/10 23:01:31 amber
1
26
17... |
f9901690a867ea4743ff66353aa5f7033e2c52b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH3/EX3.20/ex3_20.sce | 567da7da12a6d6c93e507c1af767238ab0a56a18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | ex3_20.sce | //Example 3.20
//Complex logical Expression
funcprot(0);
printf("\nEnter error value and count value:");
printf("\nEnter Error: ")
error=scanf("%f");
printf("\n Enter Count: ")
count=scanf("%f");
ans=error >.0001 & count <100;
disp(ans,"error >.0001 & count <100");
ans=error >.0001 | coun... |
f253bd0dc1e73acede0eeb85f297e536f14045f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH2/EX2.6/Ex2_6.sce | 9ae0c98bb1626bd3799522c3e2c73702dc818aa9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_6.sce | // Example 2_6
clc;funcprot(0);
// Given data
// T(z)=15-0.00651°C
z_0=0;// m
P=101;// m
z_1=3000;// m
// Calculation
// Using the given equation for T(z) we have
// dP=P/(29.3)*(288-0.00651 z)
// By solving this equation,we get
P=101*exp(-0.368);// kPa
printf("\nThe pressure at an elevation of 3000 m,P=%... |
7124b819530b7694363e7a11be989fe281b4f085 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH24/EX24.31/Ex24_31.sce | 797df8e47f6d811b77fd49dec935c8a148f7cbb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,640 | sce | Ex24_31.sce | // Example 24_31
clc;funcprot(0);
//Given data
T_1=288;// K
p_1=1;// bar
R_c=2.5;// Pressure ratio of each compressor stage
R_c1=R_c;
R_c2=R_c;
T_3=300// K
T_5=1000;// K
W_2=100;// kW/kg of air
p_l1=0.2;// Pressure loss in air side of H.P and main combustion chamber in bar
p_l2=0.1;// Pressure loss in rehe... |
af24d76ae1cc6fdc1dc93524da44cccc59feabe9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH36/EX36.04/36_04.sce | 77090619c4a89d8eef875ef1bdda916253d4b22e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | 36_04.sce | //Problem 36.04: A complex voltage is represented by
// v = 10sinwt + 3sin(3wt) + 2sin(5wt) Volts
//Determine for the voltage, (a) the rms value, (b) the mean value and (c) the form factor.
//initializing the variables:
A1 = 10; // in volts
A3 = 3; // in volts
A5 = 2; // in volts
//calculation:
//the rms va... |
5b5fe0ca438b1791f11b01a8116c01174850ef90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH21/EX20.5/EX20_5.sce | 871d40520a548a1b44d2d9ea24a628e7040e08b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | EX20_5.sce | // Grob's Basic Electronics 11e
// Chapter No. 20
// Example No. 20_5
clc; clear;
// Calculate L of the coil when the frequency is 1000 Hz.
// Given data
Xl = 6280; // Inductive reactance=6280 Ohms
f = 1000; // Frequency=1000 Hz
pi = 3.14;
L = Xl/(2*pi*f);
disp (L,'The value of Inductor in He... |
4ef158bef46f12ab6155a8c1b6df3b649380213e | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/puttext.sci | ef918f744b774ae2bad670a52f08373e4a484a21 | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 2,904 | sci | puttext.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
31157363d44851172ca734c6ba7b52ba3b244528 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH8/EX8.22/8_22.sce | 56fd876d211c1bc2b0ac76822b12d94fc882b253 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | 8_22.sce | R=1.987;//universal gas constant//
T=556;//temperature in kelvin//
E=44;//Energy in Kcal//
dS=-10;//entropy change in cal per deg//
k=(exp(2)*exp(dS/R)*exp(-E/(R*T))*10^13.07);//rate constant for the reaction//
printf('Rate constant for the reaction=k=3.47*10^-7litre per mol per sec');
|
64cbcd2a84349b39a52471b8574a588b8e7c276a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/m2sci/sci_echo.sci | e62edd5354f802953e0267c56947c00c618ce3f1 | [
"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 | 289 | sci | sci_echo.sci | function [stk,txt,top]=sci_echo()
// Copyright INRIA
RHS=[]
for k=1:rhs
RHS=[RHS stk(top-rhs+k)(1)]
end
txt=['//! echo '+strcat(RHS,' ')+' ignored'
'// echo '+strcat(RHS,' ')]
write(logfile,'echo '+strcat(RHS,' ')+' ignored at line '+string(lcount))
stk=list(' ','-2','0','0','1')
|
339096d2496304c777e35537b6d4e3baf7185eff | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH3/EX3.21/example3_21.sce | 2002fd7a46f0e8a6ec74388741e39c07ff4f9334 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | example3_21.sce | //Chapter 3
//Example 3_31
//Page 64
clear;clc;
max_l=60000;
min_l=20000;
peak_l=50000;
lf=1;
n_steam=0.6;
s=poly(0,"s");
p=333*s^2+24000*s-338000;
r=roots(p);
x=r(1);
y=40000*round(x)/24;
steam_capacity=max_l-y;
printf("x=%d \n", x);
printf("y=%d kW \n", y);
printf("Capacity of steam plant = %d kW \n", steam_capac... |
6ad98bec55638ec1694ea8bf16ecd2019a7aeaa3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH15/EX15.31/example15_31.sce | f67cf550c7dcf1d326921f4774f34dac4c8405a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | example15_31.sce | //Example 15.31
//time domain specifications of second order system
clear;clc;
xdel(winsid());
mode(0);
//converting the given differential equation in "s" domain
//since x and y are constants
//therefoere considering "x=y=1"
s=%s;
g=s^2+5*s+7;
x=coeff(g)
//comparing with the standard equation... |
cd888293d9f5cc62dbe223969df202f88e88a9f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /36/DEPENDENCIES/prob9_17data.sci | 7a6c82371a3abd6073052761847ee5b577d4695b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sci | prob9_17data.sci | //problem 9-17 data
//matrices size n*n
n=60;
//floating point multiplier pipeline segments = 4
//floating point adder pipeline segments = 4
|
f85b70dfbb716c003887294666f74f84e0cf255c | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH7/EX7.15/Example_7_15.sce | 35fd1049912a8fdcfcdbbb4bf774acd03a640385 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_7_15.sce | // Chapter7
// Page.No-287
// Example_7_15
// Design of squarewave oscillator
// Given
clear;clc;
fo=1*10^3;; // Frequency of oscillation
R1=10*10^3; // Assumption
C=0.05*10^-6; // Assumption
R2=1.16*R1;
printf("\n Resistance R2 is = %.1f ohm \n",R2) // Result
R=1/(2*fo*C);
printf("\n Resistance R is = %.1f... |
ab1c5a3e6975f3e1e6b5654f84f42824d64f59b7 | 6be22cc470807d3b2d9a8042a18ccd96070d00ae | /propulsion/ramjet_engine/hw_6_P3.sce | e79b5e9bea26ecd17bfc63c077711c71536a90b9 | [] | no_license | ordinatorix/scilab_projects | a8e5096ddd0c343559bb06c1c05c0926e4f13fdc | 1f227a2bdf8e2ae7a7f1fa42788e9a346710fa40 | refs/heads/master | 2022-02-27T14:52:47.802082 | 2016-05-06T21:09:07 | 2016-05-06T21:09:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,265 | sce | hw_6_P3.sce | // clear previous calculations
close; clc; clear; close;
// Independent Parameters
gamma_a = 1.4;
gamma_e = 1.33;
R = 287;
T_a = 223.252;
P_a = 16500;
h_c = 43000000;
FA_st = 0.06;
T_max = 2600;
cp_a = (gamma_a/(gamma_a-1)*R);
cp_e = (gamma_e/(gamma_e-1)*R);
M = [1:0.25:6];
//setting up empty matrices
To_4 ... |
e997974ddde8200be0d6d495f6b51c80d95c7c8a | 717ddeb7e700373742c617a95e25a2376565112c | /503/CH5/EX5.14/ch5_14.sci | 8d39a413f6a41f69825d15772582f1a45d3934e5 | [] | 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 | 612 | sci | ch5_14.sci | //to determine in F2,peak rotor AT, max torque, ele i/p at max torque(motoring mode),open ckt voltage(generating mode)
clc;
disp('motoring mode');
K_w=.976;
N_pole=746;
p=4;
I_f=20;
F2=(4/%pi)*K_w*(N_pole/p)*I_f;
disp(F2,'F2(AT)');
B_r=1.6;
D=.29;
l=.35;
T_max=(p/2)*(%pi*D*l/2)*F2*B_r;
disp(T_max,'T_max'... |
7bc8052ebda50829c9b3575930279848abcd4f11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH3/EX3.9/Ex3_9.sce | 70136e95f0ff887bfd5e3b3b3c2e55891c910494 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | Ex3_9.sce | //Ex3_9
clc
V = 4.5*10^-3//applied dc voltage
r = 100// given resistance
I = V/r//flow of current
disp("DC voltage = "+string(V)+"V")
disp("The current in 100 ohm = "+string(I)+"A")
|
d0a84170a77d939c51e0ecd1674d145eb4b10f00 | 683d55d55e7449e5ffb06e17d669fd6e8d7eca1c | /entrega1/ej1-8.sce | f15f2fd3c43b566e7810eae6eb8f599329db845c | [] | no_license | lucciano/ssc-lcc | 58efd303220cb36c09a305457fe5e5cc97e77b63 | fcd50437ca953ef0b0491672a71bee19383bc09b | refs/heads/master | 2021-01-19T20:15:53.904767 | 2014-04-26T20:15:03 | 2014-04-26T20:15:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,251 | sce | ej1-8.sce | g=9.8;
b_a = 0.1;
m=1;
b=30;
k=100000;
// x(t) > 0
A=[0, 1 ; 0 , - b_a / m];
Ap= A + [0.001, 0; 0, 0];
B = [0; -g];
u = 1;
x0 = [10; 0];
t1 = [0:0.0001:1.47];
x1 = ltisol(Ap,B,u,x0, t1);
//plot(t1,x1);
// x(t) <= 0
p1 = 14643
A=[0, 1 ; -k/m , - b / m];
x0 = [0; x1(2,p1)];
t2 = [t1(p1):0.00001:1.50];
x2 = ltisol... |
66d469a7fe0bacf85f2c38452b21ec40a73c2c1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH5/EX5.5/Ex5_5.sce | 492ef326e00d7b56c81951426d1aab4aeefa7648 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | Ex5_5.sce | //Ex 5.5
clc;clear;close;
Vo=0.7;//V
Vsat=12;//V
R1=10;//kohm
R2=60;//kohm
Vth=R1/(R1+R2)*Vo;//V
iDmax=(Vsat-Vo)/R1-Vo/(R1+R2);//mA
disp(iDmax,"Maximum current(mA) : ");
|
1699d26f87cd3f2fe3c8204a784a7a4495fba4dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH15/EX14.3/EX14_3.sce | bedbebdfbd7d403437413155c205dd145924d800 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | EX14_3.sce | // Grob's Basic Electronics 11e
// Chapter No. 14
// Example No. 14_3
clc; clear;
// A coil with 400 turns must provide 800 A t of magnetizing force. How much current is necessary?
// Given data
mmf = 800; // Magnetizing Force=800 A.t
N = 400; // No. of Turns=400
I = mmf/N;
disp (I,'The Current ... |
21123e9ee21e7b982595407414c7900340b45c43 | efc2fec9dd841d0ca834702c904e00c52762a9f9 | /VideoDemo/VidTest2.sce | 3a986daa42df615c7e8825eff709434d7e44497b | [] | no_license | surajch77/Scilab-Computer-Vision-Toolbox-TestCases | 64c8e0382e8b9d416c4c27c1ed4272f49bf45b51 | 969f9bcddefea05b42c623aeebe2e0cdcffd6eeb | refs/heads/master | 2021-01-20T20:24:14.345296 | 2016-06-29T15:16:52 | 2016-06-29T15:16:52 | 61,932,313 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | VidTest2.sce | exec VideoReader.sci
exec has_frame.sci
exec readframe.sci
myVideo = VideoReader('vid2.mp4');
disp(myVideo)
while hasFrame()
stacksize('max')
F = readFrame();
length_out = size(F);
for i = 1 : length_out
N(:, :, i) = F(i);
end
J_list = detecting(N);
imshow(J_list);
end
close()
|
35d01c7713aa749ee54bd80350893d549271ef6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH3/EX3.1/ch3ex1.sce | 0ed75454d79f409181259625ba33a647f6874c7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | ch3ex1.sce | //signals and systems
//time domain analysis of discreet time systems
//energy of a signal
clear;
close;
clc;
n=0:1:5
figure
a=gca();
plot2d(n,n);
energy=sum(n^2)
power=(1/6)*sum(n^2)
disp(energy)
disp(power) |
09164ce143107d80ad91f2ec86a2e050cd1db443 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH6/EX6.5/Ex6_5.sce | 127dcced8b40e159822c0659bf4c518099f41934 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sce | Ex6_5.sce | //Exa 6.5
clc;
clear;
close;
// given :
f=20 //ferquency in MHz
f=20*10^6 //frequency in Hz
c=3*10^8 //speed of light in m/s
K=0.74 // constant
lambda=c/f //wavelength in meter
Delta=20 // angle of elevation in Degrees
H=lambda/(4*sind(Delta)) // Rhombic height in m
phi=90-Delta // tilt angle in Degrees
l=... |
90e509d7fb820d5f4d74ff6987eb7eb9fdf4f27c | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH1/EX1.4.b/solution1_4.sce | 806445f00cedfea594854f1311df8f51ecd9f3a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sce | solution1_4.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution1_4.sce')
//Obtain path of data file
datapath = path + filesep() + 'data1_4.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate ratio factor Fi
Fi = (b/a)^(1/n)
//Use R10 series
//Initialise c
c = a
//Use 'for' loop... |
11cfcd1f129e192c60c572a1a90932e8b7d8d67a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH11/EX11.4/Ex11_4.sce | 6966f2b6d257d1d9cbb1c71831dead6eaebcc2d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sce | Ex11_4.sce | clear
//
//Initialisation
v1=5 //constant 5V
r=10 //resistance in Ohm
vrms=5 //sine wave of 5 V r.m.s
vp=5 //5 V peak
//Calculation
p=(v1**2)*r**-1 //Power in watts
p2=(vrms**... |
94025c03443dc3ba2e90cad7700eace4012e4e9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH17/EX17.09/17_09.sce | eca15d99196978a4628630601d3fd8d2f8f588a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,074 | sce | 17_09.sce | //Problem 17.09: The winding of an electromagnet has an inductance of 3 H and a resistance of 15 ohm. When it is connected to a 120 V, d.c. supply, calculate: (a) the steady state value of current flowing in the winding, (b) the time constant of the circuit, (c) the value of the induced e.m.f. after 0.1 s, (d) the tim... |
2ec5e75f68b0e8f2db49617cb6e1d1a7a6d66604 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH15/EX15.14/15_14.sce | a942cf22fe56353eba776d0cad3b3d4a42050dab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | 15_14.sce | clc
//initialisation of variables
t1=120//F
t2=82//F
s1=2800//ft
p=14.7//ft
p1=1.3//ft
pv=0.5410//psia
s2=0.622//ft
s=0.02372//lb per lb dry air
//CALCULATIONS
P=pv-((p-pv)*(t1-t2)/(s1-p1*(t2)))//psia
H1=s2*(P/(p-P))//lb per lb dry air
H2=s2*(pv/(p-pv))//lb per lb dry air
M=H2-H1//lb per lb dry air
S=s-H... |
81c9d09b65789412159c4b480828000e55bd9ead | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH7/EX7.6.b/Example_7_6_b.sce | 908ab634f14411e92ea7cd99cad98c67e2411a77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,435 | sce | Example_7_6_b.sce | // Chapter7
// Page.No-264
// Example_7_6_b
// Frequency response of second order highpass filter
// Given
clear;clc;
Af=1.586; // Passband gain of the filter
fl=1000; // Cut-off frequency
f1=100; // Input freq in Hz
av1=Af/sqrt(1+(fl/f1)^4);
printf("\n Gain magnitude av1 at f1 is = %.5f \n",av1) // Result
f... |
ca2cd0144244c44683653b2bb8ba4cf7f939d723 | 449d555969bfd7befe906877abab098c6e63a0e8 | /824/CH9/EX9.2/9_2.sce | 813e9de9eb4635743ea64ed1bee90c4b32fb8927 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | 9_2.sce | //clear//
clc
clear
//this code is only for Part C
exec("9.2data.sci");
t = 55:1:121;
function w=f(t,Y)
w =zeros(2,1);
k=.00017*exp(11273/(1.987)*(1/461-1/Y(1)))
Qr=UA*(Y(1) -298)
Theata=Nbo/Nao
ra=-k*(Nao**2)*(1-Y(2))*(Theata-2*Y(2))/(U**2)
rate=-ra
Qg=ra*U*(dH)
w(1)=(Qg-Qr)/NCp
w(2)=(-ra)*U/... |
6164baaa22369ea4d323d153f32178f2fd9b7593 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH13/EX13.8/13_8.sce | 55b7b23de0988d7ca0cd0b9d95bbba99338d1a18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | 13_8.sce | clc
//initialisation of variables
d=10//hr
p=50000//in
a=7.5//mgd
w=0.75//mg
s=5.03//mg
//CALCULATIONS
S=s/w//mg
P=S-s//mg
//RESULTS
printf('a steady gravity supply equal to maximum daily=% f mg',P)
|
a2572eb1f0e10db501f1f762c5af1db1857917f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH45/EX45.1/example_1.sce | 7ae441fbcec08e44452d4ec960a86774fd871c3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | example_1.sce | //example 1
//chapter 45
//clc()
m=1
lambda=4000//in A
d=31700//in A
theta=asind((m*lambda)/d)
disp(theta,"The first order diffraction pattern in degree=") |
22c2742f73207cba693fa67f259c9e3b4359ef5d | af8ee26c8ebd0db851be4f1e7cf8fb7a9684b9eb | /subroutines/loadSrcImg.sce | 88fc7470dc50813919688a24dfeb5c2957ddab01 | [
"MIT"
] | permissive | nikAizuddin/eigenface_example | bbd50d9071b36366566696ab629ce1c003ea4312 | 916fdd713259afe0411696da3f41c59c40fbad98 | refs/heads/master | 2020-12-24T19:28:17.861776 | 2016-05-04T16:00:21 | 2016-05-04T16:00:21 | 57,489,901 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 630 | sce | loadSrcImg.sce | function[] = loadSrcImg()
// Load source image for the Main Window's source viewport
// GUI-related variables
global viewportSrcImg;
global listboxSrcImg;
global srcImg;
// Load the pixel data from the filename specified by the
// listbox containing source image filenames.
srcImg = loadpg... |
64ad896c6f359dfa75e356b71fa3c7ba505c0136 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH4/EX4.11/4_11.sce | 94ed06484755d3a8bf4e77749a2bb5031beb30ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | 4_11.sce | clc
//initialisation of variables
T1= 1000 //K
T2= 300 //K
k1= 6.0954 //cal deg^-1 mole^-1
k2= 3.2533*10^-3 //cal deg^-2 mole^-1
k3= -1.071*10^-6 //cal deg^-3 mole^-1
//CALCULATIONS
dH= k1*(T1-T2)+(k2*(T1^2-T2^2)/2)+(k3*(T1^3-T2^3)/3)
//RESULTS
printf ('dH= %.f cal mole^-1',dH)
|
6930e8686b4eb7bfada81865e63f1015f5f26d5b | 7784a2c55c6d8d8747a8a2925bc10d150b1a5276 | /Exercise_10.sce | c07a884993baf6f678d4a44560adf2bc31bc98ba | [] | no_license | Gotcha17/CompFin_Sheet3 | 2c292748450480494fb10c8d04d7b5ea0f9cd174 | 550118ce6c5b2487006715922e1e9c1cc4bdd065 | refs/heads/master | 2021-01-02T23:00:55.826661 | 2017-08-15T22:21:02 | 2017-08-15T22:21:02 | 99,440,450 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,283 | sce | Exercise_10.sce | clc; clear; //clears the console and all previously stored variables
function V_0 = CRR_AmPut(S_0, r, sigma, T, M, K)
delta_t = T/M; //calculation of delta_t
Beta = (exp(-r*delta_t)+exp((r+sigma^2)*delta_t))/2; //calculation of beta for CRR
u=Beta+sqrt((Beta^2)-1); //so u>d is true
d=u^-1; //be... |
b6e882e6e59abb5ee8a73c0449c6cb3e7ae474de | 5d3cb2f1a04d31469ca086781ff36de232bb0c51 | /projet AxePrinc.sce | 926a589858eb7776a054756c445eae32dc46f8bc | [] | no_license | Tamaube/ACP | 2d8f8d43870deb5c62f57ba292fb81a617c0d884 | 99801e3dae7fbbe5d0f423fdcec04511555ad7dc | refs/heads/master | 2021-01-19T07:39:10.679596 | 2015-02-24T20:09:56 | 2015-02-24T20:09:56 | 29,344,508 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | projet AxePrinc.sce | function [] = AxePrinc (composantes,lambda)
for i=1:2
normeCarComposante = norm(composantes(:,i)) ^2;
if(max(abs(C(i)-sqrt(n*lambda(i))))==0) then
disp("C ok");
end
end
endfunction
function M = composante(BON, Z) // fonction permettant de récuperer tout... |
ac3f3162a947dc8ac3018c555c4f9d254760dc9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH3/EX3.9/Ex3_9.sce | f44902c43dc1f06599452c841c4abb3dd3baae69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 751 | sce | Ex3_9.sce | // Example 3_9
clc;funcprot(0);
// Given data
T=100;// °F
p=95.0;// psia
// Calculation
// From Table C.7a,C.8a of Thermodynamic Tables to accompany Modern Engineering Thermodynamics,
v_1=0.5751;// ft^3/lbm (100°F,90.0 psia)
v_2=0.5086;// ft^3/lbm (100°F,100.0 psia)
p_i1=100;// psia (Pressure used for interp... |
d4c01b91591048744cfed5ac1101224c4b516e51 | 9b046504c3b7683d3bfa294fe100408058e75aa3 | /Metodos/Clase8/scripts/2MetodoHeun.sce | ad3df987a613e536727cadfacda1ad23056824e0 | [] | no_license | DavidAlex99/Cursos | f15cb4f4fbb35a6eb62cbae0a9b51ea671f3ea8f | aee547ab09db7e535bea5a6d41ed6e455f8a9a89 | refs/heads/master | 2023-01-08T02:46:07.502656 | 2020-11-14T00:45:57 | 2020-11-14T00:45:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,199 | sce | 2MetodoHeun.sce | clc()
clear all
clf()
function result = solucionAnalitica(t)
result = (4/1.3)*(exp(0.8*t)-exp(-0.5*t))+2*exp(-0.5*t)
endfunction
function result= eqdiff(y,t)
result = 4*exp(0.8*t)-0.5*y
endfunction
function [result,points]=metodoHeun(stepsize,y0, t0, tf, eqf)
points = t0:stepsize:tf
result = (length... |
b72dbe2f8fc9d1760bfd15ab47ffe46dee73d719 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.19/ex5_19.sce | 27200868dbcadbeede7fd6fcd8090dd4c5adf139 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 905 | sce | ex5_19.sce | //Chapter-5, Example 5.19, Page 178
//=============================================================================
clc
clear
//v=350*cos(3000*t-20)
//i=15*cos(3000*t-60)
//INPUT DATA
L=0.5;//inductance in Henry
phi=-40;//phase difference between applied voltage and current
//Xl>Xc(P.f is lagging)
w=3000;//fr... |
98cd494e7cafc3904a024cb5d627ec78838064be | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.63/Ex4_63.sce | 9afe8568ec8bd8c7164bbe02b1f75d8b5b95be7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | Ex4_63.sce | clc;
v1=6; // hoist speed
i=60; // series current
v=600; // supply voltage
r=0.5; // net resistance
g=9.81; // acceleration due to gravity
v2=4; // reduced hoist speed
Ea1=v-i*r; // counter EMf corresponding to v1
rx=((v-((v2/v1)*Ea1))/i)-r;
printf('External resistance to be added is %f ohms',rx);
|
223ee9c100b9c03bb2c063ddf5ab9e9f3f3ee393 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/DEVELOPMENT-LANGUAGES/niger-congo/kon.tst | 78e44063addf0fca17b83b1818ad283e0aa5557c | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,034 | tst | kon.tst | tomba V;FUT
soka V;PST
puluka V;NFIN
sangana V;FUT
suama V;NFIN
simba V;PST
tanda V;FUT
vova V;PRS
tsuba V;PRS
toma V;PST
tsubula V;FUT
sakumuna V;NFIN
tanga V;PST
suama V;FUT
tatuka V;FUT
pasuka V;NFIN
semba V;PST
sadisa V;NFIN
tombola V;PRS
sungika V;PRS
tuta V;FUT
suba V;NFIN
tola V;FUT
tumbula V;FUT
tensika V;FUT... |
ce583673faeceda8dd258f13d0ce54601cf7cecd | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH11/EX11.2/ex11_2.sce | d9afdb0dd7a104ab6eb96ce942d35edc4999a8af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | ex11_2.sce | clc
//Example 11.2
//Calculate the average power
printf("Given")
disp('v=4*cos(%pi/6*t), V=4(0 deg), Z=2(60 deg)')
Vamp=4;Vang=0;Zamp=2;Zang=60;
//Let I be the phasor current
Iamp=Vamp/Zamp
Iang=Vang-Zang
P=0.5*Vamp*Zamp*cos((Zang*%pi)/180)
printf("P=%d W \n",P);
t=-1:1:15
t1=-3:1:12
v=Vamp*cos(%pi/6*t)
... |
6964f90401f8b34c4a7d5eb50a88773058828968 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH4/EX4.2.2/Ex4_2_2.sce | 2097e2fe470d27c833b55730a8780e64518d4e80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | Ex4_2_2.sce |
clc
//initialization of variables
d = 10 //cm
s = 3 // km
v = 500 //cm/sec
nu = 0.15 // cm^2/sec
//Calculations
E = 0.5*d*v // cm^2/sec
c1 = 1000 // m/km
c2 = 1/100 // m/cm
z = sqrt(4*E*c1*c2*s/v)
percent = z*100/(s*c1)
//Results
printf(" The percent of pipe containing mixed gases is %.1f percent",percent... |
3325054f75deafae1c674a6c4d024c915e8955bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH2/EX2.18/EX_2_18.sce | 471f3731423c5e33828979de679f31e6ca2e439a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | EX_2_18.sce |
//Example 2.18//series equivalent of unknown impedence
clc;
clear;
w=3000;//in rad/s
R1=1.8;//in killo ohms
C1=0.9;//capacitance in micro farads
R2=9;//in killo ohms
R3=0.9;// in kilo ohms
Rx= ((w^2*(C1*10^-6)^2*R1*10^3*R2*10^3*R3*10^3)/(1+w^2*(R1*10^3)^2*(C1*10^-6)^2));//
Lx=((R2*10^3*R3*10^3*C1*10^-6)/(1+w^2*(R1*10^... |
062adf4ba8885b5128c6dcfb79a037b2e3f4cace | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH1/EX1.39/EX1_39.sce | fcbc6f6f8198ca63561228d192e043de73c83e60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | EX1_39.sce | //EXAMPLE 1-39 PG NO-32-33
V=440; //voltage
V1=5; //voltage
R=40; //resistance
V2=220;
V3=100;
Rv=(V3*R)/[V2-V3]; //insulation resistance
disp('i)Resistance (Rv) = ' + string (Rv)+' Kohm')
Ri=[Rv*(V-V1)]/V1; //insulation resis... |
3658181dc7466aba082ecb3da7f7badf028e7c4f | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /CPM Aerowalk combo kills.sce | 7996266a5a9697cf2e3ed5fcb17c94ea0b248bd3 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 344,895 | sce | CPM Aerowalk combo kills.sce | Name=CPM Aerowalk combo kills
PlayerCharacters=CPMer
BotCharacters=All Strafes.bot
IsChallenge=true
Timelimit=90.0
PlayerProfile=CPMer
AddedBots=All Strafes.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=aero_at.map
MapScale=3.8125
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=tru... |
5b2530a09f8fd98596585172a98a36c5f1159e10 | 04e4dfecf86c47abbad9ad721bcbc552300a8834 | /Self_tuning_controller/SelfTuning_Vikas/PIDControllersetpointchange/start.sce | db805e7d733eb950d7ee9a95db76d4c14391d54e | [] | 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 | 137 | sce | start.sce | getd ../../../common_files/
exec ../../../common_files/loader.sce
exec ser_init.sce
exec pid_bda_tuned.sci
xcos pid_tuned_setpoint.xcos |
7d1072890f8ddb3f364d4bb2587e28f6b2d25906 | 9182a918c195a40e939d89161585e04a97513ad9 | /induced_velocity_5.sce | d965149ce69e23c6daaea855946bf0ae54a858f8 | [] | no_license | marcellorighi/haps_optimization | 996f7fbae18e8128a4e9d55ceafe0758ea513960 | 0ac1d1053350bbed2d747a1fe1b31b75f47e69a0 | refs/heads/main | 2023-01-02T11:27:55.854626 | 2020-10-21T11:03:08 | 2020-10-21T11:03:08 | 305,994,280 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,741 | sce | induced_velocity_5.sce |
clear;
function [G,b,s,ds] = circulation(n,rho,u,L,ar,cl_avg,cla,A1,A2,A3,A4,B1,B2,B3)
q = 0.5 * rho * u * u;
area = L / (q * cl_avg);
b = sqrt(ar*area);
chord0 = area / (%pi/4 * b);
s = ([0:1:n] + 0.5) * b / (n+1) - b/2;
ds = b / (n+1);
chord = chord0 * sqrt( 1 - (2*s/b).^2 ... |
f9eb21d1026f4876171475c4e392881c2aca99da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH4/EX4.82/ex4_82.sce | f72590f7ad544ad5dc1e69588f8269d78f4e9b34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | ex4_82.sce | //AC Circuits : example 4.82 :(pg 4.66)
V=230;
f0=50;
I0=2;
Vco=500;
R=V/I0;
Xco=Vco/I0;
C=(1/(2*%pi*f0*Xco));
L=(Xco/(2*%pi*f0));
printf("\nV = 230 V \nf0 = 50 Hz \nI0 = 2A \nVco = 500 V");
printf("\nR=V/I0 =%.f Ohm",R);
printf("\nXco=Vco/I0 =%.f Ohm",Xco);
printf("\nXco=1/2.pi.f0.C \nC= %.e F",C);//capaci... |
cb0e74bd2dfa6a132db747a556afffb697d901b1 | 4014300a072f0492747983563943f01f78a1b16d | /test/unit_test/reports/tst-scheddownasup-nested.tst | 9d7ecf16dab17cc23243476070ce12fc276d8aa9 | [
"BSD-3-Clause"
] | permissive | eyasuashenafi/ninja | e351cc90e8c815e018447750cd40fa38796f6c51 | daf739b82e48d3b60c43cf699fbb39f96d9fa27a | refs/heads/master | 2020-12-03T13:50:39.324069 | 2012-09-28T14:23:00 | 2012-09-28T14:23:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 607 | tst | tst-scheddownasup-nested.tst | description = count scheduled downtime as uptime, nested
sqlfile = test_nested_downtimes.sql
global_vars {
start_time = 1202684400
end_time = 1202770800
includesoftstates = 1
}
down_dtstart_dtstart_dtend_dtend: normal {
host_name {
down_dtstart_dtstart_dtend_dtend
}
scheduleddowntimeasuptime = 0
correct {
... |
9f4712d0fb715fdf56d4b8eafa0f9002419c21ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH2/EX2.7.a/ex_2_7a.sce | 2ae71d52cb2d03161ce93df505d1852c1b3a282a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 948 | sce | ex_2_7a.sce | //Example 2.7:Convolution Integral
clear;
close;
clc;
t =-6:1/100:6;
for i=1:length(t)
if modulo(t(i),3)==0 then
h(i)=1;
else
h(i)=0;
end
if t(i)<-1 then
x(i)=0;
elseif t(i)<0
x(i)=1+t(i);
elseif t(i)<1
x(i)=1-t(i);
else
x(i... |
c5a5107f69c8cba9942c2b41bca610daa6d70480 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH6/EX6.2/Ex6_2.sce | 5cb8ca5c2a53d5ba604d021e844eae101af9328b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sce | Ex6_2.sce | // Exa 6.2
clc;
clear;
// Given data
/// Referring Fig. 6.5- Adjustable regulator
Vo= 7.5; // Volts
// Solution
printf(' From the data sheeet of 7805, IQ=4.2 mA. Say, we choose IR1 = 25 mA.\n ');
IQ = 0.0042; // Amperes
IR1 = 0.025; //Amperes
printf(' The voltage across load for 7805 is 5 Volts.\n '... |
265aa97d6f5d029e232f7250fd1675df2b3e8dbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH10/EX10.2/example_10_2.sce | ee36e843b10a66e3dce3a1e25d46c8b96171c492 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | example_10_2.sce | Mp=0.12 //given from table
zeta=0.5594
Tp=0.2
omegaN=%pi/(Tp*sqrt(1-zeta^2));
disp(omegaN,"omegaN = ")
Mr=1/(2*zeta*sqrt(1-zeta^2))
disp(Mr,"Mr = ")
omegaR=omegaN*(sqrt(1-2*(zeta)^2))
disp(omegaR," omegaR= ")
|
101c0f00c67d963ecddf1a1cca3bd3c85715738c | ff375d9d37f5b412a0d9f81d11c76d6a43bfd868 | /packages/generator-radic/generators/build-tools/templates/webpack.gulpfile.tst | 24fa00e5a3b253f9217216c7f4217fe3ab76494d | [] | no_license | RobinRadic/react-packages | 5378e6465ed421eeb96a153d66ea3ad6c7171754 | 414f28fe2ee12df4543c2e6ce1aebaeec1982684 | refs/heads/master | 2020-04-01T22:35:46.997480 | 2018-12-24T18:30:52 | 2018-12-24T18:30:52 | 153,716,374 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,592 | tst | webpack.gulpfile.tst | import { mixin } from '@radic/build-tools'
import { gulp, Gulpclass, GulpEnvMixin, GulpInteractiveMixin, Task } from '@radic/build-tools-gulp'
import { build, GulpWebpackMixin, serve } from '@radic/build-tools-webpack'
export interface Gulpfile extends GulpEnvMixin, GulpInteractiveMixin, GulpWebpackMixin {}
@Gulpclas... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.