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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a8c48a578f977a365b08532966bb57ee57bce83f | 987355b7738508e014e47fef926b89d10f69c77c | /evolution.sci | 3a19ca280da86e867b6153ba4183362d1c48dc61 | [] | no_license | RobertMut/GA_scilab | 60d3c87d1a15a683584a1161a313b05fe966eb55 | a18ea36600f758ba20e1f5c70624ccd846d30da7 | refs/heads/main | 2023-06-09T12:46:19.394412 | 2021-06-18T12:12:32 | 2021-06-18T12:12:32 | 362,424,370 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,804 | sci | evolution.sci | function newPop=NewPopulation(population, fitness, p)
fittestIndex = GetFittest(fitness); //ustalenie indeksu - który osobnik jest najlepszy
new(,:,)=[];
j = 1;
for i=1:size(fitness)(1)
if (i~=fittestIndex)
other(j,:) = population(i,:);
j = j+1;
end
end
fittest =... |
e8791883fd57d2c771304dcbb49a84314bbca7d2 | 717ddeb7e700373742c617a95e25a2376565112c | /821/CH5/EX5.47/5_47.sce | 1c714ec6103cf5b2b908176681f18c5079bb9154 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,155 | sce | 5_47.sce | acid=1/3;
ester=2/3;
alcohol=1/3;
water=2/3;
K=(ester*water)/(acid*alcohol);
printf('K value of the reaction=K=%f',K);
printf('\nIn finding no. of moles we end up with quadratic equation 3*x^2-24*x+20=0.\nupon solving the equation we get x=7.05 and 0.945.');
printf('\nThe first solution is not admissible since t... |
f09a53cd57b5aa8179c537b659e0600890e4f6ac | 5523237709a6b6082f723934030bd36314a3b267 | /frontend/newMenu.sce | 8aa21e86138989d4bd9e121520029ceee1b092e8 | [] | no_license | mode777/retrolove | 54d8bd852ed67f4b6c27cdee63f35a5195fadc8c | 4626062c98797f3d4b3c7510ce4d5de1cf3b66e2 | refs/heads/master | 2021-06-01T22:36:42.600874 | 2017-12-18T09:40:50 | 2017-12-18T09:40:50 | 19,409,879 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,413 | sce | newMenu.sce | local OS = require("frontend/OS")
local cfg = require("frontend/config")
local bLeft, bRight, bStart = cine.input.getVirtualInput("Left"),cine.input.getVirtualInput("Right"),cine.input.getVirtualInput("Start")
local scene = {}
local sw,sh = love.window.getDimensions()
--I. General definitions and asset loading
local... |
6c8b3132793c7943ea1f032d42d1868a6c60d822 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH9/EX9.1/exm9_1.sce | 48860f84f326aa3a9560136c0bb48a141d9f6c9d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,105 | sce | exm9_1.sce | // page no 283
// example no 9.1
// PUSH POP AND DELAY INSTRUCTIONS
clc;
printf('LXI SP,2099H \n \n'); // the stack pointer is located at 2099H.
printf('LXI H,42F2H \n ');
printf('H--> 42 L-->F2 \n \n');
printf('PUSH H \n'); // sends the data of HL register pair in the stack.
// stack pointer is decremented... |
70d094932981964b14f1ca335944ee127217932e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.28.B/EX3_28_B.sce | 4e21ae86bb8ae5a7aaa6e8c674d9404566c0ec36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | sce | EX3_28_B.sce | //Example 3.28.B
clc;
syms s t;
x=laplace(exp(-2*t));
y=laplace(exp(-5*t));
z=x*y;
f=ilaplace(z);
disp(f);
|
7b56dcbedf6d942812fa55cf398284c96417ca66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH21/EX21.11/Ex21_11.sce | 4a132581c8f11107889024dbe9bc3e1cff6f4c9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | Ex21_11.sce | // Initilization of variables
v_a=2 // m/s // velocity at end A
r=0.05 // m // radius of the disc
alpha=30 // degree // angle made by the bar with the horizontal
// Calculations
// Soving eqn's 1 & 2 and substuting eqn 1 in it we get eq'n for omega as,
omega=(v_a*(sind(alpha))^2)/(r*cosd(alpha)) // radian/second... |
1c14e4910f29c4b89c4a9480f35f330a51a2e538 | 45a93944a52f35e5601f5eebc0ff0e0c885849fd | /scripts/genererRandBinomiale.sci | dd80c3b664693785bc2c95b14ab6a0ac7fefb215 | [] | no_license | madox35/Simulations-numeriques | ae32655f213f5a1dc04de86387652264a5b56aa0 | 11d59864210370b2524ad533bf864d0968053131 | refs/heads/master | 2020-03-17T13:32:10.082544 | 2018-05-21T21:14:09 | 2018-05-21T21:14:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sci | genererRandBinomiale.sci | function Xi = genererRandBinomiale(n,p, iter)
// On génère "iter" lignes sur une colonne de v.a suivant la loi Binomiale
Xi = grand(iter,1,'bin',n,p);
endfunction
|
213d9c4377292d39d327d9e0aa383833ed463536 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH7/EX7.10/7_10.sce | 63d723c68e38f34af00ae64c1687d7511c526f6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | 7_10.sce | clc
//initialisation of variables
x1=90.12 //kj/kg
x3=42.25 //kj/kg
ps3=0.023366 //bar pressure
td3=35 //temp in degrees
phi1=0.6 //relative humidity
p=1.01325 //pressure in bar
//CALCULATIONS
pv3=phi1*ps3
w3=0.622*(pv3/(p-pv3))
h3=(1.005*td3+w3*(2500+1.86*td3))
qs=h3-x3
ql=x1-h3
shf=qs/(qs+ql)
//RESULTS... |
389c995c063a6407d1286896efefebf5fd9e2467 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.12/Exa_2_12.sce | 21d3daf750a1cdcfb7f3f69f0176ec82737669ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | Exa_2_12.sce | //Exa 2.12
clc;
clear;
close;
format('v',6);
//Given Data
Q=82;//KJ
p1=4;//bar
m=1;//Kg
V1=0.21;//m^3
T2=127;//degree Centigrade
R=300;//Nm/KgK
W=0;//because V is constant.
disp(W,"Work done in KJ : ");
//Q-W=deltaU
deltaU=Q-W;//KJ
disp(deltaU,"Change in internal energy in KJ : ");
//p1*V1=m*R*T1
T... |
1d57307ee37de2d3be83b578015e4f139d195569 | 0e98ab5e5781e77e9f82deb89115123ee62e1726 | /scilab/system_transfer_function.sce | 38931bb6a5d35edeed8787bdadd9d842ba927b1c | [] | no_license | spreadq/SCDTR | edbfb2f3cfde27474eb12422b3c59fdf2c978c1d | 8034a9a2e39150674aef40422f176379e88ea640 | refs/heads/master | 2021-04-18T22:09:23.243983 | 2016-06-21T12:50:16 | 2016-06-21T12:50:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | system_transfer_function.sce |
mode(0)
final_val_LDR = 3.06; // Volt
final_val_LED = 2.5
step_time = 18997; // microseconds
[aux, min_index] = min(abs(scaled_values(:,2) - final_val_LDR * (1 - exp(-1))));
tau = scaled_values(min_index, 1) - step_time
k0 = final_val_LED / final_val_LDR
s=poly(0,'s')
G = k0/(1 + s*tau)
// do some magic
G = ... |
871be7acc9f348793c97159a17eb21663d525ef6 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.11_20.tst | 692b5b32d3ae7aea49e0479bd903a9e6fba3be41 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,706 | tst | bow.11_20.tst | 11 1:0.3333333333333333 5:1.0 10:0.25 35:0.14285714285714285 37:1.0 62:0.0625 195:1.0 292:1.0 635:0.25 1576:1.0
11 22:1.0 23:1.0 55:0.3333333333333333 61:1.0 91:1.0 305:0.3333333333333333
11 10:0.25 12:0.16666666666666666 31:0.5 61:1.0 62:0.0625 104:1.0 132:1.0 157:1.0 172:0.2
11 91:1.0 199:1.0 307:0.6666666666666666 1... |
310715ffbfdfc817244daab605769e4335d29a91 | e806e966b06a53388fb300d89534354b222c2cad | /macros/BRISKPoints.sci | d3d80f32e7053616d587386c61b109ea90c790ae | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 908 | sci | BRISKPoints.sci | function [varargout] = BRISKPoints(inp)
// This function returns a BRISKPoints struct for storing BRISK interest points.
//
// Calling Sequence
// myStruct = BRISKPoints(Location of KeyPoints)
//
// Parameters
// results: BRISKPoints struct which contains Location, Orientation, Metric, Scale and Count.
// Location: Lo... |
36243769f515cc98a67bcec745928398b5df7b70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH17/EX17.4/Ex17_4.sce | 6d076a109443eebb5a3b2148d2bbbd0ac20ac23a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 903 | sce | Ex17_4.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 17.4
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
n2=1.45;//refractive imdex of cladding
NA=0.1;//Numerical aperture of the fiber
a=3e-6;//radius of core in m
n=2*%pi*a*NA;//numerator of the ... |
c6fd298b6ae8109c681ae1bdee3416c42f2c13e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH2/EX2.11/Ex2_11.sce | ec18a18c6b07a861311a935d224525e46f8c7883 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 851 | sce | Ex2_11.sce |
clear//
//Variable Declaration
delta=100 //Increase in the temperature in degreeF
Load=12000 //Load on the beam in lb
//Length in inch
Ls=2*12 //Steel
Lb=3*12 //Bronze
//Area in sq.in
As=0.75 //Steel
Ab=1.5 //Bronze
//Modulus of elasticity in psi
Es=29*10**6 //Steel
Eb=12*10**6 //Bronze
//Coefficient of... |
5f65087ffd6bede87d5583b45eb3ffd37e0e6431 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH10/EX10.6/EX10_6.sce | b51b042263dc16e24a6ce299a0f95fd994be463b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | EX10_6.sce | // Example 10.6
// Computation of Induced emf
// Page No. 418
clc;
clear;
close;
// Given data
P=25000; // Power of the generator
VT=250; // Rated voltade of the machine
Ra=0.1053; // Armature resistance
Rip=0.0306; // Resistance of interpolar winding
R... |
0900d3e212096336a6bf1cca33493674a7d1cd21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH6/EX6.9/Ex6_9.sce | 224a188ce48136e80fd12b926ef22704a34d88e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sce | Ex6_9.sce | // Scilab Code Ex6.9: Page-350 (2008)
clc; clear;
g1 = 6, g2 = 8; // Total number of cells in the first and the second compartments respectively
n1 = 2, n2 = 3; // Given number of cells in the first and the second compartments respectively for given macrostate
W_23 = factorial(g1)/(factorial(n1)*factorial(g1 ... |
be3da655fb3cac2de2a8f2e57538ac3cdbb552b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH2/EX2.2/2.sce | fa0ab8828aa67aa9c51a1c3e20097c9948d71ef1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | 2.sce | //Variable declaration
n=2; //number of atoms
M=6.94; //atomic weight(kg)
rho=530; //density(kg/m**3)
Na=6.02*10**26; //avagadro number
//Calculation
a3=n*M/(rho*Na);
a=a3**(1/3); //lattice constant(m)
//Result
printf('lattice constant is %0.3f angstrom \n',(a*10**10)) |
5f171c8e67d3a8e62599154ab118c54ec93b2bc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH6/EX6.1.1/6_1_1.sce | f3d360f059fa5ecc0826d02e4c0d228aed69d9b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_1_1.sce | clc
//initialisation of variables
F= 100 //lbf
a= 20 //ft/sec^2
//CALCULATIONS
m= F*32.2/a
//RESULTS
printf (' mass of the body = %.f lb',m)
|
e4bcabe82ea9c964ceac005d2fcbe6b6a6e322bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH8/EX8.2/Ex8_2.sce | dc4f2912a83032c98867d06492fd4aba7de907dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | Ex8_2.sce | //Finding of Coefficient of Discharge
//Given
d=0.03;
H=1.5;
Ad=2.35*10^-3;
g=9.81;
//To Find
a=(%pi/4)*d^2;
b=sqrt(2*g*H);
Td=b*a;
Cd=Ad/Td;
disp(" Coefficient of Discharge ="+string(Cd)+" No units");
|
65020f38c8e2f86603f7a41bd210514810302ac0 | 013fbb3c74956eb0dd76e916566c11e5823feef4 | /projects/02/Zx.tst | 6bc04a218b1dd1328e4c5528c454a75a6da5d050 | [] | no_license | btesf/nand_to_tetris | f0831cbaa41bacedacdef8975d1497f224c0ac55 | 5f418a3e191b89c7f32e35f3ae6180c3b506ce73 | refs/heads/master | 2023-05-28T00:08:37.728944 | 2021-06-19T17:09:22 | 2021-06-19T17:09:22 | 356,931,420 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | tst | Zx.tst | load Zx.hdl,
output-file Zx.out,
compare-to Zx.cmp,
output-list in%B3.1.3 zx%B3.1.3 out%B3.1.3;
set in 0,
set zx 0,
eval,
output;
set in 0,
set zx 1,
eval,
output;
set in 1,
set zx 0,
eval,
output;
set in 1,
set zx 1,
eval,
output;
|
4814190badc31dd1b357e9e3c0b6b8c8f1086d94 | a5935ffd4c3e88a093772c6425f2ca451f4fea86 | /DENNISTSP/tsp/data/10000_2.tst | ca958896813903ef8ae0b63cefd3b261d6ce341e | [
"MIT"
] | permissive | Sebelino/Avalgprojekt | 1d4453deac2b3929e52671f2bb7fdb4e902ce187 | 18609887211e7e886910faaa7bbebe686c2c1aeb | refs/heads/master | 2021-01-01T17:17:17.009999 | 2013-12-06T18:23:55 | 2013-12-06T18:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 247,807 | tst | 10000_2.tst | 10000
-344848.3770 -743662.5660
-582161.9846 593524.8665
-88571.3065 934186.7719
214813.4196 107532.9509
185364.4971 104320.8162
669233.9092 171214.3453
464552.4707 -173682.3496
151367.8326 170861.8084
-891322.4497 248039.8574
118115.8998 269968.3450
-537626.9834 -255026.3504
-672839.3710 993372.7092
477624.1662 -49959... |
f573e0bc81abd7c072cd79616e20b51a2dd32347 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH8/EX8.3/8_3.sce | 94c62a11a2c7b89d40510c5ed0b28355b6f0fbac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | 8_3.sce | clc
//Initialization of variables
T=200 //K
the=398 //K
//calculations
ratio=T/the
disp("from fig 8.6")
cv=4.9
//results
printf("Specific heat of aluminium = %.1f cal/g mol K",cv)
|
1ec00d8326b669c8a5617d1ab57e7eac5ed8c301 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH1/EX1.1/Example1_1.sce | e5c261ad2dbbb1f7166c21891430aa6c296cee14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example1_1.sce | //chapter-1,Example1_1,pg 40
n=4
M=65.34
N=6.023*10^23
d111=2.08*10^-8//interplannar spacing
a=d111*sqrt((1^2)+(1^2)+(1^2))
D=(n*M)/(N*(a^3))
printf("density of Cu-metal\n")
printf("D=%.2f g/cc",D) |
93203f6018c750e5d71fa8444c89c1bd8d1c9085 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH1/EX1.06/1_06.sce | 6f1a0d9559cffe5959656b933c6c87742ec31443 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | 1_06.sce | //pathname=get_absolute_file_path('1.06.sce')
//filename=pathname+filesep()+'1.06-data.sci'
//exec(filename)
//Mass of water(in kg):
m=1
//Altitude(in m):
h=1000
//Specific heat of water(in J/kg-K):
c=4.18*10^3
//Acceleration due to gravity(in m/s^2):
g=9.81
//Heat required for heating = Potential energy
Q... |
d62cd25f80457ba45e1af84e2044648229c0548a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH6/EX6.6.c/EX6_6_C.sce | 92032fd78698517fd10e6d5709ac46e2e317adad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | EX6_6_C.sce | //ex 6.6.c
clc;
N=100//ASSUMING THE N=100
p=(N)/(2*N)//AS LIMIT N TENDS TO INFINITY HENCE THE EQUATION
disp(p);
disp('AS THE POWER OF THE SIGNAL IS FINITE HENCE THE FOLLOWING SIGNALIS POWER SIGNAL');
|
a5be9dffd4ccd15d5310ba8cdadad6d096700f4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH15/EX15.6/Ex15_6.sce | 80c49dc43fe4e7739951ab9c31cf9bb68b5d4a70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | Ex15_6.sce | //Example 15.6
Tc=250;//Cold reservoir temperature (K)
Th=600;//Hot reservoir temperature (K)
Q_h=4000;//Heat transfer from hot reservoir (J)
Q_c=4000;//Heat transfer to cold reservoir (J)
delta_S_h=-Q_h/Th;//Entropy change for hot reservoir (J/K)
delta_S_c=Q_c/Tc;//Entropy change for cold reservoir (J/K)
delta_... |
d0c62ca148d544a646bc6875a2e8588e6ffa65b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH6/EX6.10/6_10.sce | db96aca3014a568189452d0bea91c372c1ee2f7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | 6_10.sce | clc
//initialisation of variables
n= 1.5
Q= 800 //cuses
i= 2.5/5280
n1= 9.24
r= 0.6
k= 1.49
//CALCULATIONS
d= (k*10^7*4/n1)^(1/8)
//RESULTS
printf ('Depth of channel = %.1f ft ',d)
|
f519f0711f4a4a3b70c2540c11b331039d3ceea9 | 60a8a4ce793d26ce86d35bcc0f2d58bd428855f1 | /7(A) Program to solve Division algorithm..sce | 143585ac5c8123daa89f4cef8c306c4b71010a45 | [] | no_license | muitnet/DM-Practicals-Exam | 194328e084450c7f06d2847eacb9cad170193197 | a9ad7a06e8fc28ffcbcde231b53c1de716fb97a3 | refs/heads/master | 2020-06-11T19:51:30.232988 | 2016-12-05T13:04:59 | 2016-12-05T13:04:59 | 75,625,333 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | 7(A) Program to solve Division algorithm..sce | disp ('Division Algorithm')
a =4461; // dividend
b =16; // divisor
r= modulo (a,b) // remainder
k= fix (a/b) // quotient
j=b*k+r // dividend=divisor * quotient+remainder
a = -262; //dividend
b =3; //divisor
k= fix (a/b) //quotient
r= modulo (a,b) //remainder
j=b*k+r //dividend=divisor*quotient+remainder
disp... |
2bee4440c92b5bc95b6e6571e62e687c8aa04771 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH1/EX1.4/1_4.sce | 9c968e18e9c9ccaf7cd418a02a8c552b2cab9473 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | 1_4.sce | clc
//initialisation of variables
lm= 2 //ft
lw= 5 //ft
lo= 8 //ft
so= 0.75
p= 40 //lb/in^2
w= 62.4 //lbs/ft^3
sm= 13.6
//CALCULATIONS
h= p*144/w
Pd= (h-lm*sm)
Pc= Pd-lw
Pb= Pc-lo*so
Pg= Pb*w/144
//RESULTS
printf ('Reading of the pressure guage at the top of tank = %.1f lb/in^2 ',Pg)
|
7f9be561d5f0f20f6ee8ec1947dc4f270dd69482 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH9/EX9.2/EX9_2.sce | dfb6d42332d1c98d5b4639c80d233a9ae457aefd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX9_2.sce | //Example9.2 // to find VCO output frequency
clc;
clear;
close;
fc = 400 ; // KHz a free running frequency
f = 10 ; // KHz low pass filter bandwidth
fi = 500 ; // KHz input frequency
// In PLL a phase detector produces the sum and difference frequencies are defined as
sum = fi+fc ;
disp('The sum frequ... |
071f107b2ec8df6fe8b8e7d14427d93d23a058e7 | d2b4190265ddc2ddd6f63bacfdafae9504390fd0 | /EulerMethod.sce | dd2196b8e26ee9410af238fd902deae8728d031f | [] | no_license | santushtisharma10/AppliedMathematics_with_Scilab | 8dd80f3a36298d844a42a37619e309b53022204d | 28b4de4244768c0bb0eba1daea86d69021d89400 | refs/heads/main | 2023-05-29T04:40:42.507269 | 2021-06-04T13:25:58 | 2021-06-04T13:25:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | EulerMethod.sce | //Program to solve the equation y'=f(x,y); y(x0)=0 for y(xn) using Euler's method
clc;
clear;
close;
deff('z=f(x,y)','z=(y-x)/(y+x)')
x0=0;
y0=1;
xn=0.1;
h=0.02;
x=x0;
y=y0;
while x~=xn
y=y+h*f(x,y);
x=x+h;
printf('\nWhen x=%g,y=%g\n',x,y);
end
|
916040d2f9b820bafce4fa13c52c38f4c56523d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH3/EX3.32/Ch03Ex32.sce | ce3a19049fbe048c21095ffe661bc4a6adf3025d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 836 | sce | Ch03Ex32.sce | // Scilab Code Ex3.32:: Page-3.50 (2009)
clc; clear;
// Function to convert theta into degree-minute
function[degre, minute]=deg_2_degminsec(theta)
degre = floor(theta);
minute = (theta-floor(theta))*60;
endfunction
N = 15000; // No. of lines on the grating per inch, lines/inch
a_plus_b = 2.54/N;... |
81cb7cba9fe48c71c67ef78aefcbda0fc6b65495 | 952f05b9b2293792559cddaf7ee402ccc22b0b8d | /icclim/test-cases/test-cases-read-the-docs/read-the-docs-example-16.tst | 06c4c5282a06e36cac0f6c3454934a06b67544a8 | [
"Apache-2.0"
] | permissive | ptrgast/icclim | a5c768bde9f5ce0562ef8250262ca1d70213c461 | 1c43cc7fc5d779f04fb72361a80bde3b232a9580 | refs/heads/master | 2020-05-18T18:44:15.153378 | 2020-02-04T07:46:40 | 2020-02-04T07:46:40 | 184,594,303 | 0 | 0 | NOASSERTION | 2020-02-04T07:46:41 | 2019-05-02T14:19:16 | Python | UTF-8 | Scilab | false | false | 545 | tst | read-the-docs-example-16.tst | [Read-the-docs-example-16] # Read the docs - example 16
user_indice: {'indice_name': 'my_indice', 'calc_operation': 'nb_events', 'logical_operation': ['get', 'gt'], 'thresh': [283.15, 'p90'], 'var_type': 't', 'link_logical_operations': 'and', 'date_event': True}
in_files: [['tasmin_day_MPI-ESM-LR_historical_r1i1p1_1990... |
2978bdeae2866d966613bec7793689d6fa095577 | 95a91e0c642afba8090e47bd70e3efb36da36e43 | /UP.eps/old_files/proba_q.1den_fluctuation.sce | 1e5ea7ad8d9b09d64e25b179fbcbb10b9a65c426 | [] | no_license | Varvara08/myrepo | f4f2d4e0da09b9eea225deab49d3dfd49d861266 | 588458d7d92407761cc9cd7cc3273e70aa9f84b0 | refs/heads/master | 2021-01-20T17:20:40.176769 | 2016-08-17T13:10:46 | 2016-08-18T10:38:17 | 63,784,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 38,477 | sce | proba_q.1den_fluctuation.sce | clear;
lines(0);
np=100;
q=1;
//rang=190/300
for w=230:10:300
msig = 1 // номер строки, отвечающая нужной нам плотности прививки, с которой мы будем считывать
msig1 =2
msig2 =3
msig3 =4
msig4 =5
msig5 =6
msig6 =7
msig7 =8
msig8 =9
msig9 =10
msig10 =11
msig11 =12
msig12 =13
msig13 =14
msig14 =15
msig15... |
a2162b99f30c3252ba4a0d6d2d427e2fd4a21e50 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/Ripper-C/results/Ripper-C.abalone-10-1tra/result4s0.tst | b0d04339b7befae4e2c9b8c6e3cbc7b74e85a4bf | [] | 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 | 2,580 | tst | result4s0.tst | @relation abalone
@attribute Sex{M,F,I}
@attribute Length real[0.075,0.815]
@attribute Diameter real[0.055,0.65]
@attribute Height real[0.0,1.13]
@attribute Whole_weight real[0.002,2.8255]
@attribute Shucked_weight real[0.001,1.488]
@attribute Viscera_weight real[5.0E-4,0.76]
@attribute Shell_weight real[0.0015,1.005]... |
4936660a154b0674682fd57095bd1478405e21c0 | 5b0a8751addde9367ae3be6487f21dc2431d02d6 | /Inc16.tst | 4dc8447d764755e91534a38c4f157ee6cc0b5c29 | [] | no_license | AliAmmarDev/Computer-processor-components | 5fb80726306186a2b970d6a8f30f6bc986ede5e2 | b2fdf4ea7358fec89e2b277c2343931f66882506 | refs/heads/master | 2022-12-04T09:42:43.656194 | 2020-08-26T23:11:00 | 2020-08-26T23:11:00 | 290,622,151 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | tst | Inc16.tst | load Inc16.hdl,
output-file Inc16.out,
compare-to Inc16.cmp,
output-list x%B1.16.1 out%B1.16.1;
set x %B0000000000000000, // in = 0
eval,
output;
set x %B1111111111111111, // in = -1
eval,
output;
set x %B0000000000000101, // in = 5
eval,
output;
set x %B1111111111111011, // in = -5
eval,
output;
|
4ac3f056abdd104354a0d181c05e48366c71e34e | 31cfd6fac62ce1e0f8bb81f96db3978b301d4fd2 | /Raízes (zero de funções reais)/Bisseção/bissecao.sce | 63b774968c87b19f2acb32eec7bd9dc328ec4362 | [] | no_license | PierreVieira/Scilab_Programs | 2205084b7356cf9ab68e8b04525e55fd7e29636c | 63d717f04db929c81dc1ff7fa9eb886f3c6b6a8c | refs/heads/master | 2020-09-09T00:59:34.924700 | 2020-03-17T18:46:50 | 2020-03-17T18:46:50 | 221,296,397 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sce | bissecao.sce | exec('bisseção.sci')
a = -1
b = 2
Toler = 0.01
IterMax = 100
[Raiz, Iter, CondErro] = Bissecao(a, b, Toler, IterMax)
|
b4f3b9c5322c0afd9f65bb39e2cd7ffae1fc6192 | 27a721095f94b336dd8b88c9d90cb92ca4ab4996 | /Scripts/gauss.sci | 97f2c997157bb75646557aa1bce1c79d2cfdbbb7 | [] | no_license | ECipolatti/Calculo-Numerico | f5201774402680a419345db4fd8f0af686c79e7a | 86369f9010c408854fd141d819bc11b1ab4590c1 | refs/heads/master | 2021-05-06T06:46:10.292226 | 2017-12-11T18:41:46 | 2017-12-11T18:41:46 | 113,894,883 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sci | gauss.sci | function [x] = gauss(A,b)
[m,n] = size(A);
x = zeros(n);
for k = 1 : n-s1 // desde k = 1 hasta n-1 con incremento de 1
// calcula los multiplicadores
A(k+1:n,k) = A(k+1:n,k) / A(k,k);
// eliminación
for j = k+1 : n // desde j = k+1 hasta n con incremento de 1
A(k+1:n,j) = A(k+1:n,j) - ... |
26de219537786932aedc974e9f686b69a99f086b | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.16_11.tst | a16df15a5f54656f1c42a3d10d041326478fb835 | [] | 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 | 4,762 | tst | bow.16_11.tst | 16 1:0.16666666666666666 37:1.0 61:1.0 62:0.045454545454545456 280:0.02 500:0.3333333333333333 660:1.0 1260:1.0
16 37:1.0 50:0.25 55:0.16666666666666666 62:0.045454545454545456 82:1.0 98:0.2 104:1.0 220:1.0 276:0.25 278:1.0 280:0.02 316:1.0 417:0.25 437:1.0 514:0.25 600:1.0 616:0.5 691:1.0 1185:1.0 1207:1.0 1208:1.0 16... |
c6697acf297c7ef97ef1bb0f43efce30d03c6c7b | d916be6e700b3613486a5ac15377af536ecbe918 | /bisectionM.sce | 0fbd38a6c7a44629055605a32a271ea0fb4c2726 | [] | no_license | aguilerap-jc/numMethodsP1 | 2bf098d9fb2cb2bb2bd730e760bf61f5b8c7a46c | f3f13fee84b90444548b7c70036780144370c560 | refs/heads/master | 2021-01-23T04:13:38.025702 | 2015-11-26T00:59:02 | 2015-11-26T00:59:02 | 41,867,995 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,505 | sce | bisectionM.sce | // Ask for required data
disp("Type the function to evaluate with the following format:");
disp(" y=a*x^n + b*x^(n-1) + c*x^(n-2) ..., where a, b, c are constants");
user_function = input("","string");
xl = input("xl value: ");
xu = input("xu value: ");
max_error = inpu... |
e32e038dcddb80e5461463bee08ef104ddcc3e13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH6/EX6.28/ex_6_28.sce | 4360e6819b22da1c8eda7f6aeff77bd469c79a59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_6_28.sce | clear;
close;
clc;
n=-10:10;
x=[zeros(1,find(n==0)-1) ones(1,length(n)-find(n==0)+1)];
plot2d3(n,x)
plot(n,x,'r.')
xtitle('x[n]','n')
figure
w=-2:2;
Xw=x*exp(-%i*n'*w);
subplot(2,1,1)
plot2d(w,real(Xw));
xtitle('U[w] fourier transform','w')
for i=1:length(w)
if w(i)==0 then
delta(i)=1;
... |
3fc0364255e55a680298b0c46ab415795b6c8ddd | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /MienTommy's Widow FFA Training HS ONLY.sce | f39fe953102a8f039f422119d92c270e9ffa6bc1 | [] | 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 | 178,181 | sce | MienTommy's Widow FFA Training HS ONLY.sce | Name=MienTommy's Widow FFA Training HS ONLY
PlayerCharacters=Windowmaker
BotCharacters=Random Bot Watcher.rot;Shinji Bot.bot;McCoy Bot.bot;Rocket Flyer Bot.bot;Sergeant Bot.bot;Racer Bot.bot;Random Bot Watcher No Flyer.rot;Windowbot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Windowmaker
AddedBots=Random Bot Watc... |
9245e2e251cc08fa166d91d2006f94f6139f71cb | ffe30bb7dcdef053e8f540de90cab35f8bcb011f | /questao_07_inversa.sce | a3f00cf2d3cdcabc95998b076586b91e8e157c33 | [] | no_license | jaimedantas/Signal-Processing-Assignments | fca8861401b6f3412bd7fa46d45797c27de1d421 | 4cf92066551842af94c3e39b4652f2759ebbe3e0 | refs/heads/master | 2020-05-20T12:59:21.319349 | 2017-04-07T20:43:46 | 2017-04-07T20:43:46 | 80,398,198 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sce | questao_07_inversa.sce | //Questao 7
K = [1,1/2,1/4; 1, 1/3, 1/9; 1,1/4, 1/16];
inversa = K^(-1);//inversa de A
A = [13/12, 1 ,0; -9/24, 0, 1; 1/24, 0 ,0];
B = A^2;
|
1cfba8d76ad15400b6649e845f2dca4cceb6cef3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH3/EX3.3.20/Ch3_3_20.sce | a723e1b42f50554e9b0196bcfcb63eea885b6885 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | Ch3_3_20.sce | clc
disp("Example 3.20")
printf("\n")
disp("calculate the value of Ic,Ie for a transistor")
printf("Given\n")
alpha=0.99
//base current
Ib=20*10^-6
//value of collector current
Ic=alpha*Ib/(1-alpha)
//value of emitter current
Ie=Ic+Ib
printf("base current \n%f ampere\n",Ib)
printf("collector current \n%f a... |
09657f3d0a21eadbcd4e5595f611c707d0ed45cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH16/EX16.16/Example16_16.sce | 9f1f508fdf8b8e12975137cba927398f474dd958 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,334 | sce | Example16_16.sce | //Example 16.16.
clc
format(6)
disp("Referring to fig. 16.40.")
disp(" UTP = VB2 = 5 V")
ve=5-0.7 // in volts
disp(ve,"Voltage across RE is VE(V) = VB2 - VBE =")
disp(" IE = IC = 2 mA")
re=4.3/2 // in k-ohm
disp(re," RE(k-ohm) = VE / IE =")
disp("Taking Q2 saturated, VCE(sat) = 0.2 V typically,")
x... |
f76eba3139a11ca9933a59a72d588d36b0fc86e3 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Ashe Micro Adjustments.sce | 65b32090b60d18384330fb28d73f5117d1df49ad | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 41,241 | sce | Ashe Micro Adjustments.sce | Name=Ashe Micro Adjustments
PlayerCharacters=AsheStilInfAmmo
BotCharacters=Mini OW.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=AsheStilInfAmmo
AddedBots=Mini OW.bot;Mini OW.bot
PlayerMaxLives=0
BotMaxLives=0;0
PlayerTeam=1
BotTeams=0;0
MapName=1wallultralongultradense.map
MapScale=0.5
BlockProjectilePredictors=tr... |
270a6e6631153cdd90c7562d2eb72cd61af46ba3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH1/EX1.1/ex1_1.sce | 001a140f8c6ea750fcd0f0168ccb484b5bc4e36f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | ex1_1.sce | // Exa 1.1
clc;
clear;
close;
// Given data
P_m = 760;// pressure of mercury in mm
P_m_bar = P_m/750;// in bar
P_W = 0.006867;// pressure of water in bar
P = P_m_bar+P_W;// in bar
disp(P,"The absolute pressure of gas in bar is");
|
97ac2395815f15cbc2f494b4e175be34bbfe3b5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH4/EX4.16/example4_16.sce | 3b2ef6f22120d3caffab6dcc2bbb294c3060ca7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | example4_16.sce | //Chapter 4
//Example 4_16
//Page 83
clear;clc;
cap_b=17241;
cap_a=50000-cap_b;
y=8760*cap_b/50000;
printf("Capacity of station B = %d kW \n", cap_b);
printf("Capacity of station A = %d kW \n", cap_a);
printf("Number of hours if station B operation = %d hours \n\n", y);
|
20e6533dcd37941e3e06ac66263586a25db4c93f | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /strafing flick 350ms.sce | dd86af93324345662c8db879ccd62688c19fe29f | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 87,300 | sce | strafing flick 350ms.sce | Name=strafing flick 350ms
PlayerCharacters=RFS Player
BotCharacters=Reflex Strafing Randomize.rot
IsChallenge=true
Timelimit=45.0
PlayerProfile=RFS Player
AddedBots=Reflex Strafing Randomize.rot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=h50deg_v35deg_spawns.map
MapScale=1.0
BlockProjectilePredictor... |
a8b762bbb7958c8d54a915837c233f67ec9bf693 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH1/EX1.3/Ex1_3.sce | eb581be8d7ba291313ffb2a53de17e3970316c9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Ex1_3.sce | //Example 1_3
clc();
clear;
//To subtract vector B from Vector A
Ax=8.7 //units in meters
Ay=5 //units in meters
Bx=-6 //units in meters
By=0 //units in meters
Rx=Ax-Bx //units in meters
Ry=Ay-By //units in meters
R=sqrt(Rx^2+Ry^2) //units in meters
theta=round(atan(Ry/(Rx))*180/%pi) ... |
af3c60c6ff64933ec9f751180ab9cc5f2d4bbd70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH10/EX10.5/10_5.sce | d5a93953a6405d3db778c37f8f30235ce90d91d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 894 | sce | 10_5.sce | clear
clc
G=[100 11 .25]
M=[50 11 .2 40 .8]
xl=.05
vt=10.95
B=[100 11]
B(3)= B(1)*1e6/(sqrt(3)*B(2)*1e3)
IL=M(4)*1e6 / (sqrt(3)*vt*1e3*M(5))
Il=round(((IL/B(3) * exp(%i * acos(M(5)))))*1000)/1000
Vt=round(1e3*vt/B(2))/1e3
V=fix((Vt + Il*xl*%i)*1e4)*1e-4
M(6)=M(3) *B(1)/M(1)
xth= round( G(3) ... |
ba5fdebdb98885a8e94018cf3dfaf0bdae9d59ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /37/CH3/EX3.5/s5.sci | b4dc63b93bc4d201a2b28681f0934630069567c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sci | s5.sci | function[]=towe(n,from,to,aux)
if(n==1);
disp(to,"to ",from,"Move peg 1 from");
else
towe(n-1,from,aux,to);
disp(to,"to",from,"from",n,"Move Peg");
towe(n-1,aux,to,from);
end
endfunction
function[]=tower(from,to,aux)
n=input("Enter n");
towe(n,from,to,aux);
endfunction
//Calling... |
de5ec8da5f4d5b204a4a059a0edb1f51537071be | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH13/EX13.8/sadiku_13_8.sce | b2b16f08faef564da5db35e167d873061b7c1aed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | sadiku_13_8.sce | clear;
clc;
c=3*10^8,f=30*10^6,E=2*10^-3;
l=c/f;
n=120*%pi,R=73;
format('v',5);
Gdmax=n/(%pi*R);
format('v',6);
Amax=(l^2 /(4*%pi))*Gdmax;
disp(Amax,'Maximum effective area');
Pr=(E*E*Amax)/(2*n);
disp(Pr*(10^9),'Power rerceived in nWatt') |
ea6f720eeb1074154a3b0a9358f6ebdfdfc17eb9 | 217746639c1e35275f7671eba32b352991e2394b | /code/hilbert.sce | 0a9d9ead5bbbf3ef4b11569ae49a1ff08490a1c5 | [] | no_license | fcomovaz/scilab-equivalents | 02a5aef393889794ca0d4e41a792f270028f6ab2 | 92613581053bf96241d2621e26b29b0a4ca5910f | refs/heads/master | 2023-01-13T20:19:48.874360 | 2020-11-26T19:28:46 | 2020-11-26T19:28:46 | 279,466,045 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 83 | sce | hilbert.sce | function H = hilb(n)
H = 1 ./flipdim(toeplitz(n:(2*n-1),n:-1:1),2);
endfunction |
8f7f8b93daf3cdc9403d173217622f2b3f660b42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH5/EX5.1.s/5_01_solution.sce | 86c0665c0e08b724eb7c782537a16e1ff13bcee2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 815 | sce | 5_01_solution.sce | //Solution 5-01
WD=get_absolute_file_path('5_01_solution.sce');
datafile=WD+filesep()+'5_01_example.sci';
clc;
exec(datafile)
d_e = d_e / 100; //conversion from [cm] to [m]
d_hose = d_hose / 100;
rho = rho * 1000; //conversion from [kg/L] to [kg/m^3]
//(a)
Vdot = V / dt * 3.7854; //volume flow rate [L/s]
printf("\nVolu... |
08243528bcb6d1c2f83cb8eab2e4e9553142e05f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH2/EX2.3/Ex2_3.sce | 6def81919de48cd7ebbd1db8ba3c1f4e52a35ec8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,081 | sce | Ex2_3.sce | clear;
clc;
d = 3/4 ;//inches
P = 2;//tons
Q = 0.5;//tons
m = 4;
A = 0.25*%pi*d^2;//in^2
p = P/A ;//tons/in^2
q = Q/A;//tons/in^2
theta = 0.5*atan(2*q/p);//radians
theta1 = theta*180/%pi;//degrees
theta2 = theta1+90;//degrees
printf('The inclination of principal planes to the axis of the bolt will be %.2f d... |
13b19b7ef14d92c8d1b293cb4dc26a242a00fe1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH22/EX22.5/Example22_5.sce | 7d686fce583802fe01fbcd97b47571c69d3f9c38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,201 | sce | Example22_5.sce | clear ;
clc;
// Example 22.5
printf('Example 22.5\n\n');
//page no. 670
// Solution
// Take pipe between initial and final level of water
// Given
h_in = -20 ;// Depth of water below ground-[ft]
h_out = 5 ;// Height of water level above ground-[ft]
h = h_out - h_in ;// Total height to which water is pumped-[ft]
V = 0... |
cbac1a6e4bdb9be9682ae8ca25b0047e3c877927 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH44/EX44.15/44_15.sce | e53d9fb1d6036b9707b716a9def16b8151544fd5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 962 | sce | 44_15.sce | //Problem 44.15: A loss-free transmission line has a characteristic impedance of 500/_0° and is connected to an aerial of impedance 320 + j240 ohm. Determine (a) the magnitude of the ratio of the reflected to the incident voltage wave, and (b) the incident voltage if the reflected voltage is 20/_35° V
//initializing t... |
4d58d1185fb5467ea7bb3dc134ec35e997d5b8bf | d01bf962afff16bc1ce292c49da5923ebbe59775 | /Maths/Zeta.sce | 14e6dc9072b4165f0b1e5a9d360b632aae03c425 | [] | no_license | fredkerdraon/Reference-research | 71d0af22f84605ed0c53907acd6b248400c47388 | 1f48fdfebbe766bbd268b4f1853ab98162f57425 | refs/heads/master | 2023-05-05T12:18:18.655367 | 2020-02-08T22:08:15 | 2020-02-08T22:08:15 | 71,020,179 | 0 | 0 | null | 2023-04-19T18:37:49 | 2016-10-15T23:49:14 | POV-Ray SDL | UTF-8 | Scilab | false | false | 551 | sce | Zeta.sce | //Serie definition
u=[1:50]
for n=1:50
w(n)=1/n^2
//disp([n,u(n)])
end
a=gca();
//a.tight_limits = "on";
//a.x_ticks=string([1 10 20 30 40 50]);
//x_label=a.x_label;
//x_label.text=" Weight"
//x_label.font_style= 5;
//a.y_label.foreground = 12;
//a.auto_ticks="on";
bar(w)
tmp=a.x_ticks;
tmp.locations=[0:1... |
cdef303f8f09fa103e3a2d59e5aa6f430086697e | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH14/EX14.14/14_14.sce | f57a5baa476695d47b4bd0dd2dfaaaaeca1356d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,099 | sce | 14_14.sce | clear;
clc;
//Example - 14.14
//Page number - 485
printf("Example - 14.14 and Page number - 485\n\n")
//Given,
T = 25 + 273.15;//[K] - Temperature
mol_HCl = 0.001;//[mol/kg] - Molality of HCl
A = 0.510;//[(kg/mol)^(1/2)]
Z_positive = 1;//Stoichiometric coefficient of 'H' ion
Z_negative = -1;//Stoichiometric coefficie... |
84dd355e05706153b7824eabfb4636576ac41bdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH11/EX11.1/Ex11_1.sce | 04b5a8173152be9a82bad678bc239880c6189ba0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 824 | sce | Ex11_1.sce | clear
//
//
//
//Variable declaration
n1=1.48 //Core refractive index
n2=1.45 //Cladding refractive index
//Calculation
NA=sqrt(n1**2-n2**2) //numerical aperture
theta0=asin(NA) //acceptance angle(radian)
theta0=theta0*180/%pi //acceptance angle(degrees)
theta0m=60*(theta0-int(theta0)... |
3cda5e03a2c3b1d638a32305dad5780249326296 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH6/EX6.3/ex6_3.sce | 7282b5a68e028a08b53727a8efb6c7e92aa4c8c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | ex6_3.sce | //Exa 6.3
clc;
clear;
close;
//Given data
heatEngineEffi= 32/100;// heat engine efficiency
COP= 5;// COP of heat pump
// heat engine efficiency = Wnet/Q1 = (Q1-Q2)/Q1
Q1byWnet= 1/heatEngineEffi;
Q2byWnet= (1-heatEngineEffi)*Q1byWnet;
// COP = Q4/Wnet = Q4/(Q4-Q3)
Q4byWnet= COP;
ratio= (Q2byWnet+Q4byWnet)/Q1... |
c596c9afdafcf08c5699f0c884cb148c19ec21df | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH9/EX9.11/9_11exam.sce | b5c2fe3bc36d38506839801e9546de145bc1c4bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_11exam.sce | //Engineering and Chemical Thermodynamics
//Example 9.11
//Page no :457
clear ; clc;
// Given
del_g0_f_CaCO3 = -951.25 ;
del_g0_f_CaO = -531.09 ;
del_g0_f_CO2 = -395.81 ;
R = 8.314 ;
T = 1000 ;// [K]
del_g0_rxn = del_g0_f_CaO + del_g0_f_CO2 - del_g0_f_CaCO3 ;
K = exp (-del_g0_rxn * 10^3 / (R * T)) ;
p_CO2... |
6dffbf49756a784f07ea290b77c9dbc6c268ac62 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2pads_added_blocks/FQ_mult.sce | ddd2609a3ff18532a811f2f85d44c23ca097cc70 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 65 | sce | FQ_mult.sce | if (blk_name.entries(bl) == "FQ_mult") then
fix_gnd = 0;
end
|
a4c6cc2c279af33a640965f22c8c36cbdd5813ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH13/EX13.22/example13_22.sce | 9528d05fb87191226f8bd7fa6afd6544d5e02e9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example13_22.sce | clc
// Given that
d = 0.32e-9 // equilibrium separation in m
alpha = 1.748
n = 9
e = 4 // ionization energy in eV
a = -2.16 // electron affinity in eV
// Sample Problem 22 on page no. 13.32
printf("\n # PROBLEM 22 # \n")
printf(" Standard formula used \n")
printf(" E = -((alpha * 1.6e-19) / (4 * pi * 8.85e-12 * d)) *... |
de35f02b37473ccf0355c71ade0710eeabfd0c9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH3/EX3.5/Ex3_5.sce | a12f972217ab50f104f54949f5c0f12585ea9517 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,063 | sce | Ex3_5.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 3 : TRANSFORMERS
// EXAMPLE : 3.5
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
Ai = 2.3 * 10 ^ -3; // Cross-Sectional area of the core in M... |
ce44201b886ab0f2b6261278688c34255b8bc84d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH23/EX23.2/23_2.sce | 7dd736f6077cb2de4c97cc67a5dabca57ad674da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | 23_2.sce |
clc
//initialisation of variables
g= 32.2 //ft/sec^2
h= 50 //ft
vd= 5 //ft/sec
A= 60 //degrees
//CALCULATIONS
R= h+(vd^2/(2*g))
x=poly(0,"x")
vec=roots(x^2-(2*vd/tand(A))*x-R*g)
v1= vec(1)
V1= sqrt(4*vd^2+(v1-((2*vd)/tand(A)))^2)
H1= 0.5*(h+(vd^2/(2*g))-vd-(V1^2/(2*g)))+11.1
H= V1^2/(2*g)
b= atand(2*v... |
01735b1cf7a15819ede999629b25c3868d7d378e | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH8/EX8.18/8_18.sce | 69f26eb1ca615eb24d55a32aa310d434b0776248 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,685 | sce | 8_18.sce | clear;
clc;
printf("\t\t\tExample Number 8.18\n\n\n");
// heater with constant heat flux and surrounding shields
// Example 8.18 (page no.-446-449)
// solution
sigma = 5.669*10^(-8);// [W/square meter K^(4)]
T6 = 293;// [K] temperature of room
E1 = 0.8;
E2 = 0.4;
E3 = 0.4;
E4 = 0.4;
E5 = 0.4;
// in real... |
892310797a393d41ef005cc2c3fb57f619ab7d8d | 8627886261b3eddf8440c0b470cd9ee25c762d97 | /сайлаб/1_lab_rabota.sce | 3990a7b4fe4a3e8d88ac0e8a02c814f0c6b0e6cc | [] | no_license | timurzotov/pvis | ba75cf86fae91b6adc8dd3fe9cd2672eea561cca | d60e8e241d6ce0ad3a9b2a75c8771f92a9b039ba | refs/heads/master | 2020-09-08T07:59:31.719500 | 2019-11-11T21:14:13 | 2019-11-11T21:14:13 | 221,070,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | 1_lab_rabota.sce | //Задание №1
clc
x=poly(0,'x');
//1.1
disp('*******Производные**********')
disp('№1.1')
d1=derivat(x^3+5*x^2-10);
disp(d1, 'd1=')
//1.2
disp('№1.2')
d2=derivat(derivat(x^3+5*x^2-10));
disp(d2,'d2=')
//1.3
disp('№1.3')
d3=derivat(derivat(derivat(x^3+5*x^2-10)));
disp(d3,'d3=')
... |
ff3511a37031e49156cb4304edb0777b73dfd8e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH23/EX23.8/Ex23_8.sce | a6201ba28e5fea8b3dbd2b2c4186d17dc0a36e14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | Ex23_8.sce | clc;
VCC=16;
B1=160;
B2=200;
RB=1.5*10**6;
Vi=120*10**-3;
VEB1=0.7;
RC=100;
IB1=(VCC-VEB1)/(RB+B1*B2*RC);
IB2=B1*IB1;
IC2=B2*IB2;
IE1=IB2;
IC=IE1+IC2;
Vodc=VCC-IC*RC;
VBE=0.7;
Vidc=Vodc-VBE;
disp('V',Vidc*1,"Vidc=");
|
e875ec3b68bcfb953fb491e50b14ac238b96c791 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH2/EX2.9/Ex2_9.sce | b1b9ea4a1353db7c224461f1f4a60652a873f110 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_9.sce | //Finding resistivity and temp coefficient
//Example 2.9(pg. 24)
clc
clear
k20=1/254.5// temperature coefficient at 20 degreeC
p0=1.6*(10^-6)// resistivity at 0 degree C in ohm-cm
t=20,T=50//temp in degree C
k0=k20/(1-(t*k20))//temperature coefficient at 0 degreeC
p50=p0*[1+(T*k0)]// resistivity at 50 degree C ... |
a8e5d6df5541a24f8d0426deebcbfe58cff4b9fb | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/mtlb/mtlb_sprintf.sci | e64a0f0eaeec42e2ae5a45d40fca7d586a3e0b5b | [
"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 | 830 | sci | mtlb_sprintf.sci | function [s,errmsg] = mtlb_sprintf(fmt,varargin)
[lhs,rhs]=argn()
count=0
//count % in fmt
nfmt=size(strindex(fmt,'%'),'*')
nv=size(varargin)
if nv==1 then
a=varargin(1)
na=size(a,'*')
mult=max(na/nfmt,1)
fmt=strcat(fmt(ones(1,mult))) // duplicate format
l=list()
A=a
for k=1:size(A,'*'),l(k)=A(k); end
s... |
d5d1773cfa5f2c7c6c662df2c5a2da7413a3e433 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.6/Ex5_6.sce | 848eec94f5167e8dcdc161aa3ec1c2d323b4dfaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 740 | sce | Ex5_6.sce | clc;
v=6600; // rated voltage of motor
zs=1.5+12*%i ; // per phase synchronous impedance
pi1=1000; // input power
pf=0.8; // power factor
pi2=1500; // power at which power factor is to be found out
vt=v/sqrt(3); // per phase voltage
al=atand(real(zs),imag(zs));
ia=(pi1*1000)/(sqrt(3)*v*pf);
Ef=sqrt((vt*pf-ia*... |
fb6879de1cb4887728118644574e66d7b4ebda83 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/U07.prev.tst | 8ed96d8cfbd80a8a5af34c6ffee532a4aa70f810 | [
"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 | 139 | tst | U07.prev.tst | 4 index ranges
start with 0 3 5 6
0 3 5 6
1 3 5 6
2 3 5 6
0 4 5 6
1 4 5 6
2 4 5 6
0 3 5 7
1 3 5 7
2 3 5 7
0 4 5 7
1 4 5 7
2 4 5 7
|
ce6410d206c77d3299e2ca05a4bb0d8c2de82374 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH11/EX11.5/Ex11_5.sce | 09079d3e0fb37ea9656ba98e2029dc815e379ad3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,651 | sce | Ex11_5.sce | //Calculations on carburettor
clc,clear
//Given:
V_s=1489 //Capacity of the engine in cc
N=4200 //Speed of the engine in rpm
eta_v=70 //Volumetric efficiency
A_F=13 //Air fuel ratio
C2=90 //Flow velocity at throat in m/s
Cd_a=0.85,Cd_f=0.66 //Coefficient of discharge for air and fuel
s=0.74 //Specific gravity ... |
bae0b262851ea6a03124ae05735e9cd99b12ac1b | 80bbe9a73abb517b4539371d63f3f9eac2e68cb9 | /AWSTocOptimizedStackPOC/AWSServerless1/TypeScript/GenerateTypeScriptModel.tst | a12fe761963b8ffab46a6ab066af8e7f7d7e5709 | [] | no_license | markskiba/AWSTocOptimizedStackPOC | eafa72cbba57f2f4eaea734dfb33e06e02fa42bc | a8ace7fe0ef5606877b780a919b9458885606918 | refs/heads/master | 2021-05-01T21:07:06.938016 | 2018-02-28T02:27:14 | 2018-02-28T02:27:14 | 120,971,821 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | tst | GenerateTypeScriptModel.tst | // Note: Autogenerated by TypeWriter from c# classes
// Do not modify here
module App { $Classes(*Model)[
export class $Name {
// Inherited properties
$BaseClass[$Properties[
public $name: $Type;]]
// Class properties
$Properties[
public $name: $Type;]
}]
}
|
d74bd3a85fe0e884a76a1b6913ee46c871008dc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH12/EX12.2/Ex12_2.sce | b74445b0bf8b8685f8b519ba2812949a9d5391b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | Ex12_2.sce |
//Variable Declaration
D=3 //Antenna size(m)
f=12 //Operating Frequency(GHz)
n=0.55 //Aperture efficiency
//Calculation
G=n*(10.472*f*D)**2 //Antenna Gain
G=10*log10(G) //Converting Antenna gain to dB
//Result
printf("The Antenna gain with given parameters is %.1f dB", G)
|
151fdce5d3216e57863fc8bced54a08abb105186 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH2/EX2.9/Ex2_9.sce | e887a2fd57a9753397d28cd2c949e5de3b0d364d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,800 | sce | Ex2_9.sce | clc
// from figure 2.73
t = 0.8 // thickness in mm
d = 50 // shell diameter in mm
r = 1.6 // radius of bottom corner in mm
h = 50 // height in mm
D = sqrt(d^2 + 4*d*h) // shell blank size in mm
el = 6.4 // extra length required to add in shell blank size
D = D + el // mm
pr = 100*(1-(d/D)) // percentage reduct... |
389149f0f22116705d1894b8f110c29633c71d25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH6/EX6.11/Exa6_11.sce | 719157223c214af9867972023d39a3316126dc82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 915 | sce | Exa6_11.sce | //Exa 6.11
clc;
clear;
close;
//Given Data:
disp("Assuming typical values for f as 0.2lamda in E-plane and 0.375lambda in H-plane");
//b=10*lambda ;mouth height
//delta=0.8*lambda
disp("Length :")
disp("L=b^2/(8*lambda)");
disp("L="+string(10^2/(8*0.2))+"lambda");
disp("Flare Angle (Theta):")
disp("Theta=at... |
1108209679afa0e8fc6fc38e016b975ef62de678 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH5/EX5.11/C5P11.sce | bbd3375b23e868fd31254c041a985e1aeb5a094e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 886 | sce | C5P11.sce |
clear
clc
//to find time required by the car to come to rest.
//to find the distance travelled by car before stopping.
// GIVEN::
//mass of car
m = 1260//in kg
//velocity of car
v0x = 29.2//in m/s
//rate at which breaking force increases with time
c = 3360//in N/s
// SOLUTION:
//assuming car's ve... |
c8df879c3485c27668107b4ce21b5011288a0c22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH17/EX17.4/Ex17_4.sce | e50619a8c16a38e290a3bb6733c8ea6cb9e67408 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,150 | sce | Ex17_4.sce | clear;
clc;
disp('Example 17.4');
// aim : To determine
// (a) the indicated power of the engine
// (b) the mechanical efficiency of the engine
// given values
bp = 52;// brake power output, [kW]
bp1 = 40.5;// brake power of cylinder cut1, [kW]
bp2 = 40.2;// brake power of cylinder cut2, [kW]
bp3 = 40.1;/... |
f0b6ee7b6424192dca5a9eb4b1f83eafaafae810 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH7/EX7.7/7_7.sci | cbda68c73fad55ec95989b9761250abfa31ce155 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 102 | sci | 7_7.sci | // calculating speed of the tape
clc;
Lam=2.5*6.25;
f=50000;
S=Lam*10^-6*f;
disp(S,'speed(m/s)=') |
b18f002a4ab7b3a020497eb7c571415f1822d51d | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH3/EX3.16/ex3_16.sce | c20dd0c992ea4167a32dca99b6da2459c9fcc688 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | ex3_16.sce | clc
w1=500 //Assigning values to parameters
w2=2500
p=w1+w2
t=atan(sqrt(3)*(w2-w1)/(w1+w2))
pf=cos(t)
disp("Watts",p,"Total Power supplied is")
disp(pf,"Power factor is")
w2=2500
w1=-500
p=w1+w2
t=atan(sqrt(3)*(w2-w1)/(w1+w2))
pf=cos(t)
disp("Watts",p,"Total Power supplied after reversing the connect... |
c8b58d0428c82e2f56bcf947f653ebc5a32cc354 | dd62f0e176af8b35f4de2d6b64692105fd90afd6 | /spa.sci | 7decc8979816bdb2b41a9805b19bd2a374cf14f4 | [] | no_license | FOSSEE/FOSSEE-System-Identification-Toolbox | 2a631de0f2d6b993b3f19df4a220b274a1d85edb | 11ee9c829fe88301c69b731cdf9fe7957d0fa68c | refs/heads/master | 2018-10-15T08:25:21.323393 | 2018-07-31T10:56:53 | 2018-07-31T10:56:53 | 108,255,727 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,221 | sci | spa.sci | function varargout = spa(varargin)
// Use spectral analysis to estimate frequency response
//
// Calling Sequence
// frdData = spa(plantData,winSize,Freq)
// Parameters
// plantData : iddata type
// winSize : non-neative integer number
// Freq : frequency points to evaluate the response
// frdData : frd type object
... |
945dda0f5b25afd1fc232b89dca4875bd56e387b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH6/EX6.6/Ex6_6.sce | 62af0b6bb5767bf0d68e2ac188bc6c8b860d9b25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | Ex6_6.sce | //Example6.6:"design an Amplifier "
//Page 197
//figure 6.27
clear;
clc;
Av=-20;
Ri=50000; //in Ohm
fc=100; //in Hz
//Av=-Rf/Ri
Rf=-Av*Ri;
disp("Ohm",Rf,"Value of Rf");
Rb=2*Rf;
disp("Ohm",Rb,"Value of Rb");
C=1/(2*%pi*Ri*fc);
disp("F",C,"Value of C");
//Result//
|
e3c9a5a381a8071b54bc6aca24645417fc26a152 | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/ratiofind.sce | f776d4ba9cda97488ea21237abd3fa5932f816a6 | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,914 | sce | ratiofind.sce | x=8
z=25
cap=[288 95 115 133 107 22 34 28 186 190 33 56 100 90 82 143 68 166 44 73 72 60 68 8 20]
a=[6.0 10.0 16.0 1.0 18.0 9.0 13.0 19.0 21.0 20.0 25.0 12.0 8.0 7.0 11.0 17.0 14.0 22.0 23.0 4.0 3.0 2.0 15.0 5.0 24.0
]
tim=[0 12 6.2 5.6 27 17 20 29 44 18 16 23 24 34 11 9 11 11 13 17 14 30 25 28 27;
12 0 5.2 9.9 39 ... |
0a981ec1d17e3d5cfb2e73b631ca9742f9636fac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH12/EX12.3/Ex12_3.sce | b3cfa83471e73d0ab61830c9b04eff6a4d1337ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,557 | sce | Ex12_3.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 12 Example 3")
k_insulation=0.3;//thermal conductivity of insulation in KJ/m hr oc
k_pipe=209;//thermal conductivity of pipe in KJ/m hr oc
T1=300;//temperature o... |
76678fe145d31bb9b582fc51c816f5901b9f5a80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.20/Ex2_20.sce | 9d5785310ccb51036817a92418d0c22f87efc7df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,290 | sce | Ex2_20.sce | clear
//
//
//Initilization of Variables
sigma=150 //N/mm**2 //Stress
P=40*10**3 //N //Load
//Calculations
//LEt P_A.P_B,P_C,P_D be the forces developed in wires A,B,C,D respectively
//Let sum of all Vertical Forces=0
//P_A+P_B+P_C+P_D=40 ..........................(1)
//Let x be the distance between each wires
... |
3c3689a77a65a520b960dcf427b9d921b838587c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH4/EX4.9/Ex4_9.sce | 5119c6279f5152c74503b2fe75f5dafc062019a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,568 | sce | Ex4_9.sce | clear all; clc;
//Values of tenPs0 and eff slightly vary from those given in the book. On calculating it was found out that the values given here are more accurate than those given in the textbook
disp("Use the motor calibration curves to convert input electrical power to shaft power for the corresponding rotating... |
7da01a69a17024127d151a25cb097a8f250bedec | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Instakill.sce | 1fd3c66b87507467df5887ab8ae6e83d856afe64 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 72,660 | sce | Instakill.sce | Name=Instakill
PlayerCharacters=Quaker Rail
BotCharacters=Quaker Bot lowH.bot
IsChallenge=true
Timelimit=300.0
PlayerProfile=Quaker Rail
AddedBots=Quaker Bot lowH.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=liloput2.map
MapScale=4.0
BlockProjectilePredictors=false
BlockCheats=true
... |
c299743d5a09fb849aa830250c2d1ae705ae347d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/csim.man.tst | e8501895998321480683ce327205cd0e809b959a | [
"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 | 501 | tst | csim.man.tst | clear;lines(0);
s=poly(0,'s');rand('seed',0);w=ssrand(1,1,3);w('A')=w('A')-2*eye();
t=0:0.05:5;
//impulse(w) = step (s * w)
xbasc(0);xset("window",0);xselect();
plot2d([t',t'],[(csim('step',t,tf2ss(s)*w))',0*t'])
xbasc(1);xset("window",1);xselect();
plot2d([t',t'],[(csim('impulse',t,w))',0*t'])
//step(w) = impulse (s^-... |
9b0c0eadb613187ffa6fa7d4dde12f7736f14db4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH3/EX3.14/Ex3_14.sce | ab4696e94b854a487c20c22ac1f86938c75b3c0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | Ex3_14.sce | clc
KbT = 1.38*(10^-23)*300
disp("kbT = "+string(KbT)+"V") //initializing value of kbT at 300K
mu=.4
disp("mu = "+string(mu)+"m^2(Vs)^-1") //initializing value of mobility of p-type GaAs
e = 1.6*10^-19
disp("e= "+string(e)+"C")//initializing value of charge of electron
Dn = (mu*KbT)/e
disp("The diffusion consta... |
5e1bdb46d5e416fe5375f6f9384d9691d20ed6b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH11/EX11.1/11_1.sce | 2456bf2675234204d27aa73da89f400896ac3446 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 946 | sce | 11_1.sce | clc
//initialisation of variables
s=20//mph
t=90//min
w=1.31//ft
h=7.5//miles
h1=0.22//ft
t1=1100//min
t2=6.0//min
p=32.2//ft
l=5.12//length
l1=2.8//length
p1=1400//ft
d=73//depth
h3=2.06//ft
e=173.0//ft
hi=0.2//ft
//CALCULATIONS
W=s*w//mph
hs=h1*[(W)^2/p]^0.53*h^0.47//ft
Ts=t2*(W/p)^0.44*(h/p)^0.28... |
ac2bb3bacf5eeacd05bf0284761c54b1d4ce1ea7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH5/EX5.7/example_5_7.sce | ab618e62641f67bc7c93969c50d77d1106761962 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sce | example_5_7.sce | syms G1 G2 G3 H1 H2 H3
a= G3/(1+G3*H1*H2) //feedback
b=G2*a/(1+(G2*a))
c=G1*b
Y=c/(1+c*H1*H2*H3)
disp(Y,"C/R = ")
|
82705dbd8d57acce203493f6a514da3a804fc1aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH3/EX3.28/3_28.sce | ee35b6148a7f73adce975df27ecd4c05ac2598dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | 3_28.sce | clear;
clc;
Vr=220
Vs=240
A=complex(.9*cosd(1), .9*sind(1));
B=complex(140*cosd(84), 140*sind(84));
b=atan(imag(B)/real(B));
d=b
vs=complex (Vs *cos(d), Vs *sin(d));
P= (((Vs *Vr)/abs(B))*cos(b-d))- real(((Vr)^2 * conj(A/B)));
mprintf("(a) Max Power Transmitted = %.2f MW", P);
Pr=80;
Sr=100;
Qr=sq... |
8f3ef9f7d4632d743137cc53b140294ab9758ac2 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Trackball.sce | b4d36bb37136ebdfa22aa39a62a865a57739796e | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 164,549 | sce | Trackball.sce | Name=Trackball
PlayerCharacters=Dreen Track
BotCharacters=XXI Bot v2.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Dreen Track
AddedBots=XXI Bot v2.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=360circ1spawn.map
MapScale=5.0
BlockProjectilePredictors=true
BlockCheats=true
Invinci... |
5c3ca242a8d761104cc505c990138440baad77fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH2/EX2.4/Ex2_4.sce | 0d01f36112ea456f9a979fa663543a9a85eef97a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | Ex2_4.sce | clc
// initialization of variables
clear
tau=[200 100 0
100 0 0
0 0 500] // some units
theta=60 // degrees
//calculations
theta=theta*%pi/180
a=[cos(theta) sin(theta) 0
-sin(theta) cos(theta) 0
0 0 1]
b=a.'
tau_new=a*tau*b
// Results
printf('The new stress tensor is')
disp(tau_new)
... |
2e35cdfbe85e1dc493bc3ef5a354830c49f2478b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH24/EX24.7/Ex24_7.sce | a811ac5fbca9b8fd6deba34540ac448646d80ff1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex24_7.sce | //Chapter 24: Space Wave Propagation
//Example 24-14.1
clc;
//Variable Initialization
d = 3000 //Distance (km)
f = 3e3 //Frequency (MHz)
//Calculations
path_l = 32.45 + 20*log10(f) + 20*log10(d)
//Result
mprintf("The path loss between the two points is %.3f dB",path_l)
|
1caa5660d82ae8b437644e5cc3efa278ddbfd3da | b52ef17dbb229bbcc28dfe42bb6fa4ae0c774d0e | /week3/task1.sce | 2cedb8bd2015208c585a31770ac943788d63ae30 | [] | no_license | ElenPatrusheva/scilab_exp | 5d04edcf32422d021ac73cedf9f4debb7681c35b | 99414b66fd869bd6c01b6ccda7aedf212108f09c | refs/heads/master | 2021-10-08T09:49:00.143990 | 2021-10-02T17:31:08 | 2021-10-02T17:31:08 | 249,473,770 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,335 | sce | task1.sce | //funcprot(0)
//clear all;
function y=conv_direct(x,h)
m = length(x);
n = length(h);
for i = 1: n + m -1
conv_sum = 0;
for j = 1:i
if ( ( (i-j+1)<=n ) & (j<=m) )
conv_sum = conv_sum + x(j)*h(i-j+1);
end;
y(i) = conv_sum;
end;
e... |
21a047e24b73411e9726226c0fd1642b9e0835d2 | b9522ba921a1ec0c09ce20a1ad2425852a7b0a86 | /test/Or16Way.tst | 3314d6d76ff118ff9b5395406b6a852a8b12ac8b | [
"MIT"
] | permissive | lambdart/nand2tetris | 81b0b34fe517246e51b83ff01730e550422c43b2 | 38c7b088a98138149018bb4bc5d35123e500e3fb | refs/heads/master | 2022-11-25T06:18:03.225391 | 2020-07-30T15:43:23 | 2020-07-30T15:43:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | tst | Or16Way.tst | load Or16Way.hdl,
output-file Or16Way.out,
compare-to Or16Way.cmp,
output-list in%B2.16.2 out%B2.1.2;
set in %B0000000000000000,
eval,
output;
set in %B1111111111111111,
eval,
output;
set in %B1010101010101010,
eval,
output;
set in %B0011110011000011,
eval,
output;
set in %B0001001000110100,
eval,
output; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.