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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
905a0b912560c046629c39f60f5c6103954f2a28 | 717ddeb7e700373742c617a95e25a2376565112c | /806/DEPENDENCIES/226.sci | 7113b8b5f3fc0e535b3e41d6d565218782e17445 | [] | 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 | 164 | sci | 226.sci | S1=0.83//Specific gravity of liquid in pipe A
S2=13.6//Specific gravity of manometric liquid
S3=0.83//Specific gravity of liquid in pope B
h1=150//mm
h3=120//mm |
2a305d86431b00b3b316a4fe79e4c37bf796109e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH1/EX1.12/Ex1_12.sce | 27043d5373013fcddbb1a56c5787548cbd1935d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | Ex1_12.sce | //Example 1.12
clc();
clear;
//To calculate the wavelength of the light used
Dnp=0.8 //units in cm
Dn=0.3 //units in cm
n1=25
n2=5
p=n1-n2
R=100 //units in cm
lamda=(Dnp^2-Dn^2)/(4*p*R) //units in cm
printf("The wavelength of light used is %.8fcm",lamda)
//In text book the answ... |
8588bd592ea033ec73663b981c071fc5aa4d91f8 | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/2/tests/test2.tst | 295b67e429e8db2da63f0fb32a4ea873b8da86e5 | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 40 | tst | test2.tst | void p1(){
a =1 ;
}
main(){
a=1;
} |
3f8de97f78350806f1908d65cc32f2d114b6bd28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH15/EX15.25/15_25.sce | 6b2c27fba3dc8aa136fb511b64a268e53ecb2ae6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | 15_25.sce | //Chapter 15, Problem 25
clc;
L=75e-3; //inductance in henry
R=60; //resistance in ohm
V=110; //voltage
f=60; //frequency
Xl=2*%pi*f*L; //inductive reactance
Z=sqrt(R^2+Xl^2); //imp... |
9c813784c2a5945e21fdfe259411c4b35783368b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH8/EX8.11/Ex8_11.sce | 5d6f26075e252251090b29467d96c19548912381 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | Ex8_11.sce | //Example 8_11
clc();
clear;
//To calculate the capacitance
v=10^6 //units in Hz
L=1 //units in henry
C=1/(4*%pi^2*v^2*L)
C=C*10^12 //units in PF
printf("Capacitance C=%.3f PF",C)
|
039afbd21aa074cd5ae913a0f26492656c225fe5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH10/EX10.8/Ex10_8.sce | d6444caacacd14039424773185bd242c6f4b77d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | Ex10_8.sce | //Ex:10.8
clc;
clear;
close;
Br=50*10^6;// data rate in b/s
c=3*10^8;// speed of light in m/s
n1=1.47;//
dl=0.02;//
n12=n1*dl;// the difference b/w n1 and n2
L_si=(0.35*c)/(n12*Br);// transmission distance for Si fiber
L_GI=(2.8*c*n1^2)/(2*n1*n12*Br);// transmission distance for GRIN fiber
printf("The tran... |
a6b17162c0018461c15004792190e8e6b046c469 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.34/EX3_34.sce | 46c518949be8f80c8eec4ccc07157d2dc86bfdb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 622 | sce | EX3_34.sce | //EXAMPLE 3-34 PG NO-194
Vp=230.94;
Van=230.94+%i*0;
Vbn=-115.47-%i*200;
Vcn=-115.47+%i*200;
Z=8-%i*10;
Ia=Van/Z;
disp('i) CURRENT (Ia) is in rectangular form = '+string (Ia) +' A ');
Ib=Vbn/Z;
disp('ii) CURRENT (Ib) is in rectangular form = '+string (Ib) +' A ');
Ic=Vcn/Z... |
29edb6676bc90212e126b4ec70ad52cc3eb84224 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH29/EX29.4/Example29_4.sce | 3bea29a04b1dbfaf7596951f29227fbaf55555b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | Example29_4.sce | exec('degree_rad.sci', -1)
//Given that
e = 1.6*10^-19
K = 22.5*e //in J
B = 4.55*10^-4 //in T
theta = dtor(65.5)
m = 9.11*10^-31 //in kg
//Sample Problem 29-4
printf("**Sample Problem 29-4**\n")
q = e
v = sqrt(2*K/m)
r = m*v*sin(theta)/(q*B)
T = 2*%pi*r/(v*sin(theta))
p = v*cos(theta)*T
printf("Th... |
4cd3e248a657f182a807fb272e9a7ea8ecdaeada | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/blackman/blackman2.sce | 31bb0b9ff9af9439f335bc3f6574cad3caa3b85f | [] | 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 | 195 | sce | blackman2.sce | //i/p arg is a column vector
x=[1;2;3;4];
b=blackman(x);
disp(b);
//output
// !--error 10000
//N must be a positive integer
//at line 35 of function blackman called by :
//b=blackman(x);
|
957e1033724fb873d4d8d36bf5ff0ab51e021161 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH6/EX6.5/Ex_6_5.sce | 807ed3286b6127cfaaeb29bb127491882300e30f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 656 | sce | Ex_6_5.sce | //Example 6.5
clc;clear;close;
x=[1 2 3];xmin=0;nx=xmin:length(x)+xmin-1;
h=[1 2 -2 -1];hmin=-1;nh=length(h)+hmin-1;
//Calculation of linear convolution
y=convol(x,h);
ymin=xmin+hmin;ny=ymin:length(y)+ymin-1;
disp(x,'First Sequence is x(n): ');
disp(h,'Second Sequence is h(n): ');
disp(y,'Output sequence i... |
f02c52d1f6219f89a2bd85bcf26d2d2ff92b7bd0 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/classdef/classdef.tst | 4f21cf80579592cb05fa07377e3a1341c0086e2e | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,008 | tst | classdef.tst | ## Copyright (C) 2013-2017 Ben Abbott
##
## This file is part of Octave.
##
## Octave is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or (at
## your option) any later version... |
533c9f00d11398144517128712a46f720529eb94 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Uralic/kpv.tst | 433406b03246ad8c55e3f31ac5abd7651fbf391a | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 507,679 | tst | kpv.tst | пракмунны V;PL;3;FUT
пракмунны V;SG;3;PRS
пракмунны V;SG;3;PST
вӧлӧк N;GEN;SG;LGSPEC1
вӧлӧк N;IN+ALL;SG;PSS3S;LGSPEC1
вӧлӧк N;IN+ESS;SG;LGSPEC1
вӧлӧк N;IN+ESS;SG;PSS3S;LGSPEC1
вӧлӧк N;NOM;SG;PSS1S;LGSPEC1
вӧлӧк N;ACC;SG;PSS3S;LGSPEC1
вӧлӧк N;IN+ALL;SG;LGSPEC1
вӧлӧк N;NOM;SG;PSS3S;LGSPEC1
вӧлӧк N;NOM;SG;LGSPEC1
лысьтысь... |
2fa58a86b5205711a9d81916f5cbf69c94178d5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH2/EX2.10/Ex2_10.sce | bc3e859e17d2874c8c33a9ecc9aae1d7f96cc074 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | Ex2_10.sce |
//Example No.2.10.
// Page No.62.
clc;clear;
w = 632.8*10^(-9);//wavelength -[m]
D = 5;//Distance -[m].
d = 1*10^(-3);//Diameter -[m].
deltheta = (w/d);//Angular Spread.
printf("\nThe angular spread is %3.3e radian",deltheta);
r = (D*(deltheta));
r = (5*(deltheta));//Radius of the spread
printf("\nThe radiu... |
9fcae3c7c8266ae40a0d41e13f5123f0b92acb5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH3/EX3.5/Ex3_5.sce | 8e152b0fba504568d32decdf8dd60f61743eacea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 689 | sce | Ex3_5.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : DC Circuits
// Chapter 3: Methods of Analysis
// Example 3 - 5
clear; clc; close;
//
// Given data
A = [3.00 -2.00;
-1.00 2.00];
A1= [1.... |
a2a64c407b07130f2373659813ce3a0a4a2cde5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH4/EX4.20.b/solution4_20.sce | ddfa0d549ef3c69180c93342dde7632f280dc74f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | solution4_20.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution4_20.sce')
//Obtain path of data file
datapath = path + filesep() + 'data4_20.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the permissible stresses for steel parts sigmat (N/mm2)
sigmat = Syt/fs
//Assume the dia... |
442c66c5e3a897a6319ff00dd815ce40bfdb92f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH1/EX1.17/Exa1_17.sce | f91a406abb68b46522f5262dd615070ad5535b17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 884 | sce | Exa1_17.sce | //Exa 1.17
clc;
clear;
close;
//given data
OutputPower=2500;//in KVA
OutputPower=2500*1000;//in VA
V=6600;//in Volt
//For first load i.e. Lighting load :
KW1=2500;//in KWatts
KVAR1=0;//Kwatts
//For second load i.e. Motor load :
KW2=5000;//in KWatts
cos_fi=0.707;//unitless
sin_fi=0.707;//unitless... |
4318930f96969dc1fa529362af48ee88c1c4a9cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH7/EX7.1/example7_1.sce | b06a01ac5adff8fe8d227f66787ecc0921af3000 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 952 | sce | example7_1.sce |
clear;
clc;
printf("\t Example 7.1\n");
//let x be the weight of water in the quantity of solution needed
c=.498; //solute content afetr crystallisation
W1=111; //molecular weight of CaCl2
W2=219; //molecular weight of CaCl2.6H2O
M1=(108/W2)*100; //water p... |
63516d98e25b3fb3062e3da2734ce416870820f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH6/EX6.1/Ex6_1.sce | ca1de6c5866ac8a5eece2e04633644ae2bde56f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | Ex6_1.sce | clc
//to calculate critical angle for core-cladding interface
n1=1.5
n2=1.45
thetac=asind(n2/n1)
theta1=90-thetac
disp("critical angle for core-cladding interface is theta1="+string(theta1)+"degree")
//to calculate acceptance angle in air for fibre and corresponding angle of obliquences
na=1
thetaa=asind(n1*0.... |
334773c33ef6182a9cc06f81abbfa35e64a2f67d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH6/EX6.7/6_7.sce | 676d7e7ac7fbd53b6856069fef0698c57d3e0ee8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | 6_7.sce | clc
//initialisation of variables
clear
r1= 10 //ft
r2= 0.2 //miles
w= 0.0765 //lbm/ft^2
g= 32.2 //ft/sec^2
V1= 1 //ft/sec
//CALCULATIONS
k= r2*5280*V1
dp= w*k^2*10*((1/r1)^2-(1/(5280*r2))^2)/(2*g)
//RESULTS
printf ('k = %.f ft^2/sec',k)
printf ('\n pressure difference = %.1f lbf/ft^2',dp)
|
6074808ff9ef3301854a235fa45dde6a5d3123a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH3/EX3.7/3_7.sce | 568b5682cc0cdb5804be602261d9d628060c491e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_7.sce | clc;
//page no 116
//prob no 3.7
// AM broadcast transmitter
Pc=50;m=0.8;//power is in kW
Pt=Pc*(1+m^2 /2);
disp('kW',Pt,'The total power is'); |
400b4167a31fc41ae1d3b9ace6262a642f07fb33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.81/Example1_81.sce | 7fcb2eba345485c3cdeec6d90c7bc9dadccdafdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 736 | sce | Example1_81.sce | // Example 1.81
clc;clear;close;
// Given data
format('v',6);
P=4;//no. of poles
f=50;//in Hz
VL=200;//in volt
R2=0.1;//in ohm
X2=0.9;//in ohm
Te2ByTe1=0.67;//ratio of rotor to stator turns
S=4;//in %
//calculations
S=S/100;//slip
Ns=120*f/P;//in rpm
E1=VL/sqrt(3);//in volt
E2=E1*Te2ByTe1;//in vol... |
d4a5585a6184d332631240e1bfc087a70581db9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH7/EX7.6/7_6.sce | dc4c54844955686a5b196588a9fa8efa48018a8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | 7_6.sce | clc
//initialisation of variables
W= 64.4 //lb
I= 10 //slugft^2
g= 32.2 //ft/sec^2
//CALCULATIONS
m= W/g
k= sqrt(I/m)
//RESULTS
printf ('k= %.2f ft',k)
|
a41d9ca6f87736c31f5520fb1f80a9085b766f40 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_MatFunc/max_and_min.sce | a28bd3e29b3b78ccca91ba25cf5a87ab5a9c00d2 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | max_and_min.sce | // Function Name: max and min
// Return all max/min values by row/column
// 3rd parameter : 0/1 specifies row/column, row by default
// Calculating the max/min
inputMat = [ 1, 0, 3; 10, 5, 2; 7, 8, 10;]
result = armaMatFunc("max",inputMat)
result = armaMatFunc("max",inputMat,1)
result = armaMatFunc("min",inpu... |
be67a4ff28346317080c6d6b526994aab2c78751 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH9/EX9.13/Example9_13.sce | f2c51ad1b6d24d46903322f421781afe018620ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,108 | sce | Example9_13.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 2: CONSTANTS OF OVERHEAD TRANSMISSION LINES
// EXAMPLE : 2.13 :
// Page number 110
clear ; clc ; close ; // Clear the wo... |
7c353ddff6297d6707e451d4e54651d066eddcc5 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/modulate/modulate11.sce | 0a2489302708c86b1abf7db1316357509f02a96f | [] | 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 | 279 | sce | modulate11.sce | //i/p arg x is a vector
x=[1 2 3 4 5 7 89 8];
fc=100;
fs=500;
y = modulate(x,fc,fs,'amdsb-tc');
disp(y);
//output
//
// column 1 to 4
//
// 0. 0.3090170 - 1.618034 - 2.427051
//
// column 5 to 8
//
// 1.236068 6. 27.193496 - 5.663119
//
|
9e1d7edb8b9179e90da943a3e5d5f1246482eeaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH10/EX10.22/ex10_22.sce | 119bddf6658932547c2ca3a888627c8b3120fe95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | ex10_22.sce | // Example 10.22, page no-283
clear
clc
Rh=3.66*10^-11//m^2//A-s
sig=112*10^7//ohm-m
e=1.6*10^-19 //C
n=3*%pi/(8*Rh*e)
mu=sig/(n*e)
printf("\nThe concentration of electrons is %.0f*10^29 m^-3\nthe electron mobility at room temperature = %.3f m^2/V-s",n*10^-29,mu)
|
42f83f659775e9225f10f88a9eeca7dac307f44d | d52e58288378fc3660cabab9e5331077362c0db8 | /Quseful1/gen_prog_call_trace.tst | b17c2c2e4a4c03e2caf9c6834e628107f6c9242f | [] | no_license | jayvdb/PLSQL-demo-scripts | a2e016a07a33e614c073ad99e090bce54a8105f3 | ba549f2d301a2b59f7c09f80b938309f2a73d1f4 | refs/heads/master | 2020-12-07T15:18:03.630126 | 2015-09-29T14:24:36 | 2015-09-29T14:24:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | tst | gen_prog_call_trace.tst | BEGIN
/* Compile betwnstr.sf files. */
gen_trace_call ('BETWNSTR');
/* Compile dyn_placeholder.pks/pkb files. */
gen_trace_call ('DYN_PLACEHOLDER', 'ALL_IN_STRING');
gen_trace_call (pkg_or_prog_in => 'DYN_PLACEHOLDER'
, pkg_subprog_in => 'ALL_IN_STRING'
... |
157edc5d475f6ef9ba8656e49c9c023e59c96e22 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Fundamentals_And_Applications_D._Chattopadhyay_And_P._C._Rakshit_2300.zip/Electronics_Fundamentals_And_Applications_D._Chattopadhyay_And_P._C._Rakshit_2300/CH17/EX17.17.5/Ex17_5.sce | 1a4e1aaa9f7041d64f7032edf42286f96cb3282d | [] | 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 | 243 | sce | Ex17_5.sce | errcatch(-1,"stop");mode(2);//scilab 5.4.1
//Windows 7 operating system
//chapter 17 Number Systems,Boolean Algebra,and Digital Circuits
dec=263
base=5
s=dec2base(dec,base)
disp(,s,"Equivalent of 263 in a code base 5 is ")
exit();
|
31cf32a17c8d273952136830867a89eaf34ce9f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH12/EX12.4/ex12_4.sce | a3737c5680d5e676c5ed952df2e9e760a67d15aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | ex12_4.sce | clc;
clear all;
HcT=2*1e5/(4*%pi);//magnetic field intensity at T K
Hc0=3*1e5/(4*%pi);//magnetic field intensity at T=0K
Tc=3.69;//given temperature in K
T=sqrt(1-(HcT/Hc0))*Tc;//tempreture in K
disp('K',T,'temperature of superconducture is=');
|
d3d9b883932cfcf9db5dceccd3ee556f2737eac5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH12/EX12.2/example_12_2.sce | 717eca1e50eb940e667efd53e26f70cf96053156 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | example_12_2.sce | //Example 12.2
clc;
clear;
LSB = 1/(2^5-1); // calculating weights
LSB2 = 2*1/(2^5-1);
LSB3 = 4*1/(2^5-1);
change_LSB = 10 *LSB;
change_LSB2 = 10 *LSB2;
change_LSB3 = 10*LSB3;
op_vol= (10*2^0 + 0*2^1 + 10*2^2 +0*2^3 +10*2^4)/(2^5-1); // calculating output voltage
disp("(a) LSB =");
disp(LSB);
disp("(b)... |
7349cabb7da35fd1eb928a9ec4128b9adb381a22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH2/EX2.11/ex_11.sce | 92b538cc7fc0d18f342413559d4f0d17521b900b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 877 | sce | ex_11.sce | // The equation x^3-5*x+1==0 has real roots.
// the graph of this function can be observed here.
xset('window',10);
x=-2:.01:4; // defining the range of x.
deff('[y]=f(x)','y=x^3-5*x+1'... |
4e14634119e822397c40f97701c04c842952684f | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH2/EX2.35.a/Example2_35_a.sce | 3c84849228502c178941c19c0eef1278af175d92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example2_35_a.sce | //Example 2.35 (a)
//To draw the pole-zero plot
clear;
clc ;
close ;
z=%z
H1Z=(z)/(z^2-z-1);
xset('window',1);
plzr(H1Z); |
8a383ce8e1d3fa7f4c906c7a641266361a44d628 | 299ec76be485b8d1574b9216bbe8ac6763b2ade3 | /AI_Lab_Ex3/iris.sce | 69f99752f8d5319f2331c9ecce5bd9ece83acfdf | [
"MIT"
] | permissive | parth2608/Artificial-Intelligence-Basics | 65d42ff4e495c11a2ba536e730714570a58b56c7 | b3a0378c7f5b9dbad91df9a6c29b5f30b865e088 | refs/heads/master | 2022-11-21T01:41:07.713381 | 2020-07-15T07:00:34 | 2020-07-15T07:00:34 | 279,790,254 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,397 | sce | iris.sce | clear;
ds_iris = csvRead("Iris.csv",[],[], "string");
ds_iris_no_header = ds_iris(2:151 , 1:6);
ds_iris_hotcode = [ds_iris_no_header string(zeros(150,1)) string(zeros(150,1)) string(zeros(150,1))];
col7 = ds_iris_hotcode(:,6) == 'Iris-setosa';
col8 = ds_iris_hotcode(:,6) == 'Iris-versicolor';
col9 = ds_iris_hotco... |
7775ca7ab88126514d4404e2d7216f50eb7cdbd3 | 04ebc1029c20752e734a1d83b49a31329d5283fd | /button_trust_game/trust game b.sce | 4e35dc85f79ffa1fc3b838623244cd4ee2b1da33 | [] | no_license | jangwoopark/presentation-trust | a1293e481da417c914534a30b1969f092f08e115 | 31621ef8b534bca19d4b9d4a5d57792ff8bb058d | refs/heads/master | 2020-06-27T14:50:42.294466 | 2017-09-12T01:51:08 | 2017-09-12T01:51:08 | 97,063,115 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,088 | sce | trust game b.sce | scenario = "trust game";
scenario_type = fMRI_emulation;
#scenario_type = fMRI;
scan_period = 3000;
response_matching = simple_matching;
no_logfile = false;
sequence_interrupt=false; #default
#active_buttons = 2;
#button_codes=0,1;
default_font="arial";
default_font_size=30;
default_text_color=255,255,255;
default_back... |
72f85046062d82885a366531871f0620da7d90dc | b1fbfba591c6e450b22fc692ca4f458a34b0ab34 | /sci2oct/examples/example1.sce | f3f168f926a98ff5c4f6720167d18be3f54d1471 | [] | no_license | BabuBReddy/sci2oct | c5994ff4c58874b68e5c1a6e0a3b10289c4c49c2 | e8036d226adab7a75c91740aa7d97bbcd8037c30 | refs/heads/master | 2016-09-01T07:57:27.213764 | 2016-02-16T17:52:32 | 2016-02-16T17:52:32 | 51,855,497 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 58 | sce | example1.sce | a=[2,2+%i,4;2-%i,3,%i;4,-%i,1]
sci2oct('ishermitian(a)')
|
ec5dad86dcad65e54c11e91033513890486b4285 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.15/18_15.sce | 4d9e8eaf31954d57f6155abff30e040e80c0349c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | 18_15.sce | //ques-18.15
//Calculating entropy of mixing per mole of the mixture
clc
n1=1;//mole sof hydrogen
n2=9;//moles of nitrogen
x1=n1/(n1+n2);
x2=n2/(n1+n2);
S=-8.314*2.303*(x1*log10(x1)+x2*log10(x2));//entropy of mixing
printf("The entropy of mixing is %.3f J/K/mol.",S);
|
b0ad994b159012011ae47b686323820833aa1021 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/DEPENDENCIES/clcoef.sci | 249a5370e3520cd014a770717726cc02e3e41072 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | clcoef.sci | // H. Kwakernaak, July, 1990
// Modified by Kannan Moudgalya in Nov. 1992
function [P,degP] = clcoef(Q,degQ)
[rQ,cQ] = polsize(Q,degQ);
if and(and(Q==0))
P = zeros(rQ,cQ);
degP = 0;
else
P = Q; degP = degQ; rP = rQ; cP = cQ;
j = degP+1;
while j >= 0
X = P(:,(j-1)*cP+1:j*cP)
if max(sum(... |
1766afb650d544665ddfb1e37b9ffa8f774842f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH35/EX35.6/Example35_6.sce | 27c4f3d26a9ac934e7c5b346b92eb83cfe0d6d48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,022 | sce | Example35_6.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 9: PROTECTION OF TRANSFORMERS
// EXAMPLE : 9.6 :
// Page number 640
clear ; clc ; close ; // Clear the work space and conso... |
1c86de930f1a6290f073aea654f473ed0c1979ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH1/EX1.14/Signals_Ex_1_14.sce | a05c0c207faca76a3ec15218779ada22b22a2414 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 826 | sce | Signals_Ex_1_14.sce | //Chapter 1
//Ex1.14, page no 44
// CTS Signal
// Continuous Time Fourier Transforms of
// Sinusoidal waveforms(a)sin(Wot)(b)cos(Wot)
clear ;
clc ;
close ;
// CTFT
T1 = 2;
T = 4* T1;
Wo = 2* %pi /T;
W = [-Wo ,0, Wo ];
ak = (2* %pi *Wo*T1/ %pi )/ sqrt ( -1);
XW = [-ak ,0, ak ];
ak1 = (2* %pi*Wo*T1/%pi);
... |
3b9d5a524704e41814ce258180d612cae8711c42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH5/EX5.10/Example_5_10.sce | 4bc840f35d68ab7d8cf9a3c02331ddd07914ccda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Example_5_10.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 5
//Some Applications of the Laws of Thermodynamics
//Example 10
clear;
clc;
//Given:
T1= 290; //operating temperature (K)
W = 1000; //work (J)
tof = 3516.67; //ton of refrigeration (W)
//To determine COP, heat rejected and lowest temperature
//(a)
Q2 ... |
15a8e4cf2522e93a7188c369a7175ab775e377a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH5/EX5.3/Ex5_3.sce | 9daa0b0f475fda889ed26499de14d26610581e14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | Ex5_3.sce | //Example 5_3
clc;funcprot(0);
// Given values
P=100;// Power in kW
CV=4000;// Calorific value in kJ/m^3
n_o=0.20;// Over all efficiency of the plant
// Calculation
V=(3600*P)/(CV*n_o);// m^3/hr
printf('The volume of gas required per hour,V=%0.0f m^3/hr\n',V);
|
8d0ae8cddd201b1bed0f478c8df3395c915c09de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH10/EX10.17/10Ex17.sce | 3b0974ebebe77622020d974761faa910db8a2055 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | 10Ex17.sce | //chapter 10 Ex 17
clc;
clear;
close;
died=10/100; left=25/100; popRemain=4050;
popOriginal= popRemain/((1-died)*(1-left));
mprintf("Original population was %d",popOriginal);
|
f3109542148f714b84c6aeebb6238fd9f8910fec | 7edeaa4920427595d3601e218f8de85be39cf22d | /TP/tp3/exo3&4/place.sci | 5eeb62c28a30465d4507064244038a34a59d8708 | [] | no_license | BiteKirby3/Math-is-so-fun | 96fb19815c7ab46d1a8e81771e0e70170ee503ab | 20db5e67e73a5ccfd1599cf56718c9d6f0adaa0c | refs/heads/main | 2023-08-27T23:18:38.117913 | 2021-10-11T22:59:20 | 2021-10-11T22:59:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sci | place.sci | function [i] = place(T,t)
[n,m] = size(T)
if t<T(1,1)|t>T(n,1) then
error("t < T1 ou t > Tn");
end
imin = 1
imax = n
while (imax-imin)>1
mil = floor((imax+imin)/2)
if t>=T(mil,1)
imin = mil
else
imax = mil
end
end
i = imi... |
a5001e8313cb1000124c25e9b326301423738635 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH13/EX13.3/ex13_3.sce | 02e69b4b30b16b25cf80c76a0e6f631506e5f8d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | ex13_3.sce | //Chapter-13, Example 13.3, Page 389
//=============================================================================
clc
clear
//INPUT DATA
a=0.967//common-base DC current gain
Ie=10;//emitter current in mA
//CALCULATIONS
Ic=Ie*a;//collector current in mA
Ib=Ie-Ic;//base current in mA
mprintf("base current is... |
e6bf28f0c3ec4e35757fdca083b8159b13b50ac3 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299.zip/Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299/CH15/EX15.4/example15_4.sce | 10591eb0f8ce8a1919d1e73d0227e8322c7c8013 | [] | 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 | 223 | sce | example15_4.sce | errcatch(-1,"stop");mode(2);//Example 15.4
//Transfer function of Gyroscope
;;
//in case of Gyroscope the equation is
disp("(J*s^2+B*s+K)theta(s)=H*w(s)")
//therefore
disp("theta(s)/w(s)=H/J*s^2+B*s+K")
exit();
|
50bf94a7e9937f2934c57bfcfea8f659d9c1f9d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH11/EX11.1/11_1.sce | bd8f00ac95d2cec4a0872b6410a766498d8cb006 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | 11_1.sce | clc
clear
//Initialization of variables
m1=1000 //lb/hr
m2=5000 //lb/hr
m3=3000 //lb/hr
//calculations
disp("From mollier charts,")
h5=196.16 //Btu/lb
h1=38.04 //Btu/lb
h2=67.97 //Btu/lb
h3=117.89 //Btu/lb
h4=1156.3 //Btu/lb
m4=(m1*h1+m2*h2+m3*h3-(m1+m2+m3)*h5)/(h5-h4)
//results
printf("Pounds of steam e... |
36a55f8eae75f7f68a3ed45dc76db693cb408c57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH26/EX26.2/26Ex2.sce | 91a06a065c254eacf3b5a08d5a55dec5614ec070 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | 26Ex2.sce | //Chapter 27 Ex2
clc;
clear;
close;
//the ratio of their distances is 7: 4 thus assuming dist of A as 7, dist of B is3
distA=7; distB=3; //from given conditions
gain=84;
distPost=gain/(distB/distA);
mprintf("The pole must be placed %.0f meter away from starting point",distPost);
|
c5ef6c77f6df9317b1107d918853037dca25fcad | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/polyscale/polyscale8.sce | ebcc95fedfeaadda90c2350b46bb29418ef700ae | [] | 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 | 250 | sce | polyscale8.sce | //too many i/p args are passed to the function
x=[-12 -3 -4 -5 -6 -7 -8 -9];
a=5;
y=polyscale(x,a,1);
disp(y);
//output
// !--error 58
//Wrong number of input arguments.at line 4 of exec file called by :
//e/polyscale8.sce', -1
|
35bdcb13dd733c9e06604f1a339c204b948fb9f9 | 2eac84edf941c64588fef76f10d02309aabcb2fb | /Library/General/Scilab/loader_x64.sce | 61bad4072ef5ce05897b244cf4b74d4f27dd3f03 | [
"BSD-3-Clause"
] | permissive | AlexisTM/X2C | fdd93bd33b931ea448ba516f5e3f9af6a5149a6a | 31f39b598afe271a7fd46ef1ee9e06c410b1120c | refs/heads/master | 2021-08-07T04:26:24.391617 | 2017-11-07T14:34:33 | 2017-11-07T14:34:33 | 109,844,123 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 16,911 | sce | loader_x64.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
// Generated by builder.sce : Please, do not edit this file
// ----------------------------------------------------------------------------
//
if ~win64() then
warning(_("This module requires a Windows x64 platform."));
return
end
//
... |
6af7131851b6088a6662b85988a4d277537edfcd | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_S._L._Kakani_And_A._Kakani_1085.zip/Material_Science_S._L._Kakani_And_A._Kakani_1085/CH15/EX15.2/ex15_2.sce | 91d2fc9d320e749d1fb6f7f6f7c48c3529c1c1c3 | [] | 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 | 391 | sce | ex15_2.sce | errcatch(-1,"stop");mode(2);//Exam:15.2
;
;
U=1200;//electron mobility in cm2/Volt-sec
e=1.6*10^(-19);//charge on the electron in C
n=10^13;//concentration of phosphorus
sigma=U*e*n;//conductivity of crystal in mho/cm
p_i=1/sigma;//resistivity of silicon wafer if all donor atom are active
disp(p_i,'resistivit... |
3bfedfb201d1431ccb126af25a6f9a84c8afd312 | 726961a3412b6d2fda7c781172773be5e27ac97a | /jflap-grades/tests/q04e.tst | fbcc247467d324a44869310f78763489276ffc68 | [] | no_license | ailton07/jflap-grades-19-2 | 0546deb482e7f8e003591351191fa649d62fd405 | ff58118d31aa30a0f56cae8e5f0186d44c1b72a8 | refs/heads/master | 2020-09-16T12:49:31.560841 | 2019-11-25T01:03:19 | 2019-11-25T01:03:19 | 223,774,968 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 80 | tst | q04e.tst | 0
0.20
abbbabaa 1
aabaa 1
bbbaabbb 1
babaabaabba 1
abab 0
ababba 0
abb 0
babb 0
|
9f3fb70b7ac53e6fdd82885a23bb6df5ae4b093e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.18/example1_18.sce | 43dd339c3ef9af2904654f522ffd0317d9dc0ec9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | example1_18.sce | clc
// Given That
lambda1 = 5.890e-7 // wavelength of first light in meter
lambda2 = 4.358e-7 // wavelength of second light in meter
n1 = 40 // no. of fringes observed in the field of in first case
// Sample Problem 18 on page no. 1.46
printf("\n # PROBLEM 18 # \n")
n2 = (n1 * lambda1) / lambda2 // by using formula n... |
9f8255109e869a80cfc457a1fbae4b98ffb6b5bb | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH3/EX3.17/Ex3_17.sce | 97c0b3498cad226f06a761fe20c0e264074ce0bf | [] | 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 | 549 | sce | Ex3_17.sce | errcatch(-1,"stop");mode(2);//Caption:Determine the (a)Load at which max efficiency occurs and value of max efficiency (b)New core loss and Cu loss
//Exa:3.17
;
;
KVA=20;
P_i=250;//in watts
P_cu=500;//in watts
x=sqrt(P_i/P_cu);
disp(x*100,'(a)Max efficiency will occur at');
disp('Percent of full load');
P_o... |
f602cacd7a88fb888b687f9b68fbbd1fcbc8c060 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH1/EX1.4.p/prob1_4.sce | 702a9d40e0623f5baeb6b91616ab633c07c9ab36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 579 | sce | prob1_4.sce | // Prob 1.4
clc;
clear;
close;
format('v',7);
// Given data
s=36;//no. of slots
p=4;//no. of poles
ph=3;//no. of phase
CoilSpan=8;//short pitch winding
alfa=180/(s/p);//slot pitch in degree
m=s/(p*ph);//no. of slots per pole per phase
Kd=sind(m*alfa/2)/(m*sind(alfa/2));//distribution factor
disp(Kd,"Distri... |
de8007d7390730ec335e0d486fb06f3bb4d1732d | c711f1c2ec6f58422bb04ec3b5227f34c623d872 | /visualizacion/test.sce | 2cca957de996e39fed518287e0d3235ea3aa2c72 | [] | no_license | bleudp/machine-learning | 4150c37242964c79afaeba31ee1388de79204cab | 4281d6aeb32bcfe38c0b681f18b8fb50e4d0560d | refs/heads/master | 2022-03-22T16:31:56.444228 | 2019-12-31T20:16:39 | 2019-12-31T20:16:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 93 | sce | test.sce | X=[2016, 2017, 2018];
Y=[100,140,170];
bar(X,Y);
xtitle ("Numero de asistentes al evento");
|
15ad01b327836468599ff4bfcada015f63e19be8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH11/EX11.1/11_1.sce | 9bbc4519fcd33be07e7ebf3aad6fdf8aece863fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | 11_1.sce | //chapter 11
//example 11.1
//page 314
clear all;
clc ;
//given
Rl=120;//load resistance in kohm
Vcc=24;//supply voltage V
Ve=5;Vce=3;
Rc=Rl/10;
printf("\n Rc= %d kohm(standard value resistor)",Rc);
VRC=Vcc-Ve-Vce;
Ic=VRC/Rc;
Re=Ve/Ic;
printf("\n Re= %.2f kohm,use 3.9 kohm ",Re);
Vb=(Ve+0.7)
I2=1000*I... |
f76841b265727086be4fa06459ac399dd5a660e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH7/EX7.6/6.sce | 77ab34c0bd5b75909a0cd63acad50298af4877c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | 6.sce | clc
//Example 7.6
//Calculate the force exerted on the flange
dP=100//lbf/in^2
A_out=1//in^2
rho=62.3//lbm/ft^3
ratio_A=0.1//dimentionless
//1 ft = 12 in
//1 lbf.s^2 = 32.2 lbm.ft
v_out=(2*dP/rho/(1-ratio_A^2)*32.2*144)^0.5//ft/s
v_in=12.3//ft/s
m=rho*A_out*v_out/144//lbm/s
F=m*(v_out-v_in)/32.2//lbf
print... |
23e24c6ea94fe5d302ea3b8296e6e4ddc90147c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH4/EX4.5/Ex4_5.sce | 44981edb86b5b800843695a9c3adc80c1fcec930 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | Ex4_5.sce | //Ex4_5
clc
I = 10*10^-3
eta = 1//for germanium
VT = 26*10^-3
tawo = 6*10^-3
CD = I*tawo/eta/VT
disp("I = "+string(I)+"A")//forward current
disp("eta = "+string(eta))
disp("VT = "+string(VT)+"V")//voltagr at room temperature
disp("tawo = "+string(tawo)+"sec")//mean lifetime
disp("CD = I*tao/eta/VT = "+string... |
6e3b233464365cc02e7cf47ee9f468950b579058 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.11_3.tst | d699dd0508092ed9b1c0e67a94ea3cb0cc905280 | [] | 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 | 37,694 | tst | bow.11_3.tst | 11 1:0.08333333333333333 5:3.0 6:0.09090909090909091 34:0.09090909090909091 42:0.5 56:0.3333333333333333 82:0.3333333333333333 84:1.0 98:0.5 114:0.125 128:0.25 141:1.0 147:1.0 153:0.5 177:0.5 191:0.2 201:0.5 261:0.05 281:2.0 415:1.0 438:0.16666666666666666 473:0.25 549:0.5 587:1.0 881:0.5 927:1.0 949:1.0 950:1.0 1351:1... |
67a09ae56e871f5d1029aa2afd179deb56484d98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH7/EX7.8/Example7_8.sce | 1b603987cb5a833cd7026a04a7311395dfbab0de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,254 | sce | Example7_8.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART I : GENERATION
// CHAPTER 7: TARIFFS AND ECONOMIC ASPECTS IN POWER GENERATION
// EXAMPLE : 7.8 :
// Page number 74-75
clear ; clc ; close ; // Clear the work space an... |
2e9f063aa3a1ad67862627d103cc6d5e44e4281b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH11/EX11.5/Ex11_5.sce | b1d3c35c4c37d3e477d3418b2f0b9e72fecd69ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Ex11_5.sce | //Ex11_5 Pg-565
clc
Vin=5 //input voltage
Vp=Vin*sqrt(2) //peak voltage
printf("The peak value(maximum amplication) of input signal \n")
printf(" = %.2f V",Vp)
Vin_pp=2*Vp //peak-to-peak value of input voltage
printf("\n Peak-to-peak value of input voltage \n")
printf(" ... |
b08502eb7a406937ed3c33bcee0667991707d1d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH10/EX10.1/10_1.sce | bdcc40cf708676d32e8f520ded4822724821ca87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | 10_1.sce | clc
clear
//Initialization of variables
hb=29 //in of Hg
sg=0.491
Ra=53.3
Ta=460+40 //R
Tg=540+460 //R
H=300 //ft
gam=62.4 //lb/cu ft
//calculations
pb=hb*sg*144
rhoa=pb/(Ra*Ta)
rhog=pb/(Ra*Tg)
dp=H*(rhoa-rhog)
D=dp/(gam)
//results
printf("Theoretical draft = %.1f psf",dp)
printf("\n Draft = %.2f ft H... |
33478f144d0d75b566ead6d7f2eb6187d5a7ebde | efa427de3490f3bb884d8ac0a7d78829ec7990f9 | /gcd.sce | 3792666263e5a460be5eca78d3d4bc3641acf68f | [] | no_license | letyrobueno/Scilab | a47648473aa681556561d5cea20659d143e4f492 | 2f23623dccea89a3ab2db12ec1f615186f785aa4 | refs/heads/master | 2020-09-01T19:00:30.804237 | 2019-11-01T17:45:22 | 2019-11-01T17:45:22 | 219,031,973 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | gcd.sce | // Return the greatest common divisor of two given numbers
n1 = input("Give a number: ")
n2 = input("Give another number: ")
while(n2~=0)
remainder = modulo(n1,n2)
n1 = n2
n2 = remainder
end
printf("The greatest common divisor (GCD) is %g",n1)
|
384414bf5be3f61e536af15eb0cbbd189508afc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH4/EX4.9/Exa4_9.sce | f3da2347ed1a7bee4bb693d408c0f6d3c3be5fc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | Exa4_9.sce | //Exa4.9
clc;
clear;
close;
//In given circuit :
V=5;//in volts
Vo=0.7;//in Volts
R=100;//in Kohm
disp("Since diode is silicon one, and the barrier potential for Si diode is 0.7 volt, Vo = 0.7 volts ");
disp("This barrier potential acts in opposite direction to the applied voltage. The diode forward resistance... |
437f8fdb9bc66ac2771ed9deb28ae096b710433f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH6/EX6.3/Ex6_3.sce | fa6083404c775e8d0b2d1152a6fb8bee38b1b511 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | Ex6_3.sce | // scilab Code Exa 6.3 Calculation on an axial flow fan
N=1.47e3; // Speed in RPM
d=30/100; // Mean diameter of the impeller in m
ro=1.25; // density of air in kg/m3
// part(b) determining the pressure rise across the fan
u=%pi*d*N/60;
w_c=u^2/3;
delp=ro*w_c;
disp ("mm W.G." ,delp/9.81,"(b)the pressure rise a... |
de4fb5db234d2beeae79d6ac8faf9c73e33466ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH4/EX4.9/Ex4_9.sce | 0f8b29c02be18bd5bc70544d603495de5adffbff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_9.sce | //Chapter-4, Illustration 9, Page 140
//Title: Gears and Gear Drivers
//=============================================================================
clc
clear
//Input data
Tb=25;//Teeth of wheel B
Tc=40;//Teeth of wheel C
Td=10;//Teeth of wheel D
Te=25;//Teeth of wheel E
Tf=30;//Teeth of wheel F
y=-120;//... |
f96d24b3624100030a5e107e903cb29f2c34fbd3 | 367fb86cc145c187bc8aa89afab0f15f7e8826e4 | /functions/cv_putText.sci | aadedf3f195a29e3960189846c0787493a502f2c | [] | no_license | rishubhjain/funcforscilab | 19180cefb15a88df5cd55d91c2e50ab1829e4860 | 3f9fb8b1f467e1e89da1297bee8bd14645da5605 | refs/heads/master | 2021-01-23T00:15:23.622940 | 2015-04-22T09:32:28 | 2015-04-22T09:32:28 | 31,612,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sci | cv_putText.sci | function[image_ret]=cv_putText(img,text,org1,color1)
pyImport drawing_file
image_ret=drawing_file.myputText(img,text,org1,color1)
endfunction
|
d47ba6ce4df1fec4019adf9f07b8cb7553915f13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH8/EX8.3/Ex8_3.sce | 20a9f35c2d65ede36553750ca6cebdd1520965a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | Ex8_3.sce | clc
//initialization of new variables
clear
gama=5 //m^2/s
x0=1
y0=1 //(x0,y0) location of source
x=0
y=-1
//calculations
w=-gama/(2*%pi)*(x-x0)/((x-x0)^2+(y-y0)^2)
u=gama/(2*%pi)*(y-y0)/((x-x0)^2+(y-y0)^2)
//results
printf('u = %.3f m/s',u)
printf('\n w = %.3f m/s',w)
x=3
y=0
//calculations
w=-gama/(2... |
87e8daf22909e141a0282c56cf535f644c253ea9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH2/EX2.10/Example210.sce | a0de4545d6a597f8e3fa05d9eeda4c14b2063e64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | Example210.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 2, Example 10")
disp("Given Data N in rpm, H in m, Q - discharge in litres/s:")
N1 = 590
Q1 = 1.83
H1 = 16
N2 = 390
//As H^1/2 / N ... |
f188866be70b4c27dec2c1893a325a61e38b8aef | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/AttachTool.sci | bab77b06b6d386b87660e2288122bfd2bc03454f | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 395 | sci | AttachTool.sci | // AttachTool.sci attach tool frame to robot
// www.controlsystemslab.com August 2012
function robot=AttachTool(robot,Tt)
if isequal(size(Tt),[4,4]) & isequal(Tt(4,:),[0 0 0 1]) then
robot.tool = Tt;
else
disp(Tt);
error("Bad data for Tt");
end
endfunction
functi... |
45721754d900e170c5304e8d6c91015d006134c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH27/EX27.4/example4.sce | 26ea384ba7aa1772534d42d35cb0b547d6c0c91e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | example4.sce | //chapter27
//example 4
clc
//given
q1=1.0*10^-6 //in coul
q2=2.0*10^-6 //in coul
l=10 //sepearation b/w q1 and q2 in cm
disp("for the electric field strength to be zero the point should lie between the charges where E1=E2")
//"Refer to the fig 27.9"
//E1=electric fied strength due to q1
//E2=electric fied st... |
8f674b6956b4d3ca025e35660abe9f8f14b79dfb | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /xcos/tests/aircraft_model.tst | cf04f817326e4701cd56d792cd6b40b8a6927915 | [] | no_license | Jettanakorn/mcflight | 4e7d4e20976e8f3621bf13fec2a8b522ecfc49a9 | e6579a11e10c5e9ae9ee558f464a6b88e1ae7a26 | refs/heads/master | 2023-03-17T10:49:28.906700 | 2019-10-30T20:20:58 | 2019-10-30T20:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | tst | aircraft_model.tst | //<-- NO CHECK REF -->
exec('models/aircraft_data.sci');
X0 = [
200.
0.3438075
0.
0.
0.3438075
0.
0.
0.
0.
0.
0.
0.
18.607002
];
initial.VT_ftps = X0(1);
initial.alpha_rad = X0(2);
initial.beta_rad = X0(3);
initial.phi_rad = X0(4);
initial.theta_rad = X0(5);
initial.psi_rad = ... |
e88262e90d8863aa52b1a286c3717e78d1ecefc4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH1/EX1.16/Ex1_16.sce | df0f2caeb1b7c7b033fdde52e2bdafb7a48d5756 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 881 | sce | Ex1_16.sce | clear
//
//
//
//Variable declaration
t=500*10**-9 //thickness(m)
f=400 //focal length(cm)
n1=0
n2=1
n3=2
n4=3
mew=1.33 //refractive index
//Calculation
lamda1=4*mew*t/((2*n1)+1) //wavelength in infrared region(m)
lamda2=4*mew*t/((2*n2)+1) //wavelength in infrared region(m)
lamda3=4*m... |
cc729ca8cd39a2126e2092f7f9cc5691fe0d8f38 | c5c7044ebd724bd15198c3e9470bff888a6ab43a | /data/plot_comparison.sci | f250662c7fb7a46da733adb51a75f2e19d6c9186 | [] | no_license | fedetft/flopsync | c3daa8d82c6514ddcef54ab4a1b86cfa988a22ff | 97d2f3fd8cc33fce3e78528a263bb67450fbe04f | refs/heads/master | 2021-01-18T21:59:23.659782 | 2020-04-01T20:58:40 | 2020-04-01T20:58:40 | 37,265,229 | 7 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,305 | sci | plot_comparison.sci | clear; clc; clf
stacksize(100000000);
a1=fscanfMat('node1.dat');
a2=fscanfMat('node2.dat');
a3=fscanfMat('node3.dat');
function [tcomb,comb,terr,err]=composeData(a,settling,last)
[q,p]=size(a);
if last<0 then // last<0 means use all dataset
last=q
end
d=a(settling:last,5:$);
comb=[];
... |
bef7f4d8f969511c3b2a5cb406ff268779f1158e | 717ddeb7e700373742c617a95e25a2376565112c | /28/CH5/EX5.2.2/ex5_2_2.sce | afef22acea654a0239fa034cf873e0647bc1b497 | [] | 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 | 90 | sce | ex5_2_2.sce | // given Qi(s)=0.04/s^2
Qi=0.04/s^2;
e=limit(s*Qi*H,s,0)
disp(e,"Steady stste eror=")
|
4b591fb4426a75afbed9959bd4163ddc001f876c | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Reflex Flick Wide - Easy.sce | f35d5116c3db0164e74044d5877eab59bb5414f8 | [] | 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 | 153,403 | sce | Reflex Flick Wide - Easy.sce | Name=Reflex Flick Wide - Easy
PlayerCharacters=Clicker
BotCharacters=target_decay.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Clicker
AddedBots=target_decay.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=cube_1wall_wide.map
MapScale=5.0
BlockProjectilePredictors=true
BlockCheats=... |
1def2cc52ca6abb98f8eb858c1eff1643f41991f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/spantwo.man.tst | b5ffc497a28f2a38fa41d1b6e9822b236ab3238f | [
"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 | 348 | tst | spantwo.man.tst | clear;lines(0);
A=[1,0,0,4;
5,6,7,8;
0,0,11,12;
0,0,0,16];
B=[1,2,0,0]';C=[4,0,0,1];
Sl=ss2ss(syslin('c',A,B,C),rand(A));
[no,X]=contr(Sl('A'),Sl('B'));CO=X(:,1:no); //Controllable part
[uo,Y]=unobs(Sl('A'),Sl('C'));UO=Y(:,1:uo); //Unobservable part
[Xp,dimc,dimu,dim]=spantwo(CO,UO); //Kalman decompositi... |
6c5084e33084f9e159ce6487325f6a698855e014 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH5/EX5.19/Ex5_19.sce | ff96467b57ae60b77c1573dd51ff0faf119004d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 968 | sce | Ex5_19.sce | clear all; clc;
disp("Scilab Code Ex 5.19 : ")
//Given:
ro = 50/1000; //m
ri = 30/1000; //m
c = ro;
shear = 20*10^6; //N/m^2
//Maximum Elastic Torque:
J = (%pi/2)*((ro^4)-(ri^4));
T_y = (shear*J)/c; // tou = Tc/J
T_y = T_y/1000; //in kN
//Plastic Torque:
x0 = 0.03;
x1 = 0.05;
I = integrate('rho^2'... |
a929cb810954cb9175c263e2b03f47a618d2ad5c | 19d92bf7a25b9739b9f3c7be5bb057a29a4caa6e | /sec_diag.tst | 7c22b9c73034b8c006fb96990bdac55fb280a90a | [] | no_license | vasil-pashov/tic-tac-toe-bash-hw | 1e78f2bd7f53106e31c9c12c5be1d193e576b8c7 | 4260b0705c97f7e6b2e129a835291aa02967205d | refs/heads/master | 2021-01-01T05:29:41.398338 | 2016-05-16T07:06:35 | 2016-05-16T07:06:35 | 58,814,233 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 40 | tst | sec_diag.tst | a
b
(1,1)
(1,3)
(2,1)
(2,2)
(3,3)
(3,1)
|
a9bf77268d2825572577b13e4f21a5c967f53b06 | c247bce84b3facd1a13b48e7417327c40c8b3898 | /FOPID/fpiLuo.sci | 589759734752441a8b760d0ba0feb051d11d77da | [] | no_license | AstroSayan/FuzzyFOPID | 9de9fa761301da6ae1f5dfe7b8e7e8214f3b472b | ea0e31e8fa0b36e407de9dfa466cf46b583e4103 | refs/heads/main | 2023-04-26T19:18:30.590337 | 2021-05-13T18:27:32 | 2021-05-13T18:27:32 | 367,137,779 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sci | fpiLuo.sci | function C=fpiLuo(Kp,Ki,lam)
s=poly(0,'s'); s=syslin('c',s/((0*s)+1));
C1=(lam*Ki)/(Kp*s);
C2=((lam*(lam-1))/2)*(Ki/(Kp*s))^2;
C3=((lam*(lam-1)*(lam-2))/6)*(Ki/(Kp*s))^3;
C=(Kp^lam)*(1+C1+C2+C3);
endfunction
|
d78a4906c62ff72d636111680112568db1b61c38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH1/EX1.10/exa1_10.sce | 5c940c122a584c6c141f5a44e635a96543348dfe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | exa1_10.sce | clc;
//Example 1.10
//Page no 22
//Solution
disp("The formula T = C+273 is used to convert degree C into Kelvin. ");
T1=100+273;
T2=0+273;
T3=-10+273;
disp('K',T1,"(a) ");
disp('K',T2,"(b) ");
disp('K',T3,"(c) ");
|
c66ca27582ef0379666dcfee317c49f2fc8a6924 | fa73b9454b1d003e901d57ef2121b7544bcdfef2 | /scenes/testc.sce | 2930ab546bce16f49624b3675b48096e0e01e617 | [] | no_license | bernielampe1/ray_tracer | ea91cf08188194f6a0d1e8c9e95baa4aea12f021 | 7fa963ccd07695be3a78acd4837af6cd439698b9 | refs/heads/master | 2021-01-02T01:16:52.595743 | 2020-03-02T12:36:03 | 2020-03-02T12:36:03 | 239,428,546 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | testc.sce | sce1.0
# camera
eyepos 1 -3 1.5
eyedir -0.2 1 -0.3
eyeup 0.0 0.0 1.0
wdist 1.0
fovy_deg 45
nx 400
ny 300
#options
max_recursion 4
aasample 0
# scene
background 0 0 0.6
ca 0.1 0.1 0.1
rotate 36 0 0 1
{
#ground
cr 0.4 0.5 0.4
cp 0.4 0.4 0.4
triangle -3 -10 0 3 -10 0 3 10 0
triangle -3 -10 0 3 10 0 -... |
cb5dabcd2fa0d77bcd55d1421dc798f2bd3b5199 | 47adabef6eb8924aff50314b05cfd89f90e19aec | /tests/unit_tests/c_sum.tst | 00f13d4e62b849bdbd67f8431386960b19098af1 | [
"BSD-3-Clause"
] | permissive | sengupta/scilab-http | acf41286543dfadb62bfbf1fc74d19cd6ec65815 | 114ac7ab3a55e08399a82e8a1c084bc23cace3a3 | refs/heads/master | 2021-03-12T20:38:08.900774 | 2012-04-03T13:14:33 | 2012-04-03T13:14:33 | 3,886,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | tst | c_sum.tst | // This file is released under the 3-clause BSD license. See COPYING-BSD.
//=================================
// load toolbox_skeleton
if funptr('c_sum') == 0 then
root_tlbx_path = SCI+'\contrib\toolbox_skeleton\';
exec(root_tlbx_path + 'loader.sce',-1);
end
//=================================
if c_sum(3,5... |
ea6d34b7bdd0e4ed6722b478babb134c597bf8a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH33/EX33.3/Example33_3.sce | a7b211b08b089ead04b43f55eeba31daed7e4e1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,252 | sce | Example33_3.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 7: PROTECTIVE RELAYS
// EXAMPLE : 7.3 :
// Page number 596
clear ; clc ; close ; // Clear the work space and console
// ... |
2bb52e625ddc86b5518bc7a49d82dd4f8c964ecf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH7/EX7.1/Exa7_1.sce | 6f5e6d551d6f6c8b71d0594be6dd55d1d977d5b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | Exa7_1.sce | //Exa 7.1
clc;
clear;
close;
//Given data :
format('v',5);
l=1;//in km
I=100;//in Ampere
cosfi=0.8;//Power factor(lag) unitless
VC=200;//in volt
IL=60;//in Ampere
cosfi_load=0.9;//Power factor(lag) unitless
R=0.6;//in ohm
XL=0.08;//in ohm
IC=I*(0.8-%i*0.6);//in Ampere
z=(0.06+%i*0.08)/2;//in ohm
VD_BC=... |
a4c1775e8be5bed0d35dbd94ec4bb32b753efc39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH11/EX11.25/example_11_25.sce | 532d5db4693a6fef05afd1016d39a8c84eedb647 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 825 | sce | example_11_25.sce | s=poly(0,'s');
F=syslin('c',[1/((1+0.001*s)*(s*0.1+1)*(0.25*s+1))]) //without k
fmin=0.1; //Min freq in Hz
fmax=20; //Max freq in Hz
scf(1);clf;
bode(F,fmin,fmax); //Plots frequency ... |
d36c7ba7cbeeecf3b7e15c3f113d75f7e14febc9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH6/EX6.2/exa6_2.sce | ed496879406d967cd53cfd30546bba24c063e771 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | exa6_2.sce | clc;
//Example 6.2
//Page no 230
//solution
f0=30; //MHz
f1=30.005 //MHz
flo=20; //MHz
fbfo=10; //MHz
d=(0.001/100); //%
//(a)
disp("(a)The IF output from the RF mixer difference between the received signal frequency and the RF local oscillator frequency,");
fu=f0-flo;
fl=f1-flo;
disp('MHz',fl,"MHz to",fu,"Fif... |
6e9689e8cbfd5c956d250ea810a05f058e725fed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH5/EX5.21/Ex5_21.sce | 57f4f44e55b04396ffa2305e63328452805764a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | sce | Ex5_21.sce | //=============================================================
//Chapter 5 example 21
clc;
clear all;
//variable declaration
I = 10; //current in A
//e = (alpha*(dt))+(b(dt^2))= alpha*dt
//dt = (K1*(I^2)*R)
//theta = K2*e
//theta = K2*e = K2*K1*alpha*dt = K2*K1*alpha*(I^2)*R
/... |
4214d5047fb996587640c5126c6d60da6a4a1ee2 | fcd4bce0080771389b4a69338ed6443153942183 | /cores/n64/mupen64plus-rsp-paraLLEl/lightning/check/divi.tst | 9c03ed8996de982062094141622252f81f12e6f6 | [
"LGPL-3.0-only",
"GPL-3.0-only",
"GFDL-1.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-other-copyleft",
"GFDL-1.1-only",
"MIT",
"LGPL-2.1-only",
"MPL-1.1",
"LicenseRef-scancode-mame",
"Zlib",
"GPL-2.0-only",
"LGPL-2.1-or-later",
"MPL-2.0",
"CC-PDDC",
"LicenseRef-scancode-public... | permissive | wulfebw/retro | d4fcf9229b257b3c495f54b1aeb3ea36004ae4aa | dad4b509e99e729e39a2f27e9ee4120e3b607f58 | refs/heads/master | 2022-10-23T07:17:55.320585 | 2020-06-12T01:38:06 | 2020-06-12T01:38:06 | 260,832,205 | 8 | 1 | MIT | 2020-06-12T01:38:08 | 2020-05-03T05:06:17 | C | UTF-8 | Scilab | false | false | 1,472 | tst | divi.tst | .data 128
small_ops:
.i 40 64 80
large_ops:
.i 98304 65536 163840
fmt:
.c "%i/%i = %i (expected %i)\n"
x:
.c "%d\n"
.code
jmpi main
#define generate_divider(operand) \
name divider_##operand \
divider_##operand: \
prolog \
arg $i \
getarg %r1 $i \
divi %r2 %r1 operand \
retr %r2 \
epilog
generate... |
357345f3ad2e480cae8af682231e2465a9711105 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.61/example4_61.sce | 96c873fc1017e5aa2e806681a7f7e3e47d3d4158 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 630 | sce | example4_61.sce |
//example 4.61
//obtain ordinates 24 hr unit hydrograph
clc;funcprot(0);
//given
O=[0 5.5 13.5 26.5 45 82 162 240 231 165 112 79 57 42 31 22 14 9.5 6.6 4 2 1 0 0 0 0 0]; //ordinates of 1st 8 hrs unit hydrograph
for i=1:25
o1(i+2)=O(i); //ordinates of 2nd 8 hrs unit hydrograph
... |
c8267d445d5a6c07de6088a4545635e8ad994077 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH39/EX39.6/Example39_6.sce | f588ee1e7ec5f52e897ffebfcc3befe50ac90125 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | Example39_6.sce | //Given that
v = 2.05*10^6 //in m/s
h = 6.62*10^-34 //in J.s
hC = h/(2*%pi)
precision = .50/100
Me = 9.109*10^-31 //in kg
//Sample Problem 39-6
printf("**Sample Probelm 39-6**\n")
Px = Me*v
deltaPx = precision*Px
deltaX = hC/deltaPx
printf("The error in measuring x is %dnm", deltaX*10^9) |
e2c8886a1459cbe0712dbbc4a3f53678491003eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH4/EX4.5/C4P5.sce | 1bda481d8030adec19a3b62298bedc3f84544f6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 843 | sce | C4P5.sce |
clc
//to find magnitude of gravitational force exterted on the moon by the earth
// GIVEN::
//time required for i revolution
d = 27.3//in days
//radius of orbit
r1 = 238000 //in mi
//radius of orbit in meters
r = (238000*1609.344)//in meters
//mass of the moon
m = 7.36*10^22//in kg
// SOLUTION:... |
7bec12cd8c65ed2609995dc9d9213852892d19c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH5/EX5.27/ex5_27.sce | 1bf22a4520090bda45771bac8b39bbc02a1de2e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex5_27.sce | // Exa 5.27
clc;
clear;
close;
format('v',9)
// Magnitude of loop gain, Mag_Tf= bita*100/(sqrt(1+(f/10^5)^2))^3 (i)
// Phase of loop gain, P_Tf= -3*atand(f/10^5) (ii)
f_180= tand(180/3)*10^5;// from eq(ii), frequency at which phase becomes -180°
bita= 0.20;
... |
f7d594c1975af4cef7f00a8a7d65d2bb72805173 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH21/EX14.21.9/Ex14_21_9.sce | 24f4ccd7f28577c3d786cb9b21036fed9363dd3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_21_9.sce | //Section-14,Example-5,Page no.-PC.17
//To calculate the temperature at which v_rms(He)=v_rms(H2).
clc;
//v_rms=sqrt((3*K*T)/m)
//K=1(let)
T=200 //(K) Given temperature
K=1
T_He=(3*K*T*4)/(3*K*2)
disp(T_He,'Required temperature(K)')
|
f5843c7f76e9ddee31ec0e0ae0c7a97d0be027f7 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/iirpowcomp/test_7.sce | 272eb3c786e9ce3b6b3adbb330b429d2740d617b | [] | 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 | 532 | sce | test_7.sce | // Test #7 : Valid Input Arguments #3 with 3 inputs
exec('./iirpowcomp.sci',-1);
[b,a]=iirpowcomp([0.0916,0.2749,0.2749,0.0916],[1.0000,-0.7601,0.7021,-0.2088],%i)
disp(a);
disp(b);
//Scilab Output
//
//a= 1. - 0.7601 0.7021 - 0.2088
//b= 0.3295380 + 0.3295380i
// - 0.6148360 - 0.6148360i
// 0.... |
986ab665d2140a5bdf4b5270cb252b2f8c513cd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH3/EX3.22/example3_22.sce | c7cdfb3c82a6a110247828350bad736af7bbed11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,125 | sce | example3_22.sce | //Chapter 3
//Example 3_22
//Page 65
clear;clc;
ratio = [7, 4, 1];
lf=1;
//Referring to the graph in page 66
ugpa=1000*(1/2*(320+160)*8760);
steam=ugpa*ratio(1)/sum(ratio);
ror=ugpa*ratio(2)/sum(ratio);
reservoir=ugpa*ratio(3)/sum(ratio);
md_ror=ror/8760;
y=sqrt(reservoir*32/876000);
md_res=y;
md_steam=320-y-md_ro... |
6fc0b40920acfc7d229bb023afe6a1da67f87dad | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH4/EX4.22/EX4_22.sce | 2f12d14363a87da4158783bff65f2984fe7d936e | [] | 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 | 806 | sce | EX4_22.sce | clc;funcprot(0);......//Example 4.22
//Initialization of variables
L=6;.........//Length of the duck in m
D=0.2;.........//Width of square plate in m
T=293;.............//Bulk Temperature in K
Tw=305;........//Temperature of wall in K
U=0.05;.........//Average velocity of fluid in m/s
//properties of n butyl alc... |
ec27a7e1507e4dcf83cd37a2946e762606892f39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.15/15.sce | f46b046b1ee1e3d8e791f0a38b8a678ced33792a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | 15.sce | clc
Q=50; //kJ
dV=0.14; //m^3
p=1.2*10^5; //N/m^2
m=90; //kg
d=5.5; //m
g=9.8; //m/s^2
W_adb = -110; //kJ
Wnet=m*g*d/1000; //kJ
disp("(i)Change in internal energy")
W=p*dV/1000 + Wnet; //kJ
dE=Q-W;
disp("dE=")
disp(dE)
disp("kJ")
disp("(ii) Adiabatic process")
Q=0;
dE=-W_adb;
disp("dE=")
disp(d... |
eca07d4691660a8a290b49704376a77764638988 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH3/EX3.12/12.sce | 8243cc2479dd391e4516e548da437f456fe64604 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | 12.sce | //Variable declaration
m=1.67*10**-27
a=10**-14
h=1.054*10**-34
//Calculations
E1=(1*%pi*h)**2/(2*m*a**2)
//Result
printf('E1 =%0.3f *10**-13 J \n ',(E1*10**13)) |
afb217a7cf7dbd8a4fc3a43f9992a96ba4d8d428 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH4/EX4.2.1/ex_4_2_1.sce | cf10d49b374e76bb97f1d8e89c3281f57e7415ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | ex_4_2_1.sce | //Example 4.2.1: peak amplitude
clc;
clear;
close;
//given data :
format('v',7)
E_rms=230;//in V
Ep=sqrt(2)*E_rms;
disp(Ep,"peak amplitude,Ep(V) = ")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.