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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
022756c88bb6dfc23edcacc8291a08a914adfe61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH13/EX13.4/13_4.sce | 5a24f181baa545668c7815d2a6256988dd02ebce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 13_4.sce | clc
//initialisation of variables
W= 800 //N
A= 0.4 //cm^2
p= 0.611 //Mpa
P1= 0.1 //Mpa
T= 0.01 //C
vs= 0.0010908 //m^3/kg
hs= -333.40 //kJ/kg
vf= 0.0010002 //m^3/kg
hf= 0 //kJ/kg
vg= 206.14 //m^3/kg
hg= 2501.4 //kJ/kg
//CALCULATIONS
P2= P1+(W/A)*10^(4-6)
dT= (273.15++T)*(vf-vs)*(P2*10^3-p)/(0-hs)
Tmin=... |
ed8aa68f578ba6e8ad33fbd1b2dafadf45a715e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH2/EX2.17/Ex2_17.sce | d1b59c95cf331e1c4f464ae6bf8a81e8a35fa81a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | Ex2_17.sce | //Finding fusing current
//Example 2.17(pg. 29)
clc
clear
I2=27.5//current of No.25 wire in Amperes
d=1/2//since I1/I2=1/2
I1=I2*(d^(3/2))
printf('Thus fusing current of No.33 wire is %3.3f amperes \n',I1)
|
fab8ae9267abb430fcfe337b72e8d9eb5301d18e | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/BV20.prev.tst | 47e3dc834b7f38184e44771d49e4ba6f976b3ea9 | [
"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 | 967 | tst | BV20.prev.tst | [1,7]/3 * [1,7]/5 = [1/15,14/15,49/15]
initial: [1/15,14/15,49/15] / [1/3,7/3], rem1=[1,14,49], div2=[5,35], lenq=2, len1=3, len2=2
expanded: lcm12=245, last1=245, last2=35, rem1=[5,70,245], rden=5, fac1=5
step end: quot=[0,0]/qden=1, rem1=[5,70,245]/rden=5, div2=[5,35], bquot=7, lenq=2, len1=3, len2=2
while en... |
904c0c8e5068f1f48a537e6a038eb6f3eff03f84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH6/EX6.6/Ex6_6.sce | 21c695f4288cae5f324206a3e2693ac6ccae5225 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | Ex6_6.sce | clc;
//page 381
//problem 6.6
//Given Bandwidth BW = 4 kHz
BW = 4*10^3;
//Given data rate is fb = 6 kbps
fb = 6*10^3;
//The roll off factor alpha is
alpha = ((2*BW)/fb) - 1;
disp('The roll off factor is '+string(alpha));
//////////////////////////////////////////////////////////////////////////////... |
61da5aac2af829c3c0a19b026348bbae79c4d762 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/elem/union.sci | 1c10b3885430fa4c730068ad1f186f963a4e9049 | [
"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 | 354 | sci | union.sci | function [x,ka,kb]=union(a,b)
//Copyrigth INRIA
// returns the union of unique components of vector a and b
[lhs,rhs]=argn()
if lhs==1 then
[x,k]=unique([a(:);b(:)])
x=x';k=k'
else
na=size(a,'*')
kab=[1:na,na+(1:size(b,'*'))]
[x,k]=unique([a(:);b(:)])
x=x'
kab=kab(k)
ka=kab(kab<na+1)
kb=kab(kab>na)
... |
639304fcb198b2da6fb71f128bbfdf7f51c17501 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH7/EX7.54/example7_54.sce | 2c857f23de3e52e05f29b30bb0368864ec0ad4ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example7_54.sce | // Find the maximum transconductance
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 7-54 in page 358
clear; clc; close;
// Given data
Idss=1*10^-3; // Drain-source current in mA
Vp=-5; // Pinch off voltage in V
// Calculation
gm=(2*Idss)/-Vp;
printf("gm... |
05c5af4cc17798c63bc58fe4b5cf86a56d4b3d0b | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.1_3.tst | 22af2434373d675f298a6e46ab09e8d940ec545e | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 725,903 | tst | 5.1_3.tst | 1 62:1 136:1 353:1 405:1 425:2 592:2 646:1 806:1 850:1 888:1 929:2 1036:1 1292:1 1427:1 1574:1 1607:1 1632:1 1791:1 2326:1 2850:1 2996:1 3093:1 3529:1 3821:1 4092:1 4157:1 4252:1 4287:1 4360:1 4380:1 4526:1 4608:1 5084:1 5209:1 5257:1 5361:1 5374:1 5395:1 5770:1 6193:1 6477:1 6624:1 7002:1 7327:1 7514:1 8232:1 8802:1 8... |
d7aeaaab07cc4b14a1ff567fcedba65f0a869aac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH2/EX2.51/Ex2_51.sce | 90e9c52737f56dcc30f4014474547bc345f9103d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | sce | Ex2_51.sce | //CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 51
clc;
disp("CHAPTER 2");
disp("EXAMPLE 51");
//VARIABLE INITIALIZATION
Y1=0.4+(%i*0.6); //admittance of 1st branch in Siemens
Y2=0.1+(%i*0.4); //admittance of 2nd branch in Siemens
Y3=0.06+(%i*0.23); //... |
74bcae0c5ba4d62b1344264650aba63b32d70578 | 906f286d018d405ea3ace52a3e8e8a109d68cefe | /project1/scilab/continuousControl_TV.sce | 7fb37b9a7783aa3a324d4a755ac787c102ff60fa | [] | no_license | andreinakagawa/control | 165398c239178670934328a278113d136e7c5747 | b69f0cb7ee4f4328bdc7d45d7bb9fd82eec6343f | refs/heads/master | 2021-01-21T21:38:24.436418 | 2017-07-13T18:57:30 | 2017-07-13T18:57:30 | 92,322,739 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,547 | sce | continuousControl_TV.sce | //------------------------------------------------------------------------------
//FEDERAL UNIVERSITY OF UBERLANDIA
//Discipline: Control II
//Project 1:
//Botan et al.: "Discrete Time Linear Quadratic Optimal Control for an Electrical Servo Drive System"
//Authors: Andrei Nakagawa and Henrique Oyama
//Last update: May... |
a5707222080c655d9d4464be995389204705199f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.20/Ex6_20.sce | 8c7d78bca62ff77e7be1b3b0fd74866fd80c7c07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 913 | sce | Ex6_20.sce | clc;
sA=0.05; //slip
//for part a
disp('for part a ');
//Torque is proportional to s/r2
//As per given conditions sB=a*sA
a=4;
sB=a*sA;
mprintf('The slip is %d times previous slip and \n',a);
//for part b
disp('for part b ');
//I2 is directly proportional to s/r2
//As per given conditions I2B=b*I2A
b=s... |
1ce12a89a249dfe6ea8e5ae940a27c811f57426e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH10/EX10.20/example10_20.sce | ccdeaaf053c4c72c76dc11f0ff38a9bffe405bae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example10_20.sce | clc
// Given that
q = 1.6e-19 // charge on a proton in C
d = 1e-10 // distance of a point from proton in m
e0 = 8.85e-12 // permittivity of space
// Sample Problem 20 on page no. 10.44
printf("\n # PROBLEM 20 # \n")
E = (1 / (4 * %pi * e0)) * (q / d^2)
printf("Standard formula used \n E = (1 / (4 * pi * e0)) * (q / d^... |
05755dbd843f52f465dee32db59d0b99548c3427 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH6/EX6.9/Ex6_9.sce | 540e9f913bdebad34802933a03b1c61d6f10e94d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_9.sce | //Ex 6.9
clc;
clear;
close;
format('v',6);
disp("Part (a)");
L1=25;//micro H
L2=10;//micro H
Rf=22;//kohm
C=0.01;//micro F
LT=L1+L2;//micro H
fr=1/(2*%pi*sqrt(C*10^-6*LT*10^-6));//Hz
fr=fr/1000;//kHz
f0=fr;///kHz
disp(f0,"Oscillation frequency(kHz)");
Ri=Rf/(L1/L2);//kohm
disp(Ri,"Resistance Ri(kohm)");... |
24343cb5d43237a200bf208014cc2b049215f8ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.58/Ex5_58.sce | 70efa2c4033d17cd64e0936ab800283cb5142ca1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 798 | sce | Ex5_58.sce | clc;
p=3*10^6; // rated power of alternator
v=11000; // rated voltage of alternator
r=0.4; // per phase effective resistance
vl=12370; // line to line voltage at zero leading power factor
i=100; // load current at zero power factor
pf=0.8; // lagging power factor at which voltage regulation has to be determined... |
602f35140c81185d7b3aee693c0015bbfd41d207 | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH7/EX7.10/ex7_10.sce | 5fb9585355583ef1f339f25cf1658239de6f74e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex7_10.sce | syms Kh
s=%s;
G=syslin('c',10*Kh*(s+0.04)*(s+1)/((s+0.5)*(s^2-(0.4*s)+0.2)*(s+8)));
evans(G,3)
Kh=kpure(G)
K=10*Kh
zeta=1/(2)^(1/2);
wn=.575;
sgrid(zeta,wn)
K=-1/real((2*horner(G,[1 %i]*locate(1))));
printf("The zeta=1/(2)^1/2 line intersects the root locus at two points with K1=1.155 and K2=0.79")
Kh1=0.156... |
0958a11ce7a99c8381c2c7aaf2ff127d43de9a52 | bf63c70e054c641e89a6f7a4623a7634ce9a8a9d | /test/SQ1.prev.tst | 2f2854b132313493935164d57059da0ef86ef7cb | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | gfis/jextra | 9c8c030faf35f0834843ed8f07cc061ca9d65a64 | bdad8fd33fdf633cf2ff4c1879e1f61935c3d636 | refs/heads/master | 2022-03-13T21:31:56.132450 | 2022-02-12T21:27:40 | 2022-02-12T21:27:40 | 30,127,957 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | tst | SQ1.prev.tst | push S0: 0 @ 0
push S1: 0 @ 0
push S2: 0 @ 0
push S3: 0 @ 0
push S4: 0 @ 0
push S5: 0 @ 0
push S6: 0 @ 0
push S7: 0 @ 0
push2 S0: 1 @ 0
push2 S4: 1 @ 0
next elem: S0
next elem: S1
next elem: S2
next elem: S3
next elem: S4
next elem: S5
next elem: S6
next elem: S7
|
d9a694e31bfe0fb995f7d0173d13bab4c459fc69 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/percent/%por.sci | dfa6d2cb1c7449999bacf65ef149327366b9c573 | [
"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 | 148 | sci | %por.sci | function [r]=%por(l1,l2)
//r=%por(l1,l2) <=> r=(l1==l2) l1 polynomial l2 rational
//!
r=degree(l2(3))==0
if r then r=l2(2)./coeff(l2(3))==l1,end
|
045a9d9ed26fd7467b05db56fa706f0aee7fefe4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.9/2_9.sce | 507c9e8f0aab80f368df6dd55c9d3cbbc03617f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | 2_9.sce | clc
printf("Example 2.9,Page 2.28\n");
//Given
ID=50 //mm;
dT=(573-303);
printf("Internal diameter,ID=%f mm",ID);
r1=ID/2 //mm
r1=r1/1000 // metres
OD=150 // mm
printf("Outer diameter,OD=%f mm",OD);
r2=OD/2 // mm
r2=75/1000 // m
//Thermal conductivity
k=17.45 // W/(m.K)
//Solution
printf("Q/A=dT/(r2-r1)... |
fae8a047d6351a57e28e1df77a5db187d54bef41 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/XGigStatistics/XgigStats.sci | b5b506b959ca605b7711aec7b0238a317f818de2 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,785 | sci | XgigStats.sci | // Function to read in Xgig trace and gathers packet counts
//
// (c)2009 L. Rayzman
// Created : 01/07/2009
// Last Modified: 01/07/2009 - Added Eye Measurement Tool
//
//
//
inputfile = emptystr(); // Filename of trace input file
matchstr1 = 'COMWAKE'; // Fi... |
7b88e7921042d89f85c2dd7249efe4c8f9f0d605 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH5/EX5.1/exp_5_1.sce | b0ff219b968099074e0db6f2df74426c6b061281 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | exp_5_1.sce | clear;
clc;
S=250;
V=3330;
r=.25;
x=3.5;
pf=0.8;
i=(S*1000)/(sqrt(3)*V);
Il=i;
Vp=(V/sqrt(3));
z=complex(r,x);
Ia=complex(34.99,-26.24);
E=Vp+(Ia*z);
Vv=sqrt((real(E)^2)+(imag(E)^2));
reg=((Vv-Vp)/Vp)*100;
mprintf("regulation=%f percent",reg);
|
7d84cd800e0bec965553257c26b4fe86bb982fa9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH1/EX1.4/example14.sce | 6f795d28ba2291ee80a37ad8feaefc857dc99f27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | example14.sce | //Example 1.4
//Sketch the signal x(t)=Asin(t)
clc;
A=0.5;
t=0:1/100:10
x=A*sin(t);
plot(x);
//since it is a periodic signal so it is power signal
P=(integrate('((0.5)^2)*(sin(t)^2)','t',0,2*%pi))/(2*%pi); |
807b8ef7e94e065fe8277c36d9659a28ab7b65f7 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/mlda.sci | 75ffd242e424138cebfeb49edfa8f2bd162ed4b6 | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,122 | sci | mlda.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Version: 0.1
// Date: Nov 2009
// Description: Multiple Linear Discriminant Analysis(LDA)
//
// Copyright (C) 2009 OpenPR
// All rights reserved.
//
// Redistribution and use in source and binary forms, with o... |
7af7c54f2496631081e5d79d5237e86e8700ced7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.18/5_18.sci | 4e56b65e29ff1faa78dc372a78f12e36576ab170 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sci | 5_18.sci | // Calculate the resistance and the temperature
clc;
Rth0=100;
ath0=0.00392;
dth=65-25;
R65=Rth0*[1+ath0*dth];
disp(R65,'resistance at 65 degree C(ohm)=')
th={[(150/100)-1]/ath0}+25;
disp(th,'Temperature (degree C)') |
559a185cf3b86467de24039f9ff34c97e396d33a | cf63edbc157b35f402d1868d29b58ec18e24855b | /theojansen.sce | ded19a9ed2cb0c34de9b60dd447e957f398a33c2 | [] | no_license | lloydf96/Simulating-Theo-Jansen-Mechanism | d42037e082ce1566e38bb666ddee11c732eeac3c | 7a8c96b037c0084d037c059b401e5c0e3f8068cb | refs/heads/main | 2023-02-22T20:55:55.471878 | 2021-01-22T06:39:11 | 2021-01-22T06:39:11 | 331,833,631 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,748 | sce | theojansen.sce | count=1;
a=150;
b=500;
c=387;
d=415;
e=558;
f=401;
h=394;
l=550;
g=393;
u=367;
k=490;
j=657;
pin1x=0;
pin1y=0;
m=[];
//avi = moviein((8*pi+pi/2));
for theta=-%pi/6:%pi/12:%pi/6
pin2x=(pin1x-c)*cos(theta);
pin2y=(pin1x-c)*sin(theta);
i=0;
figure(1);
x=[];
y=[];
for the=0:0.1:2*%pi+%pi... |
527226fe32fbad8cb88f0d2eafc5464720f06fc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH2/EX2.13/Example2_13.sce | c5c253abaa4a5018b4ad8465b7faf6a3276d1a2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | Example2_13.sce | close();
clear;
clc;
I1 = 10; //A
I2 = 100; //A
R1 = 5; //ohm
R2 = 10; //ohm
R3 = 20; //ohm
R4 = 30; //ohm
//applying KCL
A = [(1/R1+1/R2) (-1/R2);(1/R2) (-1/R2-1/R4-1/R3)];
C = [I1;-I2/R4];
B = inv(A)*C;
V1 = B(1,1);
V2 = B(2,1);
I1 = (V1-V2)/R2;
I2 = (V2-I2)/R4;
mprintf("I1 = %0.2f A\nI2 = %0.2f A",I... |
5e34a3e5c72026faf51d297d8faece93b252743b | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH12/EX12.3/ex12_3.sce | a6526e687fd05d3d8b21fd58cc687e3c8e3213df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | ex12_3.sce | clc;
warning("off");
printf("\n\n example12.3 - pg569");
U=3; //[m/sec]
x1=1; //[m]
x2=2; //[m]
p=1/(1.001*10^-3); //[kg/m^3];
mu=1*10^-3; //[kg/m*sec]
Nre1=(x1*U*p)/(mu);
Nre2=(x2*p*U)/(mu);
tauw=(1/2)*(p*(U^2))*((2*log10(Nre1)-0.65)^(-2.3));
B=1700;
Cd=(0.455*(log10(Nre2))^-2.58)-(B/(Nre2));
Lb=2.0;... |
92e8aaead70c5ab133f16b78dc6f2a6292e93e24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH10/EX10.5/ex10_5.sce | c9f1f26f76e82109c94945b3cdb19e98a074d7e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | ex10_5.sce | //Calculate the gain with and without feedback and feedback factor
clear;
clc;
//soltion
//given
Vo_=5;//V //output voltage
Vi=0.2;//V //input with feedback
Vi_=0.05;//V //input without feedback
A=Vo_/Vi_;
Af=Vo_/Vi;
printf("The gain without feedback is %.0f\n",A);
printf("The gain with feedba... |
7840b0313f00f941e1f0c65673b2c9de833e70e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH8/EX8.2/Ex8_2.sce | a082228126d3ece68cb8ea26061d108e4e8416ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | Ex8_2.sce | //chapter 8
//example 8.2
//Calculate change in magnetic moment
//page 236
clear;
clc;
//given
r=0.052; // in nm (radius of orbit)
B=1; // in Wb/m^2 (magnetic field of induction)
e=1.6E-19; // in C (charge of electron)
m=9.1E-31; // in Kg (mass of electron)
//calculate
r=0.052*1E-9; // changing unit from nm... |
de0165ef0e47384d1e0a61595b2b94be4524178d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH11/EX11.14/11Ex14.sce | 098aeb9277d1d4173810248e9f7f560ebfe4c7cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | 11Ex14.sce | //Ex 12
clc;
clear;
close;
Error=40;
true_value=1000;
gainPercent=(Error/(true_value-Error))*100;
printf("The gain is %3.2f percent",gainPercent);
|
2af374d6bbf156bd3621cd887a207a210e51720c | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH7/EX7.13/example_7_13.sce | b0d6586e5b1caef56f6c358e75e8f17a0691c2df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | example_7_13.sce | syms f J K s t
T=1/(J*(s^2+(f/J)*s+(K/J))) //Q/I
omegaN=sqrt(K/J)
Mp=6 //given
zeta=0.667
omegaD=omegaN*sqrt(1-zeta^2)
Tp=%pi/omegaD
disp(Tp," Tp = ")
I=laplace('10',t,s)
Q=I*T
x=limit(s*Q,s,0);
disp(10/0.5," K = ")
disp(K/omegaN^2," J= ")
disp(zeta*(2*sqrt(K*J))," f = ")
|
0050060d51d8c098328e05574ed8b937851330d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH4/EX4.3/4_3.sce | 81e455d02c38a52ea00acbbc83df0b8e87048ea0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_3.sce | P=380;//pressure of 11g of CO2 at 273K in mm of Hg//
T=273;//Initial temperature of 11g of CO2 in kelvin//
V=11.2;//Volume occupied by 11g of CO2 in litres at 273K//
P1=760;//changed pressure of 11g of CO2 at 546K in mm of Hg//
T1=546;//Final temperature of 11g of CO2 in kelvin//
V1=(P*V*T1)/(T*P1);//changed volum... |
8006798612bb21c716e4494fc64a4a4767035427 | 36e294af022143c4ad0adaf1a40183c8114cb39a | /Scripts/NEW GET RESULTS.sce | 7dc2760b27c8cc3ce4dc4054fe6d16e52a70cb09 | [] | no_license | pflynn/Spectrum_analysis | d6388a46f686912a4d4a543f18b2a49063374506 | eb31f3349fdf4f16227b25782d40937b126b297e | refs/heads/master | 2016-09-05T17:10:44.896865 | 2011-06-27T15:01:20 | 2011-06-27T15:01:20 | 1,960,672 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | NEW GET RESULTS.sce | // First stage
// allows each file to be chosen
for j = 1:num_of_samples
number = string(j);
// creates all the csv files with only the 501 trace values needed
// A becomes a list of the comma seperated variables in the raw data file
A = read_csv('C:\Program Files\Tektronix\SA2600PC\Results'+'/'+ band_na... |
a35fccb0dbe7aec7c8ccdba78c481b62865d5d67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH7/EX7.6/7_6.sci | 1bd7d84d697ab2684c859f33e7eec4d5ded6b2ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 970 | sci | 7_6.sci | clc();
clear;
//To determine the displacement produced ,the angle made by the beam with the axis,velocity of electrons
V=25; //deflecting voltage
l=0.03; //length of deflecting planes in m
d=0.75; //dist... |
943e74d15f6b44d39e387467517915ffdd8bcb2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH1/EX1.22/Ex1_22.sce | 262a7da83cdc0d143001fbafe49009967dc48071 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | Ex1_22.sce | clear
//
//applying kcl to circuit at node b i3+i4=6-4=2
vb=8
vba=2 //voltage drop across nodes b and a
va=6 //potential of node a w.r.t note c
i2=3
//applying kcl to node a
isa=1
vs=va+2*isa
printf("\n vse= %0.1f V",vs)
|
6aff34a51c5bc7cbd60ded7b19597bf5c0f62cbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH2/EX2.16.a/2_16_a.sce | 7c2f052c3d49a1ed4569e1fa734928a854dcbbbe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | 2_16_a.sce | clear; clc; close;
Vm = 20;
Vdc = -0.318*Vm;
disp(Vdc,'Dc volatge for ideal diode :');
t = 0:0.1:4*%pi;
x = 20*sin(t);
for i=1:length(t)
if(x(i)<=0)
y(i) = x(i);
else y(i)=0
end
end
plot(t,y)
xtitle('output for ideal diode','t','Vo'); |
275ba63395e770bb3ac899e030c8ed4ff944ed74 | 1541040db785a4cf2546707cc80ad1ded591e4fb | /Livros/Communication Systems, 4Th Edition - Simon Haykin/Problemas/Problema2.3.sce | 0042114e7a873385e0a0caf89dfef23f815d67bb | [] | no_license | rogersguedes/siscom1 | 6341507ed907e811c44ebbe490777aa7cb7285b2 | 65ca145d9624cb8bbef0fc90e0053d02d222679d | refs/heads/master | 2021-05-27T10:00:51.283553 | 2014-03-29T23:10:39 | 2014-03-29T23:10:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,131 | sce | Problema2.3.sce | xdel(winsid())
clear
clc
maxFreqBandaBase=10;//Hz
freqDeMod=10*maxFreqBandaBase//Hz
freqDeAmostragem = 20*freqDeMod;//sempre maior que 2X, Teorema de Nyquist
tempoDeAmostragem = 1/maxFreqBandaBase;
t=linspace(0,tempoDeAmostragem,((1/maxFreqBandaBase)/(1/freqDeMod))*((1/freqDeMod)/(1/freqDeAmostragem))+1);//segun... |
c11be2981bf273c7e6a2d762359a1317b69d7adc | 717ddeb7e700373742c617a95e25a2376565112c | /2858/CH1/EX1.1/Ex1_1.sce | b50139fb82cb9201069e4d5e82c09501df2211f3 | [] | 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 | 454 | sce | Ex1_1.sce | //example 1.1
clc(); funcprot(0);
V=0.25; // ft^3
W=30.8; //lb
Wd=28.2; // weight dried lb
Gs=2.67;
Gammaw=62.4; //lb/ft^3
Gamma=W/V;
disp(Gamma, "moist unit weight in lb/ft^3")
w=(W-Wd)/W;
disp(w*100, "moisture content in %");
Gammad=Wd/V;
disp(Gammad, "dry unit weight in lb/ft^3")
Vs=Wd/Gs/Gammaw;
Vv=V-... |
12abc3afe13e276b5e1681d2f862c371649aada1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH18/EX18.5/18_5.sce | b8e56f30808a2b7cc71cf65b40a65f3af6a976ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 18_5.sce | V12 = 0.4; // V12 = V1/V2
T1 = 38+273; n = 1.3; P3 = 112; // back pressure
m = 1.25; R = 0.287;
T2 = ((V12)^(n-1))*T1;
P1 = 700; // in kPa
P2 = P1*(V12)^n;
V2 = (m*R*T2)/P2;
v2 = V2/m ;
A = R*T1 + R*(T1-T2)/(n-1) - P3*v2; // Area of indicator diagram
IO = A*0.85*m;
disp("kJ",IO,"Indicated output is")
|
401cc959c9f4b7460ef1c82a86586d8dba96c118 | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH6/EX6.4/ex6_4.sce | d35b3c4b82a83015af625b71329738f4d36e2077 | [] | 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 | 177 | sce | ex6_4.sce | clc;
clear all;
C=2*1e-12;//given capacitance
L=500*1e-9;//given inductance
Z0=sqrt(L/C);//characteristic impedence for section
disp(Z0,'characteristic impedence');
|
395cfb5a918e6ea6e4b94c8c7321733328187534 | 717ddeb7e700373742c617a95e25a2376565112c | /1445/CH8/EX8.32/Ex8_32.sce | ff37b676700a0fb1abdc06a2436d050700597441 | [] | 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 | 2,927 | sce | Ex8_32.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 32
disp("CHAPTER 8");
disp("EXAMPLE 32");
//250 V series motor at 1000 rpm
//VARIABLE INITIALIZATION
v_t=250; //in Volts
I=20; //in Amperes
N1=1000; //in rpm
P=4; //number of poles
r_p... |
592e5feaf3f98dc4fe71416e1e6bac6459bdbc6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH5/EX5.16/Example_16.sce | 90d6670a22fa923763e0fd4bb62565dbf38e91e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | Example_16.sce | //Chapter-5,Example 16,Page 128
clc();
close();
t_half = 600 // half life
K=0.693/t_half
Ea=98600 //activation energy
A= 4*10^13 //Arrhenius factor
R=8.316 //gas constant
T=Ea/(2.303*R*log10(A/K))
printf('temperature is %.f K',T)
//mistake in textbook
|
51a03d2c24fdc2c18068772e9d6c90974a64531d | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH3/EX3.3.1/3_3_1.sce | 70180971b83ed66966fa26de026c336253422345 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | 3_3_1.sce | disp('the co-efficient matrix is:')
a=[5 7;2 4]
disp(a,'A=')
disp('the RHS is:')
b=[3;1]
disp(b)
disp('applying cramers rule')
disp('replacing first column of matrix A by b')
A1=[3 7;1 4]
disp(A1,'A1=')
disp('replacing second column of matrix A by b')
A2=[5 3;2 1]
disp(A2,'A2=')
disp('x1=det(A1)/det(A)')
... |
315e12a5633fee6a6986c889715cf9eae20c3d88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH3/EX3.13/exa_3_13.sce | 47846731c1518846eeba6636b69df6e13e96a179 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_3_13.sce | // Exa 3.13
clc;
clear;
close;
// Given data
V_F= 0.2;// in V
T=300;// in K
V_T= T/11600;// in volt
Io= 1;// in micro amp
Io=Io*10^-6;// in amp
Id= Io*(%e^(V_F/V_T)-1)
I_F=Id;
r_dc= V_F/I_F;// in ohm
disp(r_dc,"Dynamic resistance in ohm is : ")
r_ac= .026/I_F;// in ohm
disp(r_ac,"Static resistance in ohm... |
01eaeed2a6a0a59a39073f173be0e4a1de23ad9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH10/EX10.17/ex10_17.sce | ed2e8cc984c2183a23bf8aebb5685c8240aa9fc8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | ex10_17.sce | clc;
warning("off");
printf("\n\n example10.17 - pg477");
// given
Uzmax=3.455; //[ft/sec]
m=32;
a1=-0.3527;
a2=-0.6473;
rbyro=0.880;
UzbyUzmax=1+a1*(rbyro^2)+a2*(rbyro^(2*m));
Uz=Uzmax*(UzbyUzmax);
Uzavg=(4/9)*Uzmax+(5/18)*(Uz+Uz);
printf("\n\n the average velocity is \n Uzavg = %f ft/sec \n\n Thus, in th... |
80339b7774dd59a7148c08b57e7a37712831a5b2 | 00fc439a1f2cc38d50ec7b050222d6ba1c2b76cf | /demos/welcome.dem.sce | 074fa5bee6d2365b48a29edd9bfc4a4407aaff0f | [] | no_license | slevin48/datadeploy | c9cc657db8d45aa0ab8fa5845b8f2552f3781140 | 1ed8be8d0b4ad5ab5cbdb91f20338df90e913f88 | refs/heads/master | 2022-07-28T20:19:46.917688 | 2020-05-25T08:58:25 | 2020-05-25T08:58:25 | 266,721,169 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sce | welcome.dem.sce | function demo_welcome()
// header: header of the variable to deploy
// data: core of the data to deploy
// herokuapp: name of heroku app to deploy (contained in the URL)
M = ['A','B';
'1','2';
'3','4']
header = M(1,:)
data = M(2:$,:)
herokuapp=x_dialog('Name of the herokua... |
8d2c36a25f5960d6d95e867b7801bae57de43549 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH10/EX10.a.14/Example_a_10_14.sce | 97e5ed708a171c2f7fcf2ff1424be41170054be5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sce | Example_a_10_14.sce | //Example_a_10_14 page no:475
clc;
turn=700;
mu_o=4*%pi*10^-7;
mu_r=600;
phi_g=1.8*10^-3;
Ag=4*4&10^-4;
Bg=(1.8*10^-3)/(16*10^-4);
Ig=0.001;
Hg=Bg/mu_o;
mmf_gap=Hg*Ig;
phi_c=1.8*10^-3;
Ac=4*4*10^-4;
Bc=1.125;
Ic=0.24;
Is=0.6;
Hc=Bc/(mu_o*mu_r);
mmf_central_limb=Hc*Ic;
phi_s=(1/2)*phi_g;
Bs=phi_s/(16*... |
4c619b72ce225be976963069538cae5f9c906b6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH6/EX6.8.A/additional_ex_8.sce | d5fff0a6996c1590aa1e06a1988fa0c493afdc2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | additional_ex_8.sce | clc;
clear;
Nf=15; //noise figure in dB
F=31.62;//power ratio
T=290; //Temperature in K
T_em=(F-1)*T
G1=10^(6); //power ratio
N_t=80; //Noise temperature in K
T_e=N_t+T_em/G1;
disp("Noise temperature of receiver (in K)");
disp(T_em);
// change in answer....the calculation in the book is wrong
disp("... |
4367fdf06f9f4752aa645ddd9055d405ccafeee7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH7/EX7.5/ex7_5.sce | efdb1ce6b133a7c9c871bcdc55a04cdab96e24df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex7_5.sce | //Part A Chapter 7 Example 5
clc;
clear;
close;
V=0.5;//m^3
T=100+273.15;//K
v2=0.003155;//m^3/kg(at critical state)
v1=v2;//constant volume process
vf=0.001044;//m^3/kg(at 100 degree C)
vg=1.6729;//m^3/kg(at 100 degree C)
x1=(v1-vf)/vg;//dryness fraction
m=V/v2;//kg
mw=m*(1-x1);//kg
Vw=mw*vf;//m^3
disp("... |
3fe28b141f9251e82dd54e776a58a8b160b6e9ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH7/EX7.19/Ex7_19.sce | f3ce8172dbe3e8ab650d3175a8a60b0ff622252d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | Ex7_19.sce | clc
T=298 //temperature in kelvin
T1=523 //temperature in kelvin
T2=773 //temperature in kelvin
mprintf("Fraction of available energy lost=%f",(T*((1/T1)-(1/T2)))/(1-(T/T2)))//ans vary due to roundoff error
|
ae3359bf4adb08d622a1f0909aac7952d6b39ece | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH15/EX15.1/eg15_1.sce | dd61678718a7f31b03fcd7c91199ee728148676a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | eg15_1.sce | clear;
clc;
b=[1 -2 ;1 1];
c=[0;450];
a=inv(b)*c;
p1=a(1);
p2=a(2);
ic1=2+.01*p1;
ic2=2+.02*p2;
printf("the incremental fuel cost of first generator is:%.2f Rs/MWh",ic1);
printf("\n the incremental fuel cost of second generator is:%.2f Rs/MWh",ic2);
|
704ef9503529a64d5e9e0e8b5d75966f9e8614c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.22.a/data8_22.sci | f4d1a4697a3ede8b272791d537ac02b7f9d7ef52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | sci | data8_22.sci |
//(Welded and Riveted Joints) Example 8.22
//Refer Fig.8.64 on page 317
//Inside diameter of the pressure vessel Di (m)
Di = 1
//Internal steam pressure Pi (MPa)
Pi = 2.5
//Efficiency of the riveted joint eta (%)
eta = 70
//Permissible tensile stress in the plate and rivet sigmat (N/mm2)
sigmat = 80
//Permi... |
c98ad2c63cfaa5364440e813145b09c16dbccfca | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH4/EX4.6/6.sce | 6b1af44782d3bc2fc85d6ac6062c301648deabe6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | 6.sce | clc
//Example 4.6
//calculate the mass consumed in a nuclear reactor per unit time
//let D=d/dt
DQ=-13*10^8;//J/s
DW=7*10^8;//J/s
//Dm=(DQ-DW)/c^2 where c is velocity of light sice E=mc^2
c=3*10^8;//m/s
c1=3;//velocity of light without power
pow=8//power of 10 in speed of light
Dm=(DW-DQ)/c/c1//kg/s
printf(... |
8481daf062bd9f187b77206ba816e6d664462e57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3588/CH5/EX5.3/EX5_3.sce | 2a52fad7a0577368de42bccd4d7735ddf4f135fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sce | EX5_3.sce | //Clearing console
clc
clear
x = poly(0,"x")
//Intializing variables
x0 = 0
x1 = 1
K = [integrate('x*(x-1)*(x^2-x+2)','x',x0,x1)]
F = [integrate('x*(x-1)*3*x','x',x0,x1)]
c = F/K
S = c*x*(x-1)+x
//Calculating solution for given differntial equation
for t =1:11
P(1,t) = (c*(t-1)*(t-11)/100)+(t-1)/10
end
//Co... |
a26965c5a682b826d09fe461f52fb36d91f813c3 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/PPF_R15000_Arpack_Shift.tst | cf879792d92154bfdebde946011786ff5b440017 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 631 | tst | PPF_R15000_Arpack_Shift.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Linear stability with coupled solver (LM with Arpack and Complex Shift): ChannelMax Ev = (0.00248682 -0.158348i) </description>
<executable>IncNavierStokesSolver</executable>
<parameters>PPF_R15000_3D.xml</parameters>
<files>
<file descr... |
f06d90493031ce016cd5d9706384b7d11e199e01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH2/EX2.8/example_2_8.sce | b6b9161c0ddf97767664a8b8ec9123115a86c717 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | example_2_8.sce | // using KVL we get i(t)*R + 1/C * int(i(t)) = v(t)
// taking laplace transform V(s)= I(s)*R + 1/C * (I(s)/s)
R=10^6
C=10^-6
s=%s;
F=1/R*(1/(s + (1)/(R*C)));
disp(F)
syms t s;
y=ilaplace(F,s,t);
disp(y,"i(t)=") |
12dad6aa2fbefe85ec7434821cfbc523f8b79e83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH6/EX6.6/C6P6.sce | b79e2d7b9493b81a060650ab1648b10dc37c255f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,102 | sce | C6P6.sce |
clear
clc
//to find final velocity of combination of 1st and 2nd glider
// GIVEN::
//refer to problem 6-5 from page no. 127
//we consider +ve x direction as initial motion of first glider
//mass of first glider
m1 = 1.25//in kg
//initial velocity of first glider in +ve x direction
v1ix = 3.62//in m/s
... |
3d5a8da99311bfff0a1bcde53b3b082eeb50a378 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH13/EX13.6.a/13_6a.sce | 457b6ec193125b86f1b096adbe5e4ad44f1824d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | 13_6a.sce | clc
//initialization of varaibles
v2=15.7 //cu ft/lb
T2=640 //R
cv=0.172
T1=400+460 //R
//calculations
du=cv*(T2-T1)
W=-du
//results
printf("Final specific volume = %.1f cu ft/lb",v2)
printf("\n Final temperature = %d ",T2)
printf("\n Work done = %.1f B/lb",W)
|
d890b2e42cb23f31d27105b3db8306e910553c98 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Devices_And_Circuit_Theory_R._L._Boylestad_And_L._Nashelsky_69.zip/Electronics_Devices_And_Circuit_Theory_R._L._Boylestad_And_L._Nashelsky_69/CH5/EX5.27/5_27.sce | f442a2a4a74146578e06431d435bc9c8f8814abd | [] | 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 | 144 | sce | 5_27.sce | errcatch(-1,"stop");mode(2);; ;
Vcc = 12;
Vbe = 0.7;
Rx = 1.1*(10^(3));
Ix = (Vcc-Vbe)/Rx;
disp(Ix,"Mirrored current :");
exit();
|
498f4dc7b0c76f0ed68b40d0c06a6ce904a8b23c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH4/EX4.19/exa_4_19.sce | 7fd53600c6bd6ad0029b12560755ad9bc5b1be3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 577 | sce | exa_4_19.sce | // Exa 4.19
clc;
clear;
close;
// Given data
V_Dmin= 2.5;// in V
V_Dmax= 5;// in V
// Case First
Vs= 25;// in V
Rs= 250;// in Ω
Imax= (Vs-V_Dmin)/Rs;// in A
Imin= (Vs-V_Dmax)/Rs;// in A
disp(Imax*10^3-Imin*10^3,"The variation in current in first case in mA is : ")
// Case sec
Vs= 10;// in V
Rs= 130;// i... |
59037ac340d9dcd2867197992ae0b2f42defaea5 | 78de1b37ac7fbc77bc00584d6677402639eb8ccf | /fop.sci | 0e5a486b7f278e6540a642ee97e221d91b82b3a5 | [] | no_license | devanshmody/c-c-programs | de25f17728b488bb5245342338d303d968f2ee05 | 7405239f4fc792a1382d7726cb1aaeffc3e740a8 | refs/heads/main | 2023-04-16T14:11:06.271935 | 2021-05-05T09:39:48 | 2021-05-05T09:39:48 | 364,526,778 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sci | fop.sci | a=[0.1,0.2,0.3,0.4,0.5];
b=[0.4,0.5,0.6,0.7,0.8];
c=[1,1,1,1,1];
A=union(a,b);
disp(A);
subplot(4,4,1);
plot(A,'r');
xtitle('union');
B=intersect(a,b);
disp(B);
subplot(4,4,2);
plot(B,'g');
xtitle('intersection');
C=c-a;
disp(C);
subplot(4,4,3);
plot(C,'b');
xtitle('a complement');
D=c-b;
disp(D);
s... |
499a0b556af8def3317270bc2e534ba7ce922851 | 94c9fb094976265935872b32b6e6a4fd9454ef31 | /tp_reg_donnees.sce | 15a6cbe1958033f9a301db312322e05a05ab1370 | [] | no_license | dtbinh/tp-scilab | 6d2373af479d9cb1d1494f3ccc5abcae0697b8ac | 4c41c77eb4a4021022fa91614cfe4f7a4417f4e5 | refs/heads/master | 2021-01-10T12:23:53.166922 | 2013-12-19T17:23:18 | 2013-12-19T17:23:18 | 49,208,752 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | tp_reg_donnees.sce | donnees = [
5 92 7.8; 4 64 9.5; 6 124 6.4; 5 97 7.5; 5 79 8.1; 5 76 9.0;
6 93 6.1; 6 63 8.7; 2 13 15.4; 7 111 6.4; 7 143 4.4];
// definition des variables
r1=donnees(:,1); r2=donnees(:,2); X=donnees(:,3);
// allure des nuages
subplot(121), plot2d(r1,X,-2,"111","Age",[1,0,8,16]);
subplot(122), plot2d(r... |
79452d3d08c71cbfff85138f6c1c9ac99f12edcd | 002b6230874dea6e4d76defafc1ae293b5744918 | /solvers/IncNavierStokesSolver/Tests/bfs_tg-AR.tst | 25d0948f9fe2d2adfcffab75911678479d7f93ae | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 944 | tst | bfs_tg-AR.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Transient Growth (Arpack): Backward-facing step</description>
<executable>IncNavierStokesSolver</executable>
<parameters>bfs_tg-AR.xml</parameters>
<files>
<file description="Session File">bfs_tg-AR.xml</file>
<file description="Session... |
2631f61e6acb9895e81aea486c7b793b9d14a783 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH25/EX25.4/25_4.sce | 6cfb670a5c3836b4e2365066916160f1a9d66683 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sce | 25_4.sce | clc
//initialization of varaibles
disp("From psychrometric charts,")
e=0.7
phi=0.5
g1=0.0131 //lb water/lb dry air
h1=32.36 //B/lb of dry air
g3=0.0073
h3=24.26
pg=0.3390
T3=528 //R
V3=1000
Rw=85.8
//calculations
pw3=phi*pg
ww3=pw3*144*V3/(Rw*T3)
wa3=ww3/g3
wa1=phi*wa3
wa2=phi*wa3
ww1=g1*wa1
ww2=ww3... |
093761ccbc44fcf8133a5eabb79cc601a712a12f | df924acfdd5b043da9336a2276726dbfb655735a | /test_suite/fctquery.tst | ba3cd6d75e1a88e7c29c94f31960b602e51ae44d | [] | 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 | 347 | tst | fctquery.tst | (unwatch all)
(clear)
(load fctquery.clp)
(dribble-on "Actual//fctquery.out")
(batch "fctquery.bat")
(dribble-off)
(clear)
(open "Results//fctquery.rsl" fctquery "w")
(load "compline.clp")
(printout fctquery "fctquery.clp differences are as follows:" crlf)
(compare-files "Expected//fctquery.out" "Actual//fctquery.out" ... |
7cb49710240cf451bec67cbb9e133062edc069ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH4/EX4.2/Example4_2.sce | b84e8807002e371eca89276e2cc7d8da06870a01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,524 | sce | Example4_2.sce | //Example 4.2(a)
clear;
clc;
n=6;
fc=13*10^3;
//For a 1dB ripple Chebyshev low pass filter with n=6 requires 3 second order stages with :
//f01=0.995*fc, Q1=8
//f02=0.747*fc, Q2=2.20
//f03=0.353*fc, Q3=0.761
f03=0.995*fc;
Q1=0.761;
f02=0.747*fc;
Q2=2.20;
f01=0.353*fc;
Q3=8.00;
n1=... |
64657b5587c8b853d88bcbcdf466e12c5f5716c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH2/EX2.18/example2_18.sce | f13f55bf1dd2827f02e49c1c9ef2bbb4af6f7fc0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | example2_18.sce |
//exapple 2.18
clc; funcprot(0);
// Initialization of Variable
H=600;
f=150/1000;
s=H/f;
b=6.375/100;
h1=0;
h2=120;//height of chimney
B=s*b;//datum elevation
p1=B*f*1000/(H-h1);
p2=B*f*1000/(H-h2);
delp=p2-p1;
delh=H*delp/1000/(b+delp/1000);
disp(delh,"parallax height of the chimney in (m):");
clea... |
f6edd5137f4373895eaa2bb034c4ca800f244eb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH6/EX6.6/52ex4.sce | 422acd8d38ce009b2036d44d28f012c102f77286 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | 52ex4.sce |
clear;
clc;
close;
x=poly(0,'x');
p1=4*x-(x-2)/3;
p2=5+(2*x+1)/4;
p3=p1-p2;
x=roots(p3)
left=4*x-(x-2)/3;//substitution
right=5+(2*x+1)/4;
if(left==right)
mprintf("satisfies the equation \n")
end
|
d98874ee61f161c161c625f11debff724e6c2f06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.10.a/EX_2_10.SCE | 59b33fbb23c948c1e19a3efe48576dbc9a3fa301 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | EX_2_10.SCE | // Example 2.10: Calculate base resistance , Voltage between collector & ground and Stability factor
Vcc=12;// Colector voltage in volts
Ib= 0.3;// in mili ampere
Beta=100;//Common emitter D.C. Current gain
Rc=0.3;// Collector resistance in killo ohms
Rb=Vcc/Ib;
Ic= Beta*Ib;
Vce=Vcc -(Ic*Rc);
S=1+Beta ;
disp(R... |
1781469a272fae8bb263547a1215f6f15f75294f | 06a62d768e69fd9dda11b30011c252807e301813 | /nonConvergent.sci | 39d9ac64abd505e68025e3b4b9f4bc54d6560990 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 64 | sci | nonConvergent.sci | sum = 0;
n = 10000;
for i = 1:n
sum = sum + 1/ sqrt(i);
end
|
e60a8f3db909da3bae982bcf2190cc4b6c15de66 | 6e51f2fdd036612dc2b51c405904fed97d2ae8b0 | /src/test_numeric_1_c.tst | b5266054dc815fd75ebe649b1180970d130496ed | [
"MIT",
"Zlib",
"BSD-3-Clause",
"OML"
] | permissive | joe-nano/ciyam | 92c6ccb58029a1b2a641a7e00417ab524cb9f957 | a92c296b911b29620a7bb3b758eb55339e040219 | refs/heads/master | 2022-04-16T14:39:55.822434 | 2020-03-27T06:39:13 | 2020-03-27T06:39:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,138 | tst | test_numeric_1_c.tst |
> set 2
2
> div 3
0.666666666666666666
> mul 3
1.99999999999999999
> div 3
0.666666666666666663
> mul 3
1.99999999999999998
> div 3
0.66666666666666666
> mul 3
1.99999999999999998
> round 16
2.0000000000000000
> div 3
0.666666666666666666
> div 4
0.166666666666666666
> mul 4
0.666666666666666664
> mul 3
1.9... |
33ac774cd97707e2c1a21e0eb9fd2c12c1836ae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH5/EX5.5/5.sce | 260e44e3e389f927c17b8bc519ebd0999ecf1df7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5.sce |
//Variable declaration
L=5; //length(m)
R=0.06; //resistance(ohm)
I=15; //current(A)
ne=3; //number of electrons
rho=2.7*10**-8; //resistivity(ohm m)
w=26.98; //atomic weight
D=2.7*10**3; //density(kg/m**3)
Na=6.025*10**26; //avagadro number(per k mol)
e=1.6*10**-19;
//Calculation
n=... |
832e22e9c9107f6e81cb02dd5a95c0485ef2a3ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH1/EX1.21/ex1_21.sce | 603f4d8bf157365f2a1800b5182c4ad3029e357b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | ex1_21.sce | clc;
E=10^6; //in volt/m
e=8.85*10^-12; //constant in F/m
v=10^-5; //volume in m cube
en=(1/2)*e*E*E*v; //calculating energy
disp(en,"Energy in Joule = "); //displaying result |
30c51732b9716aa585437185c38f3c47093622aa | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/residued.sci | cbcbebc92c97a15d379a22f361051d3d93b78962 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,995 | sci | residued.sci | // Copyright (C) 2018 - 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_... |
e115ecaf35bfdb04d0bfd244b2d106249f6dbaf7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/util/%r_eye.sci | 7ee5dfa40c74dc0c64fa3dcacf9e0b555879079a | [
"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 | 53 | sci | %r_eye.sci | function x=%r_eye(a)
// Copyright INRIA
x=eye(a(2));
|
58b72367d8ba7e7bf84fdc8ef66fb8bdf278d5f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH3/EX3.04/3_04.sci | c575b2a44bdea5c01d4869a013c8c109e1be9d73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 85 | sci | 3_04.sci | //laplace//
s=%s;
H=syslin('c',(4*(s+2)*((s+2.5)^3))/((s+6)*((s+4)^2)));
plzr(H)
|
2e44f6a6090ae270b4b3de104486f7b3072d691b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH2/EX2.11/Ex2_11.sce | 16b5a4010ec631a36762053b0a2d4abdc2f46d32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,113 | sce | Ex2_11.sce | // Scilab Code Ex2.11: Page-64 (2013)
clc; clear;
q = 1.6e-019; // Charge on an electron, C
V = 25e+003; // Accelerating potential, volt
K = q*V; // Kinetic energy of electrons, J
m = 9.11e-031; // Rest mass of an electron, kg
c = 3.00e+08; // Speed of light, m/s
// From relativistic kinetic energ... |
7fc00cbbd38f01e9c0b56063e7fefdd14ad29393 | 429a254e86091b867fca50a9cc277b3f9cba13e8 | /testit/07-tietokone.tst | ebe954bd95c84cb84907c2f680cab0ff1f490a37 | [] | no_license | Mirbanator/labyrinth_game | 125d51230c1591515bc751fa93686102328827e1 | a2bb4f7ecc6618e8e226d7588391ff2f0941fc36 | refs/heads/master | 2020-03-26T16:50:54.578498 | 2018-08-17T13:58:15 | 2018-08-17T13:58:15 | 145,127,453 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 54 | tst | 07-tietokone.tst | SIEMENLUKU 6666
PELAAJIA 2
IHMINEN Foo
TIETOKONE Bar
|
13f21b8433cf09d37e175d9ee013f47cab4169b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH17/EX17.17/17_17.sce | 4810499298f44d4b0862c01fb7cd2fc5afab5814 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sce | 17_17.sce | pathname=get_absolute_file_path('17_17.sce')
filename=pathname+filesep()+'17_17_data.sci'
exec(filename)
//Swept volume(in cc/cylinder)
Vs=0.25*%pi*D^2*L*10^6
//Compression ratio
r=(Vs+Vc)/Vc
//Air standard efficiency
nas=1-(1/r^(y-1))
//Brake thermal effciency
nbth=nrel*nas
//Brake power(in kW)
bp=(2*%pi*N... |
17a31d0f4e8acd75fb69836ccc0eb09a4bb1f325 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH5/EX5.27/Example5_27.sce | 55cc39e29749cabc3e31b8020584859101d4f57d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | Example5_27.sce | //Example 5.27
clc
disp("")
disp("A1 A0 B1 B0 A>B A=B A<B")
disp("0 0 0 0 0 0 0")
disp("0 0 0 1 0 0 1")
disp("0 0 1 0 0 0 1")
disp("0 0 1 1 0 0 1")
disp("0 1 0 0 1 0 0")
disp("0 1 0 1 0 1 0")
disp("0 ... |
6eeb9a7fed7a3b1bfce347a1e65b732fe4681186 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH23/EX22.4/EX22_4.sce | 6a1dd77c3c506afec871ecdb0dd70ad0b9ac9aff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | EX22_4.sce | // Grob's Basic Electronics 11e
// Chapter No. 22
// Example No. 22_4
clc; clear;
// What is the time constant of a 0.01-uF capacitor in series with a 1-M Ohmsresistance?
// Given data
C = 0.01*10^-6; // Capacitor=0.01 uFarad
R = 1*10^6; // Resistor=1 MOhms
T = C*R;
disp (T,'The Time Consta... |
89f944cc9b8e4e314827133f3b51f04e16ebdb6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH8/EX8.3/example8_3.sce | a5aa67d680a58fc587dc122bf1dce756dc67553c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example8_3.sce | disp("Part a");
p=0.2;
v_1=1.5;
v1_1=p*v_1;
v2_1=v_1-v1_1;
disp("the time taken to reduce the terminal voltage by 20 % is 5 h");
disp("Part b");
v_2=1.2;
v1_2=p*v_2;
v2_2=v_2-v1_2;
disp("the time taken to reduce the terminal voltage by 20 % is 10 h");
disp("Part c");
v_3=1.4;
v1_3=p*v_3;
v2_3=v_3-v1_3;
d... |
e7605a8ab9873519b29851fbf2f86d104a610087 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/DEPENDENCIES/left_prm.sci | cd0ffcbf715ee155ce6e1a44f7bfdf6939fd4a92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,135 | sci | left_prm.sci | // function [B,degB,A,degA,Y,degY,X,degX] = ...
// left_prm(N,degN,D,degD,job,gap)
//
// does three different things according to integers that 'job' takes
// job = 1.
// this is the default. It is always done for all jobs.
// -1 -1 -1
// Given ND , returns coprime B... |
d9c2ae1ed7bebbc6c941a701a34cad3f79d11cb7 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_Mat/square.sce | 2c9cd97082af98cfed62159b51306cb1786033c6 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | sce | square.sce | // Calculating the square.
y = [1.2, 1, 1.9; 4, 2.6, 5; 2.3, 8, 7];
squareres = armaMat("square",y)
|
28fde3450e9eb848f263eef3c9f8ba95d562a0d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH10/EX10.11/Ex10_11.sce | 5c55402515847768a9ae7fbccf74b6015e2380d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | Ex10_11.sce | clc
clear
//Initialization of variables
disp("From table 1 of keenan and keynes,")
h1=1351.1 //Btu/lb
p1=600 //psia
t1=700 //F
p2=234 //psia
h2=1.6865
h1=1.5875
t3=101.74
//calculations
t2=660 //F
loss= (h2-h1)*(t3+459.69)
//results
printf("Final state of steam is %d psia and %d F",p2,t2)
printf("\n Los... |
2eb1567bec96da27509e87d9d35a3b9e477dfa12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH6/EX6.17/6_17.sce | 561c5a25a2546eecc165cf8dd1077d691e65cb93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | 6_17.sce | //Problem 6.17: A capacitor is charged with 10 mC. If the energystored is 1.2 J find (a) the voltage and (b) the capacitance.
//initializing the variables:
W = 1.2; // in Joules
Q = 10E-3; // in Coulomb
//calculation:
V = 2*W/Q
C = Q/V
printf("\n\nResult\n\n")
printf("\n (a)P.d %.0f V",V)
printf("\n (b)C... |
246f5dd4f7ff2cd1c38b46c9b97127eafbfb8d6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH5/EX5.28/Ex5_28.sce | 5eda796eccdd19165998af70c8211b00bbf75a43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,880 | sce | Ex5_28.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 5 : INDUCTION MACHINES
// EXAMPLE : 5.28
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
m = 3; // Total Number of phase in Induction M... |
7d38f708a8335e915b2c90533cccf386e5cfcac6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2297/CH5/EX5.3/Ex5_3.sce | c5fd29ae9e5825945f4abaa643283b7ed5f353e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | Ex5_3.sce | // Example 5.3 : power factor
clc;
clear;
// given :
format('v',6)
w1=2000;//power in watts
w2=500;//power in watts
an=atand(sqrt(3)*(((w1-w2)/(w1+w2))));//angle in degree
disp("part (a)")
pf=cosd(an);//power factor
disp(pf,"power factor is ,=")
disp("part (b)")
w1=2000;//power in watts
w2=-500;//power in watts
an=atan... |
e70e4c91016a9e2e1bc48690b29e74483886599c | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH14/EX14.4/example_14_4.sce | b6d1d5079aae06cc483cd32c1b11c46356504188 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,356 | sce | example_14_4.sce | //Chapter 14
//Example 14.4
//Page 388
//onfault
clear;clc;
H = 5;
Pm =1;
Vt = 1;V_ib = 1;
X1_g =0.2;X1_t = 0.1;X1_l1 = 0.4;X1_l2 = 0.4;
X = X1_t + X1_l1 /2;
a = asin(Pm * X / (Vt * V_ib)) * 180 / %pi;
Vt1 = Vt * (cos(a * %pi / 180) + %i * sin(a * %pi / 180));
I = (Vt1 - V_ib) / (%i * X);
E1 = Vt1 + (%i * X1_g * I);
y1... |
4bcfb4c62dd1abd786cb817c280e954273740a66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH3/EX3.3/Ex3_3.sce | 3c0d6618056a35ae0c41a736f2ad601c0040e3bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | Ex3_3.sce |
//Exa:3.3
clc;
clear;
close;
//Given:
Bw=12;//in KHz
Mod_mn=300;
Mod_mx=3000;
dev=6;//in KHz
m1={(Bw-dev)*1000}/Mod_mn;
m2={(Bw-dev)*1000}/Mod_mx;
printf("\n 1)modulation indexat 300Hz = %f ",m1);
printf("\n 2)modulation indexat 3000Hz = %f ",m2); |
1850995593f4a29ab59d95cb367d77833a7e04ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH8/EX8.14/Ex8_14.sce | 5acb8b6b85cd9f0dd4e6b0088e391e0ef52e1f16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | Ex8_14.sce | clear
//
isc=150 //short circuit current
iscp=25/1.732 //isc per phase where 1.732 is the value of root 3
pv=415/1.732 //per phase voltage
ist=(iscp*pv)/150
ifl=(15*735.5)/((415*0.9*0.8*(3**0.5)))
ratio=ist/ifl
printf("\n ratio")
|
d9f6ac53cff69e028e0e6056c91d6dacaed30a91 | 60e059d90a2ffbf23f8c91541e953e164e6ba59c | /gauss-jordan/Gauss_Jordan_1.sce | daf476d03aaa86e2e1c2b66ba3fc013b5c267c3c | [] | no_license | aroquev00/MetodosNumericos | 023e9d06eeba79939aac4c3d1126ba64db3854a7 | be3d8b6203b490db7832f4d356cba5ac88ac9c8f | refs/heads/master | 2020-08-01T22:47:55.204145 | 2019-11-27T17:16:11 | 2019-11-27T17:16:11 | 211,142,897 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,164 | sce | Gauss_Jordan_1.sce | clear
///////////////////////////////////////////////////////
// Gauss_Jordan_1.sce
//
// Este programa pide una serie de ecuaciones y obtiene
// su solucion utilizando el método de Gauss-Jordan
//
// Armando Roque A01138717
// Marco Brown A00822215
//
// 1 / OCT / 19 version 1.0
/////////////////////////... |
16f471ad2dc19721327b547b07d90fb1d9171c5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH10/EX10.6/Ex10_6.sce | b62b27c7243a249d487cf03d6f3799ea00a5f08f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | Ex10_6.sce | clear
//Given
d=6.4*10**6 //m
B=0.4*10**-4 //T
u=4*%pi*10**-7
//Calculation
//
M=(B*4*%pi*d**3)/u
//Result
printf("\n earths dipole moment is %0.2f *10**23 Am**2",M*10**-23)
|
8c22481917537da310559dcfad797f815d7ef2ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH13/EX13.14/Example_13_14.sce | 53895229a39d3556a4d8caf68c591ffe0b29a279 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 105 | sce | Example_13_14.sce | s=%s;
A=[-0 1;-2 -3]
B=[1;0]
C=[1 0]
D=0;
TF=C*inv(s*eye(2,2)-A) *B
disp(TF,"transfer function = ") |
e80c8e1e45964d04bf3bce902ad141c593268282 | a6abd4d113c8196015de3bbd4dfe6c2c8fa77e7b | /Presentation/Afford_Rating_Experiment/Afford_Rating.sce | d475b47218289cd11d6f59ccff56b91b4b7ce0f8 | [] | no_license | ilkayisik/MyScripts-Bachelor-Master | ad17c9e24de271c9e31455921990acdbc1030dfc | 0d45946f7e4ccfc9e21a99cb32877f605d7e618f | refs/heads/master | 2021-05-16T15:36:40.940826 | 2018-01-29T13:07:07 | 2018-01-29T13:07:07 | 119,358,614 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,406 | sce | Afford_Rating.sce | scenario = "Stimuli- Rating";
#randomize_trials = true;
default_font_size = 36;
default_background_color = 128,128,128;
active_buttons =10;
button_codes =1,2,3,4,5,6,7,8,9,10;
begin;
################################################# fixation cross
picture {
box {
height = 10;
width = 40;
color = 255, 25... |
4b3660f2de8044295b4164260feece0cf6c6c5c4 | 46175a9451c6d86a8f5a349c2b612bfacca3e2ab | /wk6-2/ComputerSeriesSum.tst | 68cf174cc7faf7d5266a9d7d0c0238f00e8b5633 | [] | no_license | adeeb10abbas/ECE350 | 1b0be761c887ef08356e4cdbaa827fe83690df67 | fb29d5ce2105d7b641342c7895423d33ed9977f9 | refs/heads/master | 2023-01-20T06:46:12.631198 | 2020-11-30T03:17:28 | 2020-11-30T03:17:28 | 301,161,780 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | tst | ComputerSeriesSum.tst | // Author: Naga Kandasamy
load Computer.hdl,
output-file ComputerSeriesSum.out,
// compare-to ComputerAdd.cmp,
output-list time%S1.4.1 reset%B2.1.2 ARegister[0]%D1.7.1 DRegister[0]%D1.7.1 PC[]%D0.4.0 RAM16K[0]%D1.7.1 RAM16K[1]%D1.7.1 RAM16K[2]%D1.7.1;
// Load a program written in the Hack machine language.
//... |
f92eb2bc5f1b236b9008ad50f298fc00f7ea7a2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH4/EX4.10/Ex4_10.sce | 2dbf8da2f7ef54ecf1194354520e70971ca504c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 933 | sce | Ex4_10.sce | clc
// Given that
d= 4 // Depth of cut in mm
f = 0.25 // Feed in mm/stroke
alpha = 10 // Rake angle in degree
shi = 30 // Principal cutting edge angle in Degree
mu =0.6 // Cofficient of friction between chip and tool
T_s = 340 // Ultimate shear stress of cast iron in N/mm^2
N = 60 // Cutting stroke/min
L = 200 // Leng... |
90de82cd15a6a34d9c42f7d3d4a254e460d16bb3 | 2542f29a2dfe8b250f69e4430842cc5381aaa88b | /Game_of_life.sci | 65064c09b1618b1b802541077a826bfceb9d4aa4 | [
"MIT"
] | permissive | ksyzzy/Conway-s-Game-of-Life | e513c978ae48c502f15f51852174db1f3cb49252 | f99343f36417a4ca9c26c5b3dffffd2fbdf1e547 | refs/heads/master | 2022-11-23T08:25:40.535002 | 2020-07-23T17:39:01 | 2020-07-23T17:39:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,724 | sci | Game_of_life.sci | function gameoflife(rows,columns,iterations)
matrix_1=zeros(rows,columns);
matrix_2=zeros(rows,columns);
table=[-1,-1,0,-1,1,-1,1,0,1,1,0,1,-1,1,-1,0];
for i=1:rows
for j=1:columns
matrix_1(i,j)=3*round(rand());
end
end
clf();
xtitle("Game of Life")
f = gcf();
f.figure_name ... |
d9662e0a9b0ad57d4b211c96ba905637dcf21d71 | bf24e30d6ed9b0d16fe0d59f6caf6ee61aa714cd | /missionB/mission1b.sce | 8ed79ff62267c5b4377876e531f62358d02c6de5 | [
"MIT"
] | permissive | pierre-geeraert/Projet_exolife | c8d3b623f2cbcaaaf5c510c8f438da2c82980be8 | cff5ca5cb1602d1b1ef589b847536b9e61e631ee | refs/heads/master | 2021-05-03T06:30:23.099197 | 2018-02-15T14:50:01 | 2018-02-15T14:50:01 | 120,595,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | mission1b.sce | // Define the axes of the pictures
x = 1;
y = 1;
// Set the picture into a matrice named "img"
img = readpbm('Gliese 667Cc_surface.pbm');
// Scroll every pixels of the picture
for y = 1:384
for x = 1:512
// Increase the value of the pixel depending on his initial value
if img(x,y) <... |
47a9db9b369ab6c3aa572475469ddc4cf2705a51 | 4eae48561a0f4d0236a5940ef6585072cca888c1 | /src/avrora/test/simple/ioreg04.tst | de5c5a1a73305f9798351ce8040b72a0c3c9ed45 | [] | no_license | minf/avrora | 6f03716620c815bc651f306520943ff80a6f2aa3 | 24269e9c92fc34440370432313873fa8ee1d93e2 | refs/heads/master | 2021-01-01T16:26:33.182786 | 2011-04-15T20:49:05 | 2011-04-15T20:49:05 | 1,620,760 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | tst | ioreg04.tst | ; @Harness: simulator
; @Purpose: "Test instructions for reading/writing to IO registers"
; @Result: "r17 = 42, r18 = 106, $(59) = 106, $(0) = 0"
start:
ldi r17, 42
out 0x1b, r17
sbi 0x1b, 6
in r18, 0x1b
end:
break
|
62b0469ed288466ee2f715bc4846fc3faeff3feb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH6/EX6.17/ch6_17.sce | d51b376cf7924267b4ad9a575b6c174c1fe595e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | ch6_17.sce | clear;
clc;
E=200;
I_o=20;
R=.5;
V_o=E+I_o*R;
V_s=230;
V_ml=sqrt(2)*V_s;
a=acosd(V_o*%pi/(3*V_ml)); printf("firing angle delay=%.3f deg",a);
th=120;
I_s=sqrt((1/%pi)*I_o^2*th*%pi/180);
P=E*I_o+I_o^2*R;
pf=P/(sqrt(3)*V_s*I_s); printf("\npf=%.3f",pf);
V_o=E-I_o*R;
a=acosd(-V_o*%pi/(3*V_ml)); prin... |
54e00d1f713ca35d6557ae07c4df5927eb6c6bce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH4/EX4.30/Ex4_30.sce | b5d53ac0e06d2e5d1e852e19847084b4bfee8434 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | Ex4_30.sce | clear
//Given
V=12 //V
C=1.35*10**-10 //C
//Calculation
q=C
//Result
printf("\n Extra Charge supplied by battery is %0.3f C", q)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.