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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2e5a0072a06c33fcb7e0d05cc41c2c2fdf2fc96e | 0ade4f8a7ec375e54db514312b562334ab304d3e | /data/benchmark/Nguyen_09.tst | a0074720a6f49dcbcffd526e733e083d04d5a08b | [] | no_license | zeta1999/go-pge | 39ac86612d4a90c1e53d2c45c1177e98b3bcf4e4 | 99a4b600185145bcc047e8e42cecfd2346b6b16d | refs/heads/master | 2021-01-01T11:10:20.053388 | 2014-01-16T16:06:50 | 2014-01-16T16:06:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 56,012 | tst | Nguyen_09.tst | x y
f(xs)
0.394525 0.015636 0.384614
0.725423 0.883720 1.367414
0.214386 0.109000 0.224628
0.357188 0.921254 1.100068
0.160378 0.451832 0.362428
0.285724 0.722295 0.780215
0.061012 0.528430 0.336597
0.300466 0.693221 0.758237
0.436095 0.264486 0.492299
0.737517 0.175565 0.703270
0.587999 0.919851 1.303415
... |
cc5dc7a9c78b277a07f3afb7cc3212269b1a1d9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH23/EX23.4/example_23_4.sce | 2ae48b7e6023dae8063f0895de1b5ad5ca35724e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example_23_4.sce | clear;
clc;
disp("--------------Example 23.4----------------")
buffer_size=5000; //bytes
recieved_unprocessed = 1000; // bytes
rwnd=buffer_size-recieved_unprocessed ; // formula
printf("The value of rwnd = %d . Hence Host B can receive only %d bytes of data before overflowing its buffer.",rwnd,rwnd); // display r... |
1943c9840b7c1341cbb8f5d703d200385f669ce3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH3/EX3.38.1/Ex3_38.sce | 05ee24bce6f5084b4b5600838848d08046ef0430 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sce | Ex3_38.sce | clc
clear
//Inputs
//The Values in the program are as follows:
//Temperature in Celcius converted to Kelvin(by adding 273)
//Pressure in bar converted to kPa (by multiplying 100)
//Volume in m^3
//Value of R,Cp and Cv in kJ/kg Km=1;
P1=6;
V1=0.01;
V2=0.05;
P2=2;
W1=(((P1+P2)/2)*100)*(V2-V1);
printf('The ... |
1076d28117ceb43d60db592aa120201c556d76a0 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/membrane/animmembrane.sci | 61a1d903321c5513fb50bc7ba46fd41a1bc9fe96 | [] | 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 | 791 | sci | animmembrane.sci |
curFig = scf(100001);
clf(curFig,"reset");
demo_viewCode("membrane.sce");
drawlater();
xselect(); //raise the graphic window
// set a new colormap
//-------------------
cmap= curFig.color_map; //preserve old setting
curFig.color_map = jetcolormap(64);
//The initial surface definition
//--------------... |
4405d7b86da3093d1e39775bae0c0ae605d5b272 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH7/EX7.7/Ex7_7.sce | 953001fee121d995dc811fcd3ac8207ed8584dea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | Ex7_7.sce | //Example 7_7
clc();
clear;
//To calculate how large a horizontal force must the pavement exert
m=1200 //units in Kg
v=8 //units in meters/sec
r=9 //units in meters
F=(m*v^2)/r //units in Newtons
printf("The horizontal force must the pavement exerts is F=%d Newtons",F)
//In text book the answer is... |
a4c0360e91b82aeed0374e7dde95488b32471f05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH14/EX14.11/Ex14_11.sce | bc17ebe8497859c06d4f9cd0f4527454f0052799 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sce | Ex14_11.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 14 Operational Amplifiers Pg no. 435 and 436
clear;
clc;
//Given
//Figure 14.21
R=12D3;//resistances R1,R2,R3 in RC network in ohms
C=0.001D-6;//capacitances C1,C2,C3 in RC network in ohms
A=29;//gain for oscillator operation
//Solution
fr=1/(2*%pi*R*C*s... |
26720212e6b3c69b1b12031282cc645d88d449a2 | 92074377d2c131cb9b55fc3babf541cab2c3c38b | /Statistika/Peluang Kejadian X/PelaungKejadianX.sce | a4bd732822aedcccf47ccd28f8610d6e4d8ab4f4 | [] | no_license | LinggaWahyu/BelajarScilab | 05f6173e0cad24d3d13bb324c6470bd87a4269cf | ea45563c3048f4f4f229ad1306245591fcb83e52 | refs/heads/master | 2020-07-31T10:41:28.629143 | 2019-10-24T23:12:17 | 2019-10-24T23:12:17 | 210,577,295 | 3 | 3 | null | 2019-10-24T23:12:18 | 2019-09-24T10:38:10 | Scilab | UTF-8 | Scilab | false | false | 414 | sce | PelaungKejadianX.sce | function[fx] = fungsiNormal(mu,sigma,x)
konst = 1 / (sigma * sqrt(2 * %pi))
fx = konst * exp(-0.5 * (((x-mu)/sigma)^2))
endfunction
function[P_Normal] = PNormal(mu,sigma,a,b)
n = 1000
h = (b-a) / n
fa = fungsiNormal(mu,sigma,a)
fb = fungsiNormal(mu,sigma,b)
jum = 0
for i = 1 : (n-1)
a = a + h
fa1n = fungsiNor... |
6651cdb185a765b8d6b3ea6db081b965a9e17eaa | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH7/EX7.3/example7_3.sce | ecc1700c9fb87328f7afe036c3d0fee7c05670e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 617 | sce | example7_3.sce | // To determine which of the circuits 7-1(a) or 7-2(b) has greater accuracy
// example 7-3 in page 166
clc;
//Data given
V1=495; I1=0.5; // voltmeter and ammeter reading in volt and ampere respectively of circuit 7-1(a)
V2=500; I2=0.5;// voltmeter and ammeter reading in volt and ampere respectively of circuit 7-1(... |
36c7a7a453d85cbb2b3de0999b3a3dafcb495d4e | 8200349559e237758f87bc09a9eb4e0178932815 | /Magnet/Scilab/sph2cart.sce | 11caa243d84a8c4a03184385f988aecc2d3e8e41 | [] | no_license | rmorenoga/Testing | 6e50ea8e5f334b6d69f25e56f81fd7a505c012bb | 06713e61ababad3fb738ec4ac9ea771772585a12 | refs/heads/master | 2021-05-25T09:31:54.351782 | 2020-08-08T20:55:59 | 2020-08-08T20:55:59 | 35,949,400 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 147 | sce | sph2cart.sce | function [x, y, z]=sph2cart(theta, phi, r)
x = r.*(cos(phi).*sin(theta));
y = r.*(sin(phi).*sin(theta));
z = r.*cos(theta);
endfunction
|
5233b3779bb2e23b6af5b92f5f18d13f0ccf6cc1 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.coil2000-10-1tra/result6s0.tst | 5e77ebecf7053ab2e7cef45a4ec472ea2392b7da | [] | 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 | 7,466 | tst | result6s0.tst | @relation coil2000
@attribute MOSTYPE integer[1,41]
@attribute MAANTHUI integer[1,10]
@attribute MGEMOMV integer[1,6]
@attribute MGEMLEEF integer[1,6]
@attribute MOSHOOFD integer[1,10]
@attribute MGODRK integer[0,9]
@attribute MGODPR integer[0,9]
@attribute MGODOV integer[0,5]
@attribute MGODGE integer[0,9]
@attribute ... |
41200c8207186eed24cf8495c4a8b26c7cf4e6f9 | 717ddeb7e700373742c617a95e25a2376565112c | /2075/CH6/EX6.4/pe6_4.sce | 789a997fae3323cf0b1c946b9c64651a29c625c6 | [] | 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 | 531 | sce | pe6_4.sce | //example 6.4
clc; funcprot(0);
// Initialization of Variable
Vd=28;//V
f=100;//frequency
I=50;//current
//calculation
Rl=(Vd-.3)/I;
disp(Rl*1000,"load resistance in ohm:")
printf('thus pick Rl=560ohm')
Rl=560;
Vp=2.4;
Ib=500;//microAmp
Rb=(Vp-.9)/Ib;
disp(Rb*1000,"max value of Rb is in kohm:")
printf('t... |
bbc75619a9b82cde8de6e5b4b115d6fd56f80a3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH4/EX4.45/4_45.sce | 588e661cb114368baf7a12e6d25bc4659f2e9069 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_45.sce | I=20
w=2000
R=200
L=0.25
Xl=w*L*%i
Ir=I*Xl/(Xl+R)
Il=I-Ir
Vl=Xl*Il
t=1E-3
ir=sqrt(2)*real(Ir*exp(%i*w*t))
il=sqrt(2)*real(Il*exp(%i*w*t))
vl=sqrt(2)*real(Vl*exp(%i*w*t))
is=sqrt(2)*real(I*exp(%i*w*t))
vs=vl
Pr=ir*ir*R
Pl=vl*il
Ps=is*ir*R
Pr=ir*vl
disp(Ps,Pl,Pr) |
f2d88aa061ead2253513e713ae57507b22135c56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH3/EX3.9/3_9_Rod_Fin.sce | 45d2793058173202349651726dae6db35f2574be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,614 | sce | 3_9_Rod_Fin.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 3.9 Page 145 \n'); //Example 3.9
// Heat conduction through Rod
kc = 398; //[W/m.K] From Table A.1, Copper at Temp 335K
kal = 180; //[W/m.K] From Table A.1, Aluminium at Temp 335K
kst = 14; ... |
b22fa1d59f2ca9e13e813a93db5b2c41d4b39c04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH10/EX10.24/Example10_24.sce | 9ef0b9568d34871884b39e7156ec9b7c67234052 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,302 | sce | Example10_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 II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 3: STEADY STATE CHARACTERISTICS AND PERFORMANCE OF TRANSMISSION LINES
// EXAMPLE : 3.24 :
// Page number 156-157
clear ;... |
28a41872dc6817d326f2f0d6af8a2d6c56d74467 | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/impixel.sci | 3fa803e6982e9a91eafa6a3b136a81b076e4ebff | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 1,602 | sci | impixel.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_... |
4b6aebb945c8f8dd1b7efb01b56bbffe60b8a83b | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH21/EX21.17/21_17.sce | 64ee296e92f80f37413919546e84223dbeba2ff0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 730 | sce | 21_17.sce | //Problem 21.17: A six-pole lap-wound motor is connected to a 250 V d.c. supply. The armature has 500 conductors and a resistance of 1 ohm. The flux per pole is 20 mWb. Calculate (a) the speed and (b) the torque developed when the armature current is 40 A
//initializing the variables:
p = 1; // let
c = 2*p; // fo... |
d89e9bb754c33636938b6473fded0bcf74af63cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH1/EX1.6/1_6.sce | a6c66d35e7d93ef2faa36543e507e078743a3ad5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1_6.sce | clc
clear
//Initialization of variables
g=32.2 //ft/s^2
p1=100 //psig
p2=29.0 //in of Hg
//calculations
BP=p2*0.491
AP=BP+p1
//results
printf("Absolute pressure = %.2f psia",AP)
|
09897de48c37c1bd5008a5efaa144890a51083ba | d59fc6d78ee6e8fa0436ad3ec6de36d524a63231 | /Prime de risque/Simulation_VarPrime.sci | 2469fffafb2a5e1a4408aa1da3e831cde32c81ea | [] | no_license | senhadjielrhazi/projet-edf | 3a1be6edda3e1ede10298c29f249a94eec82361a | fab03a4afdb641c99066e789394454f612debe1d | refs/heads/master | 2020-12-03T08:09:21.229054 | 2017-06-28T11:39:33 | 2017-06-28T11:39:33 | 95,662,149 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,014 | sci | Simulation_VarPrime.sci | clear;
chdir('J:\Stage\Simulations')
getf('Modele un facteur gaussien\Prime de risque\VarPrime_Function.sci');disp('getf done');
getf('Modele un facteur gaussien\Cas Constant\Const_Function.sci');disp('getf done');
/////////////////////////////////////////////////////////////////////////////////////////////... |
2ce2ed1b09c3599c19bf0414cd7dbce53a51b50d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH2/EX2.3/2_3.sce | a8acf02815eb8de955d8f529d2607d16a5954aaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 635 | sce | 2_3.sce | clc
//initialisation of variables
clear
vo= 10 //ft/sec
a= 0.5 //ft^-1
b= 1 //ft
x= -2 //ft
y= 2 //ft
b1= 2
a1= 3/5 //ft
//CALCULATIONS
Vx= vo/(a*x^2+b)
Vy= -2*a*b*vo*x*y/(a*x^2+b)^2
V= sqrt(Vx^2+Vy^2)
fx= -2*a*b^2*vo^2*x/(a*x^2+b)^3
fy= 2*a*b^2*vo^2*y*(b-a*x^2)/(a*x^2+b)^4
f= sqrt(fx^2+fy^2)
r= b1^2/a... |
943d5e249baa30a67f1c3e649b5e144defabd1dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH12/EX12.8/ex12_8.sce | ef847d14968c7d0c16524efba635d9d6d90d17d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | ex12_8.sce | //Page Number: 653
//Example 12.8
clc;
//Given
d=2.4;//cm
lmbc=1.8;
c=3*10^10; //cm/s
lmbg=2*d;
lmb=(lmbg*lmbc)/(sqrt(lmbg^2+lmbc^2));
//Operating frequency
f=c/lmb;
disp('GHz',f/10^9,'Operating frequency:');
|
59043721e5b49ff34ae99f71e10e45c0f9b4b8a6 | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/test_functions/testcalcTypeII.sce | 9910aabe334a186909228e8e2741e51dfe7c9849 | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | testcalcTypeII.sce |
//Script to test the calculation of the type II based on Bassos book sec 4.2.9
mag=10^(-18/20);
boost=68;
fc=5e3;
//Result must be fp=25.7e3, fp0=7.8e3, fz=972
[regulator,fz1,fp1,fp0]= calctypeII(mag,fc,boost)
bode(regulator,fc/103,fc*100,0.1)
|
054978da541371125920e3ce2f830c90d8887361 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_20160517_xor_with_mismatchmap/XOR_hyperplane.sce | e926d43334a79107d83f420153241473b8cb8925 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,787 | sce | XOR_hyperplane.sce | global file_name path fname extension
clk__x1 = [0.2 2.5];
data_x1 = [2.5 2.5];
zero_x1 = [0.2 0.2];
clk_sr = [clk__x1 clk__x1 clk__x1 linspace(0.2,0.2,21)];
data_sr = [data_x1 zero_x1 zero_x1 linspace(0.2,0.2,21)];
input_vmmwta=[
zero_x1 zero_x1 zero_x1 linspace(2.5,2.5,21); // "1"
zero_x1 zero_x1 zero_x1... |
b4466a69e1100578fb674e062e96deeec7b24dae | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH22/EX22.2/Example_22_2.sce | b827fa8132739d2e1e500de8fc40fb475c676840 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,147 | sce | Example_22_2.sce | //clear//
clear;
clc;
//Example 22.2
//Given
Dp = 1; //[in.]
vdot = 25000; //[ft^3/h]
T = 68; //[F]
P = 1; //[atm]
ya = 0.02;
Mair = 29;
Mg = 17;
//Solution
//The average molecular weiht of the entering gas
M = (1-ya)*Mair+ya*Mg;
rho_y = M*492/(359*(460+68)); //[lb/ft^3]
rho_x = 62.3; //[lb/ft^3]
//... |
c4c174cbcf2ecf3bc8fa5fc410b609dbba2e6855 | 3f974cd2e8f9ee9d8172734dc7ba7838e9ed889a | /Ex2.circuito.RL.passa.faixa.sce | 6082f8cadcd6abbe5f7fa61c9b2008926537f0cb | [] | no_license | nascimento-luciano/Electric-Circuits | e18988f6a6a7e1e854a9d800b000b715c7c0ad56 | fd6835556fc00c934eb62cd31429db2658213c40 | refs/heads/main | 2023-03-18T20:02:44.516155 | 2021-03-30T20:23:28 | 2021-03-30T20:23:28 | 353,131,432 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 961 | sce | Ex2.circuito.RL.passa.faixa.sce | // circuito RL passa-faixa em dB
R1=1000;R2=220;L1=1e-3;L2=1e-3;
fc1=R1/(2*%pi*L1);
fc2=R2/(2*%pi*L2);
f = logspace(1,10,1e4);
mod_H1=1./((1+(fc1./f).^2).^0.5);
mod_H2=1./((1+(f./fc2).^2).^0.5);
mod_H=mod_H1.*mod_H2;
ang_H1=(180/%pi)*(atan(fc1./f));
ang_H2=-(180/%pi)*(atan(f./fc2));
ang_H=ang_H1+ang_H2;
scf(... |
256b97cb6362dbab4f0e33c16e14c8fbf1b665b3 | 44a742973d9db97b35c88d4c28f538a48a3029c8 | /pl/math/test/testcases/directed/asinf.tst | 585381d8c4756d9c69f5eddd9ffbfa8bc9298c9f | [
"LLVM-exception",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ARM-software/optimized-routines | ac3349617ef6c7119050e1a26f33a040448a5c7b | 4bdee55e42855a884f9da47abfe8c612b8534294 | refs/heads/master | 2023-08-15T11:56:21.269079 | 2023-08-14T12:34:34 | 2023-08-14T12:34:50 | 45,979,634 | 478 | 85 | NOASSERTION | 2023-09-12T08:13:38 | 2015-11-11T12:12:32 | C | UTF-8 | Scilab | false | false | 1,124 | tst | asinf.tst | ; asinf.tst
;
; Copyright 2009-2023, Arm Limited.
; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
func=asinf op1=7fc00001 result=7fc00001 errno=0
func=asinf op1=ffc00001 result=7fc00001 errno=0
func=asinf op1=7f800001 result=7fc00001 errno=0 status=i
func=asinf op1=ff800001 result=7fc00001 errno=0 sta... |
1a5cdb4092dd06fabeb13697267c3be99c99dc1d | 72d7c10733e74eafb60961874dedea7fa2a43569 | /8.Opamps/Inverting_amp.sce | 1e9dd7fbf2eb89c9c0ee61ccfd28295288739a00 | [] | no_license | AkshayNachappa/Scilab-Workshop | 8dc448c41a2e768f3d93bbed928705445b9c007b | 056436f38a1f3aad7d1e3669595718839108c40e | refs/heads/master | 2023-01-02T00:20:19.968404 | 2020-10-20T17:04:44 | 2020-10-20T17:04:44 | 297,102,650 | 2 | 2 | null | 2020-10-20T17:04:46 | 2020-09-20T15:12:27 | Scilab | UTF-8 | Scilab | false | false | 377 | sce | Inverting_amp.sce | // Inverting and non inverting amplifier
clc;
clear all;
close;
m = 200000;
vi = input("Enter input voltage= ")
rf =input("Enter feedback resistor value= ")
r1 =input("Enter input resistor value= ")
vo = (-rf/r1)*vi; // vo = (1+(rf/r1)*vi; //for non inverting amp
//vo = vo-(vo/m); // correction for vo... |
7e04bf74e29e135526f86db4e4767352889efc5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH9/EX9.19/example19.sce | de5cce59f0c7d52f066eff11a842dd71d0dd1e23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,118 | sce | example19.sce | clc
clear
//input data
D=8//Outer diameter of the turbine in m
Db=3//Inner diameter of the turbine in m
P=30000//Power developed by the turbine in kW
nH=0.95//Hydraulic efficiency
N=80//Speed of the turbine in rpm
H=12//Head operated by the turbine in m
Q=300//Discharge through the runner in m^3/s
g=9.81//Acc... |
3f1d5b5135c719754b1e19be45d64c962fb0361e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH2/EX2.9.2/Ex2_9_2.sce | 8c882f782bd75f274614421a18298aedb03d23bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | Ex2_9_2.sce | //Ex 2.9.2
clc;clear;close;
format('v',6);
//Given :
IF=10;//mA
VF=0.3;//volts
T=27+273;//K
Eta=1;//for Ge diode
VT=T/11600;//V
Io=IF/(exp(VF/Eta/VT)-1);//mA
disp(Io*10^6,"Reverse saturation current in nA : ");
|
f3230dd4034159a99c1a9d5fa6a7033d2e6e05d1 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Algebra_And_Its_Applications_G._Strang_70.zip/Linear_Algebra_And_Its_Applications_G._Strang_70/CH6/EX6.3.1/6_3_1.sci | bfde973a2837950cd6decbd006bda1b220cbf1b6 | [] | 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 | 196 | sci | 6_3_1.sci | errcatch(-1,"stop");mode(2);//332
;
;
A=[-1 2 2]';
disp(A,'A=');
[U diagnol V]=svd(A);
disp(U,'U=');
disp(diagnol,'diagnol=');
disp(V','V''=');
disp(U*diagnol*V','A=U*diagnol*V''')
//end
exit();
|
61b8b6f6b5c82dc1dbc0c632ccc7c39f61e29b06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH10/EX10.7/ex10_7.sce | fecf2951d1d82a27b8abae1b1f251e871ed3efd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex10_7.sce | // Example 10.7
format('v',6)
clc;
clear;
close;
// given data
R_C= 1*10^3;// in Ω
r_desh_e= 2.5;//in Ω
Zin= 1*10^3;// in Ω
A2= 10;// unit less
A3= 1;// unit less
A1= (R_C*Zin/(R_C+Zin))/r_desh_e;// unit less
// The overall voltage gain
A= A1*A2*A3;
disp(A,"The overall voltage gain is : ")
|
cbc39bc63d1b966143e09a87707295ab8605c042 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/iirpowcomp/test_1.sce | 8d5d484c85f6d8be7b35e43d95beee1d1417be7b | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | test_1.sce | // Test # 1 : No Input Arguments
exec('./iirpowcomp.sci',-1);
[b,p]=iirpowcomp();
//!--error 10000
//2/3 input arguments allowed
//at line 33 of function iirpowcomp called by :
//[b,p]=iirpowcomp()
|
1dcf117f022f1f38901082a4c6799d89c2145880 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH4/EX4.24/ex4_24.sce | 5e2bf542668dca0cbfd592df61c5b67e5211ccf9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | sce | ex4_24.sce | //Page Number: 250
//Example 4.24
clc;
//Given
//As it is perfectly matched
S12=1/sqrt(2);
S21=S12;
s=[0 S12;S21 0];
disp(s,'Scattering matrix:');
|
4ae6748e189ac63d1efbad830ef4931933769cc0 | 9e8ee5cada387d28d7b64dd58a1d43add9abf855 | /Test/examples/towers_of_hanoi.tst | df8700938e94d2ed9e25f22bef219449438dcec2 | [
"MIT"
] | permissive | nvitucci/pyke | 2804504666cdf0bd3219daa6a1aca8a58d4bfdb8 | dc4fc6056a3d2bb701cda645359dcb92332d7f51 | refs/heads/master | 2023-04-01T17:21:59.906819 | 2021-04-16T23:20:00 | 2021-04-16T23:20:00 | 267,141,385 | 7 | 3 | MIT | 2021-04-20T21:26:38 | 2020-05-26T20:09:55 | Python | UTF-8 | Scilab | false | false | 1,791 | tst | towers_of_hanoi.tst | # towers_of_hanoi.tst
>>> import sys
>>> import pyke
>>> import os
>>> new_path = os.path.join(os.path.dirname(os.path.dirname(pyke.__file__)),
... 'examples/towers_of_hanoi')
>>> sys.path.append(new_path)
>>> import driver
>>> driver.test(1)
got 1: ((0, 2)... |
cd160c022c5913fda56040d3e8e28eaa79096375 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH11/EX11.7/11_7.sce | fb8e766e1f21b090f7d147fd7729588355924860 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,285 | sce | 11_7.sce | //Example 11.7
//Relaxation Method
//Page no. 376
clc;clear;close;
for i=0:4
for j=0:4
if i==0 | j==0 then
U(5-i,j+1)=0
elseif i==4 | j==4
U(5-i,j+1)=(i*j)^2
else
U(5-i,j+1)=0;
end
end
end
S=['A','B','C','D','E','F','G','H','I'... |
2eb768f61648beba9b0ed09688614e3e8e0e3d06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH5/EX5.2/5_2.sce | 51984227859ea9b789b487f2efdab80743a997db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | 5_2.sce | clc
//initialisation of variables
o= 90 //degrees
H= 15.5 //in
Cd= 0.6
g= 32.2 //ft/sec^2
//CALCULATIONS
Q= 8*Cd*tand(o/2)*sqrt(2*g)*(H/12)^2.5/15
//RESULTS
printf ('Total Discharge= %.2f cuses',Q)
|
bb758ee33424e35d347546a940c35831ef7676d0 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/levinson/levinson2.sce | 3042de3cf431e2377a0726eeec886d4bd234309e | [] | 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 | 125 | sce | levinson2.sce | //check o/p for a given matrix
r=[1 34 4];
[a,e,k]=levinson(r);
disp(a);
////output
/// 1. - 0.0883117 - 0.9974026
|
e57d4c7494760895cc59f74cbddc66ff46c0e20f | bacd6919260d728f4316702bbe1edf811810bede | /legacy/39.pow_frac/console/visit/view2d.sce | f2d178e239ec261ef6af83ea1aa9126899883631 | [] | no_license | vopl/sp | 332d8c2ff536fc5d8772ff2f3fbeca9b50c47641 | a4313f4d7af47cc3132d7546947d4d668c7e487e | refs/heads/master | 2020-04-16T02:09:36.036424 | 2016-10-05T18:08:30 | 2016-10-05T18:08:30 | 65,293,458 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 680 | sce | view2d.sce | stacksize('max');
t = read("t", -1, 1);
tamount = size(t,1)*1;
t = t(1:tamount);
tamount = size(t,1);
x = read("x", -1, 1);
xamount = size(x,1);
re=read("re", xamount, tamount);
im=read("im", xamount, tamount);
v = re+%i*im;
xx = 1:xamount;
tt = 1:tamount;
xx = (x ./ (60*60));
tt = (t ./ (60*60));
... |
6a327c342bcd5b3fe5c7032880a5a31ed63843b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH5/EX5.10/Ch05Exa10.sce | 2238f4624e19ff00dd2a45aa5053161b7906d866 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 738 | sce | Ch05Exa10.sce | // Scilab code Exa5.10 : : Page 206 (2011)
clc; clear;
h_kt = 1.05457e-34; // Reduced Planck's constant, joule sec
e = 1.60218e-19; // Charge of an electron, coulomb
l = 2; // Orbital angular momentum
eps_0 = 8.5542e-12; // Absolute permittivity of free space, coulomb square per... |
d4790088648abc60df040dd2ea9b58f32247ba6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH35/EX35.02/35_02.sce | ab38df2cb5f1ec744dc6844e942754f4cd9628ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 920 | sce | 35_02.sce | //Problem 35.02: If the load impedance Z in Figure 35.2 of problem 35.01 consists of variable resistance R and variable reactance X, determine (a) the value of Z that results in maximum power transfer, and (b) the value of the maximum power.
//initializing the variables:
rv = 120; // in volts
thetav = 0; // in deg... |
ebaae18f728938c374adc4fc6c40e8e21a877067 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH6/EX6.4/ex6_4.sce | 780fb9199ff45b2ca712b4b1cf3addacc4d37e8f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | ex6_4.sce | // Exa 6.4
clc;
clear;
close;
// Given data
V_DD = 15;// in V
R = 3;// in kohm
I_D = V_DD/R;// in mA
R_D = 1;// in kohm
V_D = V_DD - (I_D*R_D);// in V
disp(V_D,"The drain voltage in V is");
|
1ad9ae414d955b25526c3d72711e88c1a4dc9584 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH7/EX7.15/Ex7_15.sce | 0686bcc011ebe096a8705444a4b3838dc7c0d4eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | Ex7_15.sce | //===========================================================================
//chapter 7 example 15
clc;
clear all;
//variable declaration
W1 = 300; //wattmeter reading in kW
W2 = 100; //wattmeter reading in kW
//calculations
P = W1+W2; //input power in kW
phi = atan(((W1-W2)/(W1+W2))*sqrt(3)); //pha... |
124a0dba852742814f0b43032e2f3a5c1d767b6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH12/EX12.15/12_15.sce | a6c782c7f208396593bc096b42ef26da933ce0a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,563 | sce | 12_15.sce | //To find axial thrust
clc
//Given:
L=175/1000, d2=100/1000, r2=d2/2 //m
theta=70 //degrees
G=1.5, T2=80
Tf=75 //Torque on faster wheel, N-m
funcprot(0)
//Solution:
//Spiral angles for each wheel:
//Calculating the number of teeth on slower wheel
T1=T2*G
//Calculating the pitch circle diameter of the slower... |
7039056759289c08f740aca11e41e8f2a6bf70a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH17/EX10.17.8/Ex10_17_8.sce | 3ef5a6f25342a780ff05ae432db39e65fa94f5c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | Ex10_17_8.sce | //Section-10,Example-3,Page no.-CT.31
//To calculate q,W,dl_E,dl_H.
clc;
V_2=20
V_1=4
P=1
W=-(P*(V_2-V_1))*(8.314/0.08206)
disp(W,'maximum work done in(J)')
dl_E=0
dl_H=0
q=dl_E-W
disp(q,'in J')
|
e7562dffa75aca5ebd47c40730ce09b83432ae14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH5/EX5.5/EXP5_5.sce | 1c3c9449a3e2ac96e9eb8e2ad8f789faa1adf53c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,693 | sce | EXP5_5.sce | clc;funcprot(0);//EXAMPLE 5.5
// Initialisation of Variables
N=1;..........//N0. of atoms on one side of iron bar
H=1;..........//No. of atoms onother side of iron bar
d=3;.......//Diameter of an impermeable cylinder in cm
l=10;.....//Length of an impermeable cylinder in cm
A1=50*10^18*N;..........// No. of gaseo... |
7e98cb706088ee5aac9ba04ac880c3806da4518a | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH3/EX3.8/Example3_8.sci | 931c74cf198180975aaaa433191eb6a6085ea414 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,100 | sci | Example3_8.sci | clear;
clc();
// To find the temperature of planes indicated by grid points using relaxation method
t1=800; // inner surface temperature of wall in degF
t4=200; // outer surface temperature of wall in degF
//Grids are square in shape so delx =dely where delx,y sre dimensions of square gri... |
259627da7635ccc26dd10601883b5b74c0372840 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH6/EX6.11/Ch06Ex11.sci | 6962ad88af853cd18d15cd8da8fc557caf4b18cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,203 | sci | Ch06Ex11.sci | // Scilab Code Ex6.11 Time required for carburizing of steel: Page 209 (2010)
C0 = 0.0018; // Intial carbon concentration of steel
Cx = 0.0030; // Carbon concentration of steel at 0.60 mm below the surface of the gear
Cs = 0.01; // Carbon concentration of steel at the surface
x = 0.6e-03; // Diffusion d... |
43e563d301b9d702b416827ee54f829d4262bd98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH10/EX10.6/10_6.sce | 7ff7800851ffbbc21b85ee0efab18bae9b91b884 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | 10_6.sce | clc
//initialisation of variables
P= 15 //psia
sx= 1.7050 //Btu/lb R
sg= 1.7549 //btu/lb R
sfg= 1.4415 //Bru/lb R
hg= 1150.8 //btu/lb
hfg= 969.7 //Btu/lb
vg= 26.29 //cu ft/lb
vfg= 26.27 //cu ft/lb
//CALCULATIONS
n= (sg-sx)/sfg
sx= sg-n*sfg
hx= hg-n*hfg
vx= vg-n*vfg
//RESULTS
printf ('Volume= %.2f cu ft/lb',vx)
printf (... |
61a72f9ede6fbcbded24975a5abff77f744763b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH4/EX4.27/Ex4_27.sce | a90807b058603402fc8220c09a51080fb5fa8c6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | Ex4_27.sce | //Example 4.27
//Interconnectiuion of LTI systems
n2=0:18;
h1=[1 5 10 11 8 4 1];
h2=[1 1 zeros(1,5)];
h3=[1 1 zeros(1,5)];
a=convol(h1,h2);
h=convol(a,h3);
x=[1 -1];
n1=[0 1];
n3=0:19;
y=convol(x,h);
subplot(3,1,1)
xtitle("input signal x(n)","....................n","x[n]");
plot(n1,x,'.');
subplot(3,1,2)
xtitle("system... |
9237534943a86139e9b0cec9f8293ed6405f1677 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH10/EX10.9/Ex10_9.sce | c010e5935fde6403ef1100f3bc8881035588c961 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sce | Ex10_9.sce | //Example 10.9//
T1=290;//degree C //recrystallization temperature
T2=920;// degree C //solidus temperature
T3=273;//K //Kelvin
T4=(T1+T3)/(T2+T3)
disp(T4)
|
fa1fdb926540f956f1c8aef162c2f30a7b97b1f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH5/EX5.7.10/Ex5_10.sce | 8fd2ff37291016becb23df5e6a9925e609003ce5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | Ex5_10.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 5:Semiconductor Junction Diodes
clc
clear
Vz=3//Vz=breakdown voltage of zener diode
Vi=12//Vi=input voltage
V=[12;-3]//V=[Vi:-Vz]
R1=1000
R2=1000
R3=500//R1,R2,R3=resistances
R=[R1+R2 -R2;-R2 R2+R3]
I1=inv(R)*V//solving this matrix on the basis of appli... |
bdc17a10be8a8627ef505602724a5a83f8482767 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH14/EX14.11/example14_11.sce | 1c5f94587774e0a20c501d9144045a04043fe83c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | example14_11.sce | //Chapter 14
//Example 14_11
//Page 372
clear;clc;
v=400;
ph_v=230;
w1=100;
w2=150;
r1=ph_v^2/w1;
r2=ph_v^2/w2;
i=v/(r1+r2);
v1=i*r1;
v2=i*r2;
printf("Resistance of lamp L1 = R1 = %.2f ohm \n\n", r1);
printf("Resistance of lamp L2 = R2 = %.2f ohm \n\n", r2);
printf("Curretn through lamps = %.3f A \n\n", i);
printf... |
beac502fda92de4ef30af4c078f0e25464b1e87d | fb66bf7160cff53a909533926527b4d5e6b16776 | /scilabCode/continuoussignals.sci | 7be3ee59bc3dcc91063786dfe475fce7373b90a5 | [] | no_license | kavyamanohar/EDALabmanual | b705c1f4a3cd1baacbdc760ae71c8288aa2eb95e | 98e2e7e391c886ece0503a02491d968065bbd5d8 | refs/heads/master | 2020-04-06T07:08:56.526175 | 2016-09-04T16:40:51 | 2016-09-04T16:40:51 | 65,728,061 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sci | continuoussignals.sci | clc;
clear all;
clf;
//UNIT IMPULSE
x=[zeros(1,10),ones(1,1),zeros(1,10)];
t=-10:1:10;
subplot(2,3,1)
plot(t,x);
title('unit impulse');xlabel('t');ylabel('amp');
//UNIT STEP
x=[zeros(1,10),ones(1,11)];
t=-10:1:10;
subplot(2,3,2)
plot(t,x);
title('unit step');xlabel('t');ylabel('amp');
//SINUSOIDAL FUNCTION
t=0:0.0... |
c179415d186f396c6d0ca46f8f4a52b40644a55d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH6/EX6.13/6_13.sce | f2c185b8378ebdb69c03f9cb863d7cf3dd4cb5b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,050 | sce | 6_13.sce | clc,clear
printf('Example 6.13\n\n')
V_L=11*10^3
V_ph=V_L/sqrt(3)
VA=700*10^3
I_FL=VA/(sqrt(3)*V_L) //full load current
IR_a=(1.5/100)*V_ph //product of I and R_a
R_a=IR_a/I_FL
IX_s=(14/100)*V_ph // product of I and X_s
X_s=IX_s/I_FL //synchronous reactance
//at full load and 0.8 pf
I=I_FL
phi=acos(0.8)... |
bd1ca17e401f6b5f15c6f64674a53447bd1631aa | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/23.tst | de217fe17671736b406f321e6c8f554303f436e9 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9 | tst | 23.tst | int x[1]; |
99b1003fd6c5c27d6f4f9f343f54ba7a2e9a00b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH2/EX2.4/2_4.sce | 346a87ebca4333f314a9ae72138bc3063a4ad566 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | 2_4.sce | clc;
//page no 2-11
//example: 2.4
//Given carrier power=400 watt and modulation depth as 80%
u=0.8;
Pc=400;
ptotal=Pc*(1+(u^2/2));
disp(+'watts',ptotal, 'Total power delivered is ')
|
a938d95e38ed10bda37ca827642a8af5d0444943 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH9/EX9.8/Ch09Ex8.sce | 3f229958d99fab993a03909500da61f22a5b06fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | Ch09Ex8.sce | // Scilab Code Ex9.8: Page-9.28 (2004)
clc;clear;
Eg = 1; // Bandgap of silicon, eV
e = 1.6e-19; // Electronic charge, C
k = 1.38e-23; // Boltzman constant,joule per kelvin
E_F = (0.6-0.5)*e; // Fermi energy, joules
// E_F =((Ev+Ec)/2)+3/4*k*T1*(log(4)); // Ev & Ec= valance and conduction band energies... |
3bb4a4fac9fdce13b25d05daeed34d9c7c43f258 | 6b4fa74509e6ea134ed3396eb22437c470d8ff1c | /1.awk.tst | 705af152fc08f63739c0a3eda8e7e38291b51d43 | [] | no_license | xuusheng/code | 8a9ed43006fe744c3b7cc7b8ca7fa30af4143294 | afdbc3701e1877fae70eba92bf272262c7bc0b1b | refs/heads/master | 2020-12-24T14:36:59.874856 | 2014-03-21T16:37:17 | 2014-03-21T16:37:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22 | tst | 1.awk.tst | a
a
c
c
b
b
b
a
c
b
b
|
77a5a192dae96e857e9a99637562fb86c89e121b | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH3/EX3.7/ex_7.sce | 5a6d41a181ba84d2bb635a4d90c51cd50247a04d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | ex_7.sce | // PG (144)
deff('[y]=f(x)','y=sqrt(x)')
funcprot(0)
deff('[y]=fp(x)','y=0.5/sqrt(x)')
funcprot(0)
deff('[y]=fpp(x)','y=-0.25*x^(-3/2)')
funcprot(0)
deff('[y]=fppp(x)','y=3*x^(-2.5)/8')
deff('[y]=fpppp(x)','y=-15*x^(-7/2)/16')
// f[2.0,2.1,.....2.4] = -0.002084
fpppp(2.3103)/factorial(4) |
275554fccd52d933cf58500e24c93b5377a4b59e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2519/CH20/EX20.7/Ex20_7.sce | c6e1ba037b78ef7545d6ab76399dbfa9fb7c4172 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex20_7.sce | clc
clear
//Initialization of variables
h=2.5 //Btu/hr ft^2 F
kc=0.1 //Btu/hr ft F
r1=0.811/2
//calculations
r2c=kc/h *12
//results
if r2c>=r1 then
printf("Thin layer of insulation would increase the heat dissipation from wire, r2c = %.2f in",r2c)
else
printf("Thin layer of insulation would decr... |
77943015aed264d07192725fe4324d5514686925 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH1/EX1.8.1/1_8_1.sce | 557bffb39d6baea86b52b170141cd589cb7a1847 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 809 | sce | 1_8_1.sce | clc;
// page no 26
// prob no 1_8_1
//High frequency transformer with identical primary and secondary circuits
Lp=150*10^-6;
Ls=150*10^-6;
Cp=470*10^-12;
Cs=470*10^-12;
//Lp=Ls=150 uH,Cp=Cs=470 pF
Q=85//Q-factor for each ckt is 85
c=0.01//Coeff of coupling is 0.01
Rl=5000//Load resistance Rl=5000 ohm
r=7500... |
b5bf3a94ceff9903b4913ce14300891e534ff902 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH4/EX4.12/Example_12.sce | e245a0a62cdff1e174a5cfd272b6019404752d1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | Example_12.sce | //Chapter-4,Example 12,Page 96
clc;
close;
q_rev= 19.14 //latent heat
n= 18 //mols
T= 273 //temperature in Kelvin
dS= q_rev*n/T
printf('the change of molar entropy is %.2f J/mol',dS)
|
c2b99dba92a846f0642f3ea6edd9478120eb73a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH9/EX9.2/Example92.sce | 4812d7f7ee48028d794d32556e5a6f7102c75512 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,240 | sce | Example92.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat transfer, Seventh Edition, Frank Kreith, Raj M Manglik and Mark S Bohn, Chapter 9, Example 2")
//Temperature at which sun is radiating as a blackbody in K
T=5800;
//Lower limit of wavelength f... |
f1b3c6ce49d0c1ebb956bab93704427dd346c711 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH10/EX10.2/Chapter102.sce | 3147e2eb535b4d48022bd4c6b2b4f322aed86f7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,659 | sce | Chapter102.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 10, Example 2")
//Hot oil(specific heat,ch=2.09kJ/(kg*K)) flows through counter flow heat excahnger at the mass flow rate of mdoth=(0.7kg/s)
ch=2.09*10^3;
mdoth=... |
a96458befdd8748e905dc2eae6f3e9a796356e29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3535/CH4/EX4.5/Ex4_5.sce | f1f26d0ee9d026ff86e06fbc8983d1d4adf0051a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | Ex4_5.sce | //Chapter 4, Example 4.5, Page 96
clc
clear
// Q value of the reaction
mn = 1.0086649
MB = 10.0129370
MHe = 4.0026032
MLi = 7.0160040
C2 = 931.5
Q = (mn+MB-MHe-MLi)*C2 -0.48
printf("\n Q of the reaction = %f MeV",Q);
//Answer may vary due to round off error
|
e2b35d1f3cc46f2004946c87a49b5aa50108ab5b | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH2/EX2.16/Ex2_16.sce | beb80fa74d452d3b3c1f452d722f94ca47d062c2 | [] | 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 | 132 | sce | Ex2_16.sce | clc;
L1=10*1e-3; //in henry
c3=10*1e-12; //in faraday
pi=3.14;
fr=1/(2*pi*sqrt(L1*c3));
disp(+'Hz',fr,'resonant frequency =')
|
4970767d8f7db4bdb61bcdda41516ea10c9548aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.40/Ex1_40.sce | 4a5976531fcd81913aa220216c1e4b7e7bfa316b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | Ex1_40.sce | clc;
E1=2500; // primary side voltage
E2=250; // secondary side voltage
P=10000; // rated VA of transformer
// to achieve a voltage level of 2625, two equal parts of 125 V each of secondary winding are connected in parallel with each other and in series with primary winding
Eo=E1+E2/2; // desired output of autot... |
d498b5d9a4bcd951872e53d9cd026b640cea9470 | 725517259e3eea555ad0f79d421792c632bc4655 | /workspace/testTanguy.sce | 5075b7ec6333d15546a54179541f479291460699 | [] | no_license | Exia-epickiwi/exolife | 58b8a72aa397c5d3df8dc6f61730b3b2b217740e | b1bdb3ec2adb92c0fc8c546c9bd56a654523bd22 | refs/heads/master | 2020-05-25T14:05:45.795829 | 2017-03-20T09:26:15 | 2017-03-20T09:26:15 | 84,937,674 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sce | testTanguy.sce | //Load scripts
getd('../scripts/')
//Load image
imgPos="../images/"
img=readpbm(imgPos+'Gliese 667Cc_surface.pbm')
// Do a normalisation on the image
display_gray(normalisation(img))
|
1ef2064100d5503c9122c2b184c9c23d5a0db3b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH9/EX9.2/9_2.sce | b335fff5980851009c9ec887336e2820711a7ab6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_2.sce | clc;
disp("Example 9.2")
density= 1000 // in kg/m^3
densitym=13600 // of mercury in kg/m^3
c=0.62 // orifice coefficient
b=0.5
U=135.6/60 // velocity in m/s
delP= ((U*((1-b^4)^0.5)/c)^2)*density/2
g=9.81
R=delP/(g*(densitym-density))
disp(R,"Reading on the manometer is ")
|
b81a0fe17b557d72ddde4e582cf86703bade7c8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH4/EX4.8/ch4_8.sce | 827efcbc4f8a72b7759cab45a6779b90dfeac634 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,596 | sce | ch4_8.sce | clc;
clear;
printf("\t\t\tChapter4_example8\n\n\n");
rou=7817;
c=461;
k=14.4;
alpha=.387e-5;
L1=.03;
L2=0.03;
L3=0.04;
x=0.04;
T_i=95;
T_inf=17;
// for infinite plate
L=L1/2;
hc=50;
reciprocal_Bi_plate=k/(hc*L);
printf("\nThe value of 1/Bi for infinite plate is %.1f",reciprocal_Bi_plate);
T=50;
n=1;
t=[3000 1500 700 40... |
c6de373b3f66d9d7f2864f58327b2e69e26a1c6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1325/CH12/EX12.8/12_8.sce | 163de90668bf1c673fc5fa70e4009f3af4bb7877 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | 12_8.sce | //to find the weight of flywheel
clc
//given
N=120//rpm
k=3.5//ft
Ef=2500//ft lb
Ks=.01
g=32.2//ft/s^2
w=%pi*N/30//angular velocity
W=g*Ef/(w^2*k^2*Ks*2240)//Weight of flying wheel
printf("\nWeight of flying wheel, W = %.2f tons",W)
|
e83eff4e9f87941c937bd86326e170fae630e9c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH6/EX6.5/6_5.sce | fafcce7fba2263cad9fe1ad34754a3094aa95ac1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | 6_5.sce | clc
//initialisation of variables
d= 6 //in
N= 120 //in
Q= 5 //gpm
//CALCULATIONS
Vc= %pi*d^2*N/(4*231)
//RESULTS
printf ('minimum size of the reservoir = %.2f gpm',Vc)
|
7486f0f127f9125144b10e56b93c7b0b05e10aee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH7/EX7.2/Ex7_2.sce | 871e7937537cb76fa5862124bb5af1e3477454e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,571 | sce | Ex7_2.sce |
//
//
printf("\n chainage 15.5 and 27.5')
a1=15.5,b1=27.5,
//finding base and height of each triangle
base=b1-a1
o1=0,o2=22.5,
mo1=(o2+o1)/2
//calculating area
ae1=base*mo1
ap1=0
an1=ae1
printf("\n area GAM= %0.3f sq meters",ae1)
printf("\n chainage 15.5 and 50')
a1=15.5,b1=50,
base=b1-a1
o1=22.5,o2=30,
mo... |
70d0b769742464764abb017d54ac519796357d19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH6/EX6.3/ex6_3.sce | c0900c5f499a8404430f3d5b36c08e2e1316df36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | sce | ex6_3.sce |
//Exa:6.3
clc;
clear;
close;
//Given:
BWt=100;//in kHz
Fh=5;//in KHz
n=BWt/(2*Fh);
printf("\n\t number of stations = %f",n); |
e4960a09727b1416c0fc1e20ddd98c9a8880a650 | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/error_in_variables/scilab/ev_kle90_cstr/wls_functions_energy_CSTR.sci | 8347c6b4ec38e8ef1da8ec31695e8bcca1ba4209 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,044 | sci | wls_functions_energy_CSTR.sci | // Data Reconciliation Benchmark Problems From Literature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
// aux functions to weighted least squares functions
function f = objfun ( x )
f = obj_user(x);
endfunction
function c = confun(x)
//flowsheet_residu... |
02febf7ef616392139e8bba0afb7686d468a5eea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH1/EX1.2.i/I1_2.sce | 3692d0b067c7358238fa9a5b29388fa785ffbe9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | I1_2.sce | clc
//Initialzation of variables
xN2=0.780
xO2=0.210
xAr=0.009
P=100 //kPa
//Calculations
PN2=xN2*P
PO2=xO2*P
PAr=xAr*P
//Results
printf('Partial pressure of Nitrogen(kPa) = %.1f',PN2)
printf('\n Partial pressure of Oxygen(kPa) = %.1f',PO2)
printf('\n Partial pressure of Argon(kPa) = %.1f',PAr)
|
45c4664a001b9153ae7978f768d66291b75b315c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH2/EX2.41/Exa2_41.sce | e42fa370e70fc9fa99c5bd57a29ba57aed0b7e6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 921 | sce | Exa2_41.sce | //Exa2.41
clc;
clear;
close;
// given data
t1=20;// in degree C
t2=36;// in degree C
alpha_20=0.0043;// in per degree C (Temperature Coefficient)
InsulationResistance=480*10^6;// in ohm
copper_cond_res=0.7;// in ohm (copper conductor resistance)
l=500*10^-3;// in kilo meter (length)
R1_desh=InsulationResis... |
51e58079e8c0b82ac41719478edfec0bbcb86807 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH17/EX17.8/17_8.sce | f0fa18c9979f8b2cefc6ffd4511678286e2bfb02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sce | 17_8.sce | //clc()
x = [0.25,0.75,1.25,1.75,2.25];
y = [0.28,0.57,0.68,0.74,0.79];
a0 = 1;
a1 = 1;
sr = 0.0248;
for i = 1:5
pda0(i) = 1 - exp(-a1 * x(i));
pda1(i) = a0 * x(i)*exp(-a1*x(i));
end
Z0 = [pda0(1),pda1(1);pda0(2),pda1(2);pda0(3),pda1(3);pda0(4),pda1(4);pda0(5),pda1(5)]
disp(Z0,"Z0 = ")
R = Z0'*Z0;
... |
e420c4166ad7efe1d37b37b21c8846aee3072c6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH3/EX3.13/Ex3_13.sce | bfabe4bc1e22e624192e998a79c84250160ceab8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_13.sce | clear;
clc;
//Example 3.13
b=100;
Vcc=12;
Vbe=0.7;
Icq=1;//mA
Vceq=6;
Rc=(Vcc-Vceq)/Icq;
printf('\ncollector resistance=%.3f KOhms\n',Rc)
Ibq=Icq/b;
printf('\nbase current=%0.3f mA\n',Ibq)
Rb=(Vcc-Vbe)/Ibq;
printf('\nbase resistance=%.3f KOhms\n',Rb)
|
6674300bde1a7006fe0bd47b972d962a18cd7af7 | 9e6eab5e80d26dc7d85a966bc31a24a7fd8bad79 | /readme.tst | 62a7ecad6012ec01d6ba5f765cfa35fb1cc71aed | [] | no_license | jerry18007328601/jerry8023 | 7a6540fc3f188a653662cee0678e6cc3364657b0 | 41f756ef140993503b08a912f478f7ac565512bf | refs/heads/main | 2023-04-01T23:21:53.424843 | 2021-04-07T08:57:19 | 2021-04-07T08:57:19 | 355,475,745 | 0 | 0 | null | 2021-04-07T08:51:41 | 2021-04-07T08:51:41 | null | UTF-8 | Scilab | false | false | 56 | tst | readme.tst | Haha HelloWorld
123456799999
123456788888
18007328601
|
2d51910e5b29318875288c4a046f4a9845a6ebbb | 8b478a8f9c9ebc5420d79a115b278c7aea7308af | /3rdparty/hdf4-4.2.14-win64/HDF4Examples/hdf/examples/VD/testfiles/h4ex_VD_read_from_vdata.tst | 24dd6752ef0d9999a86354896318eab0932607bb | [
"LicenseRef-scancode-hdf4"
] | permissive | gzliyu/GF2 | 85e71cf298e8365b2f6a94a11ed664aa3f59a4c0 | f0edd69e47022d1d16fc5b0c370d6e607ac594b0 | refs/heads/master | 2023-02-21T11:03:55.830515 | 2021-01-08T06:13:33 | 2021-01-21T12:11:55 | 331,960,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 52 | tst | h4ex_VD_read_from_vdata.tst |
Particle Position Temperature Range
|
65f4760b9bf0346cc8572b25ca03306627bda776 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_plb_esc_cal.sci | a06b0d4313931667abe009ea759328f806a829d3 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,614 | sci | PIL_plb_esc_cal.sci | // **** Purpose ****
// This code is to help calculate PiLab_kif_esc in parallel way.
// **** Variables ****
// [Ek],[Vk]: data readed from /kif/Ek/Ek_x.sod, /kif/Vk/Vk_x.sod.
// [EVal],[EWin],[StateProj]: kif_esc input data
// [k_idx_start]: the start index of Ek and vk
// **** Version ****
// 05/18/2016 first built
... |
b5c1fc3f9b213c5f48d7cb0760c3773a22b69c51 | 31e6f49f6786aa5240625154834e364f6cfb8b50 | /test/MemoryAccess/BasicTest/BasicTestVME.tst | 761b491ef04ee161ce896f8f42dfeeca18853669 | [] | no_license | eilgin/hack-vm | 14dcad5e39bbe923bc68c981c7636ef68ad344d1 | 290dd3ea76724555d4f6f32c944dcf8939d3866e | refs/heads/master | 2021-01-15T18:01:05.019693 | 2012-09-17T10:37:54 | 2012-09-17T10:37:54 | 5,839,569 | 5 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | tst | BasicTestVME.tst | // This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.idc.ac.il/tecs
// File name: projects/07/MemoryAccess/BasicTest/BasicTestVME.tst
load BasicTest.vm,
output-file BasicTest.out,
compare-to BasicTest.cmp,
output-list R... |
2e26a4354f4a4dbcac264952d005acb0e8f2f6cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH8/EX8.10/Ex8_10.sce | 9b4491d83906ee8386ef5ff74fc760ea0109db70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | Ex8_10.sce | //Ex8_10
clc
Av = -200
Ri = 10*10^3
RL = 3*10^3
Ai = Av*Ri/RL
disp("Av = "+string(Av))//voltage gain
disp("Ri = "+string(Ri)+"ohm")//input resistance
disp("RL = "+string(RL)+"ohm")//load resistance
disp("Ai = Av*Ri/RL = "+string(Ai))//current gain
// note : there are mis-printring in the textbook for the ab... |
8765bf4842b1a85a0f5b07dc323330ec886a84df | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH3/EX3.4/3_4.sce | bfa17d78f20c40ef46e25d9747f9db872364f11d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,350 | sce | 3_4.sce | clear;
clc;
// Illustration 3.4
// Page: 169
printf('Illustration 3.4 - Page: 169\n\n');
// solution
//*****Data*****//
// a-ammonia
T = 300; // [K]
P = 101.3; // [kPa]
Kg = 2.75*10^-6; // [kmole/square m.s.kPa]
m = 1.64;
res = 0.85; // [gas phase resistance]
xa_g = 0.115/100; // [mole fraction of... |
fdae065723c307333325b09a74f351dadb292f49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH11/EX11.1/11_1.sci | ae465c15a0be55383d1bcf3764c8c67559017b75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,614 | sci | 11_1.sci | //Control of DC motors//
//Example 11.1//
//Since the speed control is required in both directions we will have to use a dual converter for the application.It would be prefarable to use six pulse dual converter with thyristors connected in antiparallel connection//
//speed control from 20% rated speed to 100% rated ... |
59a4b5ebd413c276fe45c2a0e1528acd9955b0ed | 297b29fb450286d0f7fa619e58c9f4a86949544a | /CRCDetector.sci | 0f3730decc81838a64c41d7c5f94ff20d7a31dc8 | [] | no_license | harshal93shah/scilabcom | 46dc948c1e0d0b37b0a69dfa203347298cc01e40 | 09c5506089a4283968d963ed3812de9823c5a008 | refs/heads/master | 2020-04-06T07:03:23.954966 | 2016-10-04T11:49:41 | 2016-10-04T11:49:41 | 54,882,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,972 | sci | CRCDetector.sci | function [y,err] = CRCDetector(in,polynomial,initialstate,chksumsperframe)
y=[];
err=[]
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//CRCDetector finds the message signal and also finds if error has occured in a subframe
//Y = CRCGene... |
b8cbd208adb5a8136b62f94b714c9a06f2ce25f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH12/EX12.8/8.sce | f4d57296f15e11e7658cbd98b96a18ea82f956e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | 8.sce | clc
IP=35; // Power developed by the engine in kW
S=284; //Steam combustion in kg/h
p2=0.14; //Condenser pressure in bar
p1=15; //bar
h1=2923.3; //kJ/kg
s1=6.709; //kJ/kg K
h_f=220; //kJ/kg
h_fg=2376.6; //kJ/kg
s_f=0.737; //kJ/kg K
s_fg=7.296; //kJ/kg K
x2=(s1-s_f)/s_fg;
disp("(i) Final condition of s... |
0c434a142391d113357696fb0afdf05b34df5fae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH6/EX6.4/Ex6_4.sce | a6aca44660afca5cc6ee3f0a481d7220d1887f28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | Ex6_4.sce | //example 6.4
clc; funcprot(0);
Cc=0.28;
Hc=18*12;
e0=0.9;
sigmao=11*100+40*(121.5-64)+18/2*(118-62.4);
H2=5+40+18;
H1=5+40;
qo=3567;
//from table
IaH2=0.21;
IaH1=0.225;
Dsigma=qo*((H2*IaH2-H1*IaH1)/(H2-H1))*4;
Scp=Cc*Hc/(1+e0)*log10(sigmao/sigmao+Dsigma/sigmao);
disp(Scp,"settlement in inches");
|
6debb9d23ec7fa63633b917a4edff73c712cc7de | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH2/EX2.16/Ex2_16.sce | 0fef5575f2fd61a7b6ce2de033623fbd10f621e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,203 | sce | Ex2_16.sce | //Calculations on dual combustion cycle
clc,clear
//Given:
r=18 //Compression ratio
P1=1.01,P3=69 //Pressure at 1, 3 in bar
T1=20+273 //Temperature at 1 in K
cv=0.718 //Specific heat at constant volume in kJ/kgK
cp=1.005 //Specific heat at constant pressure in kJ/kgK
g=1.4 //Specific heat ratio(gamma)
R=0.287 ... |
30268d53fc5204028339727a12d49d51206625ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH26/EX26.26/EX26_26.sce | 070e89bedd6954a77cf117369a90f45d99f21b82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,553 | sce | EX26_26.sce | //EXAMPLE 26.26
//LONG SHUNT DYNAMO
clc;
funcprot(0);
//Variable Initialisation
N=1000;.....................//Speed of the generator in rpm
Po=22;....................//Output power in Kilo Watts
V=220;....................//Terminal voltage in Volts
Ra=0.05;..................//Armature resisitance in Ohms
R... |
83b32e779a9afb62fb40f9f9ba68e403785ff43b | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH4/EX4.4/ex4_4.sce | 46c1235a6038a80e1312bbc019bfc5db6a8ed6af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_4.sce | clc;
warning("off");
printf("\n\n example4.4 - pg101");
// given
x1=0; //[cm]
x2=30; //[cm]
p1=0.3; //[atm]
p2=0.03; //[atm]
D=0.164; //[am^2/sec]
R=82.057; //[cm^3*atm/mol*K]
T=298.15; //[K]
// using the formula Nax*int(dx/Ax)=-(D/RT)*int(1*dpa)
a=integrate("1/((%pi/4)*(10-(x/6))^2)","x",x1,x2);
b=... |
728163afc9fa02089495a6f82df263507eb6abf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH7/EX7.13/EX7_13.sce | c14125f21f331ff677a0de3fbf4f4477a0b7bc68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 497 | sce | EX7_13.sce | //Example7.13 // to determine the output voltage of the precision rectifier circuit
clc;
clear;
close;
Vi = 10 ; //V i/p volt
R1 = 20 ; // K ohm
R2 = 40 ; // K ohm
Vd = 0.7 ; // V the diode voltage drop
// the output of the half wave precision rectifier is defined as
// Vo = -(R2/R1)*Vi ; for Vi < 0
// ... |
b404edf54ddaeb1267d3c53070b20d08b8f801ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH1/EX1.3/1_3.sce | 3019c2abb616cf091ffab0791d9531e281fe54cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | sce | 1_3.sce | //ques-1.3
//Calculating temporary and permanent hardness of a sample of water
clc
A=7.3;//content of Magnesium hydrogencarbonate (in mg/L)
B=16.2;//content of Calcium hydrogencarbonate (in mg/L)
C=9.5;//content of Magnesium chloride (in mg/L)
D=13.6;//content of Calcium sulphate (in mg/L)
a1=(A/146)*100;//CaCO3... |
80d2066e5dd7aae75f7b27c92b9a8f1336d8c572 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH3/EX3.1/example3_1.sce | 970f92b0391bdf576867728b939fcbf3b0bb1a52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example3_1.sce | clc
// Given that
mu = 1.5 // refractive index of glass
// Sample Problem 1 on page no. 3.23
printf("\n # PROBLEM 1 # \n")
Ip = atan(mu) * (180 / %pi) // by brewster's law
r = 90 - Ip // calculation for angle of refraction
printf("Standard formula used \n mu=tan(Ip)\n")
printf("\n Brewster angle = %f degree\n Angle of... |
4278aff38fdf85ea2138bb802016bf1ca9a87700 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.4_9.tst | 37abc3f7e815205e3404d2e788e2cdea7bbb7e59 | [] | 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 | 40,305 | tst | bow.4_9.tst | 4 8:0.045454545454545456 17:0.2 28:1.0 81:0.5 206:0.25 268:1.0 402:1.0 488:1.0 761:1.0 762:1.0 880:1.0 990:1.0 1446:0.3333333333333333 1447:1.0 1620:1.0 2088:1.0 2330:1.0 2607:0.5 3090:1.0 3091:1.0 3577:1.0
4 8:0.09090909090909091 14:0.4 31:0.75 37:0.1111111111111111 54:0.5 58:0.07692307692307693 95:0.5 127:1.0 164:1.0... |
503f3f3af209b86acc9a4da7d497c1a9ef2ef03f | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /Scripts/DML/Consultas/Test/consulta_por_usuario.tst | 3b411388694671bd29eaad75f5928ff8d28cf525 | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 227 | tst | consulta_por_usuario.tst | PL/SQL Developer Test script 3.0
5
begin
-- Call the procedure
personas_por_usuario(pusuario_id => :pusuario_id,
p_recordset => :p_recordset);
end;
2
pusuario_id
1
gago
5
p_recordset
1
<Cursor>
116
0
|
0f5d926c17e9176e121bca2c0eb6bef1c47ae34a | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_c_vrt_col_d/~BivLCM-SR-bfi_c_vrt_col_d-PLin-VLin.tst | 66f533b1fccdbdce366e17f1f2febaf814c00fa2 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_c_vrt_col_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.305650D+00
... |
76836e614e23967ece32d4fa5e6a47c96ee4babc | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/calpol/derivat.sci | 8aa032cfb4cf793f98897acbac4465a1c32a95e5 | [
"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 | 941 | sci | derivat.sci | function [p]=derivat(p)
//pd=derivat(p) computes the derivative of the polynomial or rational
//function marix relative to the dummy variable
//!
t=type(p)
if t=1 then p=0*p,return,end
if t=2 then
[m,n]=size(p);var=varn(p);
for i=1:m
for j=1:n
pij=p(i,j);nij=degree(pij);
if nij=0 the... |
a49c00287231e55408bb00adab2ce7e7c1aeefb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH9/EX9.22/pd.sci | 1104012814d7071e5aea90382dd327cdf02f9477 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | pd.sci | // PD control law from polynomial coefficients, as explained in Sec. 9.8.
// 9.22
function [K,taud,N] = pd(Rc,Sc,Ts)
// Both Rc and Sc have to be degree one polynomials
s0 = Sc(1); s1 = Sc(2);
r1 = Rc(2);
K = (s0+s1)/(1+r1);
N = (s1-s0*r1)/r1/(s0+s1);
taudbyN = -Ts*r1/(1+r1);
taud = taudbyN * N;
endfunc... |
11faaebba834a4fe0bf1e1198a22a0d2133cbd24 | 39d212a1aaf3f1dfc8993d47aef9f7b8d4c34008 | /4.sce | 0d53a98739349e81f12a2f6bb71b66de4e993a33 | [] | 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 | 39 | sce | 4.sce | v=[5, -5, 9, 12, -1, 0, 4]
v(v>0) = 10
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.