blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
74b40ced9a3421d9ee2b08f51c2b1dac48912949 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH5/EX5.15/ex5_15.sce | 7439c22897455a10ed81aa12822a5c330c3c8cf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | ex5_15.sce | //Page Number: 5.31
//Example 5.15
clc;
mp=1; //Assume peak amplitude is unity
//Given
del=0.02*mp;
L=(mp*2)/del;
for (i=0:10)
j=2^i;
if(j>=L)
L1=j;
break;
end
end
n=log2(L1);// bits per sample
disp(n,'Number of bits');
|
983290681d514bb1e159525193f64b771eb86d76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH7/EX7.1/Ch07Exa1.sce | 8a6981324bd39c4854031edc5cbb1d9c8b8d3ce0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sce | Ch07Exa1.sce | // Scilab code Exa7.1: : Page-292 (2011)
clc; clear;
h = 6.6261e-034; // Planck's constant, joule sec
C = 2.998e+08; // Velocity of light, metre per sec
f = 2; // Radius of focal circle, metre
d = 1.18e-010; // Interplaner spacing for quartz crystal, metre
E_1 =... |
7ee8fe54034b34e66ceb906c428ca542cada5ca1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH9/EX9.30/Example9_30.sce | b0580a26cc45742028a392c503e1fb365f8bd960 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | Example9_30.sce | //Chapter-9,Example9_30,pg 9_85
Po=8.952*10^3
V=440
Ra=1.1
Rsh=650
Rint=0.4
Rreg=50
Ml=450
Vbr=2//brush drop
Il=24
Rat=Ra+Rint//series connection
Rsht=Rsh+Rreg//series connection
Ish=V/Rsht
Ia=Il-Ish
Acl=(Ia^2)*Rat//armature copper loss
Fcl=(Ish^2)*Rsht//feild copper loss
Bdl=Vbr*Ia//brush drop loss
TL... |
bdecb9ca25e9799f13d764a901423f1aad585b8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH2/EX2.1/Ex2_1.sce | ae008ae25894981d2b4a37d398322d73611ac18e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 957 | sce | Ex2_1.sce | //CHAPTER 2 ILLUSRTATION 1 PAGE NO 57
//TITLE:TRANSMISSION OF MOTION AND POWER BY BELTS AND PULLEYS
clc
clear
//===========================================================================================
//INPUT DATA
Na=300;//driving shaft running speed in rpm
Nb=400;//driven shaft running speed in rpm
Da=60;//... |
132a2162b9d1fe3b1f1f48ae97e83bcd0d758ccc | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-StatisticalFunctions/FLPercentWin-NZ-01.tst | 2815f66a218aea0f5cad1ec5b0617c3d28782e9c | [] | 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 | 2,122 | tst | FLPercentWin-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.
-... |
1bc625858608e271be1704ae622d7dbaa4247825 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH5/EX5.17/5_17.sce | 4f5798dd9b6aaeed5e6abf2c22e1b73253ce59df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | 5_17.sce | clear;
clc;
l=100;R=10;G=10^-5;Vs=40;Zr=0;
Zo=sqrt(R/G);
P=sqrt(R*G);
Zin=Zo*(Zr+(Zo*tanh(P*l)))/(Zo+(Zr*tanh(P*l)));
Is=Vs/Zin;
V=(Vs*(cosh(P*l)))-(Is*Zo*(sinh(P*l)));
Vm=2*V;
printf("Potential at mid point = %f volts",Vm);
//the difference in result is due to erroneous value in textbook.
disp("The differe... |
38f021bbc1b30080a228bbcb31d7b8f9667b6e50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH5/EX5.1/46ex.sce | b30e2a92386c76908a14881260d79a3aad95164a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | 46ex.sce |
clc;
clear;
close;
//46ex
//nth term in the sequence 2,4,6,8,10...is 2n. 5th term is?
term5=2*5
//nth term in the sequence 1,4,9,16,25 is n^2. 5th term is?
ex2_term5=5^2
|
ce10592c6fc58b6fec84051b082bdf97180e4747 | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/microdaq_macros/mdaq_led_write.sci | e768a59497cea3c2f93a58e3e6585126e1d1977e | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 518 | sci | mdaq_led_write.sci | function mdaq_led_write(link_id, led, state)
if link_id < 0 then
disp("Wrong link ID!")
return;
end
if led > 2 | led < 1 then
disp("Wrong LED number!")
return;
end
if state <> 0 then
state = 1;
end
result = call("sci_mlink_led_set",..
... |
a1a925f9292d89974a5461f639ee70d24d98ba36 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/Chi-RW-C/results/Chi-RW-C.led7digit-10-1tra/result9.tst | c69fcff6b8bf30a609d79787b4e37d9fefa05b30 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | tst | result9.tst | @relation led7digit
@attribute Led1 real[0.0,1.0]
@attribute Led2 real[0.0,1.0]
@attribute Led3 real[0.0,1.0]
@attribute Led4 real[0.0,1.0]
@attribute Led5 real[0.0,1.0]
@attribute Led6 real[0.0,1.0]
@attribute Led7 real[0.0,1.0]
@attribute number{0,1,2,3,4,5,6,7,8,9}
@inputs Led1,Led2,Led3,Led4,Led5,Led6,Led7
@output... |
9c8d441727405c18e97b2b9d8a34623a8b2579fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH7/EX7.7/7_7.sce | 88313963c3b33ccd99114885f861a2a95ae51242 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_7.sce | clc
clear
//Initialization of variables
Hi=55
Pi=11.8
xi=0.514
H2=18.1
H3=26.9
Pi2=17.4
//calculations
ai=Pi/Hi
gam=ai/xi
a2=Pi/H2
gam2=a2/xi
a3=Pi2/H3
gam3=a3/(1-xi)
//results
disp("part a")
printf("Activity of acetic acid = %.4f ",ai)
printf("\n Activity coefficient = %.4f ",gam)
disp("part b")... |
9cabc7254c585df1f90bf3510ac66a58567ac8f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH5/EX5.8/Ex5_8.sce | b5dc7aff61fefd5aa4b4e226fb58cb3b9146d9a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 792 | sce | Ex5_8.sce | //Example 5.8//
cx=0.01;// distance of x
c0=0;////for initially pure A
c=cx-c0
mprintf("c = %f ",c)
a=1;//given
e=a-c
mprintf("\ne = %f ",e)
b=0.9928;//As z= 1.90 erf(z)=0.9928 //Interpolating table 5.1 gives
d=0.99;//Interpolating table 5.1 gives
f=0.9891;//As z=1.80 erf(z)=0.9891 //Interpolating table 5.1... |
63d9bca0a165eddb02000fde28ae45d38c5a0fa8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH9/EX9.10/ex9_10.sce | 7fa09baa5f6e7c9ebe8e39806d0f6f118383482c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | sce | ex9_10.sce | clc;
t=(225990+3360)/2769; //calculating temperature
disp(t,"Temperature in celcius = "); //displaying result |
eb1f6dad9f75fdc5d357b2b8c52d5d3a89fdb4eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH15/EX15.2/Ex15_2.sce | 88f5060e4d8f33e969a8ea2e80225b8ea37e9756 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | Ex15_2.sce | //Chapter 15: Environmental Pollution and Control
//Problem: 2
clc;
//Declaration of Variables
v0 = 30 // cm cube, effluent
v1 = 9.8 // cm cube, K2Cr2O7
M = 0.001 // M, K2Cr2O7
// Solution
Oeff = 6 * 8 * v1 * M
mprintf("30 cm cube of effluent contains =:%.4f mg of O2\n",Oeff)
cod = Oeff * 1000 ... |
ea39be0143e866648aefaf753f258c32556d1caa | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH2/EX2.5/5.sce | 03c23ebf3958790c79d59df42a3b4bd762af4d97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 753 | sce | 5.sce | clc
//calc pressuer at different heights considering on density change in air
p_atm=14.7;//psia
g=9.81;//m/s^2
//P2=P1*[1-(acc. due to gravity)*(mass of air)*(height)/(univ. gas const.)/(temp.)]
T=289;//K
R=8314//N.m^2/Kmol/K
//for height of 1000ft=304.8m
h=304.8//m
p_1000=p_atm*[1-g*29*h/R/T];
disp("pressure... |
bc93f06305ae83eb8b68b1af2d78019613b31c7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH7/EX7.3/7_3.sce | 5f97068558d9300c6f43e5a32ee2f222b123b133 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | 7_3.sce | //Length of belt
N2=80
N1=200
d1=240
d2=d1*N1/N2 //mm
r1=120 //mm
r2=300 //mm
l=2500 //mm
//length of crossbelt
L=%pi*(r1+r2)+2*l+((r1+r2)^2)/l //mm
printf("The length of crossbelt L=%.2f mm",L)
|
01bde7bc5800edb75a1c75e2f236de39a012efbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH14/EX14.2/14_2.sce | 526b670c3f32b2bfb1ba1f5aafb3bbb58ee16d25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | 14_2.sce | clc
//initialisation of variables
clear
wcb= 2 //ton
wc= 100 //ton
wa= 6.5 //ton
wca= 20
r= 0.8
r1= 1.2
//CALCULATIONS
wca1= wc/wa
wca2= wcb*(wca1/wca)^1.5
Wca= wcb*r^(9/4)*(1/r1)^(9/4)*(wca1/wca)^1.5
//RESULTS
printf ('(Wc/W)a = %.2f ',wca1)
printf ('\n Wc,a = %.2f ton',wca2)
printf ('\n Wc,a = %.2f t... |
6a8929029d7883ea557793ddf2980f9041edeb1e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_T._L._Floyd_61.zip/Electronic_Devices_T._L._Floyd_61/CH4/EX4.3/ex4_3.sce | 60823111dedaef884ca7793bf337761d398e9fdc | [] | 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 | 67 | sce | ex4_3.sce | errcatch(-1,"stop");mode(2);//ex4.3
disp('cant be shown')
exit();
|
47568858f919aad4cbda8bb890f31283fe4518e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH4/EX4.9/4_9.sci | aabf42e4e74eed5413c1b65a7a0b7de01a7a8d01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | sci | 4_9.sci | // Calculate the time constant
ess=5;
A=0.1;
tc=ess/A;
disp(tc,'time constant(s)') |
d5d6449ec0346582741589b076d745549157fd02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.23/ch12_23.sce | 3cbeb1682b4a4d767541d3f852e5ef6d8d18eb57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | ch12_23.sce | clear;
clc;
Po=20000;
N=1440;
w_m=2*%pi*N/60;
T_e=Po/w_m;
f1=120;
P=4;
w_s=4*%pi*f1/P;
r2=.4;
x2=1.6;
f2=50;
Z1=r2+%i*x2*f1/f2;
Z=abs(Z1);
ph=3;
V_s=400;
s=(ph/w_s)*(V_s/(Z*sqrt(3)))^2*(r2/T_e);
N=w_s*f1/(4*%pi)*(1-s); printf("motor speed at rated laod=%.2f rpm",N);
s_m=r2/imag(Z1); printf("\nsl... |
1f253eb5d7bbcd87090eee77551dbccc633a9757 | 87b7a8315d484b2246311e25d1473f07ddfa1024 | /stat.sci | 5127ef84638b042fcd9f0175f0c5d394b2261173 | [] | no_license | ayushg1993/new-directory | d80638f6a8a7532543d7a3a9e5b8d9f62829425e | 9c41028638329287d92c4e22a602717746bb0019 | refs/heads/master | 2021-01-04T02:36:51.557632 | 2013-12-18T06:58:46 | 2013-12-18T06:58:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,088 | sci | stat.sci | function [mm] = stat(x)
mm = 0
x_mean= mean(x)
standard_deviation = st_deviation(x)
y = x - mean(x)
medx = median(x)
//modx = mode(x)
medy = median(y)
//mody = mode(y)
y_mean = mean(y)
printf('\nmean of data is: %f', x_mean)
printf('\nmedian of data is: %f', medx)
//printf('\nmode of data is: %f', modx)
printf('\nstand... |
34a4ab76e1685216e10754132f3738fc8cd43509 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH9/EX9.9/9_9.sce | e01e0fdbd361f8f0be256e00606b7395b0b3f5d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sce | 9_9.sce | clc
//initialisation of variables
sp=1400 //speed in revolutions per min
ma=15 //mass in kgs
r=0.287
p1=1 //pressure in bar
t1=303 //temparature in k
p2=7 //pressure in bar
c=0.05 //clearance volume/stoke volume
pi=(22/7)
n=1.2
m1=15
meff=0.85 //mechanical efficinecy
//CALCULATIONS
rp=(p2/p1)
m=ma/sp
va... |
1a02d9109318947b968d011c5d02dcf70bd3e5cb | e02aa9695b075784e5d6aba93cab02d1864f1039 | /Analyse/rendu_yoeung_michel_et_ndihokubwayo_billy_G2/fichiers_sce/probleme2.sce | 8fdc5d90180c89d503887b5374478cdc0a4b1322 | [] | no_license | michelprojets/Ensimag1 | 1a4cf84203f0e63a71ece278bf364d32d2219825 | b9ed4a050c7c548781a9e26d99747e8883c5c1f5 | refs/heads/master | 2021-09-13T15:47:16.632446 | 2018-05-01T18:17:26 | 2018-05-01T18:17:26 | 103,514,194 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | probleme2.sce | // exp 6
function f = fourier(x,n)
f=0
for i=0:(n+1)
f=f+((sin(2*(2*n+1)*%pi*x))/(2*n+1))
end
f=f*(4/%pi)
endfunction
n = input('Entrer le nombre de termes : ')
x=(-1/2):0.01:(1/2)
plot2d(x, fourier(x,n), style=5)
xtitle("Graphe série de Fourier avec n=" + string(n))
xlabel("x"); ylabel("f(x)"... |
f36ea3132cd29f373ab474d8981695d2a500fba5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH8/EX8.4/Ex8_4.sce | d757db43a06e156f11d3588caf479f443f707f90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 957 | sce | Ex8_4.sce | //Variable declaration:
k = 9.1 //Thermal coductivity of steel rod (Btu/h.ft.°F)
p = 0.29*1728 //Density of steel rod (lb/ft^3)
Cp = 0.12 //Heat capacity of steel rod (Btu/lb.°F)
P = 15+14.7 //Absolute pressure (psia)
Ta = 71.0 //Initial temperature (°F)... |
97ef3783876eec7dcb35899e211ebec72394e29d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH8/EX8.10/exa_8_10.sce | 1c2f3624f6bdd71d51c2d176f52319a28addc376 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | exa_8_10.sce | // Exa 8.10
clc;
clear;
close;
// Given data
f_x= 1000;// in Hz
Y= 2;// points of tangency to vertical line
X= 5;// points of tangency to horizontal line
f_y= f_x*X/Y;// in Hz
disp(f_y,"Frequency of vertical input in Hz")
|
fc580dc2b07890ea2e27c84ddaff81b5ee428972 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH12/EX12.5/Ex12_5.sce | 8d8b2f445794fc3952a7c691c63f6f7c5e9007af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | Ex12_5.sce | //chapter12
//example12.5
//page242
Vcc=12 // V
gain_beta=100
Vbe=0.3 // V
Ic=1 // mA
// since gain_beta=Ic/Ib
Ib=Ic/gain_beta
// since Vcc=Ib*Rb+Vbe we get
Rb=(Vcc-Vbe)/Ib
gain_beta2=50
// since Vcc=Ib*Rb+Vbe we get
Ib2=(Vcc-Vbe)/Rb
Ic2=Ib2*gain_beta2
printf("for beta = 100, base resistor = ... |
3499c67a1203c5cbcc54bc574d24651e228596a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH6/EX6.1/ch6_1.sce | 96510720a2bd1ce05fa502308cf93685ca828154 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,505 | sce | ch6_1.sce | clc;
clear;
printf("\t\t\tChapter6_example1\n\n\n");
// Determination of the fluid outlet tetnperature and the tube-wall temperature at the outlet.
// properties of ethylene glycol at 20 degree celsius from appendix table C5
Cp_20=2382;
rou_20=1.116*1000;
v_20=19.18e-6;
kf_20=.249;
a_20=.939e-7;
Pr_20=204;
// specifica... |
7e73c16e20b68d5183729569b8f60045b2ede90d | c565d26060d56f516d954d4b378b8699c31a71ef | /IEEE-Chile/pid/pid.sci | e2471b4edc902430815a543a847e57eaeb569e12 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 1,754 | sci | pid.sci | //PI tuning
x=0;
function [temp,CO,et,setpoint] = pid(disturbance)
global temp heat_in fan_in et SP CO eti et1 CObias x
if x<=600;
setpoint = 36;
elseif (x>600 & x<=1200);
setpoint = 40;
elseif x>1200;
setpoint = 31.25;
end
L1 = 10; tau1 = 90; k1 = 0.62; Ts = 0.4;
R1 = k1/tau1; a1 = R1*L1;... |
b13895f74ca9d20cfd83b5c0f091ff0cecc4ddbe | 0764595c2d11c42afddd3351da341f9e9c4db651 | /codigos_aula/EliminaçãoGauss.sci | 507c5c5fe36c9a7bb5c67041d4d03c4170078bd8 | [] | no_license | ThiagosLima/metodos-numericos | e3933c43362c6f047714980841f7c64f1a345bb0 | df21508b72b94e64a424e6b50564e948019a9eab | refs/heads/main | 2022-12-30T10:06:57.560852 | 2020-10-05T00:41:52 | 2020-10-05T00:41:52 | 301,257,290 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,611 | sci | EliminaçãoGauss.sci | function x=EliminaçãoGauss(A,b)
[N N]=size(A); //Saída- x(N) com solução para A(N,N)*x(N)=b(N).
C=[A b];
printf("Matriz Aumentada [C=A|b]")
disp(C)
for p=1:N-1
[max_linha_p,index]=max(abs(C(p:N,p))); // pivotamento
if(index<>1) then
printf("Trocando linhas %d e... |
5231f0068c9bdb4eb857032b74aa44410efa5061 | 87749481136b7b72a47930f587f27667e0c0f97d | /Non-linear transformations/Task_1.sce | e914519a4c1700949a70a94e505091e96b201c4b | [
"MIT"
] | permissive | brooky56/Digital_Signal_Processing | cf15e5ac443a16edcb3efc8d7703cf4746dedcba | f28651e40b0a99b79e9ba27deabc4db8bfc7f08e | refs/heads/master | 2022-06-30T17:59:28.072522 | 2020-05-11T18:58:39 | 2020-05-11T18:58:39 | 242,598,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,527 | sce | Task_1.sce | clear all;
close;
clf();
//-----------------------------------------------------------------------------
s = chdir('C:\Users\work\OneDrive\Documents\SciLab\lab_v6')
exec('CLIP_F.sce')
exec('DIST_F.sci')
// Our recorded IRC
[signal, Fs, s_b] = wavread("C:\Users\work\OneDrive\Documents\SciLab\lab_v6\guitar.wav");
signal ... |
abbc0889095fac24da97424d8549c9aa90083a4b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH34/EX34.4.2/ex4_2.sce | e6ba3df1f8aabefd486e6c847959f1e5a010568b | [] | 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 | 97 | sce | ex4_2.sce | errcatch(-1,"stop");mode(2);
disp('the probability of getting an even no. 1/2=')
1/2
exit();
|
0eafa172fdf10b5928f28d9d4fe10e25e57a71d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH19/EX19.6/19_6.sce | e8d98364c7b5a18078a7af44ea9cd26f5b569b98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | 19_6.sce | clear;
clc;
V=220e3;
Zl=complex(.8, .2);
Xline=.2;
Xt=.05;
Sb=100e6;
Vb=220e3;
v=V/Vb;
X=Xline+ Xt;
I=conj(Zl/v)
phi1=atand(imag(I)/real(I))
Vbus=1+ I * X*exp(%i * %pi/2)
phi2=atand(imag(Vbus)/real(Vbus))
vbus=abs(Vbus)
vbus=round(vbus *1000)/1000
vbus=vbus*Vb*1e-3;
pf=cosd(-phi1+phi2)
m... |
5aa979cdc98ce8d5cfa168598e9b2211201d3a91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH23/EX14.23.29/Ex14_23_29.sce | 312bf710a30217b39d35cb344ebdac6d34a24699 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_23_29.sce | //Section-14,Example-1,Page no.-PC.128
clc;
Mo_SA=1*(0.3154)*(0.02192)
disp(Mo_SA,'Moles of salicylic acid')
Ma_SA=2.968*10^-3*138.12
disp(Ma_SA,'Mass of salicylic acid')
pr_SA=(0.4099/0.4208)*100
disp(pr_SA,'Percentage by weight of sample that is salicylic acid')
|
996920bb91f36cef1e3a9e09c4443563f739883a | 7411fe89ce8ad5b919ddca183c5b47c8b31010cd | /macros/pythonEnd.sci | 2d05619fbba5c74d9d590dec9d771759468a1e30 | [] | no_license | sengupta/Scilab-Python | ce07c1f272d0eabeeef77ac5d8bef2e261214c6b | 7141c5ef93880138619e91774fc71af9a7913e20 | refs/heads/master | 2021-01-25T04:52:57.198542 | 2011-05-05T19:32:31 | 2011-05-05T19:32:31 | 1,707,951 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 53 | sci | pythonEnd.sci | function pythonEnd()
call("py_end")
endfunction
|
f98b10315980732e832c3ce4e197fce10f9307ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH7/EX7.21/Ex7_21.sce | 31e9abf0a72745a38a19d380aa4b671475f1acfb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | Ex7_21.sce | clc
//initialization of new variables
clear
a=30 //cm
t=2.5 //cm
S=15 //cm
s=5 //Tonne
// calculations
I=a*a^3-25*25^3
I=I/12
tau_zx=s*1000*27.5*t*25/(4*35000*t)
FA=S*t*tau_zx
tau_xy=s*1000*a*t*27.5/(4*35000*t)
FB=tau_xy*t*S
//Results
printf('case A \n F = %d kg',FA)
printf('\n case B \n F= %d kg',FB)
|
a6a90b13569556c5eef5b79f0824924fcf09b8ca | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/set_infos.sci | 7a601694b6cc1a58a25451cb469a0829bea33cfc | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sci | set_infos.sci | function set_infos(t,level)
global('m2sci_infos')
select level
case 0 then
txt=[txt;' ';'// '+t]
case 1 then
m2sci_infos(level)=%t
txt=[txt;' ';'//! '+t]
case 2 then
m2sci_infos(level)=%t
if logfile>0 then write(logfile,t,'(a)'),end
txt=[txt;' ';'//!! '+t]
end
txt=resume(txt)
|
249759fcb7b115db532b909a99acbebb41be0496 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH13/EX13.17/ex13_17.sce | 672c3ad06ac939b95b9e60ee635095db9d97a414 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | ex13_17.sce | clc;
v=120; //potential diff in volt
r=240; //resistance in ohm
i=v/r; //current in Ampere using Ohm's law
disp(i,"(a)Current in each bulb in Ampere = "); //displaying result
p=i*i*r; //power in Watt
disp(p,"Power dissipated in each bulb in Watt = "); //displaying result |
fdaf8ce57e4598fbf0ec7f5722e009ae8f02b0ef | dd08d64a0cac1a918103cd234b1f6c60cc1a3e97 | /Scilab/OraclePG.sce | 882650f226262a56ece5f97809fada029e554f1d | [] | no_license | adrienlina/optimisation | abdd4989d24a2bd53f00c91217fde24663baacac | fac2882270c41fb9b0d6a771712bd0c323f94a04 | refs/heads/master | 2016-08-12T07:38:12.705712 | 2016-04-26T17:58:44 | 2016-04-26T17:58:44 | 53,654,613 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | OraclePG.sce | function [F,G,ind] = OraclePG(qc,ind)
//AdTInv = inv(AdT);
//B = [-AdTInv*AdC;eye(n-md,n-md)]
//q0 = [AdTInv*fd;zeros(n-md,1)]
v = q0+B*qc;
u = r.*v.*abs(v);
if ind==2 then
F = 1/3*u'*v+pr'*(Ar*v);
G = %nan;
elseif ind==3 then
G = B'*(r.*v.*abs(v))+(Ar*B)'*pr;
... |
619175770bbdfc25708a87e9aec866772d07a264 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH3/EX3.5/Ex3_5.sce | b67ae03a236c679d4fe8515849087fd93b6e49f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 130 | sce | Ex3_5.sce | clear
//Given
m=9*10**9
q=4*10**-6
//Calculation
V=2*q*m
//Result
printf("\n Electric potential is %0.3f *10**3 V", V*10**-3)
|
a861e49cbe505de61e53b453fa58faa367ed2f6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH3/EX3.17/Ex3_17.sce | f4d914d9cf5099a1a4dadccda66de6ad6e3848be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_17.sce | //example-3.17
//page no-101
//given
//atomic radii of polonium,rhodium and chromium are
rPo=1.7*10^(-10) //m
rRh=1.34*10^(-10) //m
rCr=1.25*10^(-10) //m
//latice strucrure of polonium , rhodiun and chromium are SC, FCC and BCC resp
//so lattice constants are
aPo=2*rPo //m
aRh=2*sqrt(2)*rRh //m
aCr=4/sq... |
2258888198cc270df0af90089827bf4a3a2d9410 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH8/EX8.4/ex8_4.sce | 278de587f455e395337e1e39a54f0bef9de52456 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | ex8_4.sce | //Example 8.4, page no-508
clear
clc
//(a)
T=200
T0=300
Ti=70
t=3
x=(T-T0)/(Ti-T0)
tow=-t/log(x)
printf("(a)\nTime constant tow=%.1f s",tow)
//(b)
t1=5
T5=T0+((Ti-T0)*%e^(-t1/tow))
printf("\n(b)\nTemperature after 5 seconds T5 = %.2f°C",T5)
|
35b70f82d8857677eeec992fa5980be449855eae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH19/EX19.1/Ex19_1.sce | 481abd029f5dd48624df21f9494f298e08f3290f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | Ex19_1.sce | clc;
//e.g 19.1
Vcc=10;
Rc=10*10**3;
Rb=1*10**6;
beta=100;
Vbe=0.7;
Ib=(Vcc-Vbe)/Rb;
disp('microA',Ib*10**6,"Ib=");
Ic=beta*Ib;
disp('mA',Ic*10**3,"Ic=");
Ie=Ic;
re=25/(Ie*10**3);
disp('ohm',re*1,"re=");
Ri=beta*re;
disp('kohm',Ri*10**-3,"Ri=");
Ris=(Rb*beta*re)/(Rb+beta*re);
disp('kohm',Ris*10**-3,"Ri... |
2842a1dc68c6798a61b67bb0c463a6f14cae59bf | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/gpio_in.sce | 6d7ae269be41f723768bcc82612b194f4f8cd5b5 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | gpio_in.sce | style.fontSize=14;
style.displayedLabel="<b>Digital In</b><br>%1$s";
pal1_2 = xcosPalAddBlock(pal1_2,"gpio_in",[],style);
pal6 = xcosPalAddBlock(pal6,"gpio_in",[],style);
|
55455711af4304f57800f319f42b9b44e42f0d52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH8/EX8.5/Ex8_5.sce | 771bc32ede2b21a3c2f2382fd852bfe4adade0b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | Ex8_5.sce | clc
//initialization of variables
clear
L=2.5 //m
A=6.02 //cm^2
Q1=105
s=796.5 //kg/cm^2
// calculations
P=2*A*s
printf('The safe load is %d kg',P)
// Results
// wrong calculations in the text
|
808673aedb77562912da660669e5b30304ae27cf | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RP44.prev.tst | 716e2f795e523f9c5609ba8dc70c482f8fb60d0b | [
"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 | 4,539 | tst | RP44.prev.tst | # y^4 = m^2 + n^2 ?
0 0
1 1
2 2^4
3 3^4
4 2^8
5 5^4 = (7)^2 + (2^3*3)^2 proper representation by 7^2 + 24^2
= (3*5)^2 + (2^2*5)^2 [2]
6 2^4*3^4
... |
56198e1224bd9a1528bc78a93164695b455b572b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH1/EX1.18/Signals_Ex_1_18.sce | f8615872b9ea007c8e0b81f48dce22d353722f7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 993 | sce | Signals_Ex_1_18.sce | clear ;
clc ;
close ;
// CTS Signal
A =1; // Amplitude
Dt = 0.005;
T1 = 2; //Time in seconds
t = 0: Dt:T1 /2;
for i = 1: length (t)
xt(i) = A;
end
// Continuous time Fourier Transform
Wmax= 2*%pi*1; // Analog Frequency = 1Hz
K =4;
k=0:(K/1000):K;
W =k*Wmax/K;
xt=xt';
XW =xt*exp(-sqrt(-1)*t'*W)*Dt;
XW_... |
cd77ce999a148ad4438fa2c56eab771e7211b4cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /668/CH3/EX3.9/eg3_9.sce | a337cde0e546bac3ef395eccc44cb2dc6e5ebd71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | eg3_9.sce | E = 2*10^7; //in V/m
m0 = 0.91 * 10^-30; //in kg
q = 1.6*10^-19;
h = 1.05*10^-34; //in J.s
m1 = 0.065*m0; //for GaAs
m2 = 0.02*m0; // for InAs
E1 = 1.5; //in eV
E2 = 0.4; //in eV
p1 = -4*(2*m1)^0.5*(E1*q)^1.5/(3*q*h*E);
disp(p1,"Tunneling probability is exponent to the power")
tp1 = %e^p1;
disp(tp1,"Tunnelin... |
0b62dbaf82b66667dbb0e93dae8f8e99d1778ef2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH6/EX6.24/Ex6_24.sce | 6d0152e1c904c6e4b03614fc5b98a056765046b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | Ex6_24.sce | clear;
clc;
printf("\nEx-6.24\n");
//page no.-195
//given
rho=1.73*10^-8;......//resistivity in ohm m
M=63.5;...........//atomic weight
d=8.92*10^3;......//density in Kg/m^3
N=6.023*10^23;......//avagadro no.
e=1.6*10^-19;.......//charge
m=9.11*10^-31;......//mass of e
no=(N*d)/M........//no of electrons p... |
dd4ff227d967da9c95e8b722e0c76db76dd1488b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH8/EX8.12/Ex8_12.sce | 65cea2e66cbb5edad812e1edbbdd2996bc476e24 | [] | 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 | 360 | sce | Ex8_12.sce | errcatch(-1,"stop");mode(2);//Example 8_12
;
;
//To find the fundamental frequency
l=3*10^-3 //units in meters
d=3.5*10^3 //units in kg/m^3
Y=8*10^10 //units in N/m^2
v=1/(2*l)*sqrt(Y/d)
v=v*10^-6 //units in Hz
printf("Fundamenta... |
884bfd7e2c8051496bcfedcd5c86ec08c4fd989f | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH5/EX5.2/5_2.sce | 937bd37f1f059d0d56530f5257ba8003ded6d8f5 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | 5_2.sce | clc;
T2=15+273;
T1=800+273;
eta=1-(T2/T1);
p4=210;//bar
p2=1;//bar
R=0.218;
sA_s4=R*log(p4/p2);
cp=1.005;
sA_s2=cp*log(T1/T2);
output=(T1-T2)*(sA_s4-sA_s2);
W41=T1*(sA_s4-sA_s2);
cv=0.718;
W21=cv*(T1-T2);
gross=W41+W21;
disp(W41)
work=output/gross;
disp("work ratio is");
disp(work)
|
28001c989eb83804465d6975a3b1bbf166fcef82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH7/EX7.5/c7_5.sce | 20e742b331c23a5fecabdcaa8d776d89f4c7f5bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,857 | sce | c7_5.sce | //Superheated water vapor enters a valve at 3.0 MPa, 320C and exits at a pressure of 0.5 MPa. The expansion is a throttling process. Determine the specific flow exergy at the inlet and exit and the exergy destruction per unit of mass flowing, each in kJ/kg. Let T0 = 25C, p0= 1 atm.
//solution
//variable init... |
5999a05b7cd92892a79e789d9ee4b03376d1b45e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH16/EX16.14/135ex1.sce | f84274bd110bdf639d32e27b772955a26ade3f92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | 135ex1.sce |
//y=x^2-5*x+5
clear;
clc;
clf;
close;
x=linspace(-2,7,10);
y=x^2-5*x+5;
plot2d(x,y,3);
plot2d3(x,y,7);
x=poly(0,'x');
y=x^2-5*x+5;
x=roots(y)
for x=0:5
for y=5:20
plot(x,y,'r.pentagram'); //y>0 region
end
end
xtitle("Using quadratic inequalities to describe regions","x axis","y axis");
xgr... |
72fe411aba632686140216ad1f7dfba925641c4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH5/EX5.5/Ex5_5.sce | d2e531011dc63e68998ca7bb0a83e9231c584d27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_5.sce | //Example 5_5
clc;
clear;
close;
format('v',6);
//Part(a) Derivation
//Part(b)
//given data :
mu_p=500;//cm^2/V-s
q=1.6*10^-19;//C/electron
rho=3;//ohm-cm
V0=0.4;//V//Barrier Height
Vd=4.5;//V//Reverse Voltage
D=40;//mils
D=D*10^-3;//inch
D=D*2.54;//cm/in
A=%pi/4*D^2;//cm^2
NA=1/rho/mu_p/q;//cm^-3
W=... |
df94038dda3dbcedeee86c6dec7ce2d499530cf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH3/EX3.18/3_18.sci | c1fd97e0a19e229eba4d408c055138a0c4124ae9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sci | 3_18.sci | //laplace//
s=%s;
G=syslin('c',(5*(s+2))/((s+3)*(s+4)));
disp(G,"G(s)=")
x=denom(G);
disp(x,"Characteristics Polynomial=")
y=roots(x);
disp(y,"Poles of a system=")
|
1331df2247a8e51b89e9e6efd6f2f251318da368 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH11/EX11.11/example_11_11.sce | e481e2e404190e530c35e9402a8a0d407def9285 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 768 | sce | example_11_11.sce | clear;
clc;
disp("--------------Example 11.11---------------")
// example explaination
printf("This example shows an exchange in which a frame is lost. The sequence of events that occur is as follows :\n\n* Node B sends three data frames (0, 1,and 2), but frame 1 is lost.\n\n* When node A receives frame 2, it disc... |
87c4b3e23d2f3d08f98361a3b85af4f9661c7f78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH19/EX19.1/Example1.sce | 4e2e133132b0d8db8d4538177d023ac4819cf444 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,415 | sce | Example1.sce | clear
pwd
curr=ans
flag=1
mode(-1)
clc
disp("INSTRUCTIONS : ")
printf("\nHere all instructions are preloaded in the form of a demo\n\nInitially the whole perl script is displaying and then \n the result of the same can be seen in the command line interpreter.\nPLEASE MAKE SURE THAT THE PERLSCRIPT INTERPRETER\nEXIST... |
929ac1cf0d7b1f93895d252715d7ac378f096007 | bf22bf34daeceb2106b5e2af1c24e480f628960c | /mlp-time-series-forcast/eqm.sci | e53127c7a76fe2feeb006b1a751f135da9e892ad | [] | no_license | edielsonpf/neural-networks-examples | e3a045bf37e4b2ea681f05512ac71fdbb0cb4992 | 9fabec297b07987f3506401751719c56055d0f5f | refs/heads/master | 2020-12-24T08:46:39.412676 | 2017-09-23T11:22:11 | 2017-09-23T11:22:11 | 32,630,396 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sci | eqm.sci | function erro = eqm(y,d)
[Input_Size,p]=size(y);
erro=0;
for k=1:p
erro=erro+(d(k)-y(k)).^2;
end
erro=erro/p;
endfunction
|
a6895b8eff06a68d9332c4e1ce638d9c6c2f3f79 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/scicos/dialog.sci | 148225d5695e79a68acab86cea0b69e3c39a6bd9 | [
"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 | 170 | sci | dialog.sci | function result=dialog(labels,valueini)
//interface to x_dialog primitive to allow simple overloading for live demo
// Copyright INRIA
result=x_dialog(labels,valueini)
|
2076ea413abc0ae6fd1139b19acde519af6e9722 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH6/EX6.5/Example_6_5.sce | ab8fbc82d060f36f5a8833325fcde8500a633d97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | Example_6_5.sce | //Calculation of Strain-Hardening Exponent
clear;
clc;
printf("\tExample 6.5\n");
sig_t=415; //True stress in MPa
et=0.1; //True strain
K=1035; // In MPa
n=log(sig_t/K)/log(et);
printf("\nStrain - hardening coefficient is %.2f",n);
//End |
d5ee44bb647b3fb4ad7c1d1bda28b6486ccf0394 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH12/EX12.17.1/Ex12_1.sce | ced0d28ff1aa45a7ecf90af8c6ccf71e6e650ddd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 965 | sce | Ex12_1.sce | //Example 1// Ch 12
clc;
clear;
close;
// given data
r1=2;//inner coaxial cable radius
r2=5;//sheath radius over the insulation
Em1=40;//max stress in the insulation in kV/cm
Em2=25;//max stress in the insulation in kV/cm
epsilon1=6;
epsilon2=4;
x=Em1/Em2;
r=x*((epsilon1*r1)/(epsilon2));//radial thickness o... |
e795b1f3607d211acc4889f0038ac3c4b470c0cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH1/EX1.44/ex_44.sce | e93f845d8d49f6740a9ffeff6c29079e8ddf027d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | sce | ex_44.sce | A=[-6,3;3,-10.5] //Matrix of I1,I2 Coeffecients by Mesh analysis
B=[-12.5;0];
[I]=inv(A)*B;
disp("Amperes",I(1,1),"Current in 1 Ohm resistor"); |
24ddba0b9a5a2c0127f1b12d1d69f0b6ecfb12fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH3/EX3.24/Ex3_24.sce | e1e96f4243d80f031977e897c60a4da8a7577d6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,594 | sce | Ex3_24.sce | //===========================================================================
//chapter 3 example 24
clc;clear all;
//variable declaration
x1 = 1.570; //voltage in V
x2 = 1.597; //voltage in V
x3 = 1.591; //voltage in V
x4 =1.562; //voltage in V
x5 =1.577; //voltage in V
x6... |
6c56b90bbee3357a50f12ed928cbdc364eb3bdf4 | f3359ce166cd670ad70e76b54b3155ccb5c5ea33 | /Polymer.sci | 37517ad2c1f1b88479a48866fca513da1e082af5 | [] | no_license | carlosaffonso/NeuroPoly | efe33e8adb4e393fc81c07523cba7ba0f301ed06 | a8aef982905a10ef778eb48c5a3e7d2c541cc1f7 | refs/heads/master | 2021-07-08T00:44:38.294621 | 2017-10-06T07:18:00 | 2017-10-06T07:18:00 | 105,975,780 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,935 | sci | Polymer.sci | // Multlayer Perceptron (backpropagatin com gradiente decrescente)
// Usando as funcoes internas do Scilab
// Simulação do Procesamento de polimeros
// Autor: Carlos Affonso ; Renato Sassi ; Ricardo Ferreira
// Data: 05/10/2010
//
// X = Vetor de entrada
// d = saida desejada (escalar)
// W = Matriz de pesos... |
3e5b63f2a948f0a89f2a4f936771c0148dfae2a5 | c49a028f382c3baddcd641c1972dd72bb60eaadc | /exp_6.sce | 6a3c571c74f4334e3f81d5533f4f941a1d0a109b | [] | no_license | BhautikDonga/SCILAB | 484fcc9ac58885a4ccc549ccc85e2a4a507d5d0a | b330ca555276eb57c1e88ffc745ecfa3b8ebfa0c | refs/heads/master | 2020-04-07T15:48:23.036273 | 2018-12-05T01:27:34 | 2018-12-05T01:27:34 | 158,501,669 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | exp_6.sce | Xn = input("Enter the value of Xn ");
i_x= input("Enter the range of Xn ");
Hn = input("Enter the value of Hn ");
i_h= input("Enter the range of Hn ");
exec("E:\scilab\work_17BIT009\exp_6_fun.sce");
[Yn,In] = exp_6_fun(Xn,i_x,Hn,i_h);
figure(1);
subplot(3,1,1);
plot2d3(i_x,Xn);
xlabel('n');
ylabel('Xn')... |
8ad0551bc332fe0c468c78f6feb1fda15ab43ef2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH4/EX4.12/Chapter412.sce | 482634934820b1ef513ac9d8109d5caf15ee95b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,277 | sce | Chapter412.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 4, Example 12")
//A large block of nickel steel conductivity(k=20W/(m*K)),thermal diffusivity(alpha=0.518*10-5 m^2/s) is at uniform temprature(Ti) of 30°C.
Ti=30;... |
7e46a3af578aa478ba65d14ba572ccc84292c644 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/rasp_design_added_blocks/fgswitch.sce | 58dbcfed96b783c410c37ee9d6df3d9542f41b34 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 103 | sce | fgswitch.sce | style.fontSize=16;
style.displayedLabel="FG Switch";
pal2 = xcosPalAddBlock(pal2,"fgswitch",[],style);
|
0e8b0d55e8a35962c9a451b1d18876648abc3b30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH1/EX1.4/Ex1_4.sce | c22cf88c60ffdce99ba57057e4b58b3e6729d0ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 680 | sce | Ex1_4.sce | // Exa 1.4
clc;
clear all;
// Given data
x1= 49.7;
x2= 50.1;
x3= 50.2;
x4= 49.6;
x5= 49.7;
// solution
X_mean= (x1+x2+x3+x4+x5)/5; // Arithmatic mean
d1= x1-X_mean;
d2= x2-X_mean; // deviation from each value
d3= x3-X_mean;
d4=x4-X_mean;
d5=x5-X_mean;
d_total= d1+d2+d3+d4+d5; //Algebraic sum... |
5e453a45abfca1bc949bc0a55314ad6dfa7ec3dc | c565d26060d56f516d954d4b378b8699c31a71ef | /Scilab/virtual_old/StepTest/scilabwrite.sce | c082d6ce071e3d7cdf7c98603043d1cda3a01782 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 31,104 | sce | scilabwrite.sce | 0.10000E+00 0.00000E+00 0.10000E+03 0.10000E+01
0.10000E+01 0.30000E+02 0.50000E+02 0.10000E+01
0.20000E+01 0.30000E+02 0.50000E+02 0.20000E+01
0.30000E+01 0.30000E+02 0.50000E+02 0.30000E+01
0.40000E+01 0.30000E+02 0.50000E+02 0.40000E+01
0.50000E+01 0.30000E+02 0.50000E+02 0.50000E+01
0.60000E+01 0.30000E+02 0.50000E... |
dd00c1749c77eeb18ae78500bca2223b95f9a22d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH4/EX4.1/Ex4_1.sce | 21da92162203d28b81753ec543044ca80ed982d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_1.sce | // Scilab Code Ex4.1: Page-233 (2008)
clc; clear;
c = 3e+008; // Speed of light in vacuum, m/s
v = 3e+004; // Speed of earth, m/s
d = 7; // Effective length of each path, m
lambda = 7000e-010; // Wavelength of light used, m
n = 2*d*v^2/(lambda*c^2); // Fringe shift
printf("\nThe expected fringe sh... |
0434de9d279d3ffd1ad35b7b8d2f8c6d9b7a5e7e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Algebra_And_Its_Applications_G._Strang_70.zip/Linear_Algebra_And_Its_Applications_G._Strang_70/CH8/EX8.2.2/8_2_2.sci | 8693fb24e1257ef712ad98d95335d003cc231570 | [] | 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 | 214 | sci | 8_2_2.sci | errcatch(-1,"stop");mode(2);//page 238
;
;
A=[1 0 1 6 2;0 1 1 0 3];
b=[8 9]';
c=[0 0 7 -1 -3]';
lb=[0 0 0 0 0]'
ub=[];
[x,lagr,f]=linpro(c,A,b,lb,ub);
disp(x,'New corner:');
disp(f,'Minimum cost:');
//end
exit();
|
2b56b8b2479cd63d8e9531900587f05d0812f93b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH14/EX14.10/Ex14_10.sce | 0803826c5ce0140cea1745525815df31ed85925c | [] | 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 | 659 | sce | Ex14_10.sce | errcatch(-1,"stop");mode(2);//Caption:Find (a)Load supplied by second machine and its power factor (b)Power factor of total load
//Exa:14.10
;
;
P1=300//Lighting load(in KW)
P2=500//Industrial load(in KW)
P3=200//Industrial load(in KW)
P4=100//Load(in KW)
Pa=500//Power supplied by first machine(in KW)
pf1=0.... |
ae999e470a0ed485795c8934395f48658f345750 | d69977ae2d30c54626be3fb38eac330056cde273 | /scilab/ima_adpcm_dec.sci | ab455f60050b86057afec854541f871261a337b4 | [] | no_license | LoesterFranco/ima_adpcm_enc_dec | 461f81c3ac05fbae4678a55255309a5d30904590 | d5b2f245efe5e1e891e98b04250a7beadc65b4de | refs/heads/master | 2021-12-03T13:55:12.217852 | 2012-10-27T05:46:34 | 2012-10-27T05:46:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,819 | sci | ima_adpcm_dec.sci | function out_samp = ima_adpcm_dec(in_pcm)
// This function decodes an IMA ADPCM compressed audio. The output is reconstructed
// to 16 bits per sample.
//
// Author: Moti Litochevski
// Date: February 17, 2010
//
// step quantizer adaptation lookup table
STEP_LUT = [ ...
7, 8, 9, 10, 11, 12, 13, 14, 16... |
7cf9a50d0edc271b3a3a9d42960f06c393d807da | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH21/EX21.2/Ex21_2.sce | 95c2bd9378575aabca6dfe64cdb58f96cb6657a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | Ex21_2.sce | //Calculate the Root Mean Square distance traveled by a urea molucule
//Example 21.2
clc;
clear;
D=1.18*10^-9; //Diffusion coefficient of Urea in m^2 s^-1
t=1*60*60; //Diffusion time in second
meanx=sqrt(2*D*t)*1000; //Root mean square distance in mm
printf("Root mean square distance traveled = %.1... |
7cbeb55067471c403de98226a28a1bdad9b2a333 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH6/EX6.12/6_12.sce | 6fdc4f5f3f162a48a8872bd521896ada13308311 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 935 | sce | 6_12.sce | //example 6.12
//Trapezoidal and Simpson's rule
//page 230
clc;clear;close;
deff('y=f(x)','y=sqrt(1-x^2)');
k=10:10:50
for i=1:length(k)
T_area(i)=0,S_area(i)=0;
h=1/k(i);
x=0:h:1
l=length(x);
for j=1:l
y(j)=f(x(j));
end
for j=1:l
if j==1|j==l then
T_area... |
c0ca0a06d236007c381dd9d39f53e337482cfe95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH17/EX17.6/EX17_6.sce | faf70cbb575f2f6259d5464017cf8bf9fda2ec69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | EX17_6.sce | //Finding of inclination
rho=1000;
d=0.03;
V=16;
w=125;
//To Find
A=(%pi/4)*d^2;
P=rho*A*V^2;
Q=P*(16/32);
theta=asin((rho*A*V^2)/w);
disp("Inclination ="+string(theta)+" degrees");
|
89c7481811de5e49b4b2f1c8bb35530dcb797e3f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/demos/velpic/acoustic.sci | d4b9eff8a395dec53f1b67df340d061b54c5b157 | [
"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 | 8,351 | sci | acoustic.sci | function [pt,dx,dz,dt]=acoustic(vel,tf,fc,spos,dx,dz,dt)
//[pt[,dx,dz,dt]]=acoustic(vel,tf,fc,spos[,dx,dz][,dt])
//////////////////////////////////////////////////////
// //
// Scilab program to simulate forward propagation //
// of acoustic waves with absorbing bound... |
a90d41f769821d07f8a5bd699efaa24d5bd66ef2 | fcd4bce0080771389b4a69338ed6443153942183 | /cores/n64/mupen64plus-rsp-paraLLEl/lightning/check/alu_div.tst | 97e024d1c0ec0568a5333e45f25c4aa14411c098 | [
"GPL-3.0-only",
"LGPL-3.0-only",
"MIT",
"GPL-2.0-only",
"GFDL-1.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-other-copyleft",
"GFDL-1.1-only",
"LGPL-2.1-only",
"MPL-1.1",
"LicenseRef-scancode-mame",
"Zlib",
"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 | 2,886 | tst | alu_div.tst | #include "alu.inc"
.code
prolog
#define DIV(N, I0, I1, V) ALU(N, , div, I0, I1, V)
#define UDIV(N, I0, I1, V) ALU(N, _u, div, I0, I1, V)
DIV(0, 0x7fffffff, 1, 0x7fffffff)
DIV(1, 1, 0x7fffffff, 0)
DIV(2, 0x80000000, 1, 0x80000000)
DIV(3, 1, 0x80000000, 0)
DIV(4, 0x7fffffff, 2, 0x3fffffff)
DIV(5, 2, ... |
3eaf3b790535461bb3353a8316231c52c2ea3040 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/percent/%pir.sci | ed3f6dcd99f118d93329b95295187688bc0d00b3 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sci | %pir.sci | //<f>=%pir(i,j,f2,f)
// %pir(i,j,f2,f) insere la sous matrice de polynomes f2 dans la
//matrice de fractions rationnelles f1 aux lignes (colonnes)
// designees par i (j). Cette macro correspond a la syntaxe; f(i,j)=f2.
//!
[n,d]=f(2:3),[ld,cd]=size(d),l=maxi(i),c=maxi(j)
if l>ld then d(ld+1:l,:)=ones(l-ld,cd),ld=l,end
... |
53f316ea26900286a79d2bdaa8b0c46eaafcaaf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH2/EX2.20/example2_20.sce | b68b30242fab4728b2cffa236564de1f371f7e2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,162 | sce | example2_20.sce |
clear;
clc;
printf("\t Example 2.20\n");
//this is the case of equimolar counter diffusion as the latent heat of vaporisation are very close to each other
T=(360); //temperature in kelvin
pt=372.4/760; //total pressure in atm
R=82.06; ... |
ecf4c5921453025b84ef0d044e63ecd8302f00eb | 71fc0b80f29bd03d097bc45e07b3184189b6445c | /nand2tetris/proj1/And8.tst | 0adeee4d37c14eefcf7bdb56a7e95f305c2cdf81 | [
"MIT"
] | permissive | ethull/university | 05441b4a74833dd9ae2f904017bfe5140461f4af | 80e00400cf06e5574f4654f51d78544a5d7f66bb | refs/heads/main | 2023-06-08T00:52:03.533293 | 2023-05-25T15:37:21 | 2023-05-25T15:37:21 | 313,761,541 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 623 | tst | And8.tst | // This file is BASED ON part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/01/And8.tst
load And8.hdl,
output-file And8.out,
compare-to And8.cmp,
output-list a%B1.8.1 b%B1.8.1 out%B1.8.1;
set a %B00000000,
set b %B0000... |
57edef7d00f8eb937e0b4583955f4135665258aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH1/EX1.13/ex1_13.sce | a5a7ca4b44bf730cb22e91afd3d4f65596b44c49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,252 | sce | ex1_13.sce | //Ex 1.13
//Check for periodicity
clc;
T=2*%pi/6;
t=0:0.001:T*2
x=cos((6*t)+%pi/3);
subplot(3,2,1),plot(x);
disp('the plot shows that the above signal is periodic');
T=2*%pi/(%i*%pi);
t=0:0.001:T*2
x=exp(%i*(%pi*abs(t-1)));//exp(%i*(%pi*t-1))=exp(%i*%pi*t)/exp(%i)
//since the period is a complex no so non ... |
224b2053ef3fa4cf1b9bb3bec438b277e603b98e | b67defe3c1cae63dd1a79578f840d069568034e6 | /scilab/chi2plots.sci | 4480b2d5f587cfd3cec4103010f6cf582e36184d | [] | 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 | 286 | sci | chi2plots.sci |
exec("chi2luck.sci",-1);
function chi2plots(k)
clf();
xmin=(max(0,sqrt(k-2)-3))^2;
xmax=(sqrt(k-2)+3)^2;
x=[xmin:0.01:xmax];
[L,U]=chi2luck(x,k);
[q,p]=chi2cdf(x,k);
P=exp(chi2probln(x,k));
Lest = erf(abs(sqrt(x)-sqrt(k-2)));
plot(x',[L',Lest']);
disp(max(abs(L-Lest)));
endfunction
|
004364d7d438dd1b302e57facd7ad6d7e56a74e1 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106.zip/Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106/CH10/EX10.6/ex10_6.sce | 4104cb28aac91bcb12955ddc71cb53a2ef8e2487 | [] | 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 | 315 | sce | ex10_6.sce | errcatch(-1,"stop");mode(2);// Example 10.6, Page No-439
fr=300
bw=50
ip=320
pdop=fr+ip
printf('\nPhase detector output= %d kHz', pdop)
difr=ip-fr
printf('\nDifference Frequency= %d kHz', difr)
printf('\nAs Bandwidth is greater than difference frequency,')
printf('\nPLL can acquire lock')
exit();
|
6c00673268e451e616bfb3ec053e720359ade43b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH13/EX13.1/Ex13_1.sce | 97e4f1c413c51f2ac84091e0137ab54b570771cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | Ex13_1.sce | clear
//
//Given
//Variable declaration
L=3*1000 //Length in mm
W=25*1000 //Point load in N
I=1e8 //Moment of Inertia in mm^4
E=2.1e5 //Youngs modulus in N/sq.mm
//Calculation
//case(i):Slope of the cantilever at the free end
thetaB=((W*(L**2))/(2*E*I))
//case(ii):Deflectio... |
08c0dc1efae61e427031acfefc69a5b616fefbd4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH16/EX16.3/Chapter16_example3.sce | ef657ddcb4d3e7bb939c8692b119a580970360ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | Chapter16_example3.sce | clc
clear
//Input data
d=0.09;//The diameter of the bore in m
L=0.1;//The length of the stroke in m
T=120;//The torque measured in Nm
pi=3.141;//Mathematical constant of pi
n=4;//Number of cylinders
//Calculations
pmb=[(4*pi*T)/(L*(pi/4)*d^2*n)]/10^5;//The brake mean effective pressure in bar
//Output ... |
00c9c9206ff15804cc2dd0d1c7351cd175701554 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH4/EX4.5/example_5.sce | 718f553354042f387f6e29695ee9763846525e59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | example_5.sce | clc
clear
printf("example 4.5 page number 133\n\n")
//to find variation of losses with velocity
loss_ratio=3.6; //delta_P2/delta_P1=3.6
velocity_ratio=2; //u2/u1=2
n=log2(loss_ratio); //delta_P2/delta_P1=(u2/u1)^n
printf("power constant = %f flow is turbulent",n)
|
b2883085f554ab93db8d34946465bf10a048ce56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH7/EX7.2/Ex7_2.sce | c94b7217c3d9fa9cdb2f1c2d5d000206a0200352 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,543 | sce | Ex7_2.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 7 Example 2")
m=1;//mass of air in kg
Po=1*10^5;//atmospheric pressure in pa
To=(15+273);//temperature of atmosphere in K
Cv=0.717;//specific heat at constant v... |
3e317f1cefe84e88c55dd8e60e90c34fdb808a02 | df924acfdd5b043da9336a2276726dbfb655735a | /test_suite/factsfun.tst | ada65604baaf96a1c1d4930aa1c0f2756efc6ebd | [] | no_license | noxdafox/clips | b8fb280223b5aae615e427bf1f31c03cb932b09d | a2c548b69394f0e2cf7c6d583810b6a29a662ae1 | refs/heads/master | 2023-09-01T18:52:07.614807 | 2021-12-14T20:10:21 | 2021-12-14T20:10:21 | 95,596,886 | 11 | 10 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | tst | factsfun.tst | (unwatch all)
(clear)
(dribble-on "Actual//factsfun.out")
(batch "factsfun.bat")
(dribble-off)
(clear)
(open "Results//factsfun.rsl" factsfun "w")
(load "compline.clp")
(printout factsfun "factsfun.bat differences are as follows:" crlf)
(compare-files "Expected//factsfun.out" "Actual//factsfun.out" factsfun)
(close fac... |
2cbf8d8dc4afb8a507e6ccd8dba145d59d8e1b95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH3/EX3.6/ex3_6.sce | 0b5e998a6b91aaf360eb03f47c9a889280f8c41d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 998 | sce | ex3_6.sce | //Chapter-3, Example 3.6, Page 111
//=============================================================================
clc
clear
//INPUT DATA
N1=250;//no of turns in a coil
I1=2;//current in coil in A
phi1=0.3;//flux in coil in wb
dt=2//time in millisec
Em2=63.75//induced voltage in V
K=0.75
//CALCULATIONS
L1=... |
2f78ad341dbdc9197f94f5c4088ee1b62f123ab8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH27/EX27.6/EX27_6.sce | 812c7615e408a9794d8f6ea04db6879febf7dd7b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 977 | sce | EX27_6.sce | //EXAMPLE 27.6
//DC GENERATOR
clc;
funcprot(0);
//Variable Initialisation
Z=500;......//Total number of conductors
Ia=200;......//Total current in Amperes
P=6;.........//Total number of poles
b=10;........//Angle of lead in degrees
y=1.3;...........//Leakage coefficient
Aw=2;...........//Number of paralle... |
46d122434e4f93ef2ece8a264b10cae77a1dc319 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/metanet/makeund.sci | 1a290d5b08d7d1d7bd970c5b167eff4b817f0d66 | [
"MIT",
"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 | 493 | sci | makeund.sci | function g1=makeund(g)
[lhs,rhs]=argn(0), if rhs==0 then g=the_g, end
if g_direct(g) == 0 then error('graph already undirected'), end
m=2*g_arcnum(g), ma=g_arcnum(g), mm=m
[a1,p1,s1]=compunl1(g_la1(g),g_lp1(g),g_ls1(g))
[a2,p2,s2]=compl2(a1,p1,s1,0)
[he,ta]=compht(a1,p1,s1,0)
g1=list(' ',0,m,g_nodnum(g),ma,mm,a1,p1,s1,... |
fc25941d7c15e2c82ccc1d7c43d3c7525c559768 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH3/EX3.7/ex3_7.sce | 5fca7cb5c2809562542082c0fc06564234e82761 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | ex3_7.sce | //ex3.7
V_IN=24;
V_Z=15;
I_ZK=0.25*10^-3;
I_ZT=17*10^-3;
Z_ZT=14;
P_D_max=1;
//output voltage at I_ZK
V_out_1=V_Z-(I_ZT-I_ZK)*Z_ZT;
disp(V_out_1,'output voltage in volts at I_ZK')
I_ZM=P_D_max/V_Z;
//output voltage at I_ZM
V_out_2=V_Z+(I_ZM-I_ZT)*Z_ZT;
disp(V_out_2,'output voltage in volts a I_ZM')
R=(V_I... |
429d33282ee5511cc6b7ef1ca0ffc3aedc7a7573 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH34/EX34.1/ex1.sce | b17623f4cd495ba64ac5faf6b610034254050ed2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 102 | sce | ex1.sce | clear
clc
disp('from the principle of counting,the required no.of ways are 12*11*10*9=')
12*11*10*9 |
01234eb0440abedd2f1c56ef2e7e195aa3282d3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.30/3_30.sce | 996eeead8e250c42d4111429d37b6aa8b7e3408b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sce | 3_30.sce |
clc;
clear;
//Example 3.30
k=0.02685 //W/(m.K)
v=16.5*10^-6 //kg/(m.s)
Npr=0.7 //Prandtl number
Beta=3.25*10^-3 //K^-1
g=9.81 //m/(s^2)
Tw=333; //[k]
T_inf=283 //[K]
dT=Tw-T_inf //[K]
L=4 //Length/height of plate [m]
Ngr=(g*Beta*dT*(L^3))/(v^2) //Grashoff number
//Let const=Ngr*Npr
const=Ngr*N... |
b6682f0f270a44129c05df6eabdaf2c9d1f9e4fa | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TEC5.prev.tst | 5fa7eaecb00d61365ad2b948ab08ee8d1fe39aa4 | [
"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 | 15,401 | tst | TEC5.prev.tst | Expanding for base=2, level=7, reasons+features=base,similiar invall,norm
Refined variables=x,y
[0+1x,0+1y]: unknown -> [1] [0,0] x²-y³+2
---------------- level 0
expanding queue[0]^-1,meter=[2,2]: x²-y³+2
[1+2x,1+2y]: unknown -> [1] [1,1] 2x+2x²-3y-6y²-4y³+1
endexp[0]
---------------- level 1
expanding queue[1]^0,mete... |
cb3aef2e4068a6416a513d42a94a2290f8caa146 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH8/EX8.7/Ex8_7.sce | f3b1d913dcc077943b0c12f214165ad9060f56df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sce | Ex8_7.sce | clc();
clear;
//Given :
Q = 4 ;// in MeV
Ex = 2; // in MeV
Ey = 5 ; // in MeV
mx = 4; // in u
my = 1 ; // in u
My =13; // in u
theta = acosd(( (Ey*(1 + (my/My))) - (Ex*(1 - (mx/My))) - Q )/((2/My)*sqrt(mx*Ex*my*Ey))); // angle of ejection in degrees
printf("Angle of ejection is %.0f degrees",theta);
|
c246f375242339d11ea9fd012074a4d420d82745 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/code2str.man.tst | 499248032a738b8a61edef40cc9f5ee4634b3926 | [
"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 | 47 | tst | code2str.man.tst | clear;lines(0);
code2str([-28 12 18 21 10 11])
|
7fbf2521199f15fe0544fa0ce2aadd3f72104108 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH5/EX5.8/ex5_8.sce | 00635125988c298d17a5ef0c08730dbeafc81a7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | ex5_8.sce | clc;
clear all;
u0=1.658;//given u0
ue=1.486;//given ue
lamda=5893*1e-8 //in cm
t=lamda/(4*(u0-ue));//Thicknesss of quarter wave plate
disp(+'cm',t,'Thicknesss of quarter wave plate =')
|
4f75bfff4b440f06304415b83e11cc2379f54cc4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH1/EX1.7.1/1_7_1.sce | ff666cb2893cb1d3207bc6ba63d36294485a6c14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,104 | sce | 1_7_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 1
//Example 1.7-1
//Introduction to engineering principles and units
//given data
//Hf data at 298K
//Input items: sum of the enthalpies of two streams relative to 298K
//calculating H of liq
Hil=2000*4.06*(30-25);//inlet mass flow rate of the ... |
aacbe8960e8fb31cae6d574f56f1326721d2cdbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH3/EX3.4/Exa_3_4.sce | 58416902ac13fbdbef63e6f5b61756701e97511a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | Exa_3_4.sce | //Example No. 3.4
clc;
clear;
close;
format('v',6);
//Given Data :
MotorOutput=200;//KW
v=60;//Km/hr
w=400;//KN
friction=5;//N/KN weight
tan_theta=1/100;//inclination
g=9.81;// gravity constant
//Solution :
sin_theta=tan_theta;
W_sin_theta=w*1000*sin_theta;//N
R=friction*W_sin_theta/10;//frictional... |
288edcd8bca83e7319acbe559e29961c9067413e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH22/EX22.2/Example22_2.sce | e0cd766d96435fe9b83fa4b4440cc5692f604456 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,182 | sce | Example22_2.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 15: INSULATION CO-ORDINATION
// EXAMPLE : 15.2 :
// Page number 399
clear ; clc ; close ; // Clear the work space and co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.