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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c56f7bfb0c1b9ce06c6322055f6685250751c0bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH12/EX12.3/Ex12_3.sce | 29af6ff1ffc19b4a9a661007631add7abef8ecb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | Ex12_3.sce |
//Example NO.12.3
//Page No.357
//To find the value of Tc.
clc;clear;
M1 = (199.5^(1/2));//Atomic mass.
M2 = (203.4^(1/2));//Atomic mass.
Tc1 = (4.185);//Critical temperature of Hg -[K].
Tc = (Tc1*M1/M2);//Critical temperature
printf("\nCritical temperature of Hg with atomic mass,203.4 is %.5f K",Tc);
|
9bf5433cda76dd81666b6c3193896f7aed218d51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH34/EX34.22/Ex34_22.sce | febdb51744a3a4f4b2ef89a2a19ee23b1dd598f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 850 | sce | Ex34_22.sce | // Example 34_22
clc;funcprot(0);
//Given data
N=50000;// Number of domestic customers
Fc=2.5*10^7;// Fixed charges in rupees
Ec=2*10^7;// Energy charges in rupees
Cc=0.5*10^7;// Customer charges in rupees
p=20*10^5;// Profit in rupees
MD=5000;// kW
F_d=4;// Diversity factor
F_l=0.3;// Load factor
//Calcul... |
3d507dee564e6917cd9374a52d902b18c1275a4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH8/EX8.1/8_1.sce | 84804a040dee840b08aafeb3c79132a2dcda1ef6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | 8_1.sce |
clc
//initialisation of variables
v= 10.01 //poise
g= 32.2 //ft/sec^2
d= 30.48 //cm
w= 453.6 //gm
//CALCULATIONS
M= v*d/w
F= M/g
//RESULTS
printf ('Pound in unit of mass = %.3f lb/ft sec absolute units',M)
printf ('\n Pound in unit of force = %.4f slugs/ft sec',F)
|
96ff8a251012f398d07ed16939ad6fe65557725b | 4302fa12c0b4bc3a8b7e99ced5933a42c1723b2a | /chris/mail/lang/Tagalog.tst | 1885f39fd29b708ce418b1a1a0d1f0faf2353006 | [] | no_license | iknowed/elect | d46dfafbf7258d63f2d92c6dc49a2a5f506753d5 | 39ab38bb195fe984053b976426f63b8c33a47fa8 | refs/heads/master | 2020-03-07T16:12:29.181060 | 2018-03-31T22:25:02 | 2018-03-31T22:25:02 | 127,575,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 47,918 | tst | Tagalog.tst | NUM_AT_HH VOTER_ID NAME_PFX NAME_F NAME_L HOUSE_NUM STREET TYPE APT ZIP
1 287410 CHARITO ALVIAR 333 TAYLOR ST 41 94102
1 802498 RAFAEL ILDEFONZO 631 OFARRELL ST 1906 94109
1 285887 SALOME BAJADA 825 POST ST 123 94109-8422
1 822332 ANTONINO ORTILLA 995 HOWARD ST 311 94103
2 354777 ROSE EKERN 71 BROSNAN ST 9410... |
7e9078f5a07dd2a989f8da088807f93a7252c38b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH16/EX16.18/Ex16_18.sce | e1b34f6373e975d5dc575140d840bbd2c93af890 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | Ex16_18.sce | clc
clear
//Initialization of variables
n1=0.95
n2=0.05
n3=0.025
P=147 //psia
pa=14.7 //psia
//calculations
n=n1+n2+n3
p1=n1/n *P/pa
p2=n2/n *P/pa
p3=n3/n *P/pa
Kp1= p1/(p2*p3^0.5)
Kp2= p1^2 /(p2^2 *p3)
//results
printf("In case 1, Equilibrium constant = %.1f ",Kp1)
printf("\n In case 2, Equilibrium co... |
5de28153de823b3dd0286068bca9fd6f577818fc | e7055fdf94e8a24293cab7ccbeac12039d6fe512 | /macros/imwrite.sci | fa1edb39a386dbd4f9569301f6e815be4225b113 | [] | no_license | sidn77/FOSSEE-Image-Processing-Toolbox | 6c6b8b860f637362a73d28dcfe13e87d18af3e2c | 8dfbdbdfd38c73dc8a02d1a25678c4a6a724fe18 | refs/heads/master | 2020-12-02T16:26:06.431376 | 2017-11-08T17:54:03 | 2017-11-08T17:54:03 | 96,552,565 | 0 | 0 | null | 2017-07-07T15:37:18 | 2017-07-07T15:37:18 | null | UTF-8 | Scilab | false | false | 1,134 | sci | imwrite.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
774103d4605ca8c090b63efec70591267415b4fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH5/EX5.8/Ex5_8.sce | e452ce8b71893aa1a61bfb25e640b220f2a9bb7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 685 | sce | Ex5_8.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 5 Example 8")
T1=1800;//temperature of high temperature reservoir in K
T2=300;//temperature of low temperature reservoir in K
Q1=5;//heat addition in MW
W=2;//w... |
b1ffd3c0e118e316bde536d03940038fe8dabe96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH10/EX10.7/Ex10_7.sce | 7e0e2834ce143ed1f20eb1044948939f137d5a7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Ex10_7.sce | //Ex10_7
clc
Po = 100//output power
RL = 10//load resistance
disp("Po = "+string(Po)+"W")
disp("RL = "+string(RL)+"ohm")
vo = (RL*Po)^0.5//output voltage
vi = 2//input voltage
disp("vo = (Rl*Po)^0.5 = "+string(vo)+"V")
disp("vi = "+string(vi)+"V")
Av = vo/vi//voltage gain
disp("Av = vo/vi = "+string(Av))
D ... |
cc4cd34a2a84eeff429d7d485c3dcbbbeecf44d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.26/26.sce | e15f026993b945c699aed7f4e0a52761f832fc99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,238 | sce | 26.sce | //finding equivalent in decimal for five excess 3 code numbers//
//example 26//
clc
//clears the command window//
clear
//clears//
//first number in excess-3 code//
x='1000'
a=bin2dec('1000');//conversion to binary//
y=a-3;//conversion to excess 3 code//
disp('equivalent decimal number for first excess 3 code... |
95d44a3c53a4e23ba9db389adb093c6a7c22e403 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH4/EX4.3/Ex4_3.sce | e2953f61a144e5c8a86de2b781146ce36aa61c79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_3.sce |
//determine the time taken to reach the intantaneous of 150
f=50
Vr=200
Vm=Vr*1.414
t=2.5e-3
w=2*3.14*f*t
v=Vm*sind(w*180/%pi)
v1=150 //v1=Vmsimwt
t=1/18000*asind(150/282.8)
disp( 'voltage equation='+string(v)+' volts ' , 'time='+string(t)+' seconds ')
|
b524895aacdbd56bbd3cafc4aef5dd5598aa658e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH6/EX6.8/Example6_8.sce | a2fa7ce783e13ddbe6dba5f2740ebed31bccd307 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Example6_8.sce | //chapter6,Example6_8,pg 123
L=10^-3
R=1.5
A=10^-6
Ey=0.6
w=10^-3
d=10^-3
I=120*10^-3
Bz=0.05
e=1.6*10^-19
sigp=L/(R*A)
Vhp=Ey*w
Rhp=(Vhp*d)/(I*Bz)
Uhp=sigp*Rhp
theta=atan(Uhp*Bz)
theta=theta*(180/%pi)
p=1/(Rhp*e)
printf("hall voltage :Vhp=%.4f Volt\n",Vhp)
printf("... |
b3fba182e02f4db218fa19ab621a45251ba2d04c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH11/EX11.3/Ex11_3.sce | f5ae7427b2174703f16086ab6fe02c1288f0c96e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex11_3.sce | clc
clear
//Initialization of variables
v1=60 //ft/s
d1=10 //in
d2=15 //in
P=15 //psia
R=53.35
T=540 //R
g=32.17 //ft/s^2
v1=60 //ft/s
//calculations
v2=v1*d1^2 /d2^2
rho=P*144/(R*T)
dp=rho*(v2^2 -v1^2)/(2*g) /144
p2=P-dp
//results
printf("Final pressure = %.3f psia",p2)
|
b6963e45297ff406eeedbbf79818aaa1b2e727f8 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_bv2.tst | 3e9d81220b789428f8fa896296246b4355ed6c0a | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 1,105 | tst | err_bv2.tst | ; checks the sorts of bit-vector functions
(set-logic QF_BV)
(declare-fun x () (_ BitVec 3))
(declare-fun y () (_ BitVec 5))
(declare-fun z () (_ BitVec 8))
(assert (= (bvnot x) #b1011))
(assert (= (bvnot true) #b1011))
(assert (= (bvnot x y) #b1011))
(assert (= (bvneg x) #b0111))
(assert (= (bvneg x y) #b0111))
(asser... |
0491ac288ca429f30bb6daee508de1257a50f7d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3506/CH6/EX6.5/Ex_6_5.sce | 9e32c3ca222a0380babbeb8bb66370aa0544a0ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | Ex_6_5.sce | //Optical Fiber communication by A selvarajan
//example 6.5
//OS=Windows XP sp3
//Scilab version 5.5.1
clc;
clear all;
//given
d=10*10^-6//seperation between electrodes
ne=2.2// approximate inder in absence of voltage
r33=32*10^-12//poper electro optic coefficient
lambda=1*1e-6//wavelength in m
L=5*10^-3//l... |
fd4eb3f498ddd0f051e241120d5356d432fde8b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH22/EX22.14/22_14.sce | f5aae37a6f8778b926a3f6ed4d35b2ee1bde482f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | 22_14.sce | //ques-22.14
//To show that KBr has a FCC structure
clc
den=2.73;//density (in g/mL)
a=654*10^-10;//edge length (in cm)
Na=6.023*10^23;//(in /mol)
m1=39;//molar mass of K (in g/mol)
m2=80;//molar mass of Br (in g/mol)
M=m1+m2;
z=(den*Na*a^3)/M;
printf("As z = %.0f, therefore KBr has a FCC structure.",z);
|
6e8931cafe632bdedba41c9ae13c37540f449024 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH7/EX7.6/Ex7_6.sce | bdb7c55264f827e4f2a6758c37f010976517e29b | [] | 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 | 373 | sce | Ex7_6.sce | clc
// Intialization of variables
P = 14.7 // psia
Rd = 1/10 // ratio of densities
Rv = 1 // ratio of velocities
Rl = 10 // ratio of lengths
Dm = 1 // Model drag -- lb
// calculations
Pm = 10*P
D = Dm*(Rl^2)*(Rv^2)*Rd
// Results
printf("the required pressure in the wind tunnel is %.1f psia",Pm)
printf ("th... |
9daa02c5daa5019baba57d48643e0136b15772a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH4/EX4.15/Exa4_15.sce | 8250974917317ce2dc7bbaccd1bdcd4d2cdd54f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa4_15.sce | //Exa 4.15
clc;
clear;
close;
//Given Data :
format('v',6);
VL=33;//in KV
f=50;//in hz
d1=4;//in meter
d2=4;//in meter
d3=8;//in meter
d=(d1*d2*d3)^(1/3);//in meter
epsilon_o=8.854*10^-12;//constnt
d=d*100;//in cm
r=0.62;//in cm
C=2*%pi*epsilon_o/log(d/r);//in Farad per meter
disp(C*50*1000*10^6,"Capaci... |
c13423d61ef11a033a5a89455c1ab0d6b1228ee5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH11/EX11.24/example11_24.sce | c49dac811a23406fe3c4f10925f8c5f2aed10131 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | example11_24.sce | //clc()
P = 3500;//kPa
T = 673.15;//K
SV = 0.08453;//m^3/kg
Vcondensed = 1/2;
m = 100;//kg
V = m * SV / (m/2);
//m*(Vl+Vg)*Vcondensed = m * SV
//But Vl is negligible,
Vg = m * SV / (m * Vcondensed);
//using steam table
T1 = 459.5;//K
P1 = 1158;//kPa
//internal energy of superheated steam from steam table
... |
ec3bf5de66ee2f9b5f6e70ca34489db32dececf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH5/EX5.13/5_13.sce | 52dd730872411cba0c0949683e8cd1934329212e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,881 | sce | 5_13.sce | clc
clear
//Initialization of variables
hv=11780 //Btu/lb
steam=55000 //lb/hr
coal=6480 //lb
x1=0.66
x2=0.044
x3=0.079
x4=0.015
x5=0.11
z1=14.5
z2=0.2
z3=4.4
z4=80.9
xash=0.076
xmois=0.115
yc=0.21
refuse=622 //lb/hr
cp=0.24
tg=400 //F
ta=70 //F
Qco=10160 //Btu/lb
Qc=14600 //Btu/lb
//calculations... |
def1744f9cee1d79cbaeada27612420b845d8c5e | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TF47.prev.tst | 0b2ec28d5f96b9d0787e838ba968eaf7a57c2155 | [
"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 | 1,923 | tst | TF47.prev.tst | TranspositionSet={[1,0,2]}
Expanding for base=2, level=3, reasons+features=base,transpose,same,similiar,evenexp igtriv,norm
Refined variables=x,y,z
[0+1x,0+1y,0+1z]: unknown -> [1] [0,0,0] x⁴+18x²*y²+y⁴-z²
---------------- level 0
expanding queue[0]^-1,meter=[2,2,2]: x⁴+18x²*y²+y⁴-z²
[0+2x,0+2y,0+2z]: unknown -> [1] [0... |
308f0f99daf9535cdf6775523ed765532d6f68e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH5/EX5.12/5_12.sce | 5fe2a5c4a995bb96c5927438342074ff48ce2805 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | 5_12.sce | clc
clear
//Initialization of variables
m=150000 //lb
P1=1000 //psia
Ts=900 //F
Tf=200 //F
m2=21000 //lb
HV=12000 //Btu/lb
//calculations
disp("From mollier charts,")
h2=1448.2 //Btu/lb
hf=167.99 //Btu/lb
correc=2.2 //Btu/lb
hc=hf+correc
Q=m*(h2-hc)
output=Q
inpu=m2*HV
eta=output/inpu
//results
prin... |
0c720ca645dd5f3ca0307e82f863c3062dadb7fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH9/EX9.4.2/Example_9_4_2.sce | fbada78733654edbea770f620a24c7ce34f04ff9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | Example_9_4_2.sce | // Example 9.4.2 page 9.12
clc;
clear;
output=3; //laser output
sensitivity=-54; //APD sensitivity
coupling_loss=17.5;
L=6; //length in km
sl=1.1; //loss correspond to one splice in dB
n=3; //number of splices
fl=5; //fiber loss in dB/km
connector_loss=0.8;
allowed_loss=output-sensitiv... |
368ccbec95d6ea83c44ad712aef274a8615152f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH5/EX5.a.11/Example_a_5_11.sce | 18d3eaaa0784c23932bacaefc173410960ee0ed3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 665 | sce | Example_a_5_11.sce | //Example_a_5_11 page no:212
clc;
Vs=10+(%i*20);
Z1=1+(%i*2);
Z2=3+(%i*4);
Z3=3+(%i*4);
Z23=(Z2*Z3)/(Z2+Z3);
Zt=Z1+Z23;
It=Vs/Zt;
Itmag=sqrt(real(It)^2+imag(It)^2);
Itang=atand(imag(It)/real(It));
theta=atand(real(Zt)^2+imag(Zt)^2);
Vp=Z23*It;
Vpmag=sqrt(real(Vp)^2+imag(Vp)^2);
Vpang=atand(imag(Vp)/real(V... |
e5f82228e3f590449b756e6e95df7dc0c9380404 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH10/EX10.10.1/EX10_10_1.sce | 324128ed21aff3b6aa503b567bdafc534e697db1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,559 | sce | EX10_10_1.sce | //Example No. 10.10.1
clc;
clear;
close;
format('v',7);
Gain=8.5;//dB(Gain)
tau=0.822;sigma=0.149;//for given gain
alfa=2*atand((1-tau)/4/sigma);//degree
fL=54;//MHz(Lower frequency)
fU=216;//MHz(Upper frequency)
c=3*10^8;//m/s(Speed of light)
lambdaU=c/(fU*10^6);//m(Upper wavelength)
lambdaL=c/(fL*10^6);//... |
da56737573b0a3f890d28f6be97517eb0ef5e68c | 4bb2823f42f3f993d59b12346565eb9c5fda8b87 | /generateFixedPositons.sce | 825528e10fcca21bb88d7d0a706c390dfda7d9cc | [
"MIT"
] | permissive | szotaa/random-walk | 4dd21aba5aa6c1f83a13e788be434579b884efd6 | 7b659722fe31badf1cc842d26aa740ebdf2f1f88 | refs/heads/master | 2020-03-23T03:19:13.124310 | 2018-07-15T12:28:01 | 2018-07-15T12:28:01 | 141,023,850 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sce | generateFixedPositons.sce | /**
* Calculates point positions. Provides numerical solution for exercise 1 a).
*
* @param amount - number of positions
* @author Jakub Szota
*/
function [x, y] = generateFixedPositions(amount)
/**
* Generates pair of numbers fulfilling following requirement:
* a ^ 2 + b ^ 2 == 1
*/
fun... |
61e1e18f1f0c4c07488479dbd41a0dae46b7f59d | 3b742855dce5a8af730e0cbc0fa60a17c93592a7 | /polynomeBernstein.sce | 621eb30242727ae4b553459454ad8fb5df933c4d | [] | no_license | AlexisZankowitch/scilab | 287c90ba944622f50c6fd445044441618153d04b | 2a6dfafe03743e26fd78308265813134025cf224 | refs/heads/master | 2021-05-30T04:37:00.736119 | 2015-12-06T13:39:59 | 2015-12-06T13:39:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 823 | sce | polynomeBernstein.sce | //xclick recuperation coordonnés clique souris
function T = pointPolyControle()
ibutton = 0;
i=1;
while (ibutton <> 2 & ibutton <> 5)
plot2d(0,0,rect=[0,0,3,3])
[ibutton,x,y]=xclick()
T(i,:)=[x,y]
plot(x,y,"ro");
if(i>1)
plot([T(i-1,1),T(i,1)],[T(i-1,2),T... |
f344c7605a851091b816c4e98ee85d38b25c52b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH6/EX6.1/Ex6_1.sce | 75859cd35e071f46ccb4f9465223dd32243098c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,661 | sce | Ex6_1.sce | //Quantised energy levels for microscopic and macroscopic systems
clc();
clear;
//Given :
// (a) For a 1s simple pendulum :
T = 1; // time period in s
nu = 1/T; //Frequency in Hz
//Planck's quantisation princple : E_n = n*h*nu
h = 6.625*10^-34 ; //Planck's constant in Js
printf("Energy at First three levels fo... |
3a8dc4d30fbb380d63adb90614c9e0ba7c368ebc | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_setLogic_LRA.tst | a6da8e51c1fe2d89baddec3ea7b61b34aae12dfe | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 40 | tst | ok_setLogic_LRA.tst | ; testing loading LRA
(set-logic LRA )
|
cfab39a8cf3e2a61837206ce92c361d7d3bd6720 | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /macros/distfun_poissinv.sci | 6cb39798441bf42de710ecd69f9501181aa624e1 | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,021 | sci | distfun_poissinv.sci | // Copyright (C) 2012 - Prateek Papriwal
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-... |
9d54cec64d266419f1c8e9e44315b19f50a895e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH12/EX12.13/Example12_13.sce | bebafb16301e1eeb3478cd2dec6de2459c82b091 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | Example12_13.sce | clear;
clc;
// Example: 12.13
// Page: 492
printf("Example: 12.13 - Page: 492\n\n");
// Solution
//*****Data******//
// Reaction: PCl5 = PCl3 + Cl2
T = 250;// [OC]
Kp = 1.8;
e = 0.5;
//**************//
// Basis: 1 mol of PCl5
// At Equilibrium:
n_PCl5 = 1 - e;
n_PCl3 = e;
n_Cl2 = e;
n_total =... |
92023f562ff59612ab3a588fce7d42c10492d0ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH14/EX14.6/EX14_6.sce | 3a32b0c3de248409eec3ef01b42d853870a8cb5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | EX14_6.sce | //Finding of velocity , discharge of prototype
//Given
qm=2;
vm=1.5;
lp=36;
lm=1;
//To Find
vp=sqrt(lp/lm)*vm;
qp=(lp/lm)^2*(vp/vm)*qm;
disp("Velocity of Prototype ="+string(vp)+" m/sec");
disp("Dischage of Prototype ="+string(qp)+" m^3/sec");
|
3a9b0d44f8335a07c93a663f3a89d855a027efbd | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ac_usi_d/~BivLCM-SR-bfas_ac_usi_d-PLin-VLin.tst | 15a738e90a10828172dd9b5130d4fdafd56c4fab | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,909 | tst | ~BivLCM-SR-bfas_ac_usi_d-PLin-VLin.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.266132D+00
2 -0.438931D-02 0.228397D-02
3 -0.110970D+00 0.29250... |
e2503933e71851b49fabf1accdd039bc0584d73c | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/pulseperiod/pulseperiod13.sce | 653467e3dbb395c97cd2d697788a93a25055d98b | [] | 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 | 58 | sce | pulseperiod13.sce | x=[1 2 4 5];
[d]=pulseperiod(x);
disp(d);
//output
// []
|
bbaa7a21e651ed9dbc39d559b88da82bbab0198d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH24/EX24.19/24_19.sce | beae188abe70742b282b736474be2b5b281a3a46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 607 | sce | 24_19.sce | //ques-24.19
//Calculating hydrolysis constant of a salt
clc
T1=0.00693;//total amount of base in system (in mol)
T2=0.05035;//total amount of HCl in system (in mol)
K=9;//partition coefficient
w=0.2165;//amount of free base in 50mL of benzene layer (in g)
F1=(w/138)*(60/50);//free base in 60mL of benzene layer ... |
3caca64203cdb7d5fc6eb4e02ae5c3b8dc662d6a | 843ddfc1f1137ace0ddbffdc051fb2b2a3e2ba6b | /P1/P106.sce | b4e0484ef72e5842b5725b74d080f717609ad2c6 | [] | no_license | aguadix/SIMCON | 8169169577fc5e69257f6dc91558b7b320974161 | 5f83003937740a730c4593c241309c9da7693ddf | refs/heads/master | 2022-10-27T00:34:29.074871 | 2022-10-24T11:24:08 | 2022-10-24T11:24:08 | 53,549,792 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,700 | sce | P106.sce | clear; clc;
// P106.sce
// (a) CÁLCULO DEL ESTADO ESTACIONARIO
// Sistema de ecuaciones algebraicas
function dxdt = f(x)
// Variables
CA = x(1)
T = x(2)
// Balance de materia para A
dCAdt = F*(CA0-CA)/V - k0*exp(-E/(R*T))*CA
// Balance de energía
dTdt = F *(T0-T)/V + UA*(TJ-T)/(V*RHO*CP)... |
eff22ad2ce4a783958cd0a4c951cb7045656c0bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH7/EX7.5/Ex7_5.sce | 860fc8c169977ab6f1349890547928aa726034cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 878 | sce | Ex7_5.sce | //Book Name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 7
//example 7.5
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
V=480;//terminal voltage in volt
p=6;//number of poles
Pout=30*746;//output power interms of watt
f=60;//frequency in hertz
R1=0.5;//stator resi... |
56ec14d9d5e00031ae57e4a574478d663d09facf | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH33/EX33.16/33_16.sce | 2165d8bfb2f01ce131c1718e09a1a5d4bd382f78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,838 | sce | 33_16.sce | //Problem 33.16: Determine, by successive conversions between Th´evenin’s and Norton’s equivalent networks, a Th´evenin equivalent circuit for terminals AB of Figure 33.76. Hence determine the magnitude of the current flowing in the capacitive branch connected to terminals AB.
//initializing the variables:
V1 = 5; ... |
3ac7fb455aa8e099055e5e6668a4b2b1e7b9baf6 | be96e52def8294f354d9eb84ba5fd00c3306a984 | /Templates/CustomFunctionTemplate.tst | c14810233ba9e756c92138fd76ca158942ce68d2 | [
"MIT"
] | permissive | FuryTechs/FuryTech.OdataTypescriptServiceGenerator | e6177564000a74e38e34bf82bd311a8d075b2a33 | 234c226ebe8a2faeb4f4661d2acca7bbeeb54e95 | refs/heads/master | 2023-04-28T06:05:05.934471 | 2023-04-18T05:34:27 | 2023-04-18T05:34:27 | 76,648,222 | 18 | 11 | MIT | 2023-04-18T05:34:28 | 2016-12-16T11:22:28 | TypeScript | UTF-8 | Scilab | false | false | 156 | tst | CustomFunctionTemplate.tst | public async $functionName$($argumentWithType$): Promise<$returnType$> {
return await this.$execName$('$functionFullName$'$argument$);
}
|
cab32b817e04799fb896896692fe32da2ecdeba3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH3/EX3.13/Ex3_13.sce | 925d4fcf8c87236d2711fbdd2c07f142dd64075d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sce | Ex3_13.sce | clear;
clc;
printf("\t\t\tProblem Number 3.13\n\n\n");
// Chapter 3 : The First Law Of Thermodynamics
// Problem 3.13 (page no. 113)
// Solution
p1=150; //Unit:psia //Initial pressure
T1=1000; //Unit:R //Temperature at pressure p1
p2=15; //Unit:psia //Final pressure
T2=600; //Unit:R //Temperature at pressur... |
416a4e9afd7f82143e4c3796ba00adcd4a97a545 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.8/Ch02Ex8.sce | e9197dc4de36cbe7dd22a6802b33ccd0b1e18efe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch02Ex8.sce | // Scilab Code Ex2.8:: Page-2.11 (2009)
clc; clear;
mu = 1.5; // Refractive index of biprism
lambda = 5500e-008; // Wavelength of light used, cm
y1 = 5; // Distance of biprism from the source, cm
y2 = 95; // Distance of biprism from the screen, cm
D = y1 + y2; // Distance between slits and the screen, cm
... |
6a37e8dba23bb4e3b3efa792af1b2b93663a8e8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH14/EX14.5/Example14_5.sce | fcd28e990b12f9e31e097f78379ccf05f855318e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | Example14_5.sce | close();
clear;
clc;
//from example 14.4
//number of conductors 'n'
z = 728;
//rotating speed of armature 'N'
N = 1800; //rpm
//flux per pole 'phi'
phi = 30*10^(-3); //Wb
//number of poles 'p'
p = 4;
//for wave wound armature
a = 2;
//voltage induced in armature 'E'
E = phi*N*z*p/(60*a); //V
mprintf("Vo... |
c360f75456ebde90102609d16f124ddd4c035892 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.12/Ex1_12.sce | 916f453f86b8173c7d427071d45dbc76825027c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sce | Ex1_12.sce | //Example 1_12
clc;
clear;
close;
format('v',5);
//given data :
VA=75;//V
VB=64;//V
R1=5;R2=5;R3=4;R4=20;R5=12;//ohm
//Considering VA only, making VB short circuit
I=VA/(R1+(R3*R5/(R3+R5)+R2)*R4/(R4+R3*R5/(R3+R5)+R2));//A//from source VA
I1A=I*R4/(R4+R2+R3*R5/(R3+R5));//A//through AB from VA only
//Consider... |
eb47e11d1517c16c166ad6b815f950ec7058c7e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH2/EX2.1/Ex2_1.sce | 81efa702e6333d25829fb7992441c2a1583e898a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | Ex2_1.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 2,Example 1")
Tf=98.6;//temperature of body in farenheit
disp("degree celcius and farenheit are related as follows")
disp("Tc=(Tf-32)/1.8")
disp("so temperature... |
5786afa701ce5a7000a5b88783124dab2fd14b73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH6/EX6.10.1/Ch06Exa6_10_1.sci | 1e498e954ad6f21c45325544f9d258f85e2d54db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sci | Ch06Exa6_10_1.sci | // Scilab code Exa6.10.1 : To calculate the value of magnetic field of the electron whose energy is given Page 274(2011)
q = 1.602e-019; // Charge of an electron, C
r = 0.28; // Radius of stable orbit,m
E = 70*1.6e-013; // Energy of the electron, j
c = 3e+08; // Velocity of light, m/s
B = E/(q*r*c); // Magnetic fie... |
bc89f9b06675d3c6a8ae55ba8101c6854607eb8e | b67defe3c1cae63dd1a79578f840d069568034e6 | /scilab/mulprobln.sci | 486a11826e400f5aef18987ceaf01d4746dafa93 | [] | no_license | wmacevoy/luck | bf5d93ce00e8136634d715057a97706d3aa804b3 | 47e5c8eb1782a1b4f3f5b9e7583290d9a842532e | refs/heads/master | 2023-05-03T14:46:51.353817 | 2023-04-25T03:13:44 | 2023-04-25T03:13:44 | 33,452,250 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sci | mulprobln.sci | function y=mulprobln(x,p)
[nprob,nsamp]=size(x);
pln=log(p);
y=zeros(1,nsamp);
for i=1:nsamp
xi=x(:,i);
ni=sum(xi);
y(i)=gammaln(ni+1)+sum(xi.*pln-gammaln(xi+1));
end
endfunction
|
e05523dc8b6c87bcc309b40a22184517fb15b51d | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH4/EX4.17/ques17.sce | 4ff07ee8da2c30b036892a449d869bf8854d1d6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ques17.sce | //ques16
disp('Maclaurins series');
disp('f(x)=f(0)+xf1(0)+x^2/2!*f2(0)+x^3/3!*f3(0)+......');
syms x a
y=%e^(sin(a));
n=input('enter the number of expression in seris : ');
a=0;
t=eval(y);
a=0;
for i=2:n
y1=diff(y,'a',i-1);
t=t+x^(i-1)*eval(y1)/factorial(i-1);
end
disp(t)
|
c71e25b191d7c1e744ce902b5386abd4b6ac2c43 | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /Load.sce | f0bbc5eed88680d754b81ee058f3de42f89e8695 | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | Load.sce |
//--------------------------------------------------//
// LOAD The Files //
//--------------------------------------------------//
//path=get_absolute_file_path("AsserVisu");
path="../../";
disp('HOME:'+path),
getd(path + "src/graphisme"); // charge les fonctio... |
52697a06019eed593ae3310d5721bd6af135b78d | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH3/EX3.4/Ex3_4.sce | 265709932924b1ac520e471c69f34e2b55184c8b | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | Ex3_4.sce | //Chapter 3 : Systems of Linear Equations
//Example 3.4
//Scilab 6.0.1
//Windows 10
clear;
clc;
P=[1 0 0 0;0 0 1 0;0 1 0 0;0 0 0 1];
A=[1 2;3 4;5 6;7 8]; //let A be any 4*2 matrix
disp(P,'P:')
disp(A,'A:')
PA=P*A;
disp(PA,'PA')
mprintf('the effect of multiplying A on the left by P is to permute the \n... |
d80b92a7fe7e0ab093c5ed07746dc6d2653df6db | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_0621_sram_test/sram_test_graph.sce | 571c407f5379674d63545d145f6e4c4050e8050c | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 895 | sce | sram_test_graph.sce | fd = mopen('sram_test_input','r'); clear data_01;
for i=1:8192
data_01(i,1)=i;
data_01(i,2) = msscanf(mgetstr(7,fd),"%x");
end
mclose(fd)
fd = mopen('read_output.txt','r'); clear data_02;
for i=1:8192
data_02(i,1)=i;
data_02(i,2) = msscanf(mgetstr(7,fd),"%x");
end
mclose(fd)
scf(2);
clf(2);
plot2d("nn",... |
ebed8135221a0852840bfbfd0f0ca6c3f08528ff | 95a91e0c642afba8090e47bd70e3efb36da36e43 | /UP.eps/old_files/Profile_q.2den.sce | ca284e90402dc32db9eb052f045a40246145c19f | [] | 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 | 13,195 | sce | Profile_q.2den.sce | clear;
lines(0);
np=100;
q=2;
//rang=190/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 =16
msig16 =17
... |
416e84bf6c9b066e251da6637c548646eece6826 | f891f5aed2e66371488173c2b9c4e8f977a9f64a | /Sandia Inverter Test Protocol/Tests/VRT/VRT2.tst | c137e2f4e11fedc5abc855427aa2940a8782f4df | [] | no_license | jakedm/svp_directories | d9b85c41b45a3ded7572f9f730e8d1efc8515099 | 19272f8784baabf83e197778768933aef015432c | refs/heads/master | 2021-01-18T18:08:29.224016 | 2017-01-16T20:09:35 | 2017-01-16T20:09:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,627 | tst | VRT2.tst | <scriptConfig name="VRT2" script="VRT">
<params>
<param name="vrt.settings.time_window" type="int">0</param>
<param name="vrt.settings.ramp_time" type="int">0</param>
<param name="vrt.settings.timeout_period" type="int">0</param>
<param name="invt.time_msa" type="float">0.1</param>
<param name="vr... |
471395bc70ed0b2b79479b75fdbfbbc37c11ca00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/7_04data.sci | ca2c461b77bc834cb672ce4523d4e7224c4f9d33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 7_04data.sci | //consider the wing model of example 7.3:
S=0.1;//area of wing(m^2)
c=0.1;//chord of wing(m)
lt=0.17;//distance between airplane'scenter of gravity and aerodynamic center of tail
St=0.02;//tail area(m^2)
It=2.7;//tail settling area(degree)
at=0.1;//tail lift slope per degree
eo=0;//downwash angle at zero lift
d... |
095545aef7a55859b19b842ddb70b291ff9d7825 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH1/EX1.26/ex1_26.sce | 4cf198ca3d93f3fb4a1a066c1d56b3178b96e079 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | ex1_26.sce | //Chapter-1, Example 1.26, Page 41
//=============================================================================
clc;
clear;
//INPUT DATA
V=230;//supply voltage in volts
I1=12;//initial current in A
I2=16;//final current in A
//CALCULATIONS
I=I2-I1;//current through the resistance placed in parallel in A
R... |
54f984ef1fe097442047d873d5aa88696ed8513b | 2c2dc93267283e4aebcffffd5bd76e19ddcf5cc7 | /output/KNN/resultadoKNN4.tst | ed9ef972743369f923c019f46ccc0437eaa6f645 | [] | no_license | joseangeldiazg/probabilistic_keel | c9cf4ddc2cf750cbbeca88e6f84218084892ae1f | 6c5ddf8c98cc7431d523b291e521d1e8607dc662 | refs/heads/master | 2020-05-21T12:26:41.754863 | 2017-01-08T10:29:44 | 2017-01-08T10:29:44 | 55,733,275 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 787 | tst | resultadoKNN4.tst | @relation ecoli
@attribute Mcg real [0.0, 89.0]
@attribute Gvh real [1.0, 88.0]
@attribute Lip real [1.0, 48.0]
@attribute Chg real [1.0, 5.0]
@attribute Aac real [0.0, 88.0]
@attribute Alm1 real [1.0, 94.0]
@attribute Alm2 real [0.0, 99.0]
@attribute Site {cp, im, imS, imL, imU, om, omL, pp}
@data
cp cp
cp cp
cp cp ... |
2c04eaf915d8f8d906591369143a61b5d3e02b57 | 6f8e169f897c94fa9f32e4f4cf91dea355b844a9 | /lar2rc.sci | f891a55159f6e5cc303ee86fa09b4c3eb26feeb1 | [] | no_license | risabhjitu/signal-processing-jitendra | dc693889624ab60aca5245e169cd4db5cfda54ff | 2146d3c9406a80bbc1ca3322ef3fc1c69d34e8f5 | refs/heads/master | 2020-04-16T02:26:11.512486 | 2016-09-08T19:59:50 | 2016-09-08T19:59:50 | 46,218,394 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sci | lar2rc.sci | function k=lar2rc(g)
//lar2rc convert log area ratios to reflection coefficients.
// Calling Sequence
// k = lar2rc(g)
// Parameters
// g: define log area ratios.
// k: returns the reflection coefficients.
// Examples
//X = [7 6 5 8 3 6 8 7 5 2 4 7 4 3 2 5 4 9 5 3 5 7 3 9 4 1 2 0 5 4 8 6 4 6 5 3];
// k = lar2rc(X)... |
8641d06fe753aa2b59e78322bfda3e474cdef0bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH7/EX7.15/7_15.sce | d9aa190d61f00c8a81dc0618e535cbbac6146ec5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 859 | sce | 7_15.sce | clc,clear
printf('Example 7.15\n\n')
V_L=400, V_ph=V_L/sqrt(3)
Pole=6,f=50
R_a=0.2,X_s=3 //armature reactance and synchronous reactance
Z_s=complex(R_a,X_s)//synchronous impedance
theta=phasemag(Z_s)*(%pi/180) //phasemag retuens angle in degrees.not radians
N_s=120*f/Pole //synchronous speed
//subscript 1... |
29a112744cb40b146b294ddbc489030548fea66f | a77a50f3f25853ec6a7b5b8548a13b7a4b4b3980 | /rsc/sceneries/country.sce | d997a9286fe544d21106a391bc6399993b0fb301 | [] | no_license | nidoro/PointlessWars | f051b41cb71df783141e5953d2c03d9cf305150a | 2e8a9c073026ebb07454922cc3caec41d8c68f29 | refs/heads/master | 2021-03-27T13:12:04.182891 | 2016-11-08T15:23:16 | 2016-11-08T15:23:16 | 71,281,107 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,824 | sce | country.sce | %Background
cenario_agricultura.bg
%Music
forest-loop.ogg
% OBJECT-NAME X-RELATIVE Y-RELATIVE X-SCALE Y-SCALE H-FLIP V-FLIP
crow 0.0833 0.1074 1.0000 1.0000 0 0
flagb 0.0952 0.7422 1.0000... |
438afa7f6bf48d488292037bd4db5fbc273930a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH10/EX10.4/10_4.sce | 728dfbf805e00bf0c9d6485d65322ba632f1e061 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | 10_4.sce | Iep=2*10^-3;
Ien=10^-5;
Icp=1.98*10^-3;
Icn=10^-6;
a=Icp/Iep; //say a=α
printf('\n The value of α is %f',a);
Ie=Ien+Iep;
c=Iep/Ie; //say c=γ
printf('\n The value of γ is %f',c);
a1=Icp/Ie;
b=a1/(1-a1); //say b=β
printf('\n The value of β is %f',b);
Ic=Icp+Icn;
Ib=Ie-Ic;
printf('\n The value of Ib is %f... |
70a7f5fd3cba5a3f314c4733717a6a5243aa5c88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.22/Ex5_22.sce | b8205f9a48b354fba0c4a5eb2dceea0e40453279 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,032 | sce | Ex5_22.sce | clc;
v=2200; // rated voltage of motor
p=1500; // KW rating of motor
ie=15; // exciting current
is=750; // short circuit current
cl=60; // core loss in KW
fl=40; // frictional and windage loss in KW
// from table given in question for ie=15,
Ef=2140; // Excitation EMF
np=3; // number of phases
ef=Ef/sqrt(3); ... |
a236894455f3d2500d4cdd9f475f18cac949c9e3 | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/rule/0002.tst | c183d33fcf1c3d1b47b1f52126e6419475f75701 | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 138,558 | tst | 0002.tst | B;
;
;-t
;
;
;
;}
;$
;
;;
;
;Ko"
;O
;5.!
;T
;
;
;X
=;
;>
OlY9r;
;
;
;
;
;
%B0111101111;:
(;
;\z`
;
;k
;i
;6{S
;
;h
;yF)
;
;
;&
;
;
;B
;G
6454542473[;0W
;8
;Y
;Hj
;
;#
;
;+a
;
[3[0%D8533716.01833710239;
;[
;
878... |
b9cb51e0c719f8871a395880a1ec064dcb8ec600 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH3/EX3.12/3_12.sce | 40a579b0903fb7746fd83a665eeceafbb83e5dab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | 3_12.sce | clc
//initialisation of variables
l= 80 //ft
w= 12 //ft
t= 3 //min
Hl= 12 //ft
g= 32.2 //ft/sec^2
Cd= 0.6
//CALCULATIONS
s= sqrt(2*l*w*Hl^(1/2)/(Cd*sqrt(2*g)*t*60))
//RESULTS
printf ('side of the square orifice = %.2f ft',s)
|
7d5598acea548b22320efa130c0c1b0c53d5bfd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /116/CH3/EX3.2/exa3_2.sce | 8953c29e412e2f2a2e751e62959d692ca641146d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | exa3_2.sce |
//Example 3.2
//Page 105
dr=40//dynamic range=400dB
SNR=50//signal to noise ratio =5 0dB
SQR=dr+SNR
n=[(SQR-1.76)/6.02]
disp('This can be approximated to 15 bits per sample')
disp('Assuming excess sampling factor using D-type channel, we choose sampling rate as 48KHz')
disp('Therefore required bi... |
7d46fc845bd37ab4481f225428015dabb51285cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH23/EX23.3/3.sce | a776e8b01c004d1a714ea792efd7d45fc26b7e00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | 3.sce | clc; funcprot(0); //Example 23.3
//Initializing the variables
g = 9.81;
H = 12;
n = 0.8;
w = 300*2*%pi/60;
Q = 0.28;
//Calculations
V_f1 = 0.15*sqrt(2*g*H);
V_f2 =V_f1;
V_w1 = sqrt(n*g*H);
u1 = V_w1;
theta = atand(V_f1/u1);
u2 =0.5*u1;
B2 = atand(V_f2/u2);
r1 = u1/w;
b1 = Q/(V_f2*0.9*2*%pi*r1); //... |
1458f830d18f6541063c2b0684440d7fb3baa847 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH8/EX8.4/ex8_4.sce | 9ea837df0d8c0dd6286a966249d8adc0729c36dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sce | ex8_4.sce | // Example 8.4, Page No-371
clear
clc
R1=240
R2=2000
Iadj=50*10^-6
Vref=1.25
Vo=(Vref*(1+R2/R1))+(Iadj*R2)
printf('Vo= %.2f V', Vo)
|
bfcb78fd869fc1cb92ec9ecf7a41436d64613560 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH5/EX5.14/5Ex14.sce | de3058cb6841fa1d83d18308d45a28c237873a4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | 5Ex14.sce | //chapter 5 Ex 14
clc;
clear;
close;
//let the value to be found out be x
x=sqrt((12.1^2-8.1^2)/(.25^2+.25*19.95));
mprintf("x=%.0f",x);
|
340b63e0d08031762a18f19cbcd0936831131f62 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/examples/misc-examples/dasrt1.sce | 7a06fef8c9e001128fb76e6ecb0f5e0f00459294 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,450 | sce | dasrt1.sce | // DASRT
//
//-----------------------------------------------------------------------
// First problem.
// The initial value problem is..
// DY/DT = ((2*LOG(Y) + 8)/T - 5)*Y, Y(1) = 1, 1 .LE. T .LE. 6
// The solution is Y(T) = EXP(-T**2 + 5*T - 4), YPRIME(1) = 3
// The two root functions are..
// ... |
fbc00132015de3f411ed371e264568f3de8c197c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%s_s_lss.sci | 8af17f113fe426a5f62a48360587fde42db42d01 | [
"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 | 157 | sci | %s_s_lss.sci | function s=%s_s_lss(d1,s2)
//s=d1-s2
// Copyright INRIA
[a2,b2,c2,d2,x2,dom2]=s2(2:7),
s=tlist(['lss','A','B','C','D','X0','dt'],a2,-b2,c2,d1-d2,x2,dom2),
|
103eb564a06234a2b81b68065d62f6932531b230 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Digital_Control_K._M._Moudgalya_2048.zip/Digital_Control_K._M._Moudgalya_2048/CH13/EX13.2/spec1.sci | ccb52cf2ff03a328636466b70902d6ee8c74e18a | [] | 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 | 599 | sci | spec1.sci | errcatch(-1,"stop");mode(2);// Function to implement spectral factorization, as discussed in sec. 13.1.
// 13.2
function [r,b,rbbr] = spec1(A,dA,B,dB,rho)
AA = rho * convol(A,flip(A));
BB = convol(B,flip(B));
diff1 = dA - dB;
dBB = 2*dB;
for i = 1:diff1
[BB,dBB] = polmul(BB,dBB,[0 1],1);
end
[rbbr,drbbr... |
42b0c54774d4c479f996bdd39fe8ee58a5ac523f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH2/EX2.6.5/Example2_6_5.sce | 559f85f421cfb6c967dca3c179f776fcce3fddf4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | Example2_6_5.sce | //Example 2.6.5 page 2.35
clc;
clear;
L= 5; //in KM
n1= 1.5;
del= 0.01;
c= 3*10^8; // in m/s
delta_t = (L*n1*del)/c;
delta_t=delta_t*10^12; //convertin to nano secs...
printf("The delay difference is %.1f ns",delta_t);
sigma= L*n1*del/(2*sqrt(3)*c);
sigma=sigma*10^12; //convertin to nano secs...
printf(... |
ad3a4dc9a6b4d29cfc638b10c22d8126a178e31e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH9/EX9.9/example9_9.sce | 17efb5d14f71e66e47d3f6ead95f239fa9be4b18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | example9_9.sce |
//example 9.9
//page 329
clc; funcprot(0);
//initialisation of variable
nu=1.007*10^-6;
g=9.81;
hf=100;
pi=3.14;
//on solving V1 and V2 in terms of V3 and
// iterate for f1 and f2
//we get
f1=0.019;
f2=0.022;
V3=sqroot(2*g*hf/(8.4*f1+268.85*f2+4.85));
Q3=V3*pi*0.08^2/4;
disp(Q3,"flow in pipe 3(m^3/s)=... |
d7f0e7f798f0e1f03156c8063e0bb2b64786cb2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH36/EX36.07/36_07.sce | f2c037672c97cc4617866a2fa9edccc903cfbb94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,338 | sce | 36_07.sce | //Problem 36.07: A complex voltage v given by
// v = 60sinwt + 15sin(3wt + pi/4) + 10sin(5wt - pi/2) Volts
//is applied to a circuit and the resulting current i is given by
// i = 2sin(wt - pi/6) + 0.30sin(3wt - pi/12) + 0.1sin(5wt - 8pi/9) A
//Determine (a) the total active power supplied to the circuit, and (b) t... |
288c211d95f1cb0ad0a76d6c7600eeaff68d82e1 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/XW75EDU/ATWM1_Working_Memory_MEG_XW75EDU_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | 06529b501109110e32ad3de9e1e8b588ea1c5195 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,383 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
836fbbf18252ba40b6030e4949ed1a59badf40de | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH14/EX14.4/ex4.sce | a6ace02c8f2e5daede887f88d072ddc785e5fcda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | ex4.sce | //ques4
//Volume expansivity, Isothermal and Adiabatic compressibility
clear
clc
//known data
ap=5*10^-5;//K^-1 Volume expansivity
bt=8.6*10^-12;//m^2/N, Isothermal compressibility
v=0.000114;//m^3/kg, specific volume
P2=100*10^6;//pressure at state 2 in kPa
P1=100;//pressure at state 1 in kPa
w=-v*bt*(P2^2-P... |
016c6593a3ef1622e249675e50d6f14b2902ecad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH4/EX4.23/Ex4_23.sce | c5eef9bf36855357a39ce69c2011008efad9e60a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | Ex4_23.sce | clc
clear
//DATA GIVEN
p=5; //pressure of steam in bar
Mwt=50; //mass of water in the tank in kg
t1=20; //initial temp. in deg. celsius
Ms=3; //amount of steam condensed in kg
t2=40; //final ... |
3d0f5528dfcab22b1c544f060dde3bef2330f764 | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /ch24.org/2011/Pre-round, 2011.02.12/R/text08.tst | a3fee0324844cf9566e52b7ed45e9391eb0a5849 | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 99,505 | tst | text08.tst | 9209
-0.00406531
-0.0109912
-0.00239048
-0.020896
-0.0141777
-0.0202562
-0.010688
-0.0205654
-0.0157367
-0.0131494
-0.00981462
-0.00788005
0.00635805
0.00411251
0.0138479
0.00341629
0.00204339
0.00110197
-0.00260221
0.00161945
0.0155493
0.0165488
0.0132429
0.000622339
0.00167477
0.00991311
0.0157071
0.0421734
0.0480901... |
f6fa4406c52a75a2632e58f88b2dda444c4c481a | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH11/EX11.5.b/11_5_soln.sce | 67cf98ccd5ae4a19119252ce06ad1a22f8bd37f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sce | 11_5_soln.sce | clc;
pathname=get_absolute_file_path('11_5_soln.sce')
filename=pathname+filesep()+'11_5_data.sci'
exec(filename)
// Solution:
// pump power loss,
pump_loss=((1/(eff_overall/100))-1)*((p*10^5*Q)/1000); //kW
// PRV average HP loss,
PRV_loss=0.5*((p*10^5*Q)/1000); //kW
// line average HP loss,
line_loss=(HP_frict/100)*PR... |
8f24f6c462b622c574f071e935669ce8e8d88f1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.10/example4_10.sce | dac67884f35890a29ec23b2750d1c1ceb3a2ea33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sce | example4_10.sce |
//example 4.10
//calculate average depth of precipitation using depth area curve
clc;funcprot(0);
//given
I=[25:-1:16]; //isohytes
a=[407 1008 1522 1909 2216 2460 2651 2782 2910 2936]; //enclosed area
ia(1)=407;
for i=2:10
ia(i)=a(i)-a(i-1);
end
r=[25.5:-1:16.5]
for i=1:10
rv(i)=r(i)*i... |
cecf308630b126f31ccd13e6e743ba87b4882578 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH6/EX6.7/EX6_7.sce | 717dc3df9f206ffcf994f656315e5e2768183013 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 950 | sce | EX6_7.sce | //Chapter 6, Example 6.7, page 241
clc
//Initialisation
d= 50*10**3 //distance in m
//Calculation
sl1=5.3 //location standard deviation
st1=3 //time standard deviation
sl2=6.2 ... |
cc2a83526388154f198e19322de116ffb2422fc3 | d88bbaa013fffcd8958629d40b0a440e80b3df02 | /RaizBiseccion.sce | fe0e8f5229d09b7ebadc84a198e46143f401bcee | [] | no_license | DiegoMontano2705/Numerical-Methods-Programs | e4167b46520f4109e99411c760eb551de074ff55 | 31829cea7ffa98b5a7609015177e56430d8c3d33 | refs/heads/master | 2020-04-24T23:58:07.071687 | 2019-04-08T01:00:11 | 2019-04-08T01:00:11 | 172,362,441 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,550 | sce | RaizBiseccion.sce | clear
///////////////////////////////////////////////////////
// Tarea.sce
// Programa de Solucion de una raiz de una ecuacion no lineal
//
// Este programa aproxima la raiz de una funcion por medio del metodo de biseccion
// Patricio Andres Saldivar Flores y Diego Montaño Pérez
// 04 / Febrero / 2019 versio... |
b53da04d8cb7841129a5218636d6010988caa594 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH3/EX3.1/Ex3_1.sce | 63c7e410d33332df11b7e87259f59e90be711d25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_1.sce | clc
// Given
a = 0.48// let side of a unit cell
b = 0.46 // let side of a unit cell
c = 0.40 // let side of a unit cell
p_x = 1/4
p_y = 1
p_z = 1/2
printf("Example 3.1")
qa = a*p_x // distance of point along x axis from origin in nm
rb = b*p_y // distance of point along y axis from origin in nm
sc = c*p_z /... |
993814f7f28801f531be924a90d4d26f807ee6c6 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH1/EX1.4/Ex1_4.sce | 37b968e759f76133949d36e16c18de782bd2883b | [] | 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 | 149 | sce | Ex1_4.sce | errcatch(-1,"stop");mode(2);//Exa:1.4
;
;
ang_d=215;//given
ang_r=ang_d*%pi/180;
printf("%f degree angle is %f radians",ang_d,ang_r);
exit();
|
bb54fe9e430e47d2322af61df45967df2b5b5b58 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/array_member_runme.sci | e26c04696accac4145f9087d70d60bca5d884b0f | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | array_member_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:81153fed1f0452e15f0addfa981dd696063621ac7944ee84131481cc2f58fb84
size 371
|
764ae153350c2f02dca925f53867320731214dad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH3/EX3.1/ex3_1.sce | 1772f7bcf2f5af12a3f93e0481a38dbab61358a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex3_1.sce | // Exa 3.1
clc;
clear;
close;
// Given data
t_c = 303-273;// in °C
t_f = 9/5* t_c+32;// in °F
disp(t_f,"When the temperature is 303 K then the thermometer reading in °F is : ");
T_R = 460 + t_f;// °R
disp(T_R,"The absolute value of the temperature in Rankine scale in °R is :");
|
308217004a4b6e077001f0575922d75da29fcdb2 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-StringAndUtilityFunctions/FLConcatStr-NZ-01.tst | 24a81dfb390b2b8745faff2cc911e8b7ed7834a6 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,937 | tst | FLConcatStr-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
... |
21de76bb47550ce04107fd227b2ae10ee2ca5cb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH3/EX3.15/Exa3_15.sce | 3d3cbd3ab8abc88fc6e7d6d7aa2db2ba3c25b2c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | Exa3_15.sce | //Exa 3.15
clc;
clear;
close;
//given data :
D=500;//Directivity : Unitless
format('v',6)
disp("D = (4*%pi/lambda^2)*Aem");
disp("Aem = D*lambda^2/(4*%pi)");
disp("Aem ="+string(D/(4*%pi))+"lambda^2"); |
40d3ff5edf5ce8dfebd8268dd3612458bb4166ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH4/EX4.7/Exa4_7.sce | ae5a94b14dfafe05122493144c1c1c5678ea8e92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa4_7.sce | //Exa 4.7
clc;
clear;
close;
//given data :
n=10;//no. of elements
//d=lambda/4 separation in meter
disp("Do=1.789*4*n*d/lambda");
disp("Putting d=lambda/4 we get D=1.789*n")
Do=1.789*n;//directivity : unitless
Dodb=10*log10(Do);//in db
disp(Dodb,"Do in db = "); |
0ae8a711792b095b264534790224eb990eef9f13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3888/CH4/EX4.2/Ex4_2.sce | 4f82668680849c4e76bb4cad3dc4161ddfc19e9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,811 | sce | Ex4_2.sce | //Electric Power Generation, Transmission and Distribution by S.N.Singh
//Publisher:PHI Learning Private Limited
//Year: 2012 ; Edition - 2
//Example 4.2
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
max_demand=100; //Maximum demand of generating station in MW
L... |
c3b83bd8bc967570156ca1297aa3f25bc13a4a9e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%sp_i_sp.sci | c367c261d50ae330947ed8c5fb9dbb9106b5a3e7 | [
"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 | 154 | sci | %sp_i_sp.sci | function a=%sp_i_sp(i,j,b,a)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==3 then
a=b;
b=j;
[m,n]=size(a)
a=a(:)
a(i)=b(:)
a=matrix(a,m,n)
end
|
d217c29815c88d3bc056f65d647d1b8ead5791ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH7/EX7.8/Example_7_8.sce | c5ef468b6f7250c1de460914556cfc8a6cfad602 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 632 | sce | Example_7_8.sce | //Scilab Code for Example 7.8 of Signals and systems by
//P.Ramakrishna Rao
clc;
clear x y1 y y2 q t n;
clear;
//y(t)=sum(x(n)),n-2<=n=<n+2
x1=[1,3,5,3,0,0,0,0,0,0];//random variable
x2=[2,4,6,4,0,0,0,0,0,0];
for n=1:4
y1(1,n)=x1(n)+x1(n+1)+x1(n+2)+x1(n+3)+x1(n+4);
y2(1,n)=x2(n)+x2(n+1)+x2(n+2)+x2(n+3... |
e636f57c4a6720e03bf48e3ba16dd0f8fc3a8ebb | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/DEPENDENCIES/muller.sce | 4faba6b753c84066fbb8b7b6838aca34270c2c76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 659 | sce | muller.sce | function x=muller(x0,x1,x2,f)
R=3;
PE=10^-8;
maxval=10^4;
for n=1:1:R
La=(x2-x1)/(x1-x0);
Da=1+La;
ga=La^2*f(x0)-Da^2*f(x1)+(La+Da)*f(x2);
Ca=La*(La*f(x0)-Da*f(x1)+f(x2));
q=ga^2-4*Da*Ca*f(x2);
if q<0 then q=0;
end
p= sqrt(q);
if ga<0 then p=-p;
... |
c73d3ba3dbddb21ebe05fa3dbe350430364df1c4 | 3f321619d7f900b79810e0b5e3722b405b099c72 | /practiseC/oms2.sci | a9bdc05d059ab0ede09b3432951d2066d0340946 | [] | no_license | mina20/cppLinux | a1c1b3dfd78a3edc69e08d50c532b9325a9b4110 | d0b4e950d962315b36f3202920ddda37ac744911 | refs/heads/master | 2020-12-02T22:47:50.704032 | 2017-07-04T06:42:28 | 2017-07-04T06:42:28 | 96,184,034 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 609 | sci | oms2.sci | // s=ut+1/2at^2
// a=1m/sec^2 const
// t=2sec sampling time
// speed limits 30-60 kmph 8.33-16.67m/s
// car density = 10 cars/min
// road length = 2km
clc
clear all
//close all
u=rand(1,10)
u=(8.34*u)+(8.33*ones(1,10)) // velocity in m/s
s=0
t=0
v=u(1,1)
r=1
while((s<=2000)&(v<... |
65af7c0955aa5ae9dcd1e1c469802a11b881e0e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.26.2/exa7_26_2.sce | 64f5f41766bcd5981d4622f4d582d0d3e3058397 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 767 | sce | exa7_26_2.sce | // Example 7-26-2
// Evaluating Lead compensated system
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "/<your code directory>/";
// exec("plotresp.sci");
s = %s;
G = 4 / (s * (s + 2));
Kc = 42.104125;
z = 4.3861167;
p = 18.467361;
Gc = Kc * (s + z)/(s + p);
GGc = G*Gc;
H = syslin(... |
91a5cedb11a59acec7030b7df2d996dad67ea2d7 | 0f261c520945fca9a52b3ed22b537bbbe27fc9f2 | /apendices/main.sce | 073a36de55f66b092a41f62c5e0ae954ff8bde24 | [] | no_license | DouglasdeMoura/TCC | 054be7f3a7931819a938bbc606c79d93ab523c28 | 4b161e28429ce24e44971c66c98917ee803d4c7f | refs/heads/master | 2022-04-02T05:09:13.714876 | 2020-01-30T11:34:50 | 2020-01-30T11:34:50 | 114,670,166 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,461 | sce | main.sce | /*
* Author: Douglas Araujo de Moura (douglas.moura [at] constrinew.com.br)
* Author URI: https://engenharialivre.com/
* License: GNU General Public License v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Repository: https://github.com/DouglasdeMoura/TCC
* Last modified: 2017-11-14
*/
funct... |
5615bf756ba93cabaea0adc80662f0a16cad146e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH11/EX11.17/11Ex17.sce | b6d9858616ce58a2959e3e55ca9e484b4785b657 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | 11Ex17.sce | //Chapter 9 Ex 17
clc;
close;
clear;
x=poly(0,'x');
loss=10;
SP1=x;
SP2=(2/3)*SP1; //given
CP=(100/(100-loss))*SP2;
gain=SP1-CP;
gainper=(gain/CP)*100;
mprintf("The gain percentage is");
disp(gainper)
mprintf("percent");
|
728fc529456626733d1413daaca66f676588df04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH8/EX8.42/Example8_42.sce | 75c4db6ff9781db6b7c04555105cd2f4d3b9290e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | Example8_42.sce | //Example 8.42
clc
disp("The fig.8.99 shows the circuit diagram for a 4-bit, 4-state ring counter with a single circulating 1. Here, 74X194 universal shift register is connected so that it normally preforms a left-shift. However, when RESET is asserted it loads 0001. Once RESET is negated, the 74194 shifts left on ea... |
8b8a12ac98911d8610e11cd52baeb7bb0c465c59 | 2157e5477a68100718fef686429f6ab2d846fffe | /macros/qpipopt.sci | 063bfde1f436d6c824c1500814da88cf39e8d307 | [] | no_license | sidn77/FOSSEE-Optimization-toolbox | 44ca727e3f2dff5b61b43384421ae9e633d95bb1 | 58416c0613131665e14c0143791fb1f305c411e0 | refs/heads/master | 2021-01-11T04:58:15.068871 | 2016-09-29T11:31:12 | 2016-09-29T11:31:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,131 | sci | qpipopt.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the BSD.
// This source file is licensed as described in the file LICENSE, which
// you should have received as part of this distribution. The terms
// are also available at
// https://opensource.org/licenses/BSD-3-Clause
// Au... |
80233d0c09727c33cc3421402d1d7e00445b24c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH1/EX1.9/ex_1_9.sce | 6ab478d2584e8257458cbcadfc0257f830178101 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 693 | sce | ex_1_9.sce | //Example 1.9 // power absorbed and power factor
clc;
clear;
close;
format('v',8)
vs=10;//secondary voltage in volts
p=500;//power drawn in kW
pf=0.5;//
is=(p*10^3)/pf;//secondary current in amperes
zs=vs/is;//impedence of secondary circuit in ohms
rs=zs*pf;//resistance of secondary circuit in ohms
res=zs*(sqrt(1-pf^2)... |
6db30f34b01d3f0b6a9024a3013d4f6f45aebb18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH5/EX5.2/example5_2.sce | fcc8db190e08be806720c1176362d1a343bee571 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | example5_2.sce |
//example 5.2
//page 194
clc; funcprot(0);
//initialisation of variable
rho=1.94;
V1=80;
g=32.2;
Q=8;
z2=3;//elevation
pi=3.14;
theta=60/180*pi;
V2=sqroot(2*g*(V1^2/2/g-3));
Rx=rho*Q*(V1-V2*cos(theta));
Ry=rho*Q*(V2*sin(theta));
R=sqroot(Rx^2+Ry^2);
disp(R,"resultant force on vane (lbs)");
th=atan(R... |
56e0e1c85ac63f6e4150201eb222b47a79633eab | dfeb85807c690d31c5793d6cd2f56937f6f53760 | /PRUEBA scilab/pruebauno.sce | d53cdc439466918796f325b985fdb08ff4a72adf | [] | no_license | Labmec2s2017/hello-world | 37147d6a290b0e2890bb94b7e26099f83d251b0c | d750367aea7dd3aa2b792192b32c826b74c96734 | refs/heads/master | 2021-06-17T15:25:45.565908 | 2019-09-01T21:41:44 | 2019-09-01T21:41:44 | 110,346,855 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | pruebauno.sce |
n=300 // plot 300 data points from serial port "/dev/ttyACM0"
h=openserial("COM5","115200,n,8,1")
i=1;
while i<=n
data(i) = strtod(readserial(h)); // char to number
plot(i,data(i),'r-o'); // real time plot
drawnow(); // show data
i=i+1;
end
|
304271f56dd886a7fc7ffd6ea471583739ec1273 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH9/EX9.4/Ex9_4.sce | 9563245b2165bd1e94e80e5aaf01568be5705bea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 713 | sce | Ex9_4.sce | clear
//variable declaration
//Let the reactions at A be Ha, Va and Ma
//summation of all horizontal forces is zero & vertical forces is zero.
P1=(20) //vertical down Load at 2m from A,KN
P2=(12) //vertical down Load at 3m from A,KN
P3=(10) ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.